|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectqx.core.Object
qx.ui.layout.impl.LayoutImpl
qx.ui.layout.impl.VerticalBoxLayoutImpl
public class VerticalBoxLayoutImpl
Constructor Summary | |
---|---|
VerticalBoxLayoutImpl()
|
|
VerticalBoxLayoutImpl(java.lang.Object vWidget)
|
Method Summary | |
---|---|
java.lang.Object |
computeChildBoxHeight(java.lang.Object vChild)
Compute and return the box height of the given child. |
void |
computeChildBoxWidth(java.lang.Object vChild)
Compute and return the box width of the given child. |
void |
computeChildrenFlexHeight()
Computes the height of all flexible children. |
java.lang.Object |
computeChildrenNeededHeight()
Compute and return the height needed by all children of this widget |
void |
flushChildrenQueue(java.lang.Object vChildrenQueue)
This method have full control of the order in which the registered (or also non-registered) children should be layouted on the horizontal axis. |
boolean |
getEnableFlexSupport()
Returns the (computed) value of the property enableFlexSupport . |
void |
initEnableFlexSupport(boolean arg)
Calls the apply method and dispatches the change event of the property enableFlexSupport
with the default value defined by the class developer. |
void |
invalidateChildrenFlexHeight()
|
boolean |
isEnableFlexSupport()
Check whether the (computed) value of the boolean property enableFlexSupport equals true . |
void |
layoutChild_locationX(java.lang.Object vChild,
java.lang.Object vJobs)
|
void |
layoutChild_locationY(java.lang.Object vChild,
java.lang.Object vJobs)
|
void |
layoutChild_sizeX(java.lang.Object vChild,
java.lang.Object vJobs)
|
void |
layoutChild_sizeY(java.lang.Object vChild,
java.lang.Object vJobs)
|
void |
layoutChild(java.lang.Object vChild,
java.lang.Object vJobs)
This is called from qx.ui.core.Widget and it’s task is to apply the layout (excluding border and padding) to the child. |
void |
resetEnableFlexSupport()
Resets the user value of the property enableFlexSupport . |
void |
setEnableFlexSupport(boolean arg)
Sets the user value of the property enableFlexSupport . |
boolean |
toggleEnableFlexSupport()
Toggles the (computed) value of the boolean property enableFlexSupport . |
boolean |
updateChildOnInnerHeightChange(java.lang.Object vChild)
Actions that should be done if the inner height of the widget was changed. |
boolean |
updateChildOnInnerWidthChange(java.lang.Object vChild)
Actions that should be done if the inner width of the widget was changed. |
boolean |
updateChildrenOnJobQueueFlush(java.lang.Object vQueue)
Updates children on special jobs |
void |
updateChildrenOnMoveChild(java.lang.Object vChild,
java.lang.Object vIndex,
java.lang.Object vOldIndex)
This method combines calls of methods which should be done if a child should be moved inside the same parent to a new positions. |
void |
updateChildrenOnRemoveChild(java.lang.Object vChild,
java.lang.Object vIndex)
This method combines calls of methods which should be done if a widget should be removed from the current layout. |
void |
updateSelfOnChildOuterHeightChange(java.lang.Object vChild)
Things to do and layout when any of the childs changes its outer height. |
void |
updateSelfOnJobQueueFlush(java.lang.Object vJobQueue)
Invalidate and recompute things because of job in queue (before the rest of job handling will be executed). |
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 VerticalBoxLayoutImpl()
public VerticalBoxLayoutImpl(java.lang.Object vWidget)
Method Detail |
---|
public java.lang.Object computeChildBoxHeight(java.lang.Object vChild)
Compute and return the box height of the given child.
public void computeChildBoxWidth(java.lang.Object vChild)
Compute and return the box width of the given child.
public void computeChildrenFlexHeight()
Computes the height of all flexible children.
public java.lang.Object computeChildrenNeededHeight()
Compute and return the height needed by all children of this widget
public void flushChildrenQueue(java.lang.Object vChildrenQueue)
This method have full control of the order in which the registered (or also non-registered) children should be layouted on the horizontal axis.
flushChildrenQueue
in class LayoutImpl
public boolean getEnableFlexSupport()
Returns the (computed) value of the property enableFlexSupport
.
For further details take a look at the property definition: enableFlexSupport
.
public void initEnableFlexSupport(boolean arg)
Calls the apply method and dispatches the change event of the property enableFlexSupport
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: enableFlexSupport
.
public void invalidateChildrenFlexHeight()
public boolean isEnableFlexSupport()
Check whether the (computed) value of the boolean property enableFlexSupport
equals true
.
For further details take a look at the property definition: enableFlexSupport
.
public void layoutChild(java.lang.Object vChild, java.lang.Object vJobs)
This is called from qx.ui.core.Widget and it’s task is to apply the layout (excluding border and padding) to the child.
public void layoutChild_locationX(java.lang.Object vChild, java.lang.Object vJobs)
public void layoutChild_locationY(java.lang.Object vChild, java.lang.Object vJobs)
public void layoutChild_sizeX(java.lang.Object vChild, java.lang.Object vJobs)
public void layoutChild_sizeY(java.lang.Object vChild, java.lang.Object vJobs)
public void resetEnableFlexSupport()
Resets the user value of the property enableFlexSupport
.
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: enableFlexSupport
.
public void setEnableFlexSupport(boolean arg)
Sets the user value of the property enableFlexSupport
.
For further details take a look at the property definition: enableFlexSupport
.
public boolean toggleEnableFlexSupport()
Toggles the (computed) value of the boolean property enableFlexSupport
.
For further details take a look at the property definition: enableFlexSupport
.
public boolean updateChildOnInnerHeightChange(java.lang.Object vChild)
Actions that should be done if the inner height of the widget was changed. Normally this includes update to percent values and ranges.
public boolean updateChildOnInnerWidthChange(java.lang.Object vChild)
Actions that should be done if the inner width of the widget was changed. Normally this includes update to percent values and ranges.
public boolean updateChildrenOnJobQueueFlush(java.lang.Object vQueue)
Updates children on special jobs
updateChildrenOnJobQueueFlush
in class LayoutImpl
public void updateChildrenOnMoveChild(java.lang.Object vChild, java.lang.Object vIndex, java.lang.Object vOldIndex)
This method combines calls of methods which should be done if a child should be moved inside the same parent to a new positions. Needed by layouts where the children depends on each-other, like flow- or box-layouts.
public void updateChildrenOnRemoveChild(java.lang.Object vChild, java.lang.Object vIndex)
This method combines calls of methods which should be done if a widget should be removed from the current layout. Needed by layouts where the children depends on each-other, like flow- or box-layouts.
public void updateSelfOnChildOuterHeightChange(java.lang.Object vChild)
Things to do and layout when any of the childs changes its outer height. Needed by layouts where the children depends on each-other, like flow- or box-layouts.
public void updateSelfOnJobQueueFlush(java.lang.Object vJobQueue)
Invalidate and recompute things because of job in queue (before the rest of job handling will be executed).
updateSelfOnJobQueueFlush
in class LayoutImpl
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |