|
||||||||||
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
public class LayoutImpl
Abstact base class of all layout implementations
Constructor Summary | |
---|---|
LayoutImpl()
|
|
LayoutImpl(java.lang.Object vWidget)
|
Method Summary | |
---|---|
java.lang.Integer |
computeChildBoxHeight(Widget vChild)
Compute and return the box height of the given child |
java.lang.Integer |
computeChildBoxWidth(Widget vChild)
Compute and return the box width of the given child |
java.lang.Integer |
computeChildNeededHeight(Widget vChild)
Compute and return the needed height of the given child |
java.lang.Integer |
computeChildNeededWidth(Widget vChild)
Compute and return the needed width of the given child |
java.lang.Integer |
computeChildrenNeededHeight_max()
Calculate the maximum needed height of all children |
java.lang.Integer |
computeChildrenNeededHeight_sum()
Compute and return the height needed by all children of this widget |
java.lang.Integer |
computeChildrenNeededWidth_max()
Calculate the maximum needed width of all children |
java.lang.Integer |
computeChildrenNeededWidth_sum()
Compute and return the width needed by all children of this widget |
void |
flushChildrenQueue(java.lang.Object vChildrenQueue)
Has full control of the order in which the registered (or non-registered) children should be layouted. |
Parent |
getWidget()
Returns the associated widget |
void |
layoutChild_marginX(Widget vChild,
java.lang.Object vJobs)
Apply the X margin values as pure stylesheet equivalent. |
void |
layoutChild_marginY(Widget vChild,
java.lang.Object vJobs)
Apply the Y margin values as pure stylesheet equivalent. |
void |
layoutChild_sizeLimitX(Widget vChild,
java.lang.Object vJobs)
Apply min-/max-width to the child. |
void |
layoutChild_sizeLimitY(Widget vChild,
java.lang.Object vJobs)
Apply min-/max-height to the child. |
java.lang.Object |
layoutChild_sizeX_essentialWrapper(java.lang.Object vChild,
java.lang.Object vJobs)
|
java.lang.Object |
layoutChild_sizeY_essentialWrapper(java.lang.Object vChild,
java.lang.Object vJobs)
|
void |
layoutChild(Widget vChild,
java.lang.Object vJobs)
Called from qx.ui.core.Parent. |
void |
updateChildOnInnerHeightChange(Widget vChild)
Actions that should be done if the inner height of the layout widget has changed. |
boolean |
updateChildOnInnerWidthChange(Widget vChild)
Actions that should be done if the inner width of the layout widget has changed. |
void |
updateChildrenOnAddChild(Widget vChild,
java.lang.Integer vIndex)
Add child to current layout. |
boolean |
updateChildrenOnJobQueueFlush(java.lang.Object vJobQueue)
Updates children on job queue flush. |
void |
updateChildrenOnMoveChild(Widget vChild,
java.lang.Integer vIndex,
java.lang.Integer vOldIndex)
Move child within its parent to a new position. |
void |
updateChildrenOnRemoveChild(Widget vChild,
java.lang.Integer vIndex)
Remove child from current layout. |
void |
updateSelfOnChildOuterHeightChange(Widget vChild)
Things to do and layout when any of the childs changes its outer height. |
void |
updateSelfOnChildOuterWidthChange(Widget vChild)
Things to do and layout when any of the childs changes its outer width. |
void |
updateSelfOnJobQueueFlush(java.lang.Object vJobQueue)
Invalidate and recompute cached data according to job queue. |
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 LayoutImpl()
public LayoutImpl(java.lang.Object vWidget)
Method Detail |
---|
public java.lang.Integer computeChildBoxHeight(Widget vChild)
Compute and return the box height of the given child
public java.lang.Integer computeChildBoxWidth(Widget vChild)
Compute and return the box width of the given child
public java.lang.Integer computeChildNeededHeight(Widget vChild)
Compute and return the needed height of the given child
public java.lang.Integer computeChildNeededWidth(Widget vChild)
Compute and return the needed width of the given child
public java.lang.Integer computeChildrenNeededHeight_max()
Calculate the maximum needed height of all children
public java.lang.Integer computeChildrenNeededHeight_sum()
Compute and return the height needed by all children of this widget
public java.lang.Integer computeChildrenNeededWidth_max()
Calculate the maximum needed width of all children
public java.lang.Integer computeChildrenNeededWidth_sum()
Compute and return the width needed by all children of this widget
public void flushChildrenQueue(java.lang.Object vChildrenQueue)
Has full control of the order in which the registered (or non-registered) children should be layouted.
public Parent getWidget()
Returns the associated widget
public void layoutChild(Widget vChild, java.lang.Object vJobs)
Called from qx.ui.core.Parent. Its task is to apply the layout (excluding border and padding) to the child.
public void layoutChild_marginX(Widget vChild, java.lang.Object vJobs)
Apply the X margin values as pure stylesheet equivalent.
public void layoutChild_marginY(Widget vChild, java.lang.Object vJobs)
Apply the Y margin values as pure stylesheet equivalent.
public void layoutChild_sizeLimitX(Widget vChild, java.lang.Object vJobs)
Apply min-/max-width to the child. Direct usage of stylesheet properties. This is only possible in modern capable clients (i.e. excluding all current versions of Internet Explorer)
public void layoutChild_sizeLimitY(Widget vChild, java.lang.Object vJobs)
Apply min-/max-height to the child. Direct usage of stylesheet properties. This is only possible in modern capable clients (i.e. excluding all current versions of Internet Explorer)
public java.lang.Object layoutChild_sizeX_essentialWrapper(java.lang.Object vChild, java.lang.Object vJobs)
public java.lang.Object layoutChild_sizeY_essentialWrapper(java.lang.Object vChild, java.lang.Object vJobs)
public void updateChildOnInnerHeightChange(Widget vChild)
Actions that should be done if the inner height of the layout widget has changed. Normally this includes updates to percent values and ranges.
Subclasses might implement this method
public boolean updateChildOnInnerWidthChange(Widget vChild)
Actions that should be done if the inner width of the layout widget has changed. Normally this includes updates to percent values and ranges.
Subclasses might implement this method
public void updateChildrenOnAddChild(Widget vChild, java.lang.Integer vIndex)
Add child to current layout. Rarely needed by some layout implementations.
Subclasses might implement this method
public boolean updateChildrenOnJobQueueFlush(java.lang.Object vJobQueue)
Updates children on job queue flush. This is executed at the end of the job queue handling.
Subclasses might implement this method
public void updateChildrenOnMoveChild(Widget vChild, java.lang.Integer vIndex, java.lang.Integer vOldIndex)
Move child within its parent to a new position. Needed by layouts where the children depend on each other, like flow or box layouts.
Subclasses might implement this method
public void updateChildrenOnRemoveChild(Widget vChild, java.lang.Integer vIndex)
Remove child from current layout. Needed by layouts where the children depend on each other, like flow or box layouts.
Subclasses might implement this method
public void updateSelfOnChildOuterHeightChange(Widget vChild)
Things to do and layout when any of the childs changes its outer height. Needed by layouts where the children depend on each other, like flow or box layouts.
Subclasses might implement this method
public void updateSelfOnChildOuterWidthChange(Widget vChild)
Things to do and layout when any of the childs changes its outer width. Needed by layouts where the children depend on each other, like flow or box layouts.
Subclasses might implement this method
public void updateSelfOnJobQueueFlush(java.lang.Object vJobQueue)
Invalidate and recompute cached data according to job queue. This is executed at the beginning of the job queue handling.
Subclasses might implement this method
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |