triptracker.client.map.ui
Class TabbedForm

java.lang.Object
  extended by triptracker.client.map.ui.TabbedForm
All Implemented Interfaces:
Form

public class TabbedForm
extends Object
implements Form


Field Summary
protected  String name
           
protected static int nameCount
           
 
Constructor Summary
TabbedForm(MapClientGui view, MapSocket model)
           
TabbedForm(MapClientGui view, String name, MapSocket model)
           
 
Method Summary
 JComponent getFormComponent()
          Returns the root JComponent object that this form operates on.
 String getName()
          Returns the name of this form.
 void gotoMap(boolean realtime, Route route)
           
 void refreshView()
          Invoked by FormManager right before this form is displayed.
 void setInfo()
           
 void setInfo(Route route, User user)
           
 void setMapView(boolean nr, boolean dot, boolean map, int thick)
           
 void setRoute(List<Coordinate> coordList)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

nameCount

protected static int nameCount

name

protected final String name
Constructor Detail

TabbedForm

public TabbedForm(MapClientGui view,
                  MapSocket model)

TabbedForm

public TabbedForm(MapClientGui view,
                  String name,
                  MapSocket model)
Method Detail

gotoMap

public void gotoMap(boolean realtime,
                    Route route)

setInfo

public void setInfo(Route route,
                    User user)

setInfo

public void setInfo()

setRoute

public void setRoute(List<Coordinate> coordList)

setMapView

public void setMapView(boolean nr,
                       boolean dot,
                       boolean map,
                       int thick)

getFormComponent

public JComponent getFormComponent()
Description copied from interface: Form
Returns the root JComponent object that this form operates on.

Specified by:
getFormComponent in interface Form
Returns:
root JComponent object
See Also:
FormManager

getName

public String getName()
Description copied from interface: Form
Returns the name of this form. This name should be unique for each form for a given instance of FormManager.

Specified by:
getName in interface Form
Returns:
form name
See Also:
FormManager

refreshView

public void refreshView()
Description copied from interface: Form
Invoked by FormManager right before this form is displayed.

Specified by:
refreshView in interface Form
See Also:
FormManager


Copyright © 2006 Team Trip Tracker. All Rights Reserved.