public interface ContainerWrapper
ExtendsComponentWrapper
Methods
public abstract ComponentWrapper[] getComponents() | Returns the components of the container that wrapper is wrapping. |
public abstract int getComponentCount() | Returns the number of components that this parent has. |
public abstract Object getLayout() | Returns the LayoutHandler (in Swing terms) that is handling the layout of this container. |
public abstract boolean isLeftToRight() | Returns if this container is using left-to-right component ordering. |
public abstract void paintDebugCell(int x, int y, int width, int height) | Paints a cell to indicate where it is. |
Inherited fields
From ComponentWrapper
TYPE_UNSET, TYPE_UNKNOWN, TYPE_CONTAINER, TYPE_LABEL, TYPE_TEXT_FIELD, TYPE_TEXT_AREA, TYPE_BUTTON, TYPE_LIST, TYPE_TABLE, TYPE_SCROLL_PANE, TYPE_IMAGE, TYPE_PANEL, TYPE_COMBO_BOX, TYPE_SLIDER, TYPE_SPINNER, TYPE_PROGRESS_BAR, TYPE_TREE, TYPE_CHECK_BOX, TYPE_SCROLL_BAR, TYPE_SEPARATOR, TYPE_TABBED_PANE
Inherited methods
From ComponentWrapper
getComponent, getX, getY, getWidth, getHeight, getScreenLocationX, getScreenLocationY, getMinimumWidth, getMinimumHeight, getPreferredWidth, getPreferredHeight, getMaximumWidth, getMaximumHeight, setBounds, isVisible, getBaseline, hasBaseline, getParent, getPixelUnitFactor, getHorizontalScreenDPI, getVerticalScreenDPI, getScreenWidth, getScreenHeight, getLinkId, getLayoutHashCode, getVisualPadding, paintDebugOutline, getComponentType, getContentBias
Method details
getComponents
public abstract ComponentWrapper[] getComponents()Returns
null.getComponentCount
public abstract int getComponentCount()Returns
getLayout
public abstract Object getLayout()LayoutHandler (in Swing terms) that is handling the layout of this container.
If there exist no such class the method should return the same as #getComponent(), which is the
container itself.Returns
null.isLeftToRight
public abstract boolean isLeftToRight()Returns
paintDebugCell
public abstract void paintDebugCell(int x, int y, int width, int height)Parameters
xint- The x coordinate to start the drwaing.
yint- The x coordinate to start the drwaing.
widthint- The width to draw/fill
heightint- The height to draw/fill