|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object
|
+--org.eclipse.swt.widgets.Widget
|
+--org.eclipse.swt.widgets.Control
|
+--org.eclipse.swt.widgets.Scrollable
|
+--org.eclipse.swt.widgets.Composite
|
+--i3mclient.config.AddressPanel
The address panel to view and edit user addresses
ConfigGUI,
Config| Field Summary | |
static int |
EDITMODE
|
static int |
SEARCHMODE
|
static int |
VIEWMODE
|
| Fields inherited from class org.eclipse.swt.widgets.Control |
handle |
| Constructor Summary | |
AddressPanel(Composite parent,
int style,
int setMode,
String setAddressCaption)
Constructor. |
|
| Method Summary | |
void |
addFormListener(FormListener listener)
Add a listener for form changes. |
int |
getMode()
Returns the current mode. |
void |
modifyText(ModifyEvent event)
|
void |
removeFormListener(FormListener listener)
Remove a listener for form changes. |
void |
setFieldContent(int i,
String content)
Set the content of the specified field. |
void |
userDataChanged(UserData setUserData)
Called when user detail changed. |
| Methods inherited from class org.eclipse.swt.widgets.Composite |
computeSize, getChildren, getLayout, getTabList, layout, layout, setFocus, setLayout, setTabList |
| Methods inherited from class org.eclipse.swt.widgets.Scrollable |
computeTrim, getClientArea, getHorizontalBar, getVerticalBar |
| Methods inherited from class org.eclipse.swt.widgets.Widget |
addDisposeListener, addListener, dispose, getData, getData, getStyle, notifyListeners, removeDisposeListener, removeListener, setData, setData, toString |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
public static final int VIEWMODE
public static final int EDITMODE
public static final int SEARCHMODE
| Constructor Detail |
public AddressPanel(Composite parent,
int style,
int setMode,
String setAddressCaption)
parent - The parent composite of this compositestyle - The swt-style of this compositesetMode - VIEWMODE, EDITMODE or SEARCHMODEsetAddressCaption - The caption for the address of this address panel| Method Detail |
public void userDataChanged(UserData setUserData)
UserDataListener
userDataChanged in interface UserDataListenersetUserData - the changed userData
public void setFieldContent(int i,
String content)
i - The index of the field to setcontent - The new content for the fieldpublic int getMode()
public void addFormListener(FormListener listener)
listener - The listener which will be informed about form changespublic void removeFormListener(FormListener listener)
listener - The listener which will be no longer informed about form changespublic void modifyText(ModifyEvent event)
modifyText in interface ModifyListener
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||