![]() |
Saros
Distributed Collaborative Editing and Distributed Party Programming
|
Public Member Functions | |
BalloonWindow (Shell parent, int style) | |
BalloonWindow (Display display, int style) | |
void | addSelectionControl (Control c) |
void | addListener (int type, Listener l) |
void | setAnchor (int anchor) |
void | setAutoAnchor (boolean autoAnchor) |
void | setLocation (int x, int y) |
void | setLocation (Point p) |
void | setText (String title) |
void | setImage (Image image) |
void | setMargins (int marginLeft, int marginRight, int marginTop, int marginBottom) |
void | setMargins (int marginX, int marginY) |
void | setMargins (int margin) |
void | setTitleSpacing (int titleSpacing) |
void | setTitleWidgetSpacing (int titleImageSpacing) |
Shell | getShell () |
Composite | getContents () |
void | prepareForOpen () |
void | open () |
void | close () |
void | setVisible (boolean visible) |
Package Attributes | |
int | locY = Integer.MIN_VALUE |
int | marginRight = 12 |
int | marginTop = 5 |
int | marginBottom = 10 |
int | titleWidgetSpacing = 8 |
A Shell wrapper which creates balloon popup windows.
By default, a balloon window has no title bar or system controls. The following styles are supported:
com.novocode.naf.swt.custom.BalloonWindow.BalloonWindow | ( | Shell | parent, |
int | style | ||
) |
com.novocode.naf.swt.custom.BalloonWindow.BalloonWindow | ( | Display | display, |
int | style | ||
) |
void com.novocode.naf.swt.custom.BalloonWindow.addListener | ( | int | type, |
Listener | l | ||
) |
void com.novocode.naf.swt.custom.BalloonWindow.addSelectionControl | ( | Control | c | ) |
Adds a control to the list of controls which close the balloon window. The background, title image and title text are included by default.
void com.novocode.naf.swt.custom.BalloonWindow.close | ( | ) |
Composite com.novocode.naf.swt.custom.BalloonWindow.getContents | ( | ) |
Shell com.novocode.naf.swt.custom.BalloonWindow.getShell | ( | ) |
void com.novocode.naf.swt.custom.BalloonWindow.open | ( | ) |
void com.novocode.naf.swt.custom.BalloonWindow.prepareForOpen | ( | ) |
void com.novocode.naf.swt.custom.BalloonWindow.setAnchor | ( | int | anchor | ) |
Set the location of the anchor. This must be one of the following values: SWT.NONE, SWT.LEFT|SWT.TOP, SWT.RIGHT|SWT.TOP, SWT.LEFT|SWT.BOTTOM, SWT.RIGHT|SWT.BOTTOM
void com.novocode.naf.swt.custom.BalloonWindow.setAutoAnchor | ( | boolean | autoAnchor | ) |
void com.novocode.naf.swt.custom.BalloonWindow.setImage | ( | Image | image | ) |
void com.novocode.naf.swt.custom.BalloonWindow.setLocation | ( | int | x, |
int | y | ||
) |
void com.novocode.naf.swt.custom.BalloonWindow.setLocation | ( | Point | p | ) |
void com.novocode.naf.swt.custom.BalloonWindow.setMargins | ( | int | marginLeft, |
int | marginRight, | ||
int | marginTop, | ||
int | marginBottom | ||
) |
void com.novocode.naf.swt.custom.BalloonWindow.setMargins | ( | int | marginX, |
int | marginY | ||
) |
void com.novocode.naf.swt.custom.BalloonWindow.setMargins | ( | int | margin | ) |
void com.novocode.naf.swt.custom.BalloonWindow.setText | ( | String | title | ) |
void com.novocode.naf.swt.custom.BalloonWindow.setTitleSpacing | ( | int | titleSpacing | ) |
void com.novocode.naf.swt.custom.BalloonWindow.setTitleWidgetSpacing | ( | int | titleImageSpacing | ) |
void com.novocode.naf.swt.custom.BalloonWindow.setVisible | ( | boolean | visible | ) |
int com.novocode.naf.swt.custom.BalloonWindow.locY = Integer.MIN_VALUE [package] |
int com.novocode.naf.swt.custom.BalloonWindow.marginBottom = 10 [package] |
int com.novocode.naf.swt.custom.BalloonWindow.marginRight = 12 [package] |
int com.novocode.naf.swt.custom.BalloonWindow.marginTop = 5 [package] |
int com.novocode.naf.swt.custom.BalloonWindow.titleWidgetSpacing = 8 [package] |