|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.awt.Component java.awt.Container javax.swing.JComponent javax.swing.JPanel triptracker.client.map.ui.SuperPanel triptracker.client.map.ui.ConfigPanel
public class ConfigPanel
Nested Class Summary |
---|
Nested classes/interfaces inherited from class javax.swing.JPanel |
---|
JPanel.AccessibleJPanel |
Nested classes/interfaces inherited from class javax.swing.JComponent |
---|
JComponent.AccessibleJComponent |
Nested classes/interfaces inherited from class java.awt.Container |
---|
Container.AccessibleAWTContainer |
Nested classes/interfaces inherited from class java.awt.Component |
---|
Component.AccessibleAWTComponent, Component.BltBufferStrategy, Component.FlipBufferStrategy |
Field Summary | |
---|---|
protected TabbedForm |
form
|
protected String |
name
|
protected static int |
nameCount
|
Fields inherited from class triptracker.client.map.ui.SuperPanel |
---|
coordList, map, realtime, route, user |
Fields inherited from class javax.swing.JComponent |
---|
accessibleContext, listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW |
Fields inherited from class java.awt.Component |
---|
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT |
Fields inherited from interface java.awt.image.ImageObserver |
---|
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH |
Constructor Summary | |
---|---|
ConfigPanel(MapSocket model,
TabbedForm form)
|
|
ConfigPanel(String name,
MapSocket model,
TabbedForm form)
|
Method Summary | |
---|---|
void |
addConfigBtnListener(ActionListener listener)
Registers actionListener to gotoMapButton |
void |
addDotBoxListener(ItemListener listener)
Registers actionListener to routeBox |
void |
addGetUserBtnListener(ActionListener listener)
Registers actionListener to getUserButton |
void |
addMapBoxListener(ItemListener listener)
Registers actionListener to routeBox |
void |
addNrBoxListener(ItemListener listener)
Registers actionListener to routeBox |
void |
addRouteBoxListener(ItemListener listener)
Registers actionListener to routeBox |
void |
addThickSpinnerListener(ChangeListener listener)
Registers actionListener to routeBox |
void |
addUserBoxListener(ItemListener listener)
Registers ItemListeners to userBox |
void |
getBoxRoute()
Returns selected element in routeBox |
void |
getBoxUser()
Returns selected element in userBox |
String |
getName()
|
int |
getThick()
|
void |
gotoMap()
Will change selected window to MapViewPanel |
void |
setRouteBox(List<Route> routes)
Adds route elements to routeBox |
void |
setState(String state)
|
void |
setUserBox(List<User> users)
Adds user elements to userBox |
void |
start()
Run when this window is activated by login. |
void |
updateRouteInfo()
Updates route information in routeInfo label |
Methods inherited from class triptracker.client.map.ui.SuperPanel |
---|
getMap, getRoute, getUser, setCoordList, setRoute, setUser |
Methods inherited from class javax.swing.JPanel |
---|
getAccessibleContext, getUI, getUIClassID, paramString, setUI, updateUI |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
protected static int nameCount
protected final String name
protected final TabbedForm form
Constructor Detail |
---|
public ConfigPanel(MapSocket model, TabbedForm form)
public ConfigPanel(String name, MapSocket model, TabbedForm form)
Method Detail |
---|
public void start()
public void setUserBox(List<User> users)
public void setRouteBox(List<Route> routes)
public void updateRouteInfo()
public void setState(String state)
public void getBoxUser()
public void getBoxRoute()
public int getThick()
public String getName()
getName
in class Component
public void gotoMap()
public void addGetUserBtnListener(ActionListener listener)
public void addConfigBtnListener(ActionListener listener)
public void addUserBoxListener(ItemListener listener)
public void addRouteBoxListener(ItemListener listener)
public void addNrBoxListener(ItemListener listener)
public void addDotBoxListener(ItemListener listener)
public void addMapBoxListener(ItemListener listener)
public void addThickSpinnerListener(ChangeListener listener)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |