|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.util.AbstractCollection<E>
java.util.AbstractList<E>
java.util.ArrayList<RoutePoint>
com.oziexplorer.Route
public class Route
This class represents routes, and consists of a list of RoutePoints.
Copyright 2011 Alan Burlison,
Field Summary
protected int
color
protected String
description
The route description.
protected String
name
The route name.
Fields inherited from class java.util.AbstractList
modCount
Constructor Summary
Route(String name,
String description,
int color)
Create a new route.
Method Summary
int
getColor()
Get the route line color.
String
getDescription()
Get the route description.
String
getName()
Get the route name.
Methods inherited from class java.util.ArrayList
add, add, addAll, addAll, clear, clone, contains, ensureCapacity, get, indexOf, isEmpty, lastIndexOf, remove, remove, removeRange, set, size, toArray, toArray, trimToSize
Methods inherited from class java.util.AbstractList
equals, hashCode, iterator, listIterator, listIterator, subList
Methods inherited from class java.util.AbstractCollection
containsAll, removeAll, retainAll, toString
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface java.util.List
containsAll, equals, hashCode, iterator, listIterator, listIterator, removeAll, retainAll, subList
Field Detail
name
protected final String name
description
protected final String description
color
protected final int color
Constructor Detail
Route
public Route(String name,
String description,
int color)
name
- the route name.description
- the route description.color
- the route line color.
Method Detail
getColor
public int getColor()
getDescription
public String getDescription()
getName
public String getName()
Package
Class
Use
Tree
Deprecated
Index
Help
PREV CLASS
NEXT CLASS
FRAMES
NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD
DETAIL: FIELD | CONSTR | METHOD