net.miginfocom.swt
public class SwtComponentWrapper extends Object implements ComponentWrapper
Constructor Summary | |
---|---|
SwtComponentWrapper(Control c) |
Method Summary | |
---|---|
boolean | equals(Object o) |
int | getBaseline(int width, int height) |
Object | getComponent() |
int | getComponetType(boolean disregardScrollPane) |
int | getHeight() |
int | getHorizontalScreenDPI() |
int | getLayoutHashCode() |
String | getLinkId() |
int | getMaximumHeight(int sz) |
int | getMaximumWidth(int sz) |
int | getMinimumHeight(int sz) |
int | getMinimumWidth(int sz) |
ContainerWrapper | getParent() |
float | getPixelUnitFactor(boolean isHor) |
int | getPreferredHeight(int sz) |
int | getPreferredWidth(int sz) |
int | getScreenHeight() |
int | getScreenLocationX() |
int | getScreenLocationY() |
int | getScreenWidth() |
int | getVerticalScreenDPI() |
int[] | getVisualPadding() |
int | getWidth() |
int | getX() |
int | getY() |
boolean | hasBaseline() |
int | hashCode() |
static boolean | isMinimumSizeZero() Sets if minimum size for SWT components should be preferred size (default, false) or 0. |
static boolean | isUseVisualPadding() |
boolean | isVisible() |
void | paintDebugOutline() |
void | setBounds(int x, int y, int width, int height) |
static void | setMinimumSizeZero(boolean b) Sets if minimum size for SWT components should be preferred size (default, false) or 0. |
static void | setUseVisualPadding(boolean b) |
Returns: true
means minimum size is 0.
Parameters: b true
means minimum size is 0.