- java.lang.Object
-
- net.miginfocom.swing.SwingComponentWrapper
-
- 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_TABBED_PANE, TYPE_TABLE, TYPE_TEXT_AREA, TYPE_TEXT_FIELD, TYPE_TREE, TYPE_UNKNOWN, TYPE_UNSET
-
-
Constructor Summary
Constructors Constructor Description SwingContainerWrapper(Container c)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getComponentCount()
ComponentWrapper[]
getComponents()
int
getComponentType(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, getContentBias, 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, getContentBias, 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 interfaceContainerWrapper
-
getComponentCount
public int getComponentCount()
- Specified by:
getComponentCount
in interfaceContainerWrapper
-
getLayout
public Object getLayout()
- Specified by:
getLayout
in interfaceContainerWrapper
-
isLeftToRight
public final boolean isLeftToRight()
- Specified by:
isLeftToRight
in interfaceContainerWrapper
-
paintDebugCell
public final void paintDebugCell(int x, int y, int width, int height)
- Specified by:
paintDebugCell
in interfaceContainerWrapper
-
getComponentType
public int getComponentType(boolean disregardScrollPane)
- Specified by:
getComponentType
in interfaceComponentWrapper
- Overrides:
getComponentType
in classSwingComponentWrapper
-
getLayoutHashCode
public int getLayoutHashCode()
- Specified by:
getLayoutHashCode
in interfaceComponentWrapper
- Overrides:
getLayoutHashCode
in classSwingComponentWrapper
-
-