Serialized Form


Package uk.co.keang.hex.demo

Class uk.co.keang.hex.demo.HexApplet extends javax.swing.JApplet implements Serializable

serialVersionUID: 987532281262389796L

Serialized Fields

demo

HexLayoutDemo demo

Class uk.co.keang.hex.demo.HexLayoutDemo extends javax.swing.JPanel implements Serializable

serialVersionUID: 5759426245186257956L

Serialized Fields

hexPanel

javax.swing.JPanel hexPanel

stretchy

boolean stretchy

nLines

int nLines

nCpl

int nCpl

cGap

int cGap

nComponents

int nComponents

orientation

HexBtnUtilities.HexOrientation orientation

style

HexLayout.HexLayoutStyle style

btnType

java.lang.String btnType

Package uk.co.keang.hex.gui

Class uk.co.keang.hex.gui.HexButton extends javax.swing.JButton implements Serializable

serialVersionUID: 4865976127980106774L

Serialized Fields

hexBoundary

java.awt.Polygon hexBoundary

hexFocus

java.awt.Polygon hexFocus

hexHiliteR

java.awt.Polygon[][] hexHiliteR

hexHiliteP

java.awt.Polygon[][] hexHiliteP

orientation

HexBtnUtilities.HexOrientation orientation

requiresHexCalc

boolean requiresHexCalc

Class uk.co.keang.hex.gui.HexLayout extends java.lang.Object implements Serializable

serialVersionUID: -858342723067286796L

Serialized Fields

stretchy

boolean stretchy
Determines whether or not to allow stretched hexagons. Settings this to true will force the components to be proper hexagons


cgap

int cgap
This is the gap (in pixels) which specifies the space between components. They can be changed at any time. This should be a non-negative integer.


cpl

int cpl
This is the number of rows specified for the grid. The number of rows can be changed at any time. This should be a non negative integer, where '0' means 'any number' meaning that the number of Rows in that dimension depends on the other dimension.


lines

int lines
This is the number of columns specified for the grid. The number of columns can be changed at any time. This should be a non negative integer, where '0' means 'any number' meaning that the number of Columns in that dimension depends on the other dimension.


orientation

HexBtnUtilities.HexOrientation orientation
This is the orientation of the hexagonal components. If components aren't currently in the correct orientation they will be changed to suit this layout


layoutStyle

HexLayout.HexLayoutStyle layoutStyle

layout

uk.co.keang.hex.gui.HexLayout.AbstractLayout layout

Class uk.co.keang.hex.gui.HexToggleButton extends javax.swing.JToggleButton implements Serializable

serialVersionUID: 4865976127980106774L

Serialized Fields

hexBoundary

java.awt.Polygon hexBoundary

hexFocus

java.awt.Polygon hexFocus

hexHilite

java.awt.Polygon[][] hexHilite

orientation

HexBtnUtilities.HexOrientation orientation

requiresHexCalc

boolean requiresHexCalc