Package org.eclipse.nebula.cwt.v
Class VPanel
java.lang.Object
org.eclipse.nebula.cwt.v.VControl
org.eclipse.nebula.cwt.v.VPanel
- Direct Known Subclasses:
AnalogTimePicker
,DatePicker
,DiscreteTimePicker
public class VPanel extends VControl
-
Nested Class Summary
-
Field Summary
Fields Modifier and Type Field Description (package private) java.util.List<VControl>
children
(package private) org.eclipse.swt.widgets.Composite
widget
Fields inherited from class org.eclipse.nebula.cwt.v.VControl
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
-
Constructor Summary
-
Method Summary
Modifier and Type Method Description (package private) void
addChild(VControl child)
org.eclipse.swt.graphics.Point
computeSize(int wHint, int hHint, boolean changed)
void
dispose()
int
getBorderWidth()
VControl[]
getChildren()
VControl
getControl(int x, int y)
VControl
getControl(int x, int y, boolean includePanels)
VLayout
getLayout()
<T extends VLayout>
TgetLayout(java.lang.Class<T> clazz)
VControl.Type
getType()
org.eclipse.swt.widgets.Composite
getWidget()
void
layout()
void
layout(boolean changed)
(package private) void
move(VControl above, VControl below)
protected boolean
redrawOnActivate()
protected boolean
redrawOnDeactivate()
(package private) void
removeChild(VControl child)
(package private) void
removeVChild(VControl vchild)
void
setActivatable(boolean activatable)
void
setBounds(int x, int y, int width, int height)
void
setEnabled(boolean enabled)
protected boolean
setFocus(boolean focus)
void
setLayout(VLayout layout)
void
setLayoutData(org.eclipse.swt.layout.GridData data)
void
setSize(org.eclipse.swt.graphics.Point size)
void
setVisibility(int visibility)
void
setVisible(boolean visible)
void
setWidget(org.eclipse.swt.widgets.Composite widget)
void
sort(java.util.Comparator<VControl> comparator)
void
updateColorsAndFont()
Methods inherited from class org.eclipse.nebula.cwt.v.VControl
activate, addListener, addListener, attachListeners, computeSize, containsControl, createMenu, deactivate, detachListeners, filterEvent, getBackground, getBounds, getClientArea, getClientSize, getComposite, getControl, getData, getData, getData, getData, getDisplay, getEnabled, getFont, getForeground, getImage, getLayoutData, getListeners, getLocation, getMargins, getMenu, getParent, getShell, getSize, getState, getStyle, getText, getToolTipText, getVisibility, getVisible, handleEvent, hasState, hasStyle, isActivatable, isDisposed, isEnabled, isSameWidgetAs, isSameWidgetAs, isSquare, isVisible, moveAbove, moveBelow, notifyListeners, notifyListeners, paintControl, redraw, removeListener, removeListener, setActiveCursor, setAlignment, setAlpha, setAlpha, setBackground, setBounds, setCursor, setData, setData, setFill, setFocus, setFont, setForeground, setImage, setImage, setInactiveCursor, setLocation, setLocation, setMargins, setMargins, setMargins, setOval, setOval, setPainter, setParent, setPolygon, setPolygon, setScaleImage, setSquare, setState, setStyle, setStyle, setText, setToolTipText, setVisible, setVisible, toControl, toControl, toDisplay, toDisplay, toString, update
-
Field Details
-
Constructor Details
-
Method Details
-
addChild
-
computeSize
public org.eclipse.swt.graphics.Point computeSize(int wHint, int hHint, boolean changed)- Overrides:
computeSize
in classVControl
-
dispose
public void dispose() -
getBorderWidth
public int getBorderWidth() -
getChildren
-
getControl
-
getControl
-
getLayout
-
getLayout
-
getType
-
getWidget
public org.eclipse.swt.widgets.Composite getWidget() -
layout
public void layout() -
layout
public void layout(boolean changed) -
move
-
redrawOnActivate
protected boolean redrawOnActivate()- Overrides:
redrawOnActivate
in classVControl
-
redrawOnDeactivate
protected boolean redrawOnDeactivate()- Overrides:
redrawOnDeactivate
in classVControl
-
removeChild
-
removeVChild
-
setActivatable
public void setActivatable(boolean activatable)- Overrides:
setActivatable
in classVControl
-
setBounds
public void setBounds(int x, int y, int width, int height) -
setEnabled
public void setEnabled(boolean enabled)- Overrides:
setEnabled
in classVControl
-
setFocus
protected boolean setFocus(boolean focus) -
setLayout
-
setLayoutData
public void setLayoutData(org.eclipse.swt.layout.GridData data)- Overrides:
setLayoutData
in classVControl
-
setSize
public void setSize(org.eclipse.swt.graphics.Point size) -
setVisibility
public void setVisibility(int visibility)- Overrides:
setVisibility
in classVControl
-
setVisible
public void setVisible(boolean visible)- Overrides:
setVisible
in classVControl
-
setWidget
public void setWidget(org.eclipse.swt.widgets.Composite widget) -
sort
-
updateColorsAndFont
public void updateColorsAndFont()
-