|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.eclipse.swt.widgets.Dialog
com.tensegrity.gui.swt.dialog.TextureItemDialog
A dialog for loading and choosing new textures.
After instantiation use the open() method to make the dialog visible.
| Constructor Summary | |
TextureItemDialog(org.eclipse.swt.widgets.Shell parent)
Default constructor |
|
| Method Summary | |
Raster |
open()
Opens a modal dialog and returns the latest selected paint item |
void |
setLocation(int x,
int y)
Sets the dialog position to the specified values |
void |
widgetDefaultSelected(org.eclipse.swt.events.SelectionEvent e)
|
void |
widgetSelected(org.eclipse.swt.events.SelectionEvent e)
|
| Methods inherited from class org.eclipse.swt.widgets.Dialog |
checkSubclass, getParent, getStyle, getText, setText |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public TextureItemDialog(org.eclipse.swt.widgets.Shell parent)
parent - the parent shell| Method Detail |
public Raster open()
public final void setLocation(int x,
int y)
x - the x position of the top left corner of the dialog framey - the y position of the top left corner of the dialog framepublic void widgetSelected(org.eclipse.swt.events.SelectionEvent e)
widgetSelected in interface org.eclipse.swt.events.SelectionListenerpublic void widgetDefaultSelected(org.eclipse.swt.events.SelectionEvent e)
widgetDefaultSelected in interface org.eclipse.swt.events.SelectionListener
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||