net.miginfocom.swing

Class SwingComponentWrapper

public class SwingComponentWrapper extends Object implements ComponentWrapper

Constructor Summary
SwingComponentWrapper(Component c)
Method Summary
booleanequals(Object o)
intgetBaseline(int width, int height)
ObjectgetComponent()
intgetComponetType(boolean disregardScrollPane)
intgetHeight()
intgetHorizontalScreenDPI()
intgetLayoutHashCode()
StringgetLinkId()
intgetMaximumHeight(int sz)
intgetMaximumWidth(int sz)
intgetMinimumHeight(int sz)
intgetMinimumWidth(int sz)
ContainerWrappergetParent()
floatgetPixelUnitFactor(boolean isHor)
intgetPreferredHeight(int sz)
intgetPreferredWidth(int sz)
intgetScreenHeight()
intgetScreenLocationX()
intgetScreenLocationY()
intgetScreenWidth()
intgetVerticalScreenDPI()
int[]getVisualPadding()
intgetWidth()
intgetX()
intgetY()
booleanhasBaseline()
inthashCode()
static booleanisMaxSizeSetOn1_4()
booleanisVisible()
static booleanisVisualPaddingEnabled()
voidpaintDebugOutline()
voidsetBounds(int x, int y, int width, int height)
static voidsetMaxSizeSetOn1_4(boolean b)
static voidsetVisualPaddingEnabled(boolean b)

Constructor Detail

SwingComponentWrapper

public SwingComponentWrapper(Component c)

Method Detail

equals

public final boolean equals(Object o)

getBaseline

public final int getBaseline(int width, int height)

getComponent

public final Object getComponent()

getComponetType

public int getComponetType(boolean disregardScrollPane)

getHeight

public final int getHeight()

getHorizontalScreenDPI

public final int getHorizontalScreenDPI()

getLayoutHashCode

public int getLayoutHashCode()

getLinkId

public final String getLinkId()

getMaximumHeight

public final int getMaximumHeight(int sz)

getMaximumWidth

public final int getMaximumWidth(int sz)

getMinimumHeight

public final int getMinimumHeight(int sz)

getMinimumWidth

public final int getMinimumWidth(int sz)

getParent

public final ContainerWrapper getParent()

getPixelUnitFactor

public final float getPixelUnitFactor(boolean isHor)

getPreferredHeight

public final int getPreferredHeight(int sz)

getPreferredWidth

public final int getPreferredWidth(int sz)

getScreenHeight

public final int getScreenHeight()

getScreenLocationX

public final int getScreenLocationX()

getScreenLocationY

public final int getScreenLocationY()

getScreenWidth

public final int getScreenWidth()

getVerticalScreenDPI

public final int getVerticalScreenDPI()

getVisualPadding

public final int[] getVisualPadding()

getWidth

public final int getWidth()

getX

public final int getX()

getY

public final int getY()

hasBaseline

public final boolean hasBaseline()

hashCode

public final int hashCode()

isMaxSizeSetOn1_4

public static boolean isMaxSizeSetOn1_4()

isVisible

public boolean isVisible()

isVisualPaddingEnabled

public static boolean isVisualPaddingEnabled()

paintDebugOutline

public final void paintDebugOutline()

setBounds

public final void setBounds(int x, int y, int width, int height)

setMaxSizeSetOn1_4

public static void setMaxSizeSetOn1_4(boolean b)

setVisualPaddingEnabled

public static void setVisualPaddingEnabled(boolean b)