|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectqx.core.Object
qx.core.Target
qx.ui.core.Widget
qx.ui.core.Parent
qx.ui.layout.CanvasLayout
qx.ui.splitpane.SplitPane
public class SplitPane
Field Summary |
---|
Fields inherited from class qx.ui.core.Widget |
---|
AUTO |
Constructor Summary | |
---|---|
SplitPane()
Creates a new instance of a SplitPane. |
|
SplitPane(java.lang.String orientation)
Creates a new instance of a SplitPane. |
|
SplitPane(java.lang.String orientation,
java.lang.String firstSize)
Creates a new instance of a SplitPane. |
|
SplitPane(java.lang.String orientation,
java.lang.String firstSize,
java.lang.String secondSize)
Creates a new instance of a SplitPane. |
Method Summary | |
---|---|
void |
_applyFirstSize(java.lang.Object value,
java.lang.Object old)
|
void |
_applyOrientation(java.lang.Object value,
java.lang.Object old)
|
void |
_applySecondSize(java.lang.Object value,
java.lang.Object old)
|
void |
_applyShowKnob(java.lang.Object value,
java.lang.Object old)
|
void |
_applySplitterSize(java.lang.Object value,
java.lang.Object old)
|
void |
_commonMouseDown()
|
void |
_commonMouseUp()
|
java.lang.Object |
_normalizeX(Event e)
|
java.lang.Object |
_normalizeY(Event e)
|
void |
_onSplitterMouseDownX(MouseEvent e)
Initializes drag session in case of a mousedown event on splitter in a horizontal splitpane. |
void |
_onSplitterMouseDownY(MouseEvent e)
Initializes drag session in case of a mousedown event on splitter in a vertical splitpane. |
void |
_onSplitterMouseMoveX(MouseEvent e)
Move the splitter in case of a mousemove event on splitter in a horizontal splitpane. |
void |
_onSplitterMouseMoveY(MouseEvent e)
Move the splitter in case of a mousemove event on splitter in a vertical splitpane. |
void |
_onSplitterMouseUpX(MouseEvent e)
Ends the drag session and computes the new dimensions of panes in case of a mouseup event on splitter in a horizontal splitpane. |
void |
_onSplitterMouseUpY(MouseEvent e)
Ends the drag session and computes the new dimensions of panes in case of a mouseup event on splitter in a vertical splitpane. |
void |
_syncCommon(java.lang.Object first,
java.lang.Object second)
|
void |
_syncFirstSize()
|
void |
_syncSecondSize()
|
void |
_syncSplitterSize()
|
void |
_syncX(Event e)
|
void |
_syncY(Event e)
|
java.lang.Object |
addBottom()
adds one or more widget(s) to the bottom pane |
java.lang.Object |
addLeft()
adds one or more widget(s) to the left pane |
java.lang.Object |
addRight()
adds one or more widget(s) to the right pane |
java.lang.Object |
addTop()
adds one or more widget(s) to the top pane |
CanvasLayout |
getBottomArea()
Returns the bottom area (CanvasLayout) |
CanvasLayout |
getFirstArea()
Returns the first area (CanvasLayout) |
java.lang.Object |
getFirstSize()
Returns the (computed) value of the property firstSize . |
Widget |
getKnob()
Returns the knob. |
CanvasLayout |
getLeftArea()
Returns the left area (CanvasLayout) |
boolean |
getLiveResize()
Returns the (computed) value of the property liveResize . |
java.lang.Object |
getOrientation()
Returns the (computed) value of the property orientation . |
CanvasLayout |
getRightArea()
Returns the right area (CanvasLayout) |
CanvasLayout |
getSecondArea()
Returns the second area (CanvasLayout) |
java.lang.Object |
getSecondSize()
Returns the (computed) value of the property secondSize . |
boolean |
getShowKnob()
Returns the (computed) value of the property showKnob . |
Widget |
getSplitter()
Returns the splitter. |
java.lang.Integer |
getSplitterSize()
Returns the (computed) value of the property splitterSize . |
CanvasLayout |
getTopArea()
Returns the top area (CanvasLayout) |
void |
initFirstSize(java.lang.Object arg)
Calls the apply method and dispatches the change event of the property firstSize
with the default value defined by the class developer. |
void |
initLiveResize(boolean arg)
Calls the apply method and dispatches the change event of the property liveResize
with the default value defined by the class developer. |
void |
initOrientation(java.lang.Object arg)
Calls the apply method and dispatches the change event of the property orientation
with the default value defined by the class developer. |
void |
initSecondSize(java.lang.Object arg)
Calls the apply method and dispatches the change event of the property secondSize
with the default value defined by the class developer. |
void |
initShowKnob(boolean arg)
Calls the apply method and dispatches the change event of the property showKnob
with the default value defined by the class developer. |
void |
initSplitterSize(java.lang.Integer arg)
Calls the apply method and dispatches the change event of the property splitterSize
with the default value defined by the class developer. |
boolean |
isLiveResize()
Check whether the (computed) value of the boolean property liveResize equals true . |
boolean |
isShowKnob()
Check whether the (computed) value of the boolean property showKnob equals true . |
void |
resetFirstSize()
Resets the user value of the property firstSize . |
void |
resetLiveResize()
Resets the user value of the property liveResize . |
void |
resetOrientation()
Resets the user value of the property orientation . |
void |
resetSecondSize()
Resets the user value of the property secondSize . |
void |
resetShowKnob()
Resets the user value of the property showKnob . |
void |
resetSplitterSize()
Resets the user value of the property splitterSize . |
void |
setFirstSize(java.lang.Object arg)
Sets the user value of the property firstSize . |
void |
setLiveResize(boolean arg)
Sets the user value of the property liveResize . |
void |
setOrientation(java.lang.Object arg)
Sets the user value of the property orientation . |
void |
setSecondSize(java.lang.Object arg)
Sets the user value of the property secondSize . |
void |
setShowKnob(boolean arg)
Sets the user value of the property showKnob . |
void |
setSplitterSize(java.lang.Integer arg)
Sets the user value of the property splitterSize . |
boolean |
toggleLiveResize()
Toggles the (computed) value of the boolean property liveResize . |
boolean |
toggleShowKnob()
Toggles the (computed) value of the boolean property showKnob . |
Methods inherited from class qx.ui.layout.CanvasLayout |
---|
_createLayoutImpl |
Methods inherited from class qx.core.Target |
---|
_dispatchEvent, addChangeSelectionListener, addChangeValueListener, addEventListener, addExecuteListener, addJavaEventListener, createDispatchChangeEvent, createDispatchDataEvent, createDispatchEvent, dispatchEvent, hasEventListeners, removeEventListener |
Methods inherited from class qx.core.Object |
---|
_disposeFields, _disposeObjectDeep, _disposeObjects, base, dispose, get, getDisposed, isDisposed, reset, self, set, toHashCode, toString_ |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SplitPane()
Creates a new instance of a SplitPane. It allows the user to dynamically resize the areas dropping the border between.
Please note that the usage of percents may be problematic because you must respect the divider, too. To create a typical 50,50 split please use flex units instead e.g. “1*”, “1*”
new qx.ui.splitpane.SplitPane(orientation) new qx.ui.splitpane.SplitPane(orientation, firstSize, secondSize)
public SplitPane(java.lang.String orientation)
Creates a new instance of a SplitPane. It allows the user to dynamically resize the areas dropping the border between.
Please note that the usage of percents may be problematic because you must respect the divider, too. To create a typical 50,50 split please use flex units instead e.g. “1*”, “1*”
new qx.ui.splitpane.SplitPane(orientation) new qx.ui.splitpane.SplitPane(orientation, firstSize, secondSize)
public SplitPane(java.lang.String orientation, java.lang.String firstSize)
Creates a new instance of a SplitPane. It allows the user to dynamically resize the areas dropping the border between.
Please note that the usage of percents may be problematic because you must respect the divider, too. To create a typical 50,50 split please use flex units instead e.g. “1*”, “1*”
new qx.ui.splitpane.SplitPane(orientation) new qx.ui.splitpane.SplitPane(orientation, firstSize, secondSize)
public SplitPane(java.lang.String orientation, java.lang.String firstSize, java.lang.String secondSize)
Creates a new instance of a SplitPane. It allows the user to dynamically resize the areas dropping the border between.
Please note that the usage of percents may be problematic because you must respect the divider, too. To create a typical 50,50 split please use flex units instead e.g. “1*”, “1*”
new qx.ui.splitpane.SplitPane(orientation) new qx.ui.splitpane.SplitPane(orientation, firstSize, secondSize)
Method Detail |
---|
public void _applyFirstSize(java.lang.Object value, java.lang.Object old)
public void _applyOrientation(java.lang.Object value, java.lang.Object old)
public void _applySecondSize(java.lang.Object value, java.lang.Object old)
public void _applyShowKnob(java.lang.Object value, java.lang.Object old)
public void _applySplitterSize(java.lang.Object value, java.lang.Object old)
public void _commonMouseDown()
public void _commonMouseUp()
public java.lang.Object _normalizeX(Event e)
public java.lang.Object _normalizeY(Event e)
public void _onSplitterMouseDownX(MouseEvent e)
Initializes drag session in case of a mousedown event on splitter in a horizontal splitpane.
public void _onSplitterMouseDownY(MouseEvent e)
Initializes drag session in case of a mousedown event on splitter in a vertical splitpane.
public void _onSplitterMouseMoveX(MouseEvent e)
Move the splitter in case of a mousemove event on splitter in a horizontal splitpane.
public void _onSplitterMouseMoveY(MouseEvent e)
Move the splitter in case of a mousemove event on splitter in a vertical splitpane.
public void _onSplitterMouseUpX(MouseEvent e)
Ends the drag session and computes the new dimensions of panes in case of a mouseup event on splitter in a horizontal splitpane.
public void _onSplitterMouseUpY(MouseEvent e)
Ends the drag session and computes the new dimensions of panes in case of a mouseup event on splitter in a vertical splitpane.
public void _syncCommon(java.lang.Object first, java.lang.Object second)
public void _syncFirstSize()
public void _syncSecondSize()
public void _syncSplitterSize()
public void _syncX(Event e)
public void _syncY(Event e)
public java.lang.Object addBottom()
adds one or more widget(s) to the bottom pane
public java.lang.Object addLeft()
adds one or more widget(s) to the left pane
public java.lang.Object addRight()
adds one or more widget(s) to the right pane
public java.lang.Object addTop()
adds one or more widget(s) to the top pane
public CanvasLayout getBottomArea()
Returns the bottom area (CanvasLayout)
public CanvasLayout getFirstArea()
Returns the first area (CanvasLayout)
public java.lang.Object getFirstSize()
Returns the (computed) value of the property firstSize
.
For further details take a look at the property definition: firstSize
.
public Widget getKnob()
Returns the knob.
public CanvasLayout getLeftArea()
Returns the left area (CanvasLayout)
public boolean getLiveResize()
Returns the (computed) value of the property liveResize
.
For further details take a look at the property definition: liveResize
.
public java.lang.Object getOrientation()
Returns the (computed) value of the property orientation
.
For further details take a look at the property definition: orientation
.
public CanvasLayout getRightArea()
Returns the right area (CanvasLayout)
public CanvasLayout getSecondArea()
Returns the second area (CanvasLayout)
public java.lang.Object getSecondSize()
Returns the (computed) value of the property secondSize
.
For further details take a look at the property definition: secondSize
.
public boolean getShowKnob()
Returns the (computed) value of the property showKnob
.
For further details take a look at the property definition: showKnob
.
public Widget getSplitter()
Returns the splitter.
public java.lang.Integer getSplitterSize()
Returns the (computed) value of the property splitterSize
.
For further details take a look at the property definition: splitterSize
.
public CanvasLayout getTopArea()
Returns the top area (CanvasLayout)
public void initFirstSize(java.lang.Object arg)
Calls the apply method and dispatches the change event of the property firstSize
with the default value defined by the class developer. This function can
only be called from the constructor of a class.
For further details take a look at the property definition: firstSize
.
public void initLiveResize(boolean arg)
Calls the apply method and dispatches the change event of the property liveResize
with the default value defined by the class developer. This function can
only be called from the constructor of a class.
For further details take a look at the property definition: liveResize
.
public void initOrientation(java.lang.Object arg)
Calls the apply method and dispatches the change event of the property orientation
with the default value defined by the class developer. This function can
only be called from the constructor of a class.
For further details take a look at the property definition: orientation
.
public void initSecondSize(java.lang.Object arg)
Calls the apply method and dispatches the change event of the property secondSize
with the default value defined by the class developer. This function can
only be called from the constructor of a class.
For further details take a look at the property definition: secondSize
.
public void initShowKnob(boolean arg)
Calls the apply method and dispatches the change event of the property showKnob
with the default value defined by the class developer. This function can
only be called from the constructor of a class.
For further details take a look at the property definition: showKnob
.
public void initSplitterSize(java.lang.Integer arg)
Calls the apply method and dispatches the change event of the property splitterSize
with the default value defined by the class developer. This function can
only be called from the constructor of a class.
For further details take a look at the property definition: splitterSize
.
public boolean isLiveResize()
Check whether the (computed) value of the boolean property liveResize
equals true
.
For further details take a look at the property definition: liveResize
.
public boolean isShowKnob()
Check whether the (computed) value of the boolean property showKnob
equals true
.
For further details take a look at the property definition: showKnob
.
public void resetFirstSize()
Resets the user value of the property firstSize
.
The computed value falls back to the next available value e.g. appearance, init or inheritance value depeneding on the property configuration and value availability.
For further details take a look at the property definition: firstSize
.
public void resetLiveResize()
Resets the user value of the property liveResize
.
The computed value falls back to the next available value e.g. appearance, init or inheritance value depeneding on the property configuration and value availability.
For further details take a look at the property definition: liveResize
.
public void resetOrientation()
Resets the user value of the property orientation
.
The computed value falls back to the next available value e.g. appearance, init or inheritance value depeneding on the property configuration and value availability.
For further details take a look at the property definition: orientation
.
public void resetSecondSize()
Resets the user value of the property secondSize
.
The computed value falls back to the next available value e.g. appearance, init or inheritance value depeneding on the property configuration and value availability.
For further details take a look at the property definition: secondSize
.
public void resetShowKnob()
Resets the user value of the property showKnob
.
The computed value falls back to the next available value e.g. appearance, init or inheritance value depeneding on the property configuration and value availability.
For further details take a look at the property definition: showKnob
.
public void resetSplitterSize()
Resets the user value of the property splitterSize
.
The computed value falls back to the next available value e.g. appearance, init or inheritance value depeneding on the property configuration and value availability.
For further details take a look at the property definition: splitterSize
.
public void setFirstSize(java.lang.Object arg)
Sets the user value of the property firstSize
.
For further details take a look at the property definition: firstSize
.
public void setLiveResize(boolean arg)
Sets the user value of the property liveResize
.
For further details take a look at the property definition: liveResize
.
public void setOrientation(java.lang.Object arg)
Sets the user value of the property orientation
.
For further details take a look at the property definition: orientation
.
public void setSecondSize(java.lang.Object arg)
Sets the user value of the property secondSize
.
For further details take a look at the property definition: secondSize
.
public void setShowKnob(boolean arg)
Sets the user value of the property showKnob
.
For further details take a look at the property definition: showKnob
.
public void setSplitterSize(java.lang.Integer arg)
Sets the user value of the property splitterSize
.
For further details take a look at the property definition: splitterSize
.
public boolean toggleLiveResize()
Toggles the (computed) value of the boolean property liveResize
.
For further details take a look at the property definition: liveResize
.
public boolean toggleShowKnob()
Toggles the (computed) value of the boolean property showKnob
.
For further details take a look at the property definition: showKnob
.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |