|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object jtge.util.grid.directiongroup.AbstractDirectionGroup
Provides direction groups common behaviours.
Constructor Summary | |
protected |
AbstractDirectionGroup()
Create an abstract direction group. |
Method Summary | |
protected void |
add(IDirection direction)
Add a direction to the group. |
java.lang.String[] |
getNames()
Retrieve a string representations of all directions. |
java.lang.String[] |
getShortNames()
Retrieve a string short representations of all directions. |
java.util.Iterator |
iterator()
Retrieve an iterator on directions. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface jtge.util.grid.directiongroup.IDirectionGroup |
transform, transform, transform, transform, transform, transform, transform, transform |
Constructor Detail |
protected AbstractDirectionGroup()
Method Detail |
protected final void add(IDirection direction)
direction
- the direction to addpublic final java.util.Iterator iterator()
iterator
in interface IDirectionGroup
public final java.lang.String[] getNames()
getNames
in interface IDirectionGroup
public final java.lang.String[] getShortNames()
getShortNames
in interface IDirectionGroup
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |