|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ISplitPanel
Platform and technology independent SplitPanel definition. It is designed for use with AWT, Swing, SWT, JSP, JSF, ... .
JSplitPane| Field Summary | |
|---|---|
static int |
DIVIDER_BOTTOM_RIGHT
The Divider is fixed to the bottom border during resize. |
static int |
DIVIDER_RELATIVE
The Divider is fixed to the right border during resize. |
static int |
DIVIDER_TOP_LEFT
The Divider is fixed to the top border during resize. |
static java.lang.String |
FIRST_COMPONENT
Used to add a Component to the left/top of the other
Component. |
static java.lang.String |
SECOND_COMPONENT
Used to add a Component to the right/bottom of the other
Component. |
static int |
SPLIT_LEFT_RIGHT
Horizontal split indicates the Components are
split along the x axis. |
static int |
SPLIT_TOP_BOTTOM
Vertical split indicates the Components are
split along the y axis. |
| Method Summary | |
|---|---|
int |
getDividerAlignment()
Gets the divider alignment. |
int |
getDividerPosition()
Gets the position of the divider. |
IComponent |
getFirstComponent()
Returns the component to the left (or above) the divider. |
int |
getOrientation()
Returns the orientation. |
IComponent |
getSecondComponent()
Returns the component to the right (or below) the divider. |
void |
setDividerAlignment(int pDividerAlignment)
Sets the divider alignment. |
void |
setDividerPosition(int pDividerPosition)
Sets the position of the divider. |
void |
setFirstComponent(IComponent pComponent)
Sets the component to the left (or above) the divider. |
void |
setOrientation(int pOrientation)
Sets the orientation, or how the splitter is divided. |
void |
setSecondComponent(IComponent pComponent)
Sets the component to the right (or below) the divider. |
| Methods inherited from interface javax.rad.ui.IContainer |
|---|
add, add, add, add, getComponent, getComponentCount, getLayout, indexOf, remove, remove, removeAll, setLayout |
| Methods inherited from interface javax.rad.ui.IResource |
|---|
getResource |
| Field Detail |
|---|
static final int SPLIT_TOP_BOTTOM
Components are
split along the y axis. For example the two
Components will be split one on top of the other.
static final int SPLIT_LEFT_RIGHT
Components are
split along the x axis. For example the two
Components will be split one to the left of the
other.
static final int DIVIDER_TOP_LEFT
static final int DIVIDER_BOTTOM_RIGHT
static final int DIVIDER_RELATIVE
static final java.lang.String FIRST_COMPONENT
Component to the left/top of the other
Component.
static final java.lang.String SECOND_COMPONENT
Component to the right/bottom of the other
Component.
| Method Detail |
|---|
int getOrientation()
setOrientation(int)void setOrientation(int pOrientation)
pOrientation - an integer specifying the orientation
java.lang.IllegalArgumentException - if orientation is not one of: SPLIT_LEFT_RIGHT or SPLIT_TOP_BOTTOM.IComponent getFirstComponent()
IComponent displayed in that positionvoid setFirstComponent(IComponent pComponent)
pComponent - the IComponent to display in that positionIComponent getSecondComponent()
Component displayed in that positionvoid setSecondComponent(IComponent pComponent)
pComponent - the IComponent to display in that positionint getDividerPosition()
void setDividerPosition(int pDividerPosition)
pDividerPosition - the position of the divider.int getDividerAlignment()
DIVIDER_TOP_LEFT,
DIVIDER_BOTTOM_RIGHT, DIVIDER_RELATIVEvoid setDividerAlignment(int pDividerAlignment)
pDividerAlignment - the divider alignment: DIVIDER_TOP_LEFT,
DIVIDER_BOTTOM_RIGHT, DIVIDER_RELATIVE
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||