|
||||||||||
| 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
net.xoetrope.swt.XSwtPage
net.xoetrope.swt.XDialog
net.xoetrope.swt.XDialogTable
public abstract class XDialogTable
Abstract class which extends XDialog for the SWT Tables
| Field Summary | |
|---|---|
protected XLabel[] |
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 XButton[] |
xbs
|
protected XEdit[] |
xes
|
protected XEditTable |
xet
|
protected XLabel[] |
xls
|
| Fields inherited from class net.xoetrope.swt.XDialog |
|---|
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 net.xoetrope.swt.XSwtPage |
|---|
adapter, componentFactory, COOLITEM, pageHelper, pageMgr, project, rootModel |
| Fields inherited from class org.eclipse.swt.widgets.Control |
|---|
handle |
| Constructor Summary | |
|---|---|
XDialogTable(XEditTable 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 |
XLabel |
getBorder(int x,
int y,
int width,
int height)
Get a label which reprensent a border |
XEdit |
getEdit(int x,
int y,
int width,
int height,
java.lang.String s)
Get a edit |
XLabel |
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 net.xoetrope.swt.XDialog |
|---|
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 org.eclipse.swt.widgets.Composite |
|---|
changed, computeSize, getBackgroundMode, getChildren, getLayout, getLayoutDeferred, getTabList, isLayoutDeferred, layout, layout, layout, layout, setBackgroundMode, setFocus, setLayout, setLayoutDeferred, setTabList |
| Methods inherited from class org.eclipse.swt.widgets.Scrollable |
|---|
computeTrim, getClientArea, getHorizontalBar, getVerticalBar |
| Methods inherited from class org.eclipse.swt.widgets.Control |
|---|
addControlListener, addFocusListener, addHelpListener, addKeyListener, addMouseListener, addMouseMoveListener, addMouseTrackListener, addPaintListener, addTraverseListener, computeSize, forceFocus, getAccessible, getBackground, getBackgroundImage, getBorderWidth, getBounds, getEnabled, getFont, getForeground, getLayoutData, getLocation, getMenu, getMonitor, getParent, getShell, getSize, getToolTipText, getVisible, internal_dispose_GC, internal_new_GC, isEnabled, isFocusControl, isReparentable, isVisible, moveAbove, moveBelow, pack, redraw, redraw, removeControlListener, removeFocusListener, removeHelpListener, removeKeyListener, removeMouseListener, removeMouseMoveListener, removeMouseTrackListener, removePaintListener, removeTraverseListener, setBackgroundImage, setBounds, setBounds, setCapture, setCursor, setEnabled, setLayoutData, setLocation, setMenu, setParent, setRedraw, setSize, setToolTipText, setVisible, toControl, toControl, toDisplay, toDisplay, traverse, update |
| Methods inherited from class org.eclipse.swt.widgets.Widget |
|---|
addDisposeListener, addListener, checkWidget, dispose, 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 |
| 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 XEditTable xet
protected XLabel[] xls
protected XLabel[] borders
protected XEdit[] xes
protected XButton[] xbs
protected int widthLabel
protected int width
protected int height
protected java.lang.String value
| Constructor Detail |
|---|
public XDialogTable(XEditTable 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 XDialog
public void addButtons(java.lang.String name,
java.lang.String text)
name - name of the buttontext - text of the buttonpublic void finalstep()
public XLabel getBorder(int x,
int y,
int width,
int height)
x - x-coordinatewidth - width of the labelheight - height of the label
public XLabel 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 XEdit 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 | |||||||||