public class VNative<T extends org.eclipse.swt.widgets.Control> extends VControl
VControl.Typecarbon, gtk, STATE_ACTIVE, STATE_ENABLED, STATE_MOUSE_DOWN, STATE_SELECTED, win32| Modifier and Type | Method | Description |
|---|---|---|
org.eclipse.swt.graphics.Point |
computeSize(int hint,
int hint2,
boolean changed) |
|
static <T extends org.eclipse.swt.widgets.Control> |
create(java.lang.Class<T> type,
VPanel parent,
int style) |
|
void |
dispose() |
|
org.eclipse.swt.graphics.Rectangle |
getClientArea() |
|
T |
getControl() |
|
java.lang.String |
getText() |
|
VControl.Type |
getType() |
|
void |
setBackground(org.eclipse.swt.graphics.Color color) |
|
void |
setBounds(int x,
int y,
int width,
int height) |
|
boolean |
setFocus() |
|
void |
setFont(org.eclipse.swt.graphics.Font font) |
|
void |
setForeground(org.eclipse.swt.graphics.Color color) |
|
void |
setText(java.lang.String text) |
|
void |
setToolTipText(java.lang.String text) |
|
void |
setVisible(boolean visible) |
|
java.lang.String |
toString() |
equals, getClass, hashCode, notify, notifyAll, wait, wait, waitaddListener, computeSize, createMenu, getBackground, getBounds, getClientSize, getComposite, getData, getData, getData, getData, getDisplay, getEnabled, getForeground, getImage, getLayoutData, getLocation, getMargins, getMenu, getParent, getShell, getSize, getState, getStyle, getToolTipText, getVisibility, getVisible, getWidget, hasState, hasStyle, isActivatable, isDisposed, isEnabled, isSameWidgetAs, isSameWidgetAs, isSquare, isVisible, moveAbove, moveBelow, notifyListeners, notifyListeners, paintControl, redraw, removeListener, setActivatable, setActiveCursor, setAlignment, setAlpha, setAlpha, setBounds, setCursor, setData, setData, setEnabled, setFill, setImage, setImage, setInactiveCursor, setLayoutData, setLocation, setLocation, setMargins, setMargins, setMargins, setOval, setOval, setPainter, setParent, setPolygon, setPolygon, setScaleImage, setSize, setSquare, setStyle, setStyle, setVisible, setVisible, toControl, toControl, toDisplay, toDisplay, updatepublic static <T extends org.eclipse.swt.widgets.Control> VNative<T> create(java.lang.Class<T> type, VPanel parent, int style)
public org.eclipse.swt.graphics.Point computeSize(int hint,
int hint2,
boolean changed)
computeSize in class VControlpublic org.eclipse.swt.graphics.Rectangle getClientArea()
getClientArea in class VControlpublic T getControl()
getControl in class VControlpublic java.lang.String getText()
public VControl.Type getType()
public void setBackground(org.eclipse.swt.graphics.Color color)
setBackground in class VControlpublic void setBounds(int x,
int y,
int width,
int height)
public void setFont(org.eclipse.swt.graphics.Font font)
public void setForeground(org.eclipse.swt.graphics.Color color)
setForeground in class VControlpublic void setToolTipText(java.lang.String text)
setToolTipText in class VControlpublic void setVisible(boolean visible)
setVisible in class VControl