public class FastHexaValueGridPortrayal2D extends HexaValueGridPortrayal2D
locationToPass
DEFAULT, DONT_USE_BUFFER, USE_BUFFER
classPortrayals, field, immutableField, portrayalForAll, portrayalForNonNull, portrayalForNull, portrayalForRemainder, portrayals
Constructor and Description |
---|
FastHexaValueGridPortrayal2D() |
FastHexaValueGridPortrayal2D(boolean immutableField)
If immutableField is true, we presume that the grid doesn't change.
|
FastHexaValueGridPortrayal2D(java.lang.String valueName) |
FastHexaValueGridPortrayal2D(java.lang.String valueName,
boolean immutableField)
If immutableField is true, we presume that the grid doesn't change.
|
Modifier and Type | Method and Description |
---|---|
protected void |
hitOrDraw(java.awt.Graphics2D graphics,
DrawInfo2D info,
Bag putInHere)
Instead of overriding the draw and hitObjects methods, you can optionally override
this method to provide both the draw(...) and hitObjects(...)
functionality in a single method, as it's common that these two methods have nearly
identical code.
|
getLocationPosition, getPositionLocation, getScale, setBorder, setGridLines
getDefaultPortrayal, getMap, getValueName, getWrapper, newValue, setBorderColor, setBorderLineFraction, setBorderLineMinMaxWidth, setField, setGridColor, setGridLineFraction, setGridLineMinMaxWidth, setGridMinSpacing, setGridModulus, setMap, setValueName
draw, getBuffering, getClipLocation, getObjectPosition, getRelativeObjectPosition, hitObjects, setBuffering, setObjectPosition
getDefaultNullPortrayal, getField, getInspector, getName, getObjectLocation, getPortrayalForAll, getPortrayalForNonNull, getPortrayalForNull, getPortrayalForObject, getPortrayalForRemainder, getStatus, isDirtyField, isImmutableField, reset, setDirtyField, setImmutableField, setObjectLocation, setPortrayalForAll, setPortrayalForClass, setPortrayalForNonNull, setPortrayalForNull, setPortrayalForObject, setPortrayalForRemainder, setSelected, setSelected
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getInspector, getName, getStatus, setSelected
public FastHexaValueGridPortrayal2D(java.lang.String valueName, boolean immutableField)
public FastHexaValueGridPortrayal2D(java.lang.String valueName)
public FastHexaValueGridPortrayal2D(boolean immutableField)
public FastHexaValueGridPortrayal2D()
protected void hitOrDraw(java.awt.Graphics2D graphics, DrawInfo2D info, Bag putInHere)
FieldPortrayal2D
hitOrDraw
in class HexaValueGridPortrayal2D