|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.ObjectComposite
org.formaria.swt.SwtPage
org.formaria.swt.Dialog
org.formaria.swt.DialogTable
public abstract class DialogTable
Abstract class which extends Dialog for the SWT Tables
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface org.formaria.aria.PageSupport |
|---|
PageSupport.IDialog |
| Field Summary | |
|---|---|
protected Label[] |
borders
|
static int |
H_GAP
|
protected int |
height
|
static int |
HEIGHT_BUTTON
|
static int |
HEIGHT_FULL
|
static int |
HEIGHT_SPACING
|
static int |
V_GAP
|
protected java.lang.String |
value
|
protected int |
width
|
static int |
WIDTH_SPACING
|
protected int |
widthLabel
|
protected Button[] |
xbs
|
protected Edit[] |
xes
|
protected EditTable |
xet
|
protected Label[] |
xls
|
| Fields inherited from class org.formaria.swt.Dialog |
|---|
CANCEL_CLICKED, CLOSE_CLICKED, closeButtonID, contentPanel, DEFAULT_PADDING, focusComponent, lastReturnValue, NO_CLICKED, NOTHING_CLICKED_YET, OK_CLICKED, padding, returnObject, returnValue, saveOnClose, shell, trueField, WIDTH_BORDER_CENTER |
| Fields inherited from class org.formaria.swt.SwtPage |
|---|
adapter, componentFactory, COOLITEM, pageHelper, pageMgr, project, rootModel |
| Fields inherited from interface org.formaria.aria.PageSupport |
|---|
ACTIVATED, ANNOTATEDIMAGE, ARIA_AWT_PACKAGE, ARIA_HTML_PACKAGE, ARIA_SWING_PACKAGE, ARIA_SWT_PACKAGE, BORDER_LAYOUT, BOX_LAYOUT, BUTTON, CARD_LAYOUT, CHECK, COLUMN_LAYOUT, COMBO, CREATED, DEACTIVATED, DISCARDED, DISPLAYED, EDIT, FLOW_LAYOUT, GRID_LAYOUT, GRIDBAG_LAYOUT, GROUP, GUIDE_LAYOUT, HOTSPOTIMAGE, IMAGE, IMAGEMAP, LABEL, LAYER_LAYOUT, LIST, LOADED, MENU, MENUBAR, MENUITEM, METACONTENT, NULL_LAYOUT, PANEL, PASSWORD, RADIO, SCALE_LAYOUT, SCROLLABLEMETACONTENT, SCROLLPANE, SPLITPANE, SPRING_LAYOUT, TABLE, TABPANEL, TEXTAREA, UNKNOWN, UNKNOWN_PAGE_STATE, WMF |
| Constructor Summary | |
|---|---|
DialogTable(EditTable xet,
java.lang.String title,
int nbLabels)
Creates a new dialogtable. |
|
| Method Summary | |
|---|---|
void |
addButtons(java.lang.String name,
java.lang.String text)
Add the buttons |
void |
cancel()
Close the dialog |
void |
finalstep()
Fill the content panel with all the components |
abstract void |
firststep()
Do the first step of the dialog edition |
abstract void |
fourthstep()
Do the fourth step of the dialog edition |
Label |
getBorder(int x,
int y,
int width,
int height)
Get a label which reprensent a border |
Edit |
getEdit(int x,
int y,
int width,
int height,
java.lang.String s)
Get a edit |
Label |
getLabel(int x,
int y,
int width,
int height,
java.lang.String s)
Get a label |
void |
init()
Init the values |
void |
resetAll()
Reset all the edit components |
abstract void |
secondstep()
Do the second step of the dialog edition |
java.lang.String |
show()
Show the dialog |
abstract void |
thirdstep()
Do the third step of the dialog edition |
| Methods inherited from class org.formaria.swt.Dialog |
|---|
cancelDlg, checkSubclass, closeDlg, getContentPane, getFocusComponent, getLastReturnValue, getMinimumSize, getPreferredSize, getReturnObject, pack, pageCreated, setBackground, setCaption, setFont, setForeground, setLocation, setModal, setResizable, setSaveOnClose, setSize, setUseNativeHeaders, showDialog, showDialog, showDialog, showModalWindow, SWTtoAWT, wasMouseClicked |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.formaria.aria.PersistentState |
|---|
restoreState, saveState |
| Field Detail |
|---|
public static final int HEIGHT_FULL
public static final int WIDTH_SPACING
public static final int HEIGHT_SPACING
public static final int H_GAP
public static final int V_GAP
public static final int HEIGHT_BUTTON
protected EditTable xet
protected Label[] xls
protected Label[] borders
protected Edit[] xes
protected Button[] xbs
protected int widthLabel
protected int width
protected int height
protected java.lang.String value
| Constructor Detail |
|---|
public DialogTable(EditTable xet,
java.lang.String title,
int nbLabels)
xet - the tabletitle - the title of the dialognbLabels - the number of Label object in the dialog| Method Detail |
|---|
public java.lang.String show()
public void init()
init in class Dialog
public void addButtons(java.lang.String name,
java.lang.String text)
name - name of the buttontext - text of the buttonpublic void finalstep()
public Label getBorder(int x,
int y,
int width,
int height)
x - x-coordinatewidth - width of the labelheight - height of the label
public Label getLabel(int x,
int y,
int width,
int height,
java.lang.String s)
x - x-coordinatewidth - width of the labelheight - height of the labels - text of the label
public Edit getEdit(int x,
int y,
int width,
int height,
java.lang.String s)
x - x-coordinatewidth - width of the labelheight - height of the labels - text of the label
public void resetAll()
public void cancel()
public abstract void firststep()
public abstract void secondstep()
public abstract void thirdstep()
public abstract void fourthstep()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||