qx.ui.layout.impl
Class FlowLayoutImpl

java.lang.Object
  extended by qx.core.Object
      extended by qx.ui.layout.impl.LayoutImpl
          extended by qx.ui.layout.impl.FlowLayoutImpl

public class FlowLayoutImpl
extends LayoutImpl


Constructor Summary
FlowLayoutImpl()
           
FlowLayoutImpl(java.lang.Object vWidget)
           
 
Method Summary
 java.lang.Object computeChildrenNeededHeight()
          Calculate the layout to get the needed height of the children
 void computeChildrenNeededWidth()
          Compute and return the width 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.
 void layoutChild_location(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)
           
 void updateChildOnInnerHeightChange(java.lang.Object vChild)
          Actions that should be done if the inner height of the widget was changed.
 void 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 updateSelfOnChildOuterWidthChange(java.lang.Object vChild)
          Things to do and layout when any of the childs changes it’s outer width.
 
Methods inherited from class qx.ui.layout.impl.LayoutImpl
computeChildBoxHeight, computeChildBoxWidth, computeChildNeededHeight, computeChildNeededWidth, computeChildrenNeededHeight_max, computeChildrenNeededHeight_sum, computeChildrenNeededWidth_max, computeChildrenNeededWidth_sum, getWidget, layoutChild_marginX, layoutChild_marginY, layoutChild_sizeLimitX, layoutChild_sizeLimitY, layoutChild_sizeX_essentialWrapper, layoutChild_sizeY_essentialWrapper, layoutChild, updateChildOnInnerHeightChange, updateChildOnInnerWidthChange, updateChildrenOnAddChild, updateChildrenOnMoveChild, updateChildrenOnRemoveChild, updateSelfOnChildOuterHeightChange, updateSelfOnChildOuterWidthChange, updateSelfOnJobQueueFlush
 
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

FlowLayoutImpl

public FlowLayoutImpl()

FlowLayoutImpl

public FlowLayoutImpl(java.lang.Object vWidget)
Method Detail

computeChildrenNeededHeight

public java.lang.Object computeChildrenNeededHeight()

Calculate the layout to get the needed height of the children


computeChildrenNeededWidth

public void computeChildrenNeededWidth()

Compute and return the width needed by all children of this widget


flushChildrenQueue

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.

Overrides:
flushChildrenQueue in class LayoutImpl

layoutChild

public void layoutChild(java.lang.Object vChild,
                        java.lang.Object vJobs)

layoutChild_location

public void layoutChild_location(java.lang.Object vChild,
                                 java.lang.Object vJobs)

layoutChild_sizeX

public void layoutChild_sizeX(java.lang.Object vChild,
                              java.lang.Object vJobs)

layoutChild_sizeY

public void layoutChild_sizeY(java.lang.Object vChild,
                              java.lang.Object vJobs)

updateChildOnInnerHeightChange

public void 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.


updateChildOnInnerWidthChange

public void 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.


updateChildrenOnJobQueueFlush

public boolean updateChildrenOnJobQueueFlush(java.lang.Object vQueue)

Updates children on special jobs

Overrides:
updateChildrenOnJobQueueFlush in class LayoutImpl

updateChildrenOnMoveChild

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.


updateChildrenOnRemoveChild

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.


updateSelfOnChildOuterWidthChange

public void updateSelfOnChildOuterWidthChange(java.lang.Object vChild)

Things to do and layout when any of the childs changes it’s outer width. Needed by layouts where the children depends on each-other, like flow- or box-layouts.



Copyright © 2008 1&1. All Rights Reserved.