notio
Class MarkerDesignator
java.lang.Object
|
+--notio.Designator
|
+--notio.MarkerDesignator
- public class MarkerDesignator
- extends Designator
- implements java.io.Serializable
Class for locator designators. Used for references by individual marker.
- See Also:
- Serialized Form
Method Summary |
Designator |
copy(CopyingScheme copyScheme,
java.util.Hashtable substitutionTable)
Performs a copy operation on this designator according to the
the specified CopyingScheme. |
int |
getDesignatorKind()
Returns a constant indicating which kind of designator is. |
Marker |
getMarker()
Returns the marker associated with this designator. |
void |
setMarker(Marker newMarker)
Sets the marker associated with this designator. |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
MarkerDesignator
public MarkerDesignator()
- Constructs a new MarkerDesignator with no associated marker.
A marker may be assigned later using setMarker().
- See Also:
setMarker(notio.Marker)
MarkerDesignator
public MarkerDesignator(MarkerSet markerSet)
- Constructs a new MarkerDesignator with the specified marker set. A marker will be
constructed and added to the set automatically.
- Parameters:
markerSet
- the marker set associated with this designator.
MarkerDesignator
public MarkerDesignator(Marker newMarker)
- Constructs a new MarkerDesignator with the specified marker. The marker is assumed
to be valid and already a member of some marker set.
- Parameters:
newMarker
- the marker associated with this designator.
getDesignatorKind
public int getDesignatorKind()
- Returns a constant indicating which kind of designator is.
In this case the constant will be: Designator.DESIGNATOR_MARKER
- Overrides:
- getDesignatorKind in class Designator
- Returns:
- a constant indicating the kind of the designator.
setMarker
public void setMarker(Marker newMarker)
- Sets the marker associated with this designator.
- Parameters:
newMarker
- the marker to be associated with this designator.
getMarker
public Marker getMarker()
- Returns the marker associated with this designator.
- Returns:
- the marker associated with this designator.
copy
public Designator copy(CopyingScheme copyScheme,
java.util.Hashtable substitutionTable)
- Performs a copy operation on this designator according to the
the specified CopyingScheme.
The result may be a new designator or simply a reference to this designator
depending on the scheme.
- Overrides:
- copy in class Designator
- Parameters:
copyScheme
- the copying scheme used to control the copy operation.substitutionTable
- a hashtable containing copied objects available due to
earlier copy operations.- Returns:
- the result of the copy operation.
Copyright 1998-1999 Finnegan Southey