|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sibvisions.rad.ui.qt.impl.QtResource<C>
com.sibvisions.rad.ui.qt.impl.QtComponentBase<C>
com.sibvisions.rad.ui.qt.impl.QtComponent<C>
com.sibvisions.rad.ui.qt.impl.QtContainer<QVxSplitter>
com.sibvisions.rad.ui.qt.impl.container.QtSplitPanel
public class QtSplitPanel
The QtSplitPanel is the ISplitPanel
implementation for QT.
QVxSplitter,
ISplitPanel| Field Summary |
|---|
| Fields inherited from class com.sibvisions.rad.ui.qt.impl.QtComponent |
|---|
parent |
| Fields inherited from class com.sibvisions.rad.ui.qt.impl.QtComponentBase |
|---|
factory |
| Fields inherited from class com.sibvisions.rad.ui.qt.impl.QtResource |
|---|
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_LEFT, ALIGN_RIGHT, ALIGN_STRETCH, ALIGN_TOP |
| Constructor Summary | |
|---|---|
QtSplitPanel()
Creates a new instance of QtSplitter. |
|
| Method Summary | |
|---|---|
void |
add(IComponent pComponent,
Object pConstraints,
int pIndex)
Adds the specified 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. |
void |
addIntern(IComponent pComponent,
Object pConstraints,
int pIndex)
Internal function, for adding physical component and supporting layers. |
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 |
removeIntern(IComponent pComponent)
Internal function, for adding physical component and supporting layers. |
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 class com.sibvisions.rad.ui.qt.impl.QtContainer |
|---|
add, add, add, checkAdd, getComponent, getComponentCount, getLayout, indexOf, remove, remove, removeAll, setLayout, setLayoutIntern |
| Methods inherited from class com.sibvisions.rad.ui.qt.impl.QtComponent |
|---|
addStyle, capture, getBackground, getBounds, getCursor, getFont, getForeground, getHorizontalAlignment, getLocation, getMaximumSize, getMinimumSize, getName, getParent, getPreferredSize, getSize, getStyleSheet, getToolTipText, getVerticalAlignment, isBackgroundSet, isCursorSet, isEnabled, isFocusable, isFontSet, isForegroundSet, isMaximumSizeSet, isMinimumSizeSet, isPreferredSizeSet, requestFocus, setBackground, setBounds, setCursor, setEnabled, setFocusable, setFont, setForeground, setHorizontalAlignment, setLocation, setMaximumSize, setMinimumSize, setName, setParent, setPreferredSize, setResourceVisible, setSize, setToolTipText, setVerticalAlignment |
| Methods inherited from class com.sibvisions.rad.ui.qt.impl.QtComponentBase |
|---|
eventKeyPressed, eventKeyReleased, eventKeyTyped, eventMouseClicked, eventMouseEntered, eventMouseExited, eventMousePressed, eventMouseReleased, getFactory, isVisible, setFactory, setVisible |
| Methods inherited from class com.sibvisions.rad.ui.qt.impl.QtResource |
|---|
equals, getResource, hashCode, 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, remove, removeAll, setLayout |
| Methods inherited from interface javax.rad.ui.IResource |
|---|
getResource |
| Constructor Detail |
|---|
public QtSplitPanel()
QtSplitter.
| Method Detail |
|---|
public void setFirstComponent(IComponent pComponent)
setFirstComponent in interface ISplitPanelpComponent - the IComponent to display in that positionpublic IComponent getFirstComponent()
getFirstComponent in interface ISplitPanelIComponent displayed in that positionpublic void setSecondComponent(IComponent pComponent)
setSecondComponent in interface ISplitPanelpComponent - the IComponent to display in that positionpublic IComponent getSecondComponent()
getSecondComponent in interface ISplitPanelComponent displayed in that positionpublic void setOrientation(int pOrientation)
setOrientation in interface ISplitPanelpOrientation - an integer specifying the orientationpublic int getOrientation()
getOrientation in interface ISplitPanelISplitPanel.setOrientation(int)public void setDividerPosition(int pDividerPosition)
setDividerPosition in interface ISplitPanelpDividerPosition - the position of the divider.public int getDividerPosition()
getDividerPosition in interface ISplitPanelpublic void setDividerAlignment(int pDividerAlignment)
setDividerAlignment in interface ISplitPanelpDividerAlignment - the divider alignment: ISplitPanel.DIVIDER_TOP_LEFT,
ISplitPanel.DIVIDER_BOTTOM_RIGHT, ISplitPanel.DIVIDER_RELATIVEpublic int getDividerAlignment()
getDividerAlignment in interface ISplitPanelISplitPanel.DIVIDER_TOP_LEFT,
ISplitPanel.DIVIDER_BOTTOM_RIGHT, ISplitPanel.DIVIDER_RELATIVE
public void add(IComponent pComponent,
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 QtContainer<QVxSplitter>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
componentIComponent
public void addIntern(IComponent pComponent,
Object pConstraints,
int pIndex)
addIntern in class QtContainer<QVxSplitter>pComponent - the Component to be addedpConstraints - an object expressing layout contraints for thispIndex - the position in the container's list at which to insert
the Component; -1 means insert at the end
componentQtContainer.add(IComponent, Object, int)public void removeIntern(IComponent pComponent)
removeIntern in class QtContainer<QVxSplitter>pComponent - the Component to be removedQtContainer.remove(int)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||