|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object
|
+--VASSAL.build.AbstractBuildable
|
+--VASSAL.build.AbstractConfigurable
|
+--VASSAL.build.module.map.StackMetrics
|
+--VASSAL.build.module.map.HandMetrics
Handles the drawing of cards in a PlayerHand.
Lays out the cards horizontally with no overlap and even spacing.
| Inner classes inherited from class VASSAL.build.AutoConfigurable |
AutoConfigurable.Util |
| Fields inherited from class VASSAL.build.module.map.StackMetrics |
blankColor, BOTTOM_KEY, bottomKey, COLOR, disabled, DISABLED, DOWN_KEY, downKey, EXSEP_X, EXSEP_Y, exSepX, exSepY, selectedVisible, TOP_KEY, topKey, UNEXSEP_X, UNEXSEP_Y, unexSepX, unexSepY, unselectedVisible, UP_KEY, upKey |
| Fields inherited from class VASSAL.build.AbstractConfigurable |
changeSupport, config, name |
| Fields inherited from class VASSAL.build.AbstractBuildable |
buildComponents |
| Fields inherited from interface VASSAL.build.Configurable |
NAME_PROPERTY |
| Constructor Summary | |
HandMetrics()
|
|
| Method Summary | |
Stack |
createStack(GamePiece p)
|
protected void |
nextPosition(java.awt.Point currentPos,
java.awt.Rectangle currentBounds,
java.awt.Point nextPos,
java.awt.Rectangle nextBounds,
int dx,
int dy)
|
| Methods inherited from class VASSAL.build.module.map.StackMetrics |
addTo, draw, draw, drawUnexpanded, getAllowableConfigureComponents, getAttributeDescriptions, getAttributeNames, getAttributeTypes, getAttributeValueString, getAttributeVisibility, getBlankColor, getConfigureName, getConfigureTypeName, getContents, getHelpFile, getMoveBottomKey, getMoveDownKey, getMoveTopKey, getMoveUpKey, isStackingEnabled, merge, relativePosition, removeFrom, setAttribute |
| Methods inherited from class VASSAL.build.AbstractConfigurable |
addPropertyChangeListener, getConfigureComponents, getConfigurer, remove, setConfigureName |
| Methods inherited from class VASSAL.build.AbstractBuildable |
add, build, getBuildComponents, getBuildElement, getComponents |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface VASSAL.build.Buildable |
add, build, getBuildElement |
| Constructor Detail |
public HandMetrics()
| Method Detail |
public Stack createStack(GamePiece p)
createStack in class StackMetrics
protected void nextPosition(java.awt.Point currentPos,
java.awt.Rectangle currentBounds,
java.awt.Point nextPos,
java.awt.Rectangle nextBounds,
int dx,
int dy)
nextPosition in class StackMetrics
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||