GooguRedo
Class CommonSettings
java.lang.Object
|
+--java.util.Observable
|
+--GooguRedo.CommonSettings
- public class CommonSettings
- extends java.util.Observable
This is probably the most boring class in GOOGU. It simply acts as a
container for the non-view-specific settings. It contains the
location, type, and quantity of the views. This class is so boring
that explanation of its members is pointless. You should not need to
call any method in this class. The only point of interest is the need
when adding a new type of view to add an entry for it here, after the
existing types, and change TYPE_MAX to reflect your new entry.
Methods inherited from class java.util.Observable |
addObserver, clearChanged, countObservers, deleteObserver, deleteObservers, hasChanged, notifyObservers, notifyObservers, setChanged |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
L_URL
public static final int L_URL
- See Also:
- Constant Field Values
L_FILE
public static final int L_FILE
- See Also:
- Constant Field Values
MSG_NUMVIEWSCHG
public static final java.lang.Integer MSG_NUMVIEWSCHG
MSG_LOCATIONCHG
public static final java.lang.Integer MSG_LOCATIONCHG
MSG_LOCNAMECHG
public static final java.lang.Integer MSG_LOCNAMECHG
MSG_TYPECHG
public static final java.lang.Integer MSG_TYPECHG
T_LINEGRAPH
public static final int T_LINEGRAPH
- See Also:
- Constant Field Values
T_PATHGRAPH
public static final int T_PATHGRAPH
- See Also:
- Constant Field Values
T_BARGRAPH
public static final int T_BARGRAPH
- See Also:
- Constant Field Values
T_GANTCHART
public static final int T_GANTCHART
- See Also:
- Constant Field Values
CommonSettings
public CommonSettings()
CommonSettings
public CommonSettings(int nv,
int loc,
java.lang.String[] locations)
CommonSettings
public CommonSettings(int nv,
int loc,
java.lang.String[] locations,
int[] types)
NumViews
public final int NumViews()
SetNumViews
public final void SetNumViews(int nv)
Location
public final int Location()
SetLocation
public final void SetLocation(int loc)
LocationName
public final java.lang.String LocationName(int index)
SetLocationName
public final void SetLocationName(int index,
java.lang.String s)
Type
public final int Type(int index)
SetType
public final void SetType(int index,
int value)
ViewNames
public final java.lang.String ViewNames(int index)