|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectyu.ac.bg.etf.javaqx.core.AbstractDisposable
yu.ac.bg.etf.javaqx.qswing.JQComponent
yu.ac.bg.etf.javaqx.qswing.JQSplitPane
Split Pane Component.
Field Summary |
Fields inherited from class yu.ac.bg.etf.javaqx.qswing.JQComponent |
listenerList |
Fields inherited from interface yu.ac.bg.etf.javaqx.qswing.QSwingConstants |
BOTTOM, CENTER, HORIZONTAL, LEADING, LEFT, RIGHT, TOP, TRAILING, VERTICAL |
Fields inherited from interface yu.ac.bg.etf.javaqx.qswing.properties.JQSplitPaneProperties |
PROPERTY_CONTINUOUS_LAYOUT, PROPERTY_DIVIDER_LOCATION, PROPERTY_DIVIDER_SIZE, PROPERTY_ONE_TOUCH_EXPANDABLE, PROPERTY_ORIENTATION, PROPERTY_RESIZE_WEIGHT |
Fields inherited from interface yu.ac.bg.etf.javaqx.qswing.properties.JQComponentProperties |
PROPERTY_BACKGROUND, PROPERTY_COMPONENT_ORIENTATION, PROPERTY_CONTEXT_MENU, PROPERTY_ENABLED, PROPERTY_FIXED_SIZE, PROPERTY_FOCUSABLE, PROPERTY_FONT, PROPERTY_FOREGROUND, PROPERTY_INSETS, PROPERTY_LOCALE, PROPERTY_MAXIMUM_SIZE, PROPERTY_MINIMUM_SIZE, PROPERTY_NAME, PROPERTY_OPAQUE, PROPERTY_PREFERRED_SIZE, PROPERTY_RESOURCE_BUNDLE_NAME, PROPERTY_STATUS_TIP_TEXT, PROPERTY_STYLE_SHEET, PROPERTY_TOOL_TIP_TEXT, PROPERTY_VISIBLE, PROPERTY_WHATS_THIS_TEXT |
Constructor Summary | |
JQSplitPane()
Constructs new JQSplitPane object. |
|
JQSplitPane(int orientation)
Constructs new JQSplitPane object. |
|
JQSplitPane(int orientation,
boolean continuousLayout)
Constructs new JQSplitPane object. |
|
JQSplitPane(int orientation,
boolean continuousLayout,
JQComponent leftComponent,
JQComponent rightComponent)
Constructs new JQSplitPane object. |
|
JQSplitPane(int orientation,
JQComponent leftComponent,
JQComponent rightComponent)
Constructs new JQSplitPane object. |
|
JQSplitPane(JQComponent leftComponent,
JQComponent rightComponent)
Constructs new JQSplitPane object. |
Method Summary | |
JQComponent |
getBottomComponent()
Returns bottom component. |
int |
getDividerLocation()
Returns divider location. |
int |
getDividerSize()
Returns divider size. |
JQComponent |
getLeftComponent()
Returns left component. |
int |
getOrientation()
Returns orientation of the split pane. |
JQComponent[] |
getOwnedComponents()
Return an array containing all the components this component currently owns. |
double |
getResizeWeight()
Returns the resize weight. |
JQComponent |
getRightComponent()
Returns right component. |
JQComponent |
getTopComponent()
Returns top component. |
boolean |
isContinuousLayout()
Returns true if the resize of split pane's components is continuous. |
boolean |
isOneTouchExpandable()
Returns true if the components of the split pane can be quickly expanded/collapsed. |
void |
setBottomComponent(JQComponent bottomComponent)
Sets bottom component. |
void |
setContinuousLayout(boolean continuousLayout)
Sets whether or not the resize of split pane's components is continuous. |
void |
setDividerLocation(int dividerLocation)
Sets divider location. |
void |
setDividerSize(int dividerSize)
Sets divider size. |
JQComponent |
setLeftComponent(JQComponent leftComponent)
Sets left component. |
void |
setOneTouchExpandable(boolean oneTouchExpandable)
Sets whether or not the components of the split pane can be quickly expanded/collapsed. |
void |
setOrientation(int orientation)
Sets orientation. |
void |
setResizeWeight(double resizeWeight)
Sets resize weight. |
void |
setRightComponent(JQComponent rightComponent)
Sets right component. |
void |
setTopComponent(JQComponent topComponent)
Sets top component. |
Methods inherited from class yu.ac.bg.etf.javaqx.core.AbstractDisposable |
addDisposeListener, dispose, disposedCheck, disposedErrorString, finalize, isDisposed, removeDisposeListener |
Methods inherited from class java.lang.Object |
clone, equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public JQSplitPane()
public JQSplitPane(int orientation)
orientation
- the orientationpublic JQSplitPane(int orientation, boolean continuousLayout)
orientation
- the orientationcontinuousLayout
- true if resize of split pane's components
is continuouspublic JQSplitPane(int orientation, JQComponent leftComponent, JQComponent rightComponent)
orientation
- the orientationleftComponent
- the left componentrightComponent
- the right componentpublic JQSplitPane(JQComponent leftComponent, JQComponent rightComponent)
leftComponent
- the left componentrightComponent
- the right componentpublic JQSplitPane(int orientation, boolean continuousLayout, JQComponent leftComponent, JQComponent rightComponent)
orientation
- the orientationcontinuousLayout
- true if resize of split pane's components
is continuousleftComponent
- the left componentrightComponent
- the right componentMethod Detail |
public int getOrientation()
public void setOrientation(int orientation)
orientation
- the orientationpublic boolean isContinuousLayout()
public void setContinuousLayout(boolean continuousLayout)
continuousLayout
- true if continuouspublic double getResizeWeight()
public void setResizeWeight(double resizeWeight)
resizeWeight
- the resize weightpublic int getDividerSize()
public void setDividerSize(int dividerSize)
dividerSize
- the divider sizepublic int getDividerLocation()
public void setDividerLocation(int dividerLocation)
dividerLocation
- the divider locationpublic boolean isOneTouchExpandable()
public void setOneTouchExpandable(boolean oneTouchExpandable)
oneTouchExpandable
- true if expandablepublic JQComponent getLeftComponent()
public JQComponent setLeftComponent(JQComponent leftComponent)
leftComponent
- the left component
public JQComponent getRightComponent()
public void setRightComponent(JQComponent rightComponent)
rightComponent
- the right componentpublic JQComponent getTopComponent()
public void setTopComponent(JQComponent topComponent)
topComponent
- top componentpublic JQComponent getBottomComponent()
public void setBottomComponent(JQComponent bottomComponent)
bottomComponent
- bottom componentpublic JQComponent[] getOwnedComponents()
getOwnedComponents
in class JQComponent
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |