net.miginfocom.swing
Class SwingContainerWrapper

java.lang.Object
  extended by net.miginfocom.swing.SwingComponentWrapper
      extended by net.miginfocom.swing.SwingContainerWrapper
All Implemented Interfaces:
ComponentWrapper, ContainerWrapper

public final class SwingContainerWrapper
extends SwingComponentWrapper
implements ContainerWrapper


Field Summary
 
Fields inherited from interface net.miginfocom.layout.ComponentWrapper
TYPE_BUTTON, TYPE_CHECK_BOX, TYPE_COMBO_BOX, TYPE_CONTAINER, TYPE_IMAGE, TYPE_LABEL, TYPE_LIST, TYPE_PANEL, TYPE_PROGRESS_BAR, TYPE_SCROLL_BAR, TYPE_SCROLL_PANE, TYPE_SEPARATOR, TYPE_SLIDER, TYPE_SPINNER, TYPE_TABLE, TYPE_TEXT_AREA, TYPE_TEXT_FIELD, TYPE_TREE, TYPE_UNKNOWN, TYPE_UNSET
 
Constructor Summary
SwingContainerWrapper(Container c)
           
 
Method Summary
 int getComponentCount()
           
 ComponentWrapper[] getComponents()
           
 int getComponetType(boolean disregardScrollPane)
           
 Object getLayout()
           
 int getLayoutHashCode()
           
 boolean isLeftToRight()
           
 void paintDebugCell(int x, int y, int width, int height)
           
 
Methods inherited from class net.miginfocom.swing.SwingComponentWrapper
equals, getBaseline, getComponent, getHeight, getHorizontalScreenDPI, getLinkId, getMaximumHeight, getMaximumWidth, getMinimumHeight, getMinimumWidth, getParent, getPixelUnitFactor, getPreferredHeight, getPreferredWidth, getScreenHeight, getScreenLocationX, getScreenLocationY, getScreenWidth, getVerticalScreenDPI, getVisualPadding, getWidth, getX, getY, hasBaseline, hashCode, isMaxSizeSetOn1_4, isVisible, isVisualPaddingEnabled, paintDebugOutline, setBounds, setMaxSizeSetOn1_4, setVisualPaddingEnabled
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface net.miginfocom.layout.ComponentWrapper
getBaseline, getComponent, getHeight, getHorizontalScreenDPI, getLinkId, getMaximumHeight, getMaximumWidth, getMinimumHeight, getMinimumWidth, getParent, getPixelUnitFactor, getPreferredHeight, getPreferredWidth, getScreenHeight, getScreenLocationX, getScreenLocationY, getScreenWidth, getVerticalScreenDPI, getVisualPadding, getWidth, getX, getY, hasBaseline, isVisible, paintDebugOutline, setBounds
 

Constructor Detail

SwingContainerWrapper

public SwingContainerWrapper(Container c)
Method Detail

getComponents

public ComponentWrapper[] getComponents()
Specified by:
getComponents in interface ContainerWrapper

getComponentCount

public int getComponentCount()
Specified by:
getComponentCount in interface ContainerWrapper

getLayout

public Object getLayout()
Specified by:
getLayout in interface ContainerWrapper

isLeftToRight

public final boolean isLeftToRight()
Specified by:
isLeftToRight in interface ContainerWrapper

paintDebugCell

public final void paintDebugCell(int x,
                                 int y,
                                 int width,
                                 int height)
Specified by:
paintDebugCell in interface ContainerWrapper

getComponetType

public int getComponetType(boolean disregardScrollPane)
Specified by:
getComponetType in interface ComponentWrapper
Overrides:
getComponetType in class SwingComponentWrapper

getLayoutHashCode

public int getLayoutHashCode()
Specified by:
getLayoutHashCode in interface ComponentWrapper
Overrides:
getLayoutHashCode in class SwingComponentWrapper


Copyright © 2007-2012. All Rights Reserved.