|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objecttriptracker.client.gps.ui.GPSSettingsForm
public class GPSSettingsForm
| Field Summary | |
|---|---|
protected JButton |
cancelButton
|
protected String |
name
|
protected static int |
nameCount
|
protected JButton |
saveButton
|
| Constructor Summary | |
|---|---|
GPSSettingsForm(GPSGui view,
GPSClientModel model)
The constructor creates a JPanel for the login information, and registers as a form on the view's FormManager. |
|
GPSSettingsForm(GPSGui view,
String name,
GPSClientModel model)
The constructor creates a JPanel for the login information, and registers as a form on the view. |
|
| Method Summary | |
|---|---|
void |
addBtnListener(ActionListener listener)
Register a listener on the login button. |
boolean |
getAutoTransfer()
Checks if the autotransfer box is selected. |
boolean |
getCompression()
Checks if the compressbox is selected |
JComponent |
getFormComponent()
Returns the root JComponent object that this form operates on. |
String |
getName()
Returns the name of this form. |
String |
getPort()
Gets the selected port |
void |
refreshView()
Invoked by FormManager right before this form is displayed. |
void |
setStatusMsg(String msg)
Sets an status message. |
void |
showMain()
|
void |
showRoutes()
Show the route form |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected static int nameCount
protected final String name
protected final JButton saveButton
protected final JButton cancelButton
| Constructor Detail |
|---|
public GPSSettingsForm(GPSGui view,
GPSClientModel model)
view's FormManager.
view - parent form manager viewmodel - main GPS model
public GPSSettingsForm(GPSGui view,
String name,
GPSClientModel model)
view. The form name should be unique for
the given form manager.
view - parent JComponent form managername - unique form namemodel - GPS model| Method Detail |
|---|
public void addBtnListener(ActionListener listener)
listener - public JComponent getFormComponent()
FormJComponent object that this form operates on.
getFormComponent in interface FormFormManagerpublic String getName()
FormFormManager.
getName in interface FormFormManagerpublic void showMain()
public void refreshView()
FormManager right before this form is displayed.
refreshView in interface FormFormManagerpublic boolean getCompression()
public String getPort()
public boolean getAutoTransfer()
public void setStatusMsg(String msg)
msg - the status messagepublic void showRoutes()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||