|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.partnersoft.v3x.apps.Staker.FieldStaker.UnitAtALocationSelector
public class UnitAtALocationSelector
A graphical staked unit selector. Displays a StakeNode and the units on it, and translates mouse clicks to specified UnitsAtALocation. Also includes a list selector so's you can get those nonvisual units too. Oh yeah, and now we're kludging in hexagon label selection. Sigh.
| Constructor Summary | |
|---|---|
UnitAtALocationSelector(Staker staker)
|
|
| Method Summary | |
|---|---|
void |
addSpecificationListener(SpecificationListener nosey)
|
java.awt.Component |
getListSelector()
|
Location |
getLocation()
|
Specifier |
getRotationSpecifier()
|
java.util.Iterator |
getSelectionSet()
Returns valid selection set. |
java.lang.Object |
getSpecified()
Returns specified object. |
java.lang.Class |
getSpecifiedClass()
Returns the class of objects that can be specified with this specifier. |
java.awt.Component |
getSplatteredEgg()
|
void |
refresh()
|
void |
removeSelectableItem(java.lang.Object item)
Removes an item from the selection set. |
void |
removeSpecificationListener(SpecificationListener repentant)
|
void |
selectableItemChanged(java.lang.Object item)
Used when an object's state has changed; primarily for benefit of some gui thing. |
void |
setLocation(Location newLoc)
|
void |
setSelecting(boolean selecting)
|
void |
setSelectionSet(java.util.Iterator newSet)
Sets valid selection set. |
void |
setSpecified(java.lang.Object newSpecified)
Specifies an object. |
void |
setSpecifiedClass(java.lang.Class classy)
Sets the class of objects that can be specified with this specifier. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public UnitAtALocationSelector(Staker staker)
| Method Detail |
|---|
public void setSpecified(java.lang.Object newSpecified)
Specifier
setSpecified in interface Specifierpublic java.lang.Object getSpecified()
Specifier
getSpecified in interface Specifierpublic void setSelectionSet(java.util.Iterator newSet)
Selector
setSelectionSet in interface Selectorpublic java.util.Iterator getSelectionSet()
Selector
getSelectionSet in interface Selectorpublic java.lang.Class getSpecifiedClass()
Specifier
getSpecifiedClass in interface Specifierpublic void setSpecifiedClass(java.lang.Class classy)
Specifier
setSpecifiedClass in interface Specifierpublic void setLocation(Location newLoc)
public Location getLocation()
public void setSelecting(boolean selecting)
public Specifier getRotationSpecifier()
public java.awt.Component getListSelector()
public java.awt.Component getSplatteredEgg()
public void refresh()
public void removeSelectableItem(java.lang.Object item)
Selector
removeSelectableItem in interface Selectorpublic void selectableItemChanged(java.lang.Object item)
Selector
selectableItemChanged in interface Selectorpublic void addSpecificationListener(SpecificationListener nosey)
addSpecificationListener in interface Specifierpublic void removeSpecificationListener(SpecificationListener repentant)
removeSpecificationListener in interface Specifier
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||