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 boolean
final int
getBaseline
(int width, int height) final Object
int
getComponentType
(boolean disregardScrollPane) int
final int
final int
int
final String
final int
getMaximumHeight
(int sz) final int
getMaximumWidth
(int sz) final int
getMinimumHeight
(int sz) final int
getMinimumWidth
(int sz) final ContainerWrapper
final float
getPixelUnitFactor
(boolean isHor) final int
getPreferredHeight
(int sz) final int
getPreferredWidth
(int sz) final int
final int
final int
final int
final int
final int[]
final int
getWidth()
final int
getX()
final int
getY()
final boolean
final int
hashCode()
static boolean
Deprecated.Java 1.4 is not supported anymoreboolean
static boolean
final void
paintDebugOutline
(boolean showVisualPadding) final void
setBounds
(int x, int y, int width, int height) static void
setMaxSizeSetOn1_4
(boolean b) Deprecated.Java 1.4 is not supported anymorestatic void
setVisualPaddingEnabled
(boolean b)
-
Constructor Details
-
SwingComponentWrapper
-
-
Method Details
-
getBaseline
public final int getBaseline(int width, int height) - Specified by:
getBaseline
in interfaceComponentWrapper
-
getComponent
- Specified by:
getComponent
in interfaceComponentWrapper
-
getPixelUnitFactor
public final float getPixelUnitFactor(boolean isHor) - Specified by:
getPixelUnitFactor
in interfaceComponentWrapper
-
getX
public final int getX()- Specified by:
getX
in interfaceComponentWrapper
-
getY
public final int getY()- Specified by:
getY
in interfaceComponentWrapper
-
getHeight
public final int getHeight()- Specified by:
getHeight
in interfaceComponentWrapper
-
getWidth
public final int getWidth()- Specified by:
getWidth
in interfaceComponentWrapper
-
getScreenLocationX
public final int getScreenLocationX()- Specified by:
getScreenLocationX
in interfaceComponentWrapper
-
getScreenLocationY
public final int getScreenLocationY()- Specified by:
getScreenLocationY
in interfaceComponentWrapper
-
getMinimumHeight
public final int getMinimumHeight(int sz) - Specified by:
getMinimumHeight
in interfaceComponentWrapper
-
getMinimumWidth
public final int getMinimumWidth(int sz) - Specified by:
getMinimumWidth
in interfaceComponentWrapper
-
getPreferredHeight
public final int getPreferredHeight(int sz) - Specified by:
getPreferredHeight
in interfaceComponentWrapper
-
getPreferredWidth
public final int getPreferredWidth(int sz) - Specified by:
getPreferredWidth
in interfaceComponentWrapper
-
getMaximumHeight
public final int getMaximumHeight(int sz) - Specified by:
getMaximumHeight
in interfaceComponentWrapper
-
getMaximumWidth
public final int getMaximumWidth(int sz) - Specified by:
getMaximumWidth
in interfaceComponentWrapper
-
getParent
- Specified by:
getParent
in interfaceComponentWrapper
-
getHorizontalScreenDPI
public final int getHorizontalScreenDPI()- Specified by:
getHorizontalScreenDPI
in interfaceComponentWrapper
-
getVerticalScreenDPI
public final int getVerticalScreenDPI()- Specified by:
getVerticalScreenDPI
in interfaceComponentWrapper
-
getScreenWidth
public final int getScreenWidth()- Specified by:
getScreenWidth
in interfaceComponentWrapper
-
getScreenHeight
public final int getScreenHeight()- Specified by:
getScreenHeight
in interfaceComponentWrapper
-
hasBaseline
public final boolean hasBaseline()- Specified by:
hasBaseline
in interfaceComponentWrapper
-
getLinkId
- Specified by:
getLinkId
in interfaceComponentWrapper
-
setBounds
public final void setBounds(int x, int y, int width, int height) - Specified by:
setBounds
in interfaceComponentWrapper
-
isVisible
public boolean isVisible()- Specified by:
isVisible
in interfaceComponentWrapper
-
getVisualPadding
public final int[] getVisualPadding()- Specified by:
getVisualPadding
in 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:
paintDebugOutline
in interfaceComponentWrapper
-
getComponentType
public int getComponentType(boolean disregardScrollPane) - Specified by:
getComponentType
in interfaceComponentWrapper
-
getLayoutHashCode
public int getLayoutHashCode()- Specified by:
getLayoutHashCode
in interfaceComponentWrapper
-
hashCode
public final int hashCode() -
equals
-
getContentBias
public int getContentBias()- Specified by:
getContentBias
in interfaceComponentWrapper
-