public class VNative<T extends org.eclipse.swt.widgets.Control> extends VControl
VControl.Type
Modifier and Type | Field and Description |
---|---|
(package private) T |
control |
background, bounds, carbon, composite, customToolTip, dataMap, disposed, fill, font, foreground, gtk, image, layoutData, listeners, marginBottom, marginLeft, marginRight, marginTop, menu, painter, parent, points, scaleImage, square, STATE_ACTIVE, STATE_ENABLED, STATE_MOUSE_DOWN, STATE_SELECTED, svg, text, tooltipText, visibility, win32, xAlign, yAlign
Modifier and Type | Method and Description |
---|---|
(package private) void |
attachListeners(boolean key) |
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) |
(package private) void |
detachListeners(boolean key) |
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() |
activate, addListener, addListener, computeSize, containsControl, createMenu, deactivate, filterEvent, getBackground, getBounds, getClientSize, getComposite, getData, getData, getData, getData, getDisplay, getEnabled, getFont, getForeground, getImage, getLayoutData, getListeners, getLocation, getMargins, getMenu, getParent, getShell, getSize, getState, getStyle, getToolTipText, getVisibility, getVisible, getWidget, handleEvent, hasState, hasStyle, isActivatable, isDisposed, isEnabled, isSameWidgetAs, isSameWidgetAs, isSquare, isVisible, moveAbove, moveBelow, notifyListeners, notifyListeners, paintControl, redraw, redrawOnActivate, redrawOnDeactivate, removeListener, removeListener, setActivatable, setActiveCursor, setAlignment, setAlpha, setAlpha, setBounds, setCursor, setData, setData, setEnabled, setFill, setFocus, setImage, setImage, setInactiveCursor, setLayoutData, setLocation, setLocation, setMargins, setMargins, setMargins, setOval, setOval, setPainter, setParent, setPolygon, setPolygon, setScaleImage, setSize, setSquare, setState, setStyle, setStyle, setVisibility, setVisible, setVisible, toControl, toControl, toDisplay, toDisplay, update
T extends org.eclipse.swt.widgets.Control control
public static <T extends org.eclipse.swt.widgets.Control> VNative<T> create(java.lang.Class<T> type, VPanel parent, int style)
void attachListeners(boolean key)
attachListeners
in class VControl
void detachListeners(boolean key)
detachListeners
in class VControl
public org.eclipse.swt.graphics.Point computeSize(int hint, int hint2, boolean changed)
computeSize
in class VControl
public org.eclipse.swt.graphics.Rectangle getClientArea()
getClientArea
in class VControl
public T getControl()
getControl
in class VControl
public java.lang.String getText()
public VControl.Type getType()
public void setBackground(org.eclipse.swt.graphics.Color color)
setBackground
in class VControl
public 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 VControl
public void setToolTipText(java.lang.String text)
setToolTipText
in class VControl
public void setVisible(boolean visible)
setVisible
in class VControl