java.lang.Object
net.miginfocom.swing.SwingComponentWrapper
- All Implemented Interfaces:
ComponentWrapper
- Direct Known Subclasses:
SwingContainerWrapper
-
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 -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanfinal intgetBaseline(int width, int height) final ObjectintgetComponentType(boolean disregardScrollPane) intfinal intfinal intintfinal Stringfinal intgetMaximumHeight(int sz) final intgetMaximumWidth(int sz) final intgetMinimumHeight(int sz) final intgetMinimumWidth(int sz) final ContainerWrapperfinal floatgetPixelUnitFactor(boolean isHor) final intgetPreferredHeight(int sz) final intgetPreferredWidth(int sz) final intfinal intfinal intfinal intfinal intfinal int[]final intgetWidth()final intgetX()final intgetY()final booleanfinal inthashCode()static booleanDeprecated.Java 1.4 is not supported anymorebooleanstatic booleanfinal voidpaintDebugOutline(boolean showVisualPadding) final voidsetBounds(int x, int y, int width, int height) static voidsetMaxSizeSetOn1_4(boolean b) Deprecated.Java 1.4 is not supported anymorestatic voidsetVisualPaddingEnabled(boolean b)
-
Constructor Details
-
SwingComponentWrapper
-
-
Method Details
-
getBaseline
public final int getBaseline(int width, int height) - Specified by:
getBaselinein interfaceComponentWrapper
-
getComponent
- Specified by:
getComponentin interfaceComponentWrapper
-
getPixelUnitFactor
public final float getPixelUnitFactor(boolean isHor) - Specified by:
getPixelUnitFactorin interfaceComponentWrapper
-
getX
public final int getX()- Specified by:
getXin interfaceComponentWrapper
-
getY
public final int getY()- Specified by:
getYin interfaceComponentWrapper
-
getHeight
public final int getHeight()- Specified by:
getHeightin interfaceComponentWrapper
-
getWidth
public final int getWidth()- Specified by:
getWidthin interfaceComponentWrapper
-
getScreenLocationX
public final int getScreenLocationX()- Specified by:
getScreenLocationXin interfaceComponentWrapper
-
getScreenLocationY
public final int getScreenLocationY()- Specified by:
getScreenLocationYin interfaceComponentWrapper
-
getMinimumHeight
public final int getMinimumHeight(int sz) - Specified by:
getMinimumHeightin interfaceComponentWrapper
-
getMinimumWidth
public final int getMinimumWidth(int sz) - Specified by:
getMinimumWidthin interfaceComponentWrapper
-
getPreferredHeight
public final int getPreferredHeight(int sz) - Specified by:
getPreferredHeightin interfaceComponentWrapper
-
getPreferredWidth
public final int getPreferredWidth(int sz) - Specified by:
getPreferredWidthin interfaceComponentWrapper
-
getMaximumHeight
public final int getMaximumHeight(int sz) - Specified by:
getMaximumHeightin interfaceComponentWrapper
-
getMaximumWidth
public final int getMaximumWidth(int sz) - Specified by:
getMaximumWidthin interfaceComponentWrapper
-
getParent
- Specified by:
getParentin interfaceComponentWrapper
-
getHorizontalScreenDPI
public final int getHorizontalScreenDPI()- Specified by:
getHorizontalScreenDPIin interfaceComponentWrapper
-
getVerticalScreenDPI
public final int getVerticalScreenDPI()- Specified by:
getVerticalScreenDPIin interfaceComponentWrapper
-
getScreenWidth
public final int getScreenWidth()- Specified by:
getScreenWidthin interfaceComponentWrapper
-
getScreenHeight
public final int getScreenHeight()- Specified by:
getScreenHeightin interfaceComponentWrapper
-
hasBaseline
public final boolean hasBaseline()- Specified by:
hasBaselinein interfaceComponentWrapper
-
getLinkId
- Specified by:
getLinkIdin interfaceComponentWrapper
-
setBounds
public final void setBounds(int x, int y, int width, int height) - Specified by:
setBoundsin interfaceComponentWrapper
-
isVisible
public boolean isVisible()- Specified by:
isVisiblein interfaceComponentWrapper
-
getVisualPadding
public final int[] getVisualPadding()- Specified by:
getVisualPaddingin interfaceComponentWrapper
-
isMaxSizeSetOn1_4
public static boolean isMaxSizeSetOn1_4()Deprecated.Java 1.4 is not supported anymore -
setMaxSizeSetOn1_4
public static void setMaxSizeSetOn1_4(boolean b) Deprecated.Java 1.4 is not supported anymore -
isVisualPaddingEnabled
public static boolean isVisualPaddingEnabled() -
setVisualPaddingEnabled
public static void setVisualPaddingEnabled(boolean b) -
paintDebugOutline
public final void paintDebugOutline(boolean showVisualPadding) - Specified by:
paintDebugOutlinein interfaceComponentWrapper
-
getComponentType
public int getComponentType(boolean disregardScrollPane) - Specified by:
getComponentTypein interfaceComponentWrapper
-
getLayoutHashCode
public int getLayoutHashCode()- Specified by:
getLayoutHashCodein interfaceComponentWrapper
-
hashCode
public final int hashCode() -
equals
-
getContentBias
public int getContentBias()- Specified by:
getContentBiasin interfaceComponentWrapper
-