|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.eclipse.swt.widgets.Widget
org.eclipse.swt.widgets.Control
org.eclipse.swt.widgets.Scrollable
org.eclipse.swt.widgets.Composite
org.eclipse.swt.widgets.Canvas
org.eclipse.swt.widgets.Decorations
org.eclipse.swt.widgets.Shell
com.tensegrity.gui.swt.control.ExtendedShell
This class extends the
class in order to make it benefit from the Shell
interface.
Although the SWT API for the Frame
class specifies that the class is not intended to be subclassed, this should
not be an issue here since none of the Shell class methods are herein
overridden. Note that this class provides an empty implementation of the
Shell method. This is required in order to
be able to extend the checkSubclass()
class.
Shell
| Field Summary |
| Fields inherited from class org.eclipse.swt.widgets.Control |
handle |
| Constructor Summary | |
ExtendedShell(org.eclipse.swt.widgets.Display display,
int style)
Initializes this ExtendedShell. |
|
ExtendedShell(org.eclipse.swt.widgets.Shell parent,
int style)
Initializes this ExtendedShell. |
|
| Method Summary | |
void |
applyEvList()
Tells the component to apply its UIItemEvaluationList. |
protected void |
checkSubclass()
Overwrite with an empty implementation. |
int |
getHeight()
Returns the height of the component in pixels. |
BasicComponent |
getParentComponent()
Returns the parent Component of this instance. |
int |
getWidth()
Returns the width of the component in pixels. |
void |
installEvList()
Tells the component to setup its internal state. |
void |
repaint()
Triggers a repaint. |
| Methods inherited from class org.eclipse.swt.widgets.Shell |
addShellListener, close, dispose, forceActive, getBounds, getEnabled, getImeInputMode, getLocation, getRegion, getShell, getShells, getSize, isEnabled, isVisible, open, removeShellListener, setActive, setEnabled, setImeInputMode, setRegion, setVisible, win32_new |
| Methods inherited from class org.eclipse.swt.widgets.Decorations |
computeTrim, getClientArea, getDefaultButton, getImage, getImages, getMaximized, getMenuBar, getMinimized, getText, isReparentable, setDefaultButton, setImage, setImages, setMaximized, setMenuBar, setMinimized, setText |
| Methods inherited from class org.eclipse.swt.widgets.Canvas |
getCaret, scroll, setCaret, setFont |
| Methods inherited from class org.eclipse.swt.widgets.Composite |
computeSize, getChildren, getLayout, getTabList, layout, layout, setFocus, setLayout, setTabList |
| Methods inherited from class org.eclipse.swt.widgets.Scrollable |
getHorizontalBar, getVerticalBar |
| Methods inherited from class org.eclipse.swt.widgets.Control |
addControlListener, addFocusListener, addHelpListener, addKeyListener, addMouseListener, addMouseMoveListener, addMouseTrackListener, addPaintListener, addTraverseListener, computeSize, forceFocus, getAccessible, getBackground, getBorderWidth, getFont, getForeground, getLayoutData, getMenu, getMonitor, getParent, getToolTipText, getVisible, internal_dispose_GC, internal_new_GC, isFocusControl, moveAbove, moveBelow, pack, pack, redraw, redraw, removeControlListener, removeFocusListener, removeHelpListener, removeKeyListener, removeMouseListener, removeMouseMoveListener, removeMouseTrackListener, removePaintListener, removeTraverseListener, setBackground, setBounds, setBounds, setCapture, setCursor, setForeground, setLayoutData, setLocation, setLocation, setMenu, setParent, setRedraw, setSize, setSize, setToolTipText, toControl, toControl, toDisplay, toDisplay, traverse, update |
| Methods inherited from class org.eclipse.swt.widgets.Widget |
addDisposeListener, addListener, checkWidget, getData, getData, getDisplay, getStyle, isDisposed, isListening, notifyListeners, removeDisposeListener, removeListener, removeListener, setData, setData, toString |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public ExtendedShell(org.eclipse.swt.widgets.Display display,
int style)
Initializes this ExtendedShell. Please refer to the documentation of
for more information. This constructor does nothing but forwarding the
call to the super class.
Shell.Shell(org.eclipse.swt.widgets.Display, int)
display - the display to create the shell onstyle - the style of control to construct
public ExtendedShell(org.eclipse.swt.widgets.Shell parent,
int style)
Initializes this ExtendedShell. Please refer to the documentation of
for more information. This constructor does nothing but forwarding the
call to the super class.
Shell.Shell(org.eclipse.swt.widgets.Shell, int)
parent - a shell which will be the parent of the new instancestyle - the style of control to construct| Method Detail |
public int getHeight()
BasicComponent
getHeight in interface BasicComponentpublic BasicComponent getParentComponent()
BasicComponent
getParentComponent in interface BasicComponentnull if no parent exists.public int getWidth()
BasicComponent
getWidth in interface BasicComponentpublic void repaint()
BasicComponent
repaint in interface BasicComponentpublic void applyEvList()
EvaluableUIItemEvaluationList.
applyEvList in interface Evaluablepublic void installEvList()
Evaluable
installEvList in interface Evaluableprotected void checkSubclass()
Widget.checkSubclass()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||