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.CompositewidgetFields 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) voidaddChild(VControl child)org.eclipse.swt.graphics.PointcomputeSize(int wHint, int hHint, boolean changed)voiddispose()intgetBorderWidth()VControl[]getChildren()VControlgetControl(int x, int y)VControlgetControl(int x, int y, boolean includePanels)VLayoutgetLayout()<T extends VLayout>
TgetLayout(java.lang.Class<T> clazz)VControl.TypegetType()org.eclipse.swt.widgets.CompositegetWidget()voidlayout()voidlayout(boolean changed)(package private) voidmove(VControl above, VControl below)protected booleanredrawOnActivate()protected booleanredrawOnDeactivate()(package private) voidremoveChild(VControl child)(package private) voidremoveVChild(VControl vchild)voidsetActivatable(boolean activatable)voidsetBounds(int x, int y, int width, int height)voidsetEnabled(boolean enabled)protected booleansetFocus(boolean focus)voidsetLayout(VLayout layout)voidsetLayoutData(org.eclipse.swt.layout.GridData data)voidsetSize(org.eclipse.swt.graphics.Point size)voidsetVisibility(int visibility)voidsetVisible(boolean visible)voidsetWidget(org.eclipse.swt.widgets.Composite widget)voidsort(java.util.Comparator<VControl> comparator)voidupdateColorsAndFont()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:
computeSizein 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:
redrawOnActivatein classVControl
-
redrawOnDeactivate
protected boolean redrawOnDeactivate()- Overrides:
redrawOnDeactivatein classVControl
-
removeChild
-
removeVChild
-
setActivatable
public void setActivatable(boolean activatable)- Overrides:
setActivatablein classVControl
-
setBounds
public void setBounds(int x, int y, int width, int height) -
setEnabled
public void setEnabled(boolean enabled)- Overrides:
setEnabledin classVControl
-
setFocus
protected boolean setFocus(boolean focus) -
setLayout
-
setLayoutData
public void setLayoutData(org.eclipse.swt.layout.GridData data)- Overrides:
setLayoutDatain classVControl
-
setSize
public void setSize(org.eclipse.swt.graphics.Point size) -
setVisibility
public void setVisibility(int visibility)- Overrides:
setVisibilityin classVControl
-
setVisible
public void setVisible(boolean visible)- Overrides:
setVisiblein classVControl
-
setWidget
public void setWidget(org.eclipse.swt.widgets.Composite widget) -
sort
-
updateColorsAndFont
public void updateColorsAndFont()
-