qx.ui.menu
Class ButtonLayoutImpl

java.lang.Object
  extended by qx.core.Object
      extended by qx.ui.layout.impl.LayoutImpl
          extended by qx.ui.layout.impl.HorizontalBoxLayoutImpl
              extended by qx.ui.menu.ButtonLayoutImpl

public class ButtonLayoutImpl
extends HorizontalBoxLayoutImpl


Constructor Summary
ButtonLayoutImpl()
           
ButtonLayoutImpl(java.lang.Object vWidget)
           
 
Method Summary
 java.lang.Integer computeChildrenNeededWidth()
          Compute and return the width needed by all children of this widget
 void layoutChild_locationX(java.lang.Object vChild, java.lang.Object vJobs)
           
 void updateSelfOnChildOuterWidthChange(java.lang.Object vChild)
          Things to do and layout when any of the childs changes its outer width.
 
Methods inherited from class qx.ui.layout.impl.HorizontalBoxLayoutImpl
computeChildBoxHeight, computeChildBoxWidth, computeChildrenFlexWidth, flushChildrenQueue, getEnableFlexSupport, initEnableFlexSupport, invalidateChildrenFlexWidth, isEnableFlexSupport, layoutChild_locationY, layoutChild_sizeX, layoutChild_sizeY, layoutChild, resetEnableFlexSupport, setEnableFlexSupport, toggleEnableFlexSupport, updateChildOnInnerHeightChange, updateChildOnInnerWidthChange, updateChildrenOnJobQueueFlush, updateChildrenOnMoveChild, updateChildrenOnRemoveChild, updateSelfOnJobQueueFlush
 
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
 
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

ButtonLayoutImpl

public ButtonLayoutImpl()

ButtonLayoutImpl

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

computeChildrenNeededWidth

public java.lang.Integer computeChildrenNeededWidth()

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

Overrides:
computeChildrenNeededWidth in class HorizontalBoxLayoutImpl

layoutChild_locationX

public void layoutChild_locationX(java.lang.Object vChild,
                                  java.lang.Object vJobs)
Overrides:
layoutChild_locationX in class HorizontalBoxLayoutImpl

updateSelfOnChildOuterWidthChange

public void updateSelfOnChildOuterWidthChange(java.lang.Object vChild)

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

Overrides:
updateSelfOnChildOuterWidthChange in class HorizontalBoxLayoutImpl


Copyright © 2008 1&1. All Rights Reserved.