public class VButton extends VControl
VControl.Typecarbon, gtk, STATE_ACTIVE, STATE_ENABLED, STATE_MOUSE_DOWN, STATE_SELECTED, win32| Modifier and Type | Method | Description |
|---|---|---|
boolean |
getNativeBackground() |
|
boolean |
getSelection() |
|
VControl.Type |
getType() |
|
void |
setPaintInactive(boolean paintInactive) |
|
void |
setPaintNative(boolean paintNative) |
Setting this value currently does nothing but subclasses can take
advantage of this flag.
|
void |
setSelection(boolean select) |
Marks this button as being "selected" by the user.
|
equals, getClass, hashCode, notify, notifyAll, wait, wait, waitaddListener, computeSize, computeSize, createMenu, dispose, getBackground, getBounds, getClientArea, getClientSize, getComposite, getControl, getData, getData, getData, getData, getDisplay, getEnabled, getForeground, getImage, getLayoutData, getLocation, getMargins, getMenu, getParent, getShell, getSize, getState, getStyle, getText, 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, setBackground, setBounds, setBounds, setCursor, setData, setData, setEnabled, setFill, setFocus, setFont, setForeground, setImage, setImage, setInactiveCursor, setLayoutData, setLocation, setLocation, setMargins, setMargins, setMargins, setOval, setOval, setPainter, setParent, setPolygon, setPolygon, setScaleImage, setSize, setSquare, setStyle, setStyle, setText, setToolTipText, setVisible, setVisible, setVisible, toControl, toControl, toDisplay, toDisplay, toString, updatepublic VButton(VPanel panel, int style)
public boolean getNativeBackground()
setPaintNative(boolean)public boolean getSelection()
public VControl.Type getType()
public void setPaintInactive(boolean paintInactive)
paintInactive - true to paint the button in an inactive state.public void setPaintNative(boolean paintNative)
paintNative - true to paint nativepublic void setSelection(boolean select)
select - true to make the button "selected".