|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object facets.util.Tracer facets.util.NumberPolicy facets.util.NumberPolicy.Ticked facets.util.shade.Shades.RGBPolicy
public static class Shades.RGBPolicy
Policy for shade RGB values.
RGBPolicy
is a NumberPolicy.Ticked
with range 0 to 256.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class facets.util.NumberPolicy |
---|
NumberPolicy.Ticked, NumberPolicy.ValueVariable |
Field Summary |
---|
Fields inherited from class facets.util.NumberPolicy.Ticked |
---|
LABEL_TICKS_DEFAULT, SNAP_LABELS, SNAP_NONE, SNAP_TICKS, TICKS_DEFAULT |
Fields inherited from class facets.util.NumberPolicy |
---|
COLUMNS_DEFAULT, debug, FORMAT_DECIMALS_0, FORMAT_DECIMALS_1, FORMAT_DECIMALS_2, FORMAT_DECIMALS_3, FORMAT_DECIMALS_4, FORMAT_HEX, MAX_VALUE, MIN_VALUE, UNIT_JUMP_DEFAULT |
Constructor Summary | |
---|---|
Shades.RGBPolicy()
|
Method Summary | |
---|---|
int |
columns()
The column width for text boxes in which values are to be displayed. |
int |
labelSpacing()
The number of ticks between each label. |
int |
snapType()
Defines the snap-to-ticks contentStyle. |
int |
tickSpacing()
The spacing between each tick, in the value returned by NumberPolicy.unit() . |
Methods inherited from class facets.util.NumberPolicy.Ticked |
---|
localTicks, range, toString, unitJump, validValue |
Methods inherited from class facets.util.NumberPolicy |
---|
canCycle, debug, format, incrementTitles, max, min, reverseIncrements, unit, validIncrement |
Methods inherited from class facets.util.Tracer |
---|
trace, trace, trace, trace, trace, traceDebug, traceDebug, traceObjectText, traceOutput, traceOutputWithClass |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public Shades.RGBPolicy()
Method Detail |
---|
public int columns()
NumberPolicy
Follows AWT convention.
columns
in class NumberPolicy
public int labelSpacing()
NumberPolicy.Ticked
labelSpacing
in class NumberPolicy.Ticked
public int snapType()
NumberPolicy.Ticked
The value returned should be one of
snapType
in class NumberPolicy.Ticked
public int tickSpacing()
NumberPolicy.Ticked
NumberPolicy.unit()
.
tickSpacing
in class NumberPolicy.Ticked
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |