Java Doc for Shell.java in  » IDE-Eclipse » swt » org » eclipse » swt » widgets » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » IDE Eclipse » swt » org.eclipse.swt.widgets 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   org.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

Shell
public class Shell extends Decorations (Code)
Instances of this class represent the "windows" which the desktop or "window manager" is managing. Instances that do not have a parent (that is, they are built using the constructor, which takes a Display as the argument) are described as top level shells. Instances that do have a parent are described as secondary or dialog shells.

Instances are always displayed in one of the maximized, minimized or normal states:

  • When an instance is marked as maximized, the window manager will typically resize it to fill the entire visible area of the display, and the instance is usually put in a state where it can not be resized (even if it has style RESIZE) until it is no longer maximized.
  • When an instance is in the normal state (neither maximized or minimized), its appearance is controlled by the style constants which were specified when it was created and the restrictions of the window manager (see below).
  • When an instance has been marked as minimized, its contents (client area) will usually not be visible, and depending on the window manager, it may be "iconified" (that is, replaced on the desktop by a small simplified representation of itself), relocated to a distinguished area of the screen, or hidden. Combinations of these changes are also possible.

The modality of an instance may be specified using style bits. The modality style bits are used to determine whether input is blocked for other shells on the display. The PRIMARY_MODAL style allows an instance to block input to its parent. The APPLICATION_MODAL style allows an instance to block input to every other shell in the display. The SYSTEM_MODAL style allows an instance to block input to all shells, including shells belonging to different applications.

Note: The styles supported by this class are treated as HINTs, since the window manager for the desktop on which the instance is visible has ultimate control over the appearance and behavior of decorations and modality. For example, some window managers only support resizable windows and will always assume the RESIZE style, even if it is not set. In addition, if a modality style is not supported, it is "upgraded" to a more restrictive modality style that is supported. For example, if PRIMARY_MODAL is not supported, it would be upgraded to APPLICATION_MODAL. A modality style may also be "downgraded" to a less restrictive style. For example, most operating systems no longer support SYSTEM_MODAL because it can freeze up the desktop, so this is typically downgraded to APPLICATION_MODAL.

Styles:
BORDER, CLOSE, MIN, MAX, NO_TRIM, RESIZE, TITLE, ON_TOP, TOOL
APPLICATION_MODAL, MODELESS, PRIMARY_MODAL, SYSTEM_MODAL
Events:
Activate, Close, Deactivate, Deiconify, Iconify
Class SWT provides two "convenience constants" for the most commonly required style combinations:
SHELL_TRIM
the result of combining the constants which are required to produce a typical application top level shell: (that is, CLOSE | TITLE | MIN | MAX | RESIZE)
DIALOG_TRIM
the result of combining the constants which are required to produce a typical application dialog shell: (that is, TITLE | CLOSE | BORDER)

Note: Only one of the styles APPLICATION_MODAL, MODELESS, PRIMARY_MODAL and SYSTEM_MODAL may be specified.

IMPORTANT: This class is not intended to be subclassed.


See Also:   Decorations
See Also:   SWT


Field Summary
static  intDEFAULT_CLIENT_HEIGHT
    
static  intDEFAULT_CLIENT_WIDTH
    
 intimHandle
    
 intinvalRgn
    
 ControllastActive
    
 RectanglenormalBounds
    
 Regionregion
    
 booleanresizedmoveddrawingreshapeupdatedeferDisposeactivedisposedopenedfullScreen
    
 RectrgnRect
    
 intshellHandlewindowGroup
    

Constructor Summary
public  Shell()
     Constructs a new instance of this class.
public  Shell(int style)
     Constructs a new instance of this class given only the style value describing its behavior and appearance.
public  Shell(Display display)
     Constructs a new instance of this class given only the display to create it on.
public  Shell(Display display, int style)
     Constructs a new instance of this class given the display to create it on and a style value describing its behavior and appearance.

The style value is either one of the style constants defined in class SWT which is applicable to instances of this class, or must be built by bitwise OR'ing together (that is, using the int "|" operator) two or more of those SWT style constants.

 Shell(Display display, Shell parent, int style, int handle, boolean embedded)
    
public  Shell(Shell parent)
     Constructs a new instance of this class given only its parent.
public  Shell(Shell parent, int style)
     Constructs a new instance of this class given its parent and a style value describing its behavior and appearance.

The style value is either one of the style constants defined in class SWT which is applicable to instances of this class, or must be built by bitwise OR'ing together (that is, using the int "|" operator) two or more of those SWT style constants.


Method Summary
public  voidaddShellListener(ShellListener listener)
     Adds the listener to the collection of listeners who will be notified when operations are performed on the receiver, by sending the listener one of the messages defined in the ShellListener interface.
 voidbringToTop(boolean force)
    
 voidcheckOpen()
    
static  intcheckStyle(int style)
    
public  voidclose()
     Requests that the window manager close the receiver in the same way it would be closed when the user clicks on the "close box" or performs some other platform specific key or mouse combination that indicates the window should be removed.
 voidcloseWidget()
    
public  RectanglecomputeTrim(int x, int y, int width, int height)
    
 voidcreateHandle()
    
 voidcreateWidget()
    
 voidderegister()
    
 voiddestroyWidget()
    
 voiddrawWidget(int control, int context, int damageRgn, int visibleRgn, int theEvent)
    
 ControlfindBackgroundControl()
    
 CursorfindCursor()
    
 CompositefindDeferredControl()
    
 voidfixShell(Shell newShell, Control control)
    
