|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sibvisions.rad.ui.awt.impl.AwtResource<C>
com.sibvisions.rad.ui.awt.impl.AwtComponent<C>
com.sibvisions.rad.ui.awt.impl.AwtContainer<C>
com.sibvisions.rad.ui.swing.impl.SwingComponent<JVxSplitPane>
com.sibvisions.rad.ui.swing.impl.container.SwingSplitPanel
public class SwingSplitPanel
The SwingSplitPanel is the ISplitPanel
implementation for swing.
JSplitPane,
ISplitPanel| Field Summary |
|---|
| Fields inherited from class com.sibvisions.rad.ui.awt.impl.AwtComponent |
|---|
bComponentListener, bFocusListener, bKeyListener, bMouseListener, eventComponentMoved, eventComponentResized, eventKeyPressed, eventKeyReleased, eventKeyTyped, eventMouseClicked, eventMouseEntered, eventMouseExited, eventMousePressed, eventMouseReleased, eventSource, factory, parent |
| Fields inherited from class com.sibvisions.rad.ui.awt.impl.AwtResource |
|---|
resource |
| Fields inherited from interface javax.rad.ui.container.ISplitPanel |
|---|
DIVIDER_BOTTOM_RIGHT, DIVIDER_RELATIVE, DIVIDER_TOP_LEFT, FIRST_COMPONENT, SECOND_COMPONENT, SPLIT_LEFT_RIGHT, SPLIT_TOP_BOTTOM |
| Fields inherited from interface javax.rad.ui.IAlignmentConstants |
|---|
ALIGN_BOTTOM, ALIGN_CENTER, ALIGN_DEFAULT, ALIGN_LEFT, ALIGN_RIGHT, ALIGN_STRETCH, ALIGN_TOP |
| Constructor Summary | |
|---|---|
SwingSplitPanel()
Creates a new instance of SwingLabel with a divider size
of 6, continous layout enabled and one touch expandable enabled. |
|
| Method Summary | |
|---|---|
void |
add(IComponent pComponent,
java.lang.Object pConstraints,
int pIndex)
Adds the specified IComponent to this container with the specified
constraints at the specified index. |
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 |
remove(int pIndex)
Removes the IComponent, specified by index,
from this container. |
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 |
setLayout(ILayout pLayout)
Sets the layout manager for this container. |
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 class com.sibvisions.rad.ui.swing.impl.SwingComponent |
|---|
capture, getToolTipText, setBackground, setTabIndex, setToolTipText |
| Methods inherited from class com.sibvisions.rad.ui.awt.impl.AwtContainer |
|---|
add, add, add, addIntern, checkAdd, getComponent, getComponentCount, getLayout, indexOf, remove, removeAll, removeIntern, setLayoutIntern |
| Methods inherited from class com.sibvisions.rad.ui.awt.impl.AwtResource |
|---|
getResource, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface javax.rad.ui.IContainer |
|---|
add, add, add, getComponent, getComponentCount, getLayout, indexOf, remove, removeAll |
| Methods inherited from interface javax.rad.ui.IResource |
|---|
getResource |
| Constructor Detail |
|---|
public SwingSplitPanel()
SwingLabel with a divider size
of 6, continous layout enabled and one touch expandable enabled.
| Method Detail |
|---|
public int getOrientation()
getOrientation in interface ISplitPanelISplitPanel.setOrientation(int)public void setOrientation(int pOrientation)
setOrientation in interface ISplitPanelpOrientation - an integer specifying the orientationpublic IComponent getFirstComponent()
getFirstComponent in interface ISplitPanelIComponent displayed in that positionpublic void setFirstComponent(IComponent pComponent)
setFirstComponent in interface ISplitPanelpComponent - the IComponent to display in that positionpublic IComponent getSecondComponent()
getSecondComponent in interface ISplitPanelComponent displayed in that positionpublic void setSecondComponent(IComponent pComponent)
setSecondComponent in interface ISplitPanelpComponent - the IComponent to display in that positionpublic int getDividerPosition()
getDividerPosition in interface ISplitPanelpublic void setDividerPosition(int pDividerPosition)
setDividerPosition in interface ISplitPanelpDividerPosition - the position of the divider.public int getDividerAlignment()
getDividerAlignment in interface ISplitPanelISplitPanel.DIVIDER_TOP_LEFT,
ISplitPanel.DIVIDER_BOTTOM_RIGHT, ISplitPanel.DIVIDER_RELATIVEpublic void setDividerAlignment(int pDividerAlignment)
setDividerAlignment in interface ISplitPanelpDividerAlignment - the divider alignment: ISplitPanel.DIVIDER_TOP_LEFT,
ISplitPanel.DIVIDER_BOTTOM_RIGHT, ISplitPanel.DIVIDER_RELATIVEpublic void setLayout(ILayout pLayout)
setLayout in interface IContainersetLayout in class AwtContainer<JVxSplitPane>pLayout - the specified layout managerILayout,
IContainer.getLayout()
public void add(IComponent pComponent,
java.lang.Object pConstraints,
int pIndex)
IComponent to this container with the specified
constraints at the specified index. Also notifies the layout
manager to add the component to the this container's layout using
the specified constraints object.
add in interface IContaineradd in class AwtContainer<JVxSplitPane>pComponent - the IComponent to be addedpConstraints - an object expressing layout contraints for thispIndex - the position in the container's list at which to insert
the IComponent; -1 means insert at the end
componentIComponentpublic void remove(int pIndex)
IComponent, specified by index,
from this container.
This method also notifies the layout manager to remove the
component from this container's layout via the
removeLayoutComponent method.
remove in interface IContainerremove in class AwtContainer<JVxSplitPane>pIndex - the index of the IComponent to be removedIContainer.add(javax.rad.ui.IComponent),
IContainer.getComponentCount()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||