public  voidforceActive()
     If the receiver is visible, moves it to the top of the drawing order for the display on which it was created (so that all other shells on that display, which are not the receiver's children will be drawn behind it) and forces the window manager to make the shell active.
public  RectanglegetBounds()
    
 intgetDrawCount(int control)
    
public  booleangetFullScreen()
    
public  intgetImeInputMode()
     Returns the receiver's input method editor mode.
public  PointgetLocation()
    
public  booleangetMaximized()
    
public  booleangetMinimized()
    
public  PointgetMinimumSize()
     Returns a point describing the minimum receiver's size.
 float[]getParentBackground()
    
public  RegiongetRegion()
     Returns the region that defines the shape of the shell, or null if the shell has the default shape.
public  ShellgetShell()
    
public  Shell[]getShells()
     Returns an array containing all shells which are descendants of the receiver.
public  PointgetSize()
    
 floatgetThemeAlpha()
    
 booleanhasBorder()
    
 voidhookEvents()
    
public static  Shellinternal_new(Display display, int handle)
    
 voidinvalWindowRgn(int window, int rgn)
    
 voidinvalidateVisibleRegion(int control)
    
public  booleanisEnabled()
    
 booleanisEnabledCursor()
    
public  booleanisVisible()
    
 intkEventWindowActivated(int nextHandler, int theEvent, int userData)
    
 intkEventWindowBoundsChanged(int nextHandler, int theEvent, int userData)
    
 intkEventWindowClose(int nextHandler, int theEvent, int userData)
    
 intkEventWindowCollapsed(int nextHandler, int theEvent, int userData)
    
 intkEventWindowDeactivated(int nextHandler, int theEvent, int userData)
    
 intkEventWindowDrawContent(int nextHandler, int theEvent, int userData)
    
 intkEventWindowExpanded(int nextHandler, int theEvent, int userData)
    
 intkEventWindowGetClickModality(int nextHandler, int theEvent, int userData)
    
 intkEventWindowGetRegion(int nextHandler, int theEvent, int userData)
    
 intkEventWindowHidden(int nextHandler, int theEvent, int userData)
    
 intkEventWindowHitTest(int nextHandler, int theEvent, int userData)
    
 intkEventWindowShown(int nextHandler, int theEvent, int userData)
    
 intkEventWindowUpdate(int nextHandler, int theEvent, int userData)
    
public  voidopen()
     Moves the receiver to the top of the drawing order for the display on which it was created (so that all other shells on that display, which are not the receiver's children will be drawn behind it), marks it visible, sets the focus and asks the window manager to make the shell active.
 voidregister()
    
 voidreleaseChildren(boolean destroy)
    
 voidreleaseHandle()
    
 voidreleaseParent()
    
 voidreleaseWidget()
    
public  voidremoveShellListener(ShellListener listener)
     Removes the listener from the collection of listeners who will be notified when operations are performed on the receiver.
 voidresizeBounds()
    
public  voidsetActive()
    
 voidsetActiveControl(Control control)
    
 intsetBounds(int x, int y, int width, int height, boolean move, boolean resize, boolean events)
    
public  voidsetEnabled(boolean enabled)
    
public  voidsetFullScreen(boolean fullScreen)
    
public  voidsetImeInputMode(int mode)
     Sets the input method editor mode to the argument which should be the result of bitwise OR'ing together one or more of the following constants defined in class SWT: NONE, ROMAN, DBCS, PHONETIC, NATIVE, ALPHA.
public  voidsetMaximized(boolean maximized)
    
public  voidsetMenuBar(Menu menu)
    
public  voidsetMinimized(boolean minimized)
    
public  voidsetMinimumSize(int width, int height)
     Sets the receiver's minimum size to the size specified by the arguments.
public  voidsetMinimumSize(Point size)
     Sets the receiver's minimum size to the size specified by the argument.
public  voidsetRegion(Region region)
     Sets the shape of the shell to the region specified by the argument.
public  voidsetText(String string)
    
public  voidsetVisible(boolean visible)
    
 voidsetWindowVisible(boolean visible)
    
 voidsetZOrder()
    
 voidsetZOrder(Control control, boolean above)
    
 booleantraverseEscape()
    
 voidupdateSystemUIMode()
    

Field Detail
DEFAULT_CLIENT_HEIGHT
static int DEFAULT_CLIENT_HEIGHT(Code)



DEFAULT_CLIENT_WIDTH
static int DEFAULT_CLIENT_WIDTH(Code)



imHandle
int imHandle(Code)



invalRgn
int invalRgn(Code)



lastActive
Control lastActive(Code)



normalBounds
Rectangle normalBounds(Code)



region
Region region(Code)



resizedmoveddrawingreshapeupdatedeferDisposeactivedisposedopenedfullScreen
boolean resizedmoveddrawingreshapeupdatedeferDisposeactivedisposedopenedfullScreen(Code)



rgnRect
Rect rgnRect(Code)



shellHandlewindowGroup
int shellHandlewindowGroup(Code)




Constructor Detail
Shell
public Shell()(Code)
Constructs a new instance of this class. This is equivalent to calling Shell((Display) null).
exception:
  SWTException -
  • ERROR_THREAD_INVALID_ACCESS - if not called from the thread that created the parent
  • ERROR_INVALID_SUBCLASS - if this class is not an allowed subclass



Shell
public Shell(int style)(Code)
Constructs a new instance of this class given only the style value describing its behavior and appearance. This is equivalent to calling Shell((Display) null, style).

The style value is either one of the style constants defined in class SWT which is applicable to instances of this class, or must be built by bitwise OR'ing together (that is, using the int "|" operator) two or more of those SWT style constants. The class description lists the style constants that are applicable to the class. Style bits are also inherited from superclasses.


Parameters:
  style - the style of control to construct
exception:
  SWTException -
  • ERROR_THREAD_INVALID_ACCESS - if not called from the thread that created the parent
  • ERROR_INVALID_SUBCLASS - if this class is not an allowed subclass

See Also:   SWT.BORDER
See Also:   SWT.CLOSE
See Also:   SWT.MIN
See Also:   SWT.MAX
See Also:   SWT.RESIZE
See Also:   SWT.TITLE
See Also:   SWT.NO_TRIM
See Also:   SWT.SHELL_TRIM
See Also:   SWT.DIALOG_TRIM
See Also:   SWT.MODELESS
See Also:   SWT.PRIMARY_MODAL
See Also:   SWT.APPLICATION_MODAL
See Also:   SWT.SYSTEM_MODAL



Shell
public Shell(Display display)(Code)
Constructs a new instance of this class given only the display to create it on. It is created with style SWT.SHELL_TRIM.

Note: Currently, null can be passed in for the display argument. This has the effect of creating the shell on the currently active display if there is one. If there is no current display, the shell is created on a "default" display. Passing in null as the display argument is not considered to be good coding style, and may not be supported in a future release of SWT.


Parameters:
  display - the display to create the shell on
exception:
  SWTException -
  • ERROR_THREAD_INVALID_ACCESS - if not called from the thread that created the parent
  • ERROR_INVALID_SUBCLASS - if this class is not an allowed subclass



Shell
public Shell(Display display, int style)(Code)
Constructs a new instance of this class given the display to create it on and a style value describing its behavior and appearance.

The style value is either one of the style constants defined in class SWT which is applicable to instances of this class, or must be built by bitwise OR'ing together (that is, using the int "|" operator) two or more of those SWT style constants. The class description lists the style constants that are applicable to the class. Style bits are also inherited from superclasses.

Note: Currently, null can be passed in for the display argument. This has the effect of creating the shell on the currently active display if there is one. If there is no current display, the shell is created on a "default" display. Passing in null as the display argument is not considered to be good coding style, and may not be supported in a future release of SWT.


Parameters:
  display - the display to create the shell on
Parameters:
  style - the style of control to construct
exception:
  SWTException -
  • ERROR_THREAD_INVALID_ACCESS - if not called from the thread that created the parent
  • ERROR_INVALID_SUBCLASS - if this class is not an allowed subclass

See Also:   SWT.BORDER
See Also:   SWT.CLOSE
See Also:   SWT.MIN
See Also:   SWT.MAX
See Also:   SWT.RESIZE
See Also:   SWT.TITLE
See Also:   SWT.NO_TRIM
See Also:   SWT.SHELL_TRIM
See Also:   SWT.DIALOG_TRIM
See Also:   SWT.MODELESS
See Also:   SWT.PRIMARY_MODAL
See Also:   SWT.APPLICATION_MODAL
See Also:   SWT.SYSTEM_MODAL



Shell
Shell(Display display, Shell parent, int style, int handle, boolean embedded)(Code)



Shell
public Shell(Shell parent)(Code)
Constructs a new instance of this class given only its parent. It is created with style SWT.DIALOG_TRIM.

Note: Currently, null can be passed in for the parent. This has the effect of creating the shell on the currently active display if there is one. If there is no current display, the shell is created on a "default" display. Passing in null as the parent is not considered to be good coding style, and may not be supported in a future release of SWT.


Parameters:
  parent - a shell which will be the parent of the new instance
exception:
  IllegalArgumentException -
  • ERROR_INVALID_ARGUMENT - if the parent is disposed

exception:
  SWTException -
  • ERROR_THREAD_INVALID_ACCESS - if not called from the thread that created the parent
  • ERROR_INVALID_SUBCLASS - if this class is not an allowed subclass



Shell
public Shell(Shell parent, int style)(Code)
Constructs a new instance of this class given its parent and a style value describing its behavior and appearance.

The style value is either one of the style constants defined in class SWT which is applicable to instances of this class, or must be built by bitwise OR'ing together (that is, using the int "|" operator) two or more of those SWT style constants. The class description lists the style constants that are applicable to the class. Style bits are also inherited from superclasses.

Note: Currently, null can be passed in for the parent. This has the effect of creating the shell on the currently active display if there is one. If there is no current display, the shell is created on a "default" display. Passing in null as the parent is not considered to be good coding style, and may not be supported in a future release of SWT.


Parameters:
  parent - a shell which will be the parent of the new instance
Parameters:
  style - the style of control to construct
exception:
  IllegalArgumentException -
  • ERROR_INVALID_ARGUMENT - if the parent is disposed

exception:
  SWTException -
  • ERROR_THREAD_INVALID_ACCESS - if not called from the thread that created the parent
  • ERROR_INVALID_SUBCLASS - if this class is not an allowed subclass

See Also:   SWT.BORDER
See Also:   SWT.CLOSE
See Also:   SWT.MIN
See Also:   SWT.MAX
See Also:   SWT.RESIZE
See Also:   SWT.TITLE
See Also:   SWT.NO_TRIM
See Also:   SWT.SHELL_TRIM
See Also:   SWT.DIALOG_TRIM
See Also:   SWT.ON_TOP
See Also:   SWT.TOOL
See Also:   SWT.MODELESS
See Also:   SWT.PRIMARY_MODAL
See Also:   SWT.APPLICATION_MODAL
See Also:   SWT.SYSTEM_MODAL




Method Detail
addShellListener
public void addShellListener(ShellListener listener)(Code)
Adds the listener to the collection of listeners who will be notified when operations are performed on the receiver, by sending the listener one of the messages defined in the ShellListener interface.
Parameters:
  listener - the listener which should be notified
exception:
  IllegalArgumentException -
  • ERROR_NULL_ARGUMENT - if the listener is null

exception:
  SWTException -
  • ERROR_WIDGET_DISPOSED - if the receiver has been disposed
  • ERROR_THREAD_INVALID_ACCESS - if not called from the thread that created the receiver

See Also:   ShellListener
See Also:   Shell.removeShellListener



bringToTop
void bringToTop(boolean force)(Code)



checkOpen
void checkOpen()(Code)



checkStyle
static int checkStyle(int style)(Code)



close
public void close()(Code)
Requests that the window manager close the receiver in the same way it would be closed when the user clicks on the "close box" or performs some other platform specific key or mouse combination that indicates the window should be removed.
exception:
  SWTException -
  • ERROR_WIDGET_DISPOSED - if the receiver has been disposed
  • ERROR_THREAD_INVALID_ACCESS - if not called from the thread that created the receiver

See Also:   SWT.Close
See Also:   Shell.dispose



closeWidget
void closeWidget()(Code)



computeTrim
public Rectangle computeTrim(int x, int y, int width, int height)(Code)



createHandle
void createHandle()(Code)



createWidget
void createWidget()(Code)



deregister
void deregister()(Code)



destroyWidget
void destroyWidget()(Code)



drawWidget
void drawWidget(int control, int context, int damageRgn, int visibleRgn, int theEvent)(Code)



findBackgroundControl
Control findBackgroundControl()(Code)



findCursor
Cursor findCursor()(Code)



findDeferredControl
Composite findDeferredControl()(Code)



fixShell
void fixShell(Shell newShell, Control control)(Code)



forceActive
public void forceActive()(Code)
If the receiver is visible, moves it to the top of the drawing order for the display on which it was created (so that all other shells on that display, which are not the receiver's children will be drawn behind it) and forces the window manager to make the shell active.
exception:
  SWTException -
  • ERROR_WIDGET_DISPOSED - if the receiver has been disposed
  • ERROR_THREAD_INVALID_ACCESS - if not called from the thread that created the receiver

since:
   2.0
See Also:   Control.moveAbove
See Also:   Control.setFocus
See Also:   Control.setVisible
See Also:   Display.getActiveShell
See Also:   Decorations.setDefaultButton(Button)
See Also:   Shell.open
See Also:   Shell.setActive



getBounds
public Rectangle getBounds()(Code)



getDrawCount
int getDrawCount(int control)(Code)



getFullScreen
public boolean getFullScreen()(Code)



getImeInputMode
public int getImeInputMode()(Code)
Returns the receiver's input method editor mode. This will be the result of bitwise OR'ing together one or more of the following constants defined in class SWT: NONE, ROMAN, DBCS, PHONETIC, NATIVE, ALPHA. the IME mode
exception:
  SWTException -
  • ERROR_WIDGET_DISPOSED - if the receiver has been disposed
  • ERROR_THREAD_INVALID_ACCESS - if not called from the thread that created the receiver

See Also:   SWT



getLocation
public Point getLocation()(Code)



getMaximized
public boolean getMaximized()(Code)



getMinimized
public boolean getMinimized()(Code)



getMinimumSize
public Point getMinimumSize()(Code)
Returns a point describing the minimum receiver's size. The x coordinate of the result is the minimum width of the receiver. The y coordinate of the result is the minimum height of the receiver. the receiver's size
exception:
  SWTException -
  • ERROR_WIDGET_DISPOSED - if the receiver has been disposed
  • ERROR_THREAD_INVALID_ACCESS - if not called from the thread that created the receiver

since:
   3.1



getParentBackground
float[] getParentBackground()(Code)



getRegion
public Region getRegion()(Code)
Returns the region that defines the shape of the shell, or null if the shell has the default shape. the region that defines the shape of the shell (or null)
exception:
  SWTException -
  • ERROR_WIDGET_DISPOSED - if the receiver has been disposed
  • ERROR_THREAD_INVALID_ACCESS - if not called from the thread that created the receiver

since:
   3.0



getShell
public Shell getShell()(Code)



getShells
public Shell[] getShells()(Code)
Returns an array containing all shells which are descendants of the receiver.

the dialog shells
exception:
  SWTException -

  • ERROR_WIDGET_DISPOSED - if the receiver has been disposed
  • ERROR_THREAD_INVALID_ACCESS - if not called from the thread that created the receiver



getSize
public Point getSize()(Code)



getThemeAlpha
float getThemeAlpha()(Code)



hasBorder
boolean hasBorder()(Code)



hookEvents
void hookEvents()(Code)



internal_new
public static Shell internal_new(Display display, int handle)(Code)



invalWindowRgn
void invalWindowRgn(int window, int rgn)(Code)



invalidateVisibleRegion
void invalidateVisibleRegion(int control)(Code)



isEnabled
public boolean isEnabled()(Code)



isEnabledCursor
boolean isEnabledCursor()(Code)



isVisible
public boolean isVisible()(Code)



kEventWindowActivated
int kEventWindowActivated(int nextHandler, int theEvent, int userData)(Code)



kEventWindowBoundsChanged
int kEventWindowBoundsChanged(int nextHandler, int theEvent, int userData)(Code)



kEventWindowClose
int kEventWindowClose(int nextHandler, int theEvent, int userData)(Code)



kEventWindowCollapsed
int kEventWindowCollapsed(int nextHandler, int theEvent, int userData)(Code)



kEventWindowDeactivated
int kEventWindowDeactivated(int nextHandler, int theEvent, int userData)(Code)



kEventWindowDrawContent
int kEventWindowDrawContent(int nextHandler, int theEvent, int userData)(Code)



kEventWindowExpanded
int kEventWindowExpanded(int nextHandler, int theEvent, int userData)(Code)



kEventWindowGetClickModality
int kEventWindowGetClickModality(int nextHandler, int theEvent, int userData)(Code)



kEventWindowGetRegion
int kEventWindowGetRegion(int nextHandler, int theEvent, int userData)(Code)



kEventWindowHidden
int kEventWindowHidden(int nextHandler, int theEvent, int userData)(Code)



kEventWindowHitTest
int kEventWindowHitTest(int nextHandler, int theEvent, int userData)(Code)



kEventWindowShown
int kEventWindowShown(int nextHandler, int theEvent, int userData)(Code)



kEventWindowUpdate
int kEventWindowUpdate(int nextHandler, int theEvent, int userData)(Code)



open
public void open()(Code)
Moves the receiver to the top of the drawing order for the display on which it was created (so that all other shells on that display, which are not the receiver's children will be drawn behind it), marks it visible, sets the focus and asks the window manager to make the shell active.
exception:
  SWTException -
  • ERROR_WIDGET_DISPOSED - if the receiver has been disposed
  • ERROR_THREAD_INVALID_ACCESS - if not called from the thread that created the receiver

See Also:   Control.moveAbove
See Also:   Control.setFocus
See Also:   Control.setVisible
See Also:   Display.getActiveShell
See Also:   Decorations.setDefaultButton(Button)
See Also:   Shell.setActive
See Also:   Shell.forceActive



register
void register()(Code)



releaseChildren
void releaseChildren(boolean destroy)(Code)



releaseHandle
void releaseHandle()(Code)



releaseParent
void releaseParent()(Code)



releaseWidget
void releaseWidget()(Code)



removeShellListener
public void removeShellListener(ShellListener listener)(Code)
Removes the listener from the collection of listeners who will be notified when operations are performed on the receiver.
Parameters:
  listener - the listener which should no longer be notified
exception:
  IllegalArgumentException -
  • ERROR_NULL_ARGUMENT - if the listener is null

exception:
  SWTException -
  • ERROR_WIDGET_DISPOSED - if the receiver has been disposed
  • ERROR_THREAD_INVALID_ACCESS - if not called from the thread that created the receiver

See Also:   ShellListener
See Also:   Shell.addShellListener



resizeBounds
void resizeBounds()(Code)



setActive
public void setActive()(Code)
If the receiver is visible, moves it to the top of the drawing order for the display on which it was created (so that all other shells on that display, which are not the receiver's children will be drawn behind it) and asks the window manager to make the shell active
exception:
  SWTException -
  • ERROR_WIDGET_DISPOSED - if the receiver has been disposed
  • ERROR_THREAD_INVALID_ACCESS - if not called from the thread that created the receiver

since:
   2.0
See Also:   Control.moveAbove
See Also:   Control.setFocus
See Also:   Control.setVisible
See Also:   Display.getActiveShell
See Also:   Decorations.setDefaultButton(Button)
See Also:   Shell.open
See Also:   Shell.setActive



setActiveControl
void setActiveControl(Control control)(Code)



setBounds
int setBounds(int x, int y, int width, int height, boolean move, boolean resize, boolean events)(Code)



setEnabled
public void setEnabled(boolean enabled)(Code)



setFullScreen
public void setFullScreen(boolean fullScreen)(Code)



setImeInputMode
public void setImeInputMode(int mode)(Code)
Sets the input method editor mode to the argument which should be the result of bitwise OR'ing together one or more of the following constants defined in class SWT: NONE, ROMAN, DBCS, PHONETIC, NATIVE, ALPHA.
Parameters:
  mode - the new IME mode
exception:
  SWTException -
  • ERROR_WIDGET_DISPOSED - if the receiver has been disposed
  • ERROR_THREAD_INVALID_ACCESS - if not called from the thread that created the receiver

See Also:   SWT



setMaximized
public void setMaximized(boolean maximized)(Code)



setMenuBar
public void setMenuBar(Menu menu)(Code)



setMinimized
public void setMinimized(boolean minimized)(Code)



setMinimumSize
public void setMinimumSize(int width, int height)(Code)
Sets the receiver's minimum size to the size specified by the arguments. If the new minimum size is larger than the current size of the receiver, the receiver is resized to the new minimum size.
Parameters:
  width - the new minimum width for the receiver
Parameters:
  height - the new minimum height for the receiver
exception:
  SWTException -
  • ERROR_WIDGET_DISPOSED - if the receiver has been disposed
  • ERROR_THREAD_INVALID_ACCESS - if not called from the thread that created the receiver

since:
   3.1



setMinimumSize
public void setMinimumSize(Point size)(Code)
Sets the receiver's minimum size to the size specified by the argument. If the new minimum size is larger than the current size of the receiver, the receiver is resized to the new minimum size.
Parameters:
  size - the new minimum size for the receiver
exception:
  IllegalArgumentException -
  • ERROR_NULL_ARGUMENT - if the point is null

exception:
  SWTException -
  • ERROR_WIDGET_DISPOSED - if the receiver has been disposed
  • ERROR_THREAD_INVALID_ACCESS - if not called from the thread that created the receiver

since:
   3.1



setRegion
public void setRegion(Region region)(Code)
Sets the shape of the shell to the region specified by the argument. When the argument is null, the default shape of the shell is restored. The shell must be created with the style SWT.NO_TRIM in order to specify a region.
Parameters:
  region - the region that defines the shape of the shell (or null)
exception:
  IllegalArgumentException -
  • ERROR_INVALID_ARGUMENT - if the region has been disposed

exception:
  SWTException -
  • ERROR_WIDGET_DISPOSED - if the receiver has been disposed
  • ERROR_THREAD_INVALID_ACCESS - if not called from the thread that created the receiver

since:
   3.0



setText
public void setText(String string)(Code)



setVisible
public void setVisible(boolean visible)(Code)



setWindowVisible
void setWindowVisible(boolean visible)(Code)



setZOrder
void setZOrder()(Code)



setZOrder
void setZOrder(Control control, boolean above)(Code)



traverseEscape
boolean traverseEscape()(Code)



updateSystemUIMode
void updateSystemUIMode()(Code)



Fields inherited from org.eclipse.swt.widgets.Decorations
Button defaultButton(Code)(Java Doc)
Image image(Code)(Java Doc)
Image[] images(Code)(Java Doc)
Menu menuBar(Code)(Java Doc)
boolean minimizedmaximized(Code)(Java Doc)
Control savedFocus(Code)(Java Doc)
String text(Code)(Java Doc)

Methods inherited from org.eclipse.swt.widgets.Decorations
void bringToTop(boolean force)(Code)(Java Doc)
static int checkStyle(int style)(Code)(Java Doc)
protected void checkSubclass()(Code)(Java Doc)
int compare(ImageData data1, ImageData data2)(Code)(Java Doc)
Control computeTabGroup()(Code)(Java Doc)
Control computeTabRoot()(Code)(Java Doc)
void fixDecorations(Decorations newDecorations, Control control, Menu[] menus)(Code)(Java Doc)
public Button getDefaultButton()(Code)(Java Doc)
public Image getImage()(Code)(Java Doc)
public Image[] getImages()(Code)(Java Doc)
public boolean getMaximized()(Code)(Java Doc)
public Menu getMenuBar()(Code)(Java Doc)
public boolean getMinimized()(Code)(Java Doc)
String getNameText()(Code)(Java Doc)
public String getText()(Code)(Java Doc)
public boolean isReparentable()(Code)(Java Doc)
boolean isTabGroup()(Code)(Java Doc)
boolean isTabItem()(Code)(Java Doc)
Decorations menuShell()(Code)(Java Doc)
void releaseChildren(boolean destroy)(Code)(Java Doc)
void releaseWidget()(Code)(Java Doc)
boolean restoreFocus()(Code)(Java Doc)
void saveFocus()(Code)(Java Doc)
public void setDefaultButton(Button button)(Code)(Java Doc)
public void setImage(Image image)(Code)(Java Doc)
public void setImages(Image[] images)(Code)(Java Doc)
public void setMaximized(boolean maximized)(Code)(Java Doc)
public void setMenuBar(Menu menu)(Code)(Java Doc)
public void setMinimized(boolean minimized)(Code)(Java Doc)
void setSavedFocus(Control control)(Code)(Java Doc)
public void setText(String string)(Code)(Java Doc)
void sort(Image[] images)(Code)(Java Doc)
boolean traverseItem(boolean next)(Code)(Java Doc)
boolean traverseReturn()(Code)(Java Doc)

Fields inherited from org.eclipse.swt.widgets.Canvas
final static int UNDERLINE_IME_CONVERTED(Code)(Java Doc)
final static int UNDERLINE_IME_INPUT(Code)(Java Doc)
final static int UNDERLINE_IME_TARGET_CONVERTED(Code)(Java Doc)
Caret caret(Code)(Java Doc)

Methods inherited from org.eclipse.swt.widgets.Canvas
public void drawBackground(GC gc, int x, int y, int width, int height)(Code)(Java Doc)
public Caret getCaret()(Code)(Java Doc)
int kEventControlDraw(int nextHandler, int theEvent, int userData)(Code)(Java Doc)
int kEventControlSetFocusPart(int nextHandler, int theEvent, int userData)(Code)(Java Doc)
int kEventTextInputOffsetToPos(int nextHandler, int theEvent, int userData)(Code)(Java Doc)
int kEventTextInputPosToOffset(int nextHandler, int theEvent, int userData)(Code)(Java Doc)
int kEventTextInputUpdateActiveInputArea(int nextHandler, int theEvent, int userData)(Code)(Java Doc)
void redrawWidget(int control, boolean children)(Code)(Java Doc)
void redrawWidget(int control, int x, int y, int width, int height, boolean all)(Code)(Java Doc)
void releaseChildren(boolean destroy)(Code)(Java Doc)
public void scroll(int destX, int destY, int x, int y, int width, int height, boolean all)(Code)(Java Doc)
public void setCaret(Caret caret)(Code)(Java Doc)
public void setFont(Font font)(Code)(Java Doc)

Fields inherited from org.eclipse.swt.widgets.Composite
Layout layout(Code)(Java Doc)
int layoutCountbackgroundMode(Code)(Java Doc)
int scrolledVisibleRgnsiblingsVisibleRgn(Code)(Java Doc)
Control[] tabList(Code)(Java Doc)

Methods inherited from org.eclipse.swt.widgets.Composite
Control[] _getChildren()(Code)(Java Doc)
Control[] _getTabList()(Code)(Java Doc)
int callFocusEventHandler(int nextHandler, int theEvent)(Code)(Java Doc)
public void changed(Control[] changed)(Code)(Java Doc)
protected void checkSubclass()(Code)(Java Doc)
public Point computeSize(int wHint, int hHint, boolean changed)(Code)(Java Doc)
Control[] computeTabList()(Code)(Java Doc)
void createHandle()(Code)(Java Doc)
void createHandle(int parentHandle)(Code)(Java Doc)
void createScrolledHandle(int parentHandle)(Code)(Java Doc)
void drawBackground(int control, int context)(Code)(Java Doc)
void enableWidget(boolean enabled)(Code)(Java Doc)
Composite findDeferredControl()(Code)(Java Doc)
Menu[] findMenus(Control control)(Code)(Java Doc)
void fixChildren(Shell newShell, Shell oldShell, Decorations newDecorations, Decorations oldDecorations, Menu[] menus)(Code)(Java Doc)
void fixTabList(Control control)(Code)(Java Doc)
public int getBackgroundMode()(Code)(Java Doc)
public Control[] getChildren()(Code)(Java Doc)
int getChildrenCount()(Code)(Java Doc)
public Layout getLayout()(Code)(Java Doc)
public boolean getLayoutDeferred()(Code)(Java Doc)
public Control[] getTabList()(Code)(Java Doc)
int getVisibleRegion(int control, boolean clipChildren)(Code)(Java Doc)
boolean hooksKeys()(Code)(Java Doc)
void invalidateChildrenVisibleRegion(int control)(Code)(Java Doc)
public boolean isLayoutDeferred()(Code)(Java Doc)
boolean isTabGroup()(Code)(Java Doc)
int kEventControlClick(int nextHandler, int theEvent, int userData)(Code)(Java Doc)
int kEventControlGetFocusPart(int nextHandler, int theEvent, int userData)(Code)(Java Doc)
int kEventControlSetFocusPart(int nextHandler, int theEvent, int userData)(Code)(Java Doc)
int kEventMouseDown(int nextHandler, int theEvent, int userData)(Code)(Java Doc)
int kEventRawKeyPressed(int nextHandler, int theEvent, int userData)(Code)(Java Doc)
int kEventUnicodeKeyPressed(int nextHandler, int theEvent, int userData)(Code)(Java Doc)
public void layout()(Code)(Java Doc)
public void layout(boolean changed)(Code)(Java Doc)
public void layout(boolean changed, boolean all)(Code)(Java Doc)
public void layout(Control[] changed)(Code)(Java Doc)
void markLayout(boolean changed, boolean all)(Code)(Java Doc)
Point minimumSize(int wHint, int Hint, boolean changed)(Code)(Java Doc)
void releaseChildren(boolean destroy)(Code)(Java Doc)
void releaseWidget()(Code)(Java Doc)
void removeControl(Control control)(Code)(Java Doc)
void resetVisibleRegion(int control)(Code)(Java Doc)
public void setBackgroundMode(int mode)(Code)(Java Doc)
int setBounds(int x, int y, int width, int height, boolean move, boolean resize, boolean events)(Code)(Java Doc)
public boolean setFocus()(Code)(Java Doc)
public void setLayout(Layout layout)(Code)(Java Doc)
public void setLayoutDeferred(boolean defer)(Code)(Java Doc)
boolean setScrollBarVisible(ScrollBar bar, boolean visible)(Code)(Java Doc)
boolean setTabGroupFocus()(Code)(Java Doc)
public void setTabList(Control[] tabList)(Code)(Java Doc)
int traversalCode(int key, int theEvent)(Code)(Java Doc)
void updateBackgroundMode()(Code)(Java Doc)
void updateLayout(boolean all)(Code)(Java Doc)

Fields inherited from org.eclipse.swt.widgets.Scrollable
ScrollBar horizontalBarverticalBar(Code)(Java Doc)
int scrolledHandle(Code)(Java Doc)

Methods inherited from org.eclipse.swt.widgets.Scrollable
public Rectangle computeTrim(int x, int y, int width, int height)(Code)(Java Doc)
ScrollBar createScrollBar(int style)(Code)(Java Doc)
ScrollBar createStandardBar(int style)(Code)(Java Doc)
void createWidget()(Code)(Java Doc)
void deregister()(Code)(Java Doc)
public Rectangle getClientArea()(Code)(Java Doc)
public ScrollBar getHorizontalBar()(Code)(Java Doc)
public ScrollBar getVerticalBar()(Code)(Java Doc)
void hookEvents()(Code)(Java Doc)
boolean hooksKeys()(Code)(Java Doc)
Rect inset()(Code)(Java Doc)
boolean isTrimHandle(int trimHandle)(Code)(Java Doc)
int kEventMouseWheelMoved(int nextHandler, int theEvent, int userData)(Code)(Java Doc)
void redrawBackgroundImage()(Code)(Java Doc)
void register()(Code)(Java Doc)
void releaseChildren(boolean destroy)(Code)(Java Doc)
void releaseHandle()(Code)(Java Doc)
void resetVisibleRegion(int control)(Code)(Java Doc)
void resizeClientArea()(Code)(Java Doc)
boolean sendMouseWheel(short wheelAxis, int wheelDelta)(Code)(Java Doc)
int setBounds(int x, int y, int width, int height, boolean move, boolean resize, boolean events)(Code)(Java Doc)
boolean setScrollBarVisible(ScrollBar bar, boolean visible)(Code)(Java Doc)
void setZOrder()(Code)(Java Doc)
int topHandle()(Code)(Java Doc)

Fields inherited from org.eclipse.swt.widgets.Control
final static String RESET_VISIBLE_REGION(Code)(Java Doc)
Accessible accessible(Code)(Java Doc)
Image backgroundImage(Code)(Java Doc)
Cursor cursor(Code)(Java Doc)
int drawCountvisibleRgn(Code)(Java Doc)
Font font(Code)(Java Doc)
float[] foregroundbackground(Code)(Java Doc)
GCData gcs(Code)(Java Doc)
public int handle(Code)(Java Doc)
Object layoutData(Code)(Java Doc)
Menu menu(Code)(Java Doc)
Composite parent(Code)(Java Doc)
String toolTipText(Code)(Java Doc)

Methods inherited from org.eclipse.swt.widgets.Control
int actionProc(int theControl, int partCode)(Code)(Java Doc)
public void addControlListener(ControlListener listener)(Code)(Java Doc)
public void addDragDetectListener(DragDetectListener listener)(Code)(Java Doc)
public void addFocusListener(FocusListener listener)(Code)(Java Doc)
public void addHelpListener(HelpListener listener)(Code)(Java Doc)
public void addKeyListener(KeyListener listener)(Code)(Java Doc)
public void addMenuDetectListener(MenuDetectListener listener)(Code)(Java Doc)
public void addMouseListener(MouseListener listener)(Code)(Java Doc)
public void addMouseMoveListener(MouseMoveListener listener)(Code)(Java Doc)
public void addMouseTrackListener(MouseTrackListener listener)(Code)(Java Doc)
public void addMouseWheelListener(MouseWheelListener listener)(Code)(Java Doc)
public void addPaintListener(PaintListener listener)(Code)(Java Doc)
public void addTraverseListener(TraverseListener listener)(Code)(Java Doc)
int callFocusEventHandler(int nextHandler, int theEvent)(Code)(Java Doc)
void checkBackground()(Code)(Java Doc)
void checkBuffered()(Code)(Java Doc)
int colorProc(int inControl, int inMessage, int inDrawDepth, int inDrawInColor)(Code)(Java Doc)
public Point computeSize(int wHint, int hHint)(Code)(Java Doc)
public Point computeSize(int wHint, int hHint, boolean changed)(Code)(Java Doc)
Control computeTabGroup()(Code)(Java Doc)
Control[] computeTabList()(Code)(Java Doc)
Control computeTabRoot()(Code)(Java Doc)
void createWidget()(Code)(Java Doc)
Color defaultBackground()(Code)(Java Doc)
Font defaultFont()(Code)(Java Doc)
Color defaultForeground()(Code)(Java Doc)
int defaultThemeFont()(Code)(Java Doc)
void deregister()(Code)(Java Doc)
void destroyWidget()(Code)(Java Doc)
public boolean dragDetect(Event event)(Code)(Java Doc)
public boolean dragDetect(MouseEvent event)(Code)(Java Doc)
boolean dragDetect(int button, int count, int stateMask, int x, int y)(Code)(Java Doc)
boolean dragDetect(int x, int y, boolean filter, boolean[] consume)(Code)(Java Doc)
void drawFocus(int control, int context, boolean hasFocus, boolean hasBorder, Rect inset)(Code)(Java Doc)
boolean drawFocusRing()(Code)(Java Doc)
boolean drawGripper(int x, int y, int width, int height, boolean vertical)(Code)(Java Doc)
void drawWidget(int control, int context, int damageRgn, int visibleRgn, int theEvent)(Code)(Java Doc)
void enableWidget(boolean enabled)(Code)(Java Doc)
boolean equals(float[] color1, float[] color2)(Code)(Java Doc)
void fillBackground(int control, int context, Rectangle bounds)(Code)(Java Doc)
Control findBackgroundControl()(Code)(Java Doc)
Cursor findCursor()(Code)(Java Doc)
Menu[] findMenus(Control control)(Code)(Java Doc)
void fixChildren(Shell newShell, Shell oldShell, Decorations newDecorations, Decorations oldDecorations, Menu[] menus)(Code)(Java Doc)
void fixFocus(Control focusControl)(Code)(Java Doc)
int focusHandle()(Code)(Java Doc)
int focusPart()(Code)(Java Doc)
public boolean forceFocus()(Code)(Java Doc)
public Accessible getAccessible()(Code)(Java Doc)
public Color getBackground()(Code)(Java Doc)
Color getBackgroundColor()(Code)(Java Doc)
public Image getBackgroundImage()(Code)(Java Doc)
public int getBorderWidth()(Code)(Java Doc)
public Rectangle getBounds()(Code)(Java Doc)
public Cursor getCursor()(Code)(Java Doc)
public boolean getDragDetect()(Code)(Java Doc)
int getDrawCount(int control)(Code)(Java Doc)
public boolean getEnabled()(Code)(Java Doc)
public Font getFont()(Code)(Java Doc)
public Color getForeground()(Code)(Java Doc)
Color getForegroundColor()(Code)(Java Doc)
public Object getLayoutData()(Code)(Java Doc)
public Point getLocation()(Code)(Java Doc)
public Menu getMenu()(Code)(Java Doc)
int getMininumHeight()(Code)(Java Doc)
public Monitor getMonitor()(Code)(Java Doc)
public Composite getParent()(Code)(Java Doc)
float[] getParentBackground()(Code)(Java Doc)
Control[] getPath()(Code)(Java Doc)
public Shell getShell()(Code)(Java Doc)
public Point getSize()(Code)(Java Doc)
float getThemeAlpha()(Code)(Java Doc)
public String getToolTipText()(Code)(Java Doc)
public boolean getVisible()(Code)(Java Doc)
int getVisibleRegion(int control, boolean clipChildren)(Code)(Java Doc)
boolean hasBorder()(Code)(Java Doc)
boolean hasFocus()(Code)(Java Doc)
int helpProc(int inControl, int inGlobalMouse, int inRequest, int outContentProvided, int ioHelpContent)(Code)(Java Doc)
void hookEvents()(Code)(Java Doc)
public void internal_dispose_GC(int context, GCData data)(Code)(Java Doc)
public int internal_new_GC(GCData data)(Code)(Java Doc)
void invalWindowRgn(int window, int rgn)(Code)(Java Doc)
void invalidateChildrenVisibleRegion(int control)(Code)(Java Doc)
void invalidateVisibleRegion(int control)(Code)(Java Doc)
public boolean isEnabled()(Code)(Java Doc)
boolean isEnabledCursor()(Code)(Java Doc)
boolean isEnabledModal()(Code)(Java Doc)
boolean isFocusAncestor(Control control)(Code)(Java Doc)
public boolean isFocusControl()(Code)(Java Doc)
public boolean isReparentable()(Code)(Java Doc)
boolean isShowing()(Code)(Java Doc)
boolean isTabGroup()(Code)(Java Doc)
boolean isTabItem()(Code)(Java Doc)
public boolean isVisible()(Code)(Java Doc)
int kEventAccessibleGetAllAttributeNames(int nextHandler, int theEvent, int userData)(Code)(Java Doc)
int kEventAccessibleGetChildAtPoint(int nextHandler, int theEvent, int userData)(Code)(Java Doc)
int kEventAccessibleGetFocusedChild(int nextHandler, int theEvent, int userData)(Code)(Java Doc)
int kEventAccessibleGetNamedAttribute(int nextHandler, int theEvent, int userData)(Code)(Java Doc)
int kEventControlContextualMenuClick(int nextHandler, int theEvent, int userData)(Code)(Java Doc)
int kEventControlHitTest(int nextHandler, int theEvent, int userData)(Code)(Java Doc)
int kEventControlSetCursor(int nextHandler, int theEvent, int userData)(Code)(Java Doc)
int kEventControlSetFocusPart(int nextHandler, int theEvent, int userData)(Code)(Java Doc)
int kEventControlTrack(int nextHandler, int theEvent, int userData)(Code)(Java Doc)
int kEventMouseDown(int nextHandler, int theEvent, int userData)(Code)(Java Doc)
int kEventMouseDragged(int nextHandler, int theEvent, int userData)(Code)(Java Doc)
int kEventMouseMoved(int nextHandler, int theEvent, int userData)(Code)(Java Doc)
int kEventMouseUp(int nextHandler, int theEvent, int userData)(Code)(Java Doc)
int kEventMouseWheelMoved(int nextHandler, int theEvent, int userData)(Code)(Java Doc)
int kEventTextInputUnicodeForKeyEvent(int nextHandler, int theEvent, int userData)(Code)(Java Doc)
int kEventUnicodeKeyPressed(int nextHandler, int theEvent, int userData)(Code)(Java Doc)
void markLayout(boolean changed, boolean all)(Code)(Java Doc)
Decorations menuShell()(Code)(Java Doc)
public void moveAbove(Control control)(Code)(Java Doc)
public void moveBelow(Control control)(Code)(Java Doc)
Accessible new_Accessible(Control control)(Code)(Java Doc)
public void pack()(Code)(Java Doc)
public void pack(boolean changed)(Code)(Java Doc)
public void redraw()(Code)(Java Doc)
void redraw(boolean children)(Code)(Java Doc)
public void redraw(int x, int y, int width, int height, boolean all)(Code)(Java Doc)
void register()(Code)(Java Doc)
void releaseHandle()(Code)(Java Doc)
void releaseParent()(Code)(Java Doc)
void releaseWidget()(Code)(Java Doc)
public void removeControlListener(ControlListener listener)(Code)(Java Doc)
public void removeDragDetectListener(DragDetectListener listener)(Code)(Java Doc)
public void removeFocusListener(FocusListener listener)(Code)(Java Doc)
public void removeHelpListener(HelpListener listener)(Code)(Java Doc)
public void removeKeyListener(KeyListener listener)(Code)(Java Doc)
public void removeMenuDetectListener(MenuDetectListener listener)(Code)(Java Doc)
public void removeMouseListener(MouseListener listener)(Code)(Java Doc)
public void removeMouseMoveListener(MouseMoveListener listener)(Code)(Java Doc)
public void removeMouseTrackListener(MouseTrackListener listener)(Code)(Java Doc)
public void removeMouseWheelListener(MouseWheelListener listener)(Code)(Java Doc)
public void removePaintListener(PaintListener listener)(Code)(Java Doc)
public void removeTraverseListener(TraverseListener listener)(Code)(Java Doc)
void resetVisibleRegion(int control)(Code)(Java Doc)
boolean sendDragEvent(int button, int stateMask, int x, int y)(Code)(Java Doc)
boolean sendDragEvent(int button, int chord, int modifiers, int x, int y)(Code)(Java Doc)
void sendFocusEvent(int type, boolean post)(Code)(Java Doc)
boolean sendMouseEvent(int type, short button, int count, int detail, boolean send, int theEvent)(Code)(Java Doc)
boolean sendMouseEvent(int type, short button, int count, boolean send, int chord, short x, short y, int modifiers)(Code)(Java Doc)
boolean sendMouseEvent(int type, short button, int count, int detail, boolean send, int chord, short x, short y, int modifiers)(Code)(Java Doc)
boolean sendMouseWheel(short wheelAxis, int wheelDelta)(Code)(Java Doc)
void sendTrackEvents()(Code)(Java Doc)
void setBackground()(Code)(Java Doc)
public void setBackground(Color color)(Code)(Java Doc)
void setBackground(float[] color)(Code)(Java Doc)
void setBackground(int control, float[] color)(Code)(Java Doc)
public void setBackgroundImage(Image image)(Code)(Java Doc)
public void setBounds(int x, int y, int width, int height)(Code)(Java Doc)
int setBounds(int x, int y, int width, int height, boolean move, boolean resize, boolean events)(Code)(Java Doc)
public void setBounds(Rectangle rect)(Code)(Java Doc)
public void setCapture(boolean capture)(Code)(Java Doc)
public void setCursor(Cursor cursor)(Code)(Java Doc)
void setDefaultFont()(Code)(Java Doc)
public void setDragDetect(boolean dragDetect)(Code)(Java Doc)
public void setEnabled(boolean enabled)(Code)(Java Doc)
public boolean setFocus()(Code)(Java Doc)
public void setFont(Font font)(Code)(Java Doc)
void setFontStyle(Font font)(Code)(Java Doc)
void setFontStyle(int control, Font font)(Code)(Java Doc)
public void setForeground(Color color)(Code)(Java Doc)
void setForeground(float[] color)(Code)(Java Doc)
void setForeground(int control, float[] color)(Code)(Java Doc)
public void setLayoutData(Object layoutData)(Code)(Java Doc)
public void setLocation(int x, int y)(Code)(Java Doc)
public void setLocation(Point location)(Code)(Java Doc)
public void setMenu(Menu menu)(Code)(Java Doc)
public boolean setParent(Composite parent)(Code)(Java Doc)
boolean setRadioSelection(boolean value)(Code)(Java Doc)
public void setRedraw(boolean redraw)(Code)(Java Doc)
public void setSize(int width, int height)(Code)(Java Doc)
public void setSize(Point size)(Code)(Java Doc)
boolean setTabGroupFocus()(Code)(Java Doc)
boolean setTabItemFocus()(Code)(Java Doc)
public void setToolTipText(String string)(Code)(Java Doc)
public void setVisible(boolean visible)(Code)(Java Doc)
void setZOrder()(Code)(Java Doc)
void setZOrder(Control control, boolean above)(Code)(Java Doc)
void sort(int[] items)(Code)(Java Doc)
Point textExtent(int ptr, int wHint)(Code)(Java Doc)
Point textExtent(char[] chars, int wHint)(Code)(Java Doc)
public Point toControl(int x, int y)(Code)(Java Doc)
public Point toControl(Point point)(Code)(Java Doc)
public Point toDisplay(int x, int y)(Code)(Java Doc)
public Point toDisplay(Point point)(Code)(Java Doc)
int topHandle()(Code)(Java Doc)
boolean translateTraversal(int key, int theEvent, boolean[] consume)(Code)(Java Doc)
int traversalCode(int key, int theEvent)(Code)(Java Doc)
public boolean traverse(int traversal)(Code)(Java Doc)
boolean traverse(Event event)(Code)(Java Doc)
boolean traverseEscape()(Code)(Java Doc)
boolean traverseGroup(boolean next)(Code)(Java Doc)
boolean traverseItem(boolean next)(Code)(Java Doc)
boolean traverseMnemonic(char key)(Code)(Java Doc)
boolean traverseMnemonic(Event event)(Code)(Java Doc)
boolean traversePage(boolean next)(Code)(Java Doc)
boolean traverseReturn()(Code)(Java Doc)
public void update()(Code)(Java Doc)
void update(boolean all)(Code)(Java Doc)
void updateBackgroundMode()(Code)(Java Doc)
void updateLayout(boolean all)(Code)(Java Doc)

Fields inherited from org.eclipse.swt.widgets.Widget
final static int CANVAS(Code)(Java Doc)
final static int DEFAULT_HEIGHT(Code)(Java Doc)
final static int DEFAULT_WIDTH(Code)(Java Doc)
final static int DISABLED(Code)(Java Doc)
final static int DISPOSED(Code)(Java Doc)
final static int DISPOSE_SENT(Code)(Java Doc)
final static int DRAG_DETECT(Code)(Java Doc)
final static Rect EMPTY_RECT(Code)(Java Doc)
final static int EXPANDING(Code)(Java Doc)
final static int FOREIGN_HANDLE(Code)(Java Doc)
final static int GRAB(Code)(Java Doc)
final static int HIDDEN(Code)(Java Doc)
final static int IGNORE_WHEEL(Code)(Java Doc)
final static int KEYED_DATA(Code)(Java Doc)
final static int LAYOUT_CHANGED(Code)(Java Doc)
final static int LAYOUT_CHILD(Code)(Java Doc)
final static int LAYOUT_NEEDED(Code)(Java Doc)
final static int MOVED(Code)(Java Doc)
final static int PARENT_BACKGROUND(Code)(Java Doc)
final static int RELEASED(Code)(Java Doc)
final static int RESIZED(Code)(Java Doc)
final static int THEME_BACKGROUND(Code)(Java Doc)
Object data(Code)(Java Doc)
Display display(Code)(Java Doc)
EventTable eventTable(Code)(Java Doc)
int stylestate(Code)(Java Doc)

Methods inherited from org.eclipse.swt.widgets.Widget
void _addListener(int eventType, Listener listener)(Code)(Java Doc)
int accessibilityProc(int nextHandler, int theEvent, int userData)(Code)(Java Doc)
int actionProc(int theControl, int partCode)(Code)(Java Doc)
public void addDisposeListener(DisposeListener listener)(Code)(Java Doc)
public void addListener(int eventType, Listener listener)(Code)(Java Doc)
void calculateVisibleRegion(int control, int visibleRgn, boolean clipChildren)(Code)(Java Doc)
int callPaintEventHandler(int control, int damageRgn, int visibleRgn, int theEvent, int nextHandler)(Code)(Java Doc)
static int checkBits(int style, int int0, int int1, int int2, int int3, int int4, int int5)(Code)(Java Doc)
void checkOpen()(Code)(Java Doc)
void checkOrientation(Widget parent)(Code)(Java Doc)
void checkParent(Widget parent)(Code)(Java Doc)
protected void checkSubclass()(Code)(Java Doc)
protected void checkWidget()(Code)(Java Doc)
int clockProc(int nextHandler, int theEvent, int userData)(Code)(Java Doc)
int colorProc(int inControl, int inMessage, int inDrawDepth, int inDrawInColor)(Code)(Java Doc)
int commandProc(int nextHandler, int theEvent, int userData)(Code)(Java Doc)
boolean contains(int shellX, int shellY)(Code)(Java Doc)
int controlProc(int nextHandler, int theEvent, int userData)(Code)(Java Doc)
void copyToClipboard(char[] buffer)(Code)(Java Doc)
int createCIcon(Image image)(Code)(Java Doc)
void createHandle()(Code)(Java Doc)
int createIconRef(Image image)(Code)(Java Doc)
void createWidget()(Code)(Java Doc)
void deregister()(Code)(Java Doc)
void destroyCIcon(int iconHandle)(Code)(Java Doc)
void destroyWidget()(Code)(Java Doc)
public void dispose()(Code)(Java Doc)
void drawBackground(int control, int context)(Code)(Java Doc)
int drawItemProc(int browser, int item, int property, int itemState, int theRect, int gdDepth, int colorDevice)(Code)(Java Doc)
void drawWidget(int control, int context, int damageRgn, int visibleRgn, int theEvent)(Code)(Java Doc)
void error(int code)(Code)(Java Doc)
boolean filters(int eventType)(Code)(Java Doc)
int fixMnemonic(char[] buffer)(Code)(Java Doc)
String getClipboardText()(Code)(Java Doc)
Rectangle getControlBounds(int control)(Code)(Java Doc)
Point getControlSize(int control)(Code)(Java Doc)
public Object getData()(Code)(Java Doc)
public Object getData(String key)(Code)(Java Doc)
public Display getDisplay()(Code)(Java Doc)
int getDrawCount(int control)(Code)(Java Doc)
Rect getInset()(Code)(Java Doc)
String getName()(Code)(Java Doc)
String getNameText()(Code)(Java Doc)
public int getStyle()(Code)(Java Doc)
int getVisibleRegion(int control, boolean clipChildren)(Code)(Java Doc)
int helpProc(int inControl, int inGlobalMouse, int inRequest, int outContentProvided, int ioHelpContent)(Code)(Java Doc)
int hitTestProc(int browser, int item, int property, int theRect, int mouseRect)(Code)(Java Doc)
void hookEvents()(Code)(Java Doc)
boolean hooks(int eventType)(Code)(Java Doc)
void invalWindowRgn(int window, int rgn)(Code)(Java Doc)
void invalidateVisibleRegion(int control)(Code)(Java Doc)
public boolean isDisposed()(Code)(Java Doc)
boolean isDrawing(int control)(Code)(Java Doc)
boolean isEnabled()(Code)(Java Doc)
public boolean isListening(int eventType)(Code)(Java Doc)
boolean isTrimHandle(int trimHandle)(Code)(Java Doc)
boolean isValidSubclass()(Code)(Java Doc)
boolean isValidThread()(Code)(Java Doc)
int itemCompareProc(int browser, int itemOne, int itemTwo, int sortProperty)(Code)(Java Doc)
int itemDataProc(int browser, int item, int property, int itemData, int setValue)(Code)(Java Doc)
int itemNotificationProc(int browser, int item, int message)(Code)(Java Doc)
int kEventAccessibleGetAllAttributeNames(int nextHandler, int theEvent, int userData)(Code)(Java Doc)
int kEventAccessibleGetChildAtPoint(int nextHandler, int theEvent, int userData)(Code)(Java Doc)
int kEventAccessibleGetFocusedChild(int nextHandler, int theEvent, int userData)(Code)(Java Doc)
int kEventAccessibleGetNamedAttribute(int nextHandler, int theEvent, int userData)(Code)(Java Doc)
int kEventClockDateOrTimeChanged(int nextHandler, int theEvent, int userData)(Code)(Java Doc)
int kEventControlActivate(int nextHandler, int theEvent, int userData)(Code)(Java Doc)
int kEventControlApplyBackground(int nextHandler, int theEvent, int userData)(Code)(Java Doc)
int kEventControlBoundsChanged(int nextHandler, int theEvent, int userData)(Code)(Java Doc)
int kEventControlClick(int nextHandler, int theEvent, int userData)(Code)(Java Doc)
int kEventControlContextualMenuClick(int nextHandler, int theEvent, int userData)(Code)(Java Doc)
int kEventControlDeactivate(int nextHandler, int theEvent, int userData)(Code)(Java Doc)
int kEventControlDraw(int nextHandler, int theEvent, int userData)(Code)(Java Doc)
int kEventControlGetClickActivation(int nextHandler, int theEvent, int userData)(Code)(Java Doc)
int kEventControlGetFocusPart(int nextHandler, int theEvent, int userData)(Code)(Java Doc)
int kEventControlHit(int nextHandler, int theEvent, int userData)(Code)(Java Doc)
int kEventControlHitTest(int nextHandler, int theEvent, int userData)(Code)(Java Doc)
int kEventControlSetCursor(int nextHandler, int theEvent, int userData)(Code)(Java Doc)
int kEventControlSetFocusPart(int nextHandler, int theEvent, int userData)(Code)(Java Doc)
int kEventControlTrack(int nextHandler, int theEvent, int userData)(Code)(Java Doc)
int kEventMenuCalculateSize(int nextHandler, int theEvent, int userData)(Code)(Java Doc)
int kEventMenuClosed(int nextHandler, int theEvent, int userData)(Code)(Java Doc)
int kEventMenuCreateFrameView(int nextHandler, int theEvent, int userData)(Code)(Java Doc)
int kEventMenuDrawItem(int nextHandler, int theEvent, int userData)(Code)(Java Doc)
int kEventMenuDrawItemContent(int nextHandler, int theEvent, int userData)(Code)(Java Doc)
int kEventMenuGetFrameBounds(int nextHandler, int theEvent, int userData)(Code)(Java Doc)
int kEventMenuMeasureItemWidth(int nextHandler, int theEvent, int userData)(Code)(Java Doc)
int kEventMenuOpening(int nextHandler, int theEvent, int userData)(Code)(Java Doc)
int kEventMenuTargetItem(int nextHandler, int theEvent, int userData)(Code)(Java Doc)
int kEventMouseDown(int nextHandler, int theEvent, int userData)(Code)(Java Doc)
int kEventMouseDragged(int nextHandler, int theEvent, int userData)(Code)(Java Doc)
int kEventMouseMoved(int nextHandler, int theEvent, int userData)(Code)(Java Doc)
int kEventMouseUp(int nextHandler, int theEvent, int userData)(Code)(Java Doc)
int kEventMouseWheelMoved(int nextHandler, int theEvent, int userData)(Code)(Java Doc)
int kEventProcessCommand(int nextHandler, int theEvent, int userData)(Code)(Java Doc)
int kEventRawKeyDown(int nextHandler, int theEvent, int userData)(Code)(Java Doc)
int kEventRawKeyModifiersChanged(int nextHandler, int theEvent, int userData)(Code)(Java Doc)
int kEventRawKeyPressed(int nextHandler, int theEvent, int userData)(Code)(Java Doc)
int kEventRawKeyRepeat(int nextHandler, int theEvent, int userData)(Code)(Java Doc)
int kEventRawKeyUp(int nextHandler, int theEvent, int userData)(Code)(Java Doc)
int kEventSearchFieldCancelClicked(int nextHandler, int theEvent, int userData)(Code)(Java Doc)
int kEventTextInputOffsetToPos(int nextHandler, int theEvent, int userData)(Code)(Java Doc)
int kEventTextInputPosToOffset(int nextHandler, int theEvent, int userData)(Code)(Java Doc)
int kEventTextInputUnicodeForKeyEvent(int nextHandler, int theEvent, int userData)(Code)(Java Doc)
int kEventTextInputUpdateActiveInputArea(int nextHandler, int theEvent, int userData)(Code)(Java Doc)
int kEventWindowActivated(int nextHandler, int theEvent, int userData)(Code)(Java Doc)
int kEventWindowBoundsChanged(int nextHandler, int theEvent, int userData)(Code)(Java Doc)
int kEventWindowClose(int nextHandler, int theEvent, int userData)(Code)(Java Doc)
int kEventWindowCollapsed(int nextHandler, int theEvent, int userData)(Code)(Java Doc)
int kEventWindowDeactivated(int nextHandler, int theEvent, int userData)(Code)(Java Doc)
int kEventWindowDrawContent(int nextHandler, int theEvent, int userData)(Code)(Java Doc)
int kEventWindowExpanded(int nextHandler, int theEvent, int userData)(Code)(Java Doc)
int kEventWindowGetClickModality(int nextHandler, int theEvent, int userData)(Code)(Java Doc)
int kEventWindowGetRegion(int nextHandler, int theEvent, int userData)(Code)(Java Doc)
int kEventWindowHidden(int nextHandler, int theEvent, int userData)(Code)(Java Doc)
int kEventWindowHitTest(int nextHandler, int theEvent, int userData)(Code)(Java Doc)
int kEventWindowShown(int nextHandler, int theEvent, int userData)(Code)(Java Doc)
int kEventWindowUpdate(int nextHandler, int theEvent, int userData)(Code)(Java Doc)
int keyboardProc(int nextHandler, int theEvent, int userData)(Code)(Java Doc)
int menuProc(int nextHandler, int theEvent, int userData)(Code)(Java Doc)
int mouseProc(int nextHandler, int theEvent, int userData)(Code)(Java Doc)
public void notifyListeners(int eventType, Event event)(Code)(Java Doc)
void postEvent(int eventType)(Code)(Java Doc)
void postEvent(int eventType, Event event)(Code)(Java Doc)
void redrawChildren(int control)(Code)(Java Doc)
void redrawChildren(int control, int rgn)(Code)(Java Doc)
void redrawWidget(int control, boolean children)(Code)(Java Doc)
void redrawWidget(int control, int x, int y, int width, int height, boolean children)(Code)(Java Doc)
void register()(Code)(Java Doc)
void release(boolean destroy)(Code)(Java Doc)
void releaseChildren(boolean destroy)(Code)(Java Doc)
void releaseHandle()(Code)(Java Doc)
void releaseParent()(Code)(Java Doc)
void releaseWidget()(Code)(Java Doc)
public void removeDisposeListener(DisposeListener listener)(Code)(Java Doc)
public void removeListener(int eventType, Listener handler)(Code)(Java Doc)
protected void removeListener(int eventType, SWTEventListener handler)(Code)(Java Doc)
int searchProc(int nextHandler, int theEvent, int userData)(Code)(Java Doc)
void sendEvent(Event event)(Code)(Java Doc)
void sendEvent(int eventType)(Code)(Java Doc)
void sendEvent(int eventType, Event event)(Code)(Java Doc)
void sendEvent(int eventType, Event event, boolean send)(Code)(Java Doc)
boolean sendKeyEvent(int type, int theEvent)(Code)(Java Doc)
boolean sendKeyEvent(int type, Event event)(Code)(Java Doc)
int setBounds(int control, int x, int y, int width, int height, boolean move, boolean resize, boolean events)(Code)(Java Doc)
public void setData(Object data)(Code)(Java Doc)
public void setData(String key, Object value)(Code)(Java Doc)
boolean setInputState(Event event, int type, int chord, int modifiers)(Code)(Java Doc)
boolean setKeyState(Event event, int type, int theEvent)(Code)(Java Doc)
void setVisible(int control, boolean visible)(Code)(Java Doc)
void setZOrder(int control, int otheControl, boolean above)(Code)(Java Doc)
int textInputProc(int nextHandler, int theEvent, int userData)(Code)(Java Doc)
RGBColor toRGBColor(float[] color)(Code)(Java Doc)
public String toString()(Code)(Java Doc)
int trackingProc(int browser, int itemID, int property, int theRect, int startPt, int modifiers)(Code)(Java Doc)
int windowProc(int nextHandler, int theEvent, int userData)(Code)(Java Doc)

Methods inherited from java.lang.Object
native protected Object clone() throws CloneNotSupportedException(Code)(Java Doc)
public boolean equals(Object obj)(Code)(Java Doc)
protected void finalize() throws Throwable(Code)(Java Doc)
final native public Class getClass()(Code)(Java Doc)
native public int hashCode()(Code)(Java Doc)
final native public void notify()(Code)(Java Doc)
final native public void notifyAll()(Code)(Java Doc)
public String toString()(Code)(Java Doc)
final native public void wait(long timeout) throws InterruptedException(Code)(Java Doc)
final public void wait(long timeout, int nanos) throws InterruptedException(Code)(Java Doc)
final public void wait() throws InterruptedException(Code)(Java Doc)

www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.