public static class PenState.Levels extends java.lang.Object implements java.io.Serializable
Modifier and Type | Field and Description |
---|---|
static long |
serialVersionUID |
Constructor and Description |
---|
Levels() |
Modifier and Type | Method and Description |
---|---|
void |
clearValues()
Set all values to their defaults: 0f.
|
float |
getValue(int levelTypeNumber) |
float |
getValue(PLevel.Type levelType) |
void |
setValue(int levelTypeNumber,
float value) |
void |
setValue(PLevel.Type levelType,
float value) |
void |
setValue(PLevel level) |
void |
setValues(java.util.Collection<PLevel> levels) |
void |
setValues(PenState.Levels levels) |
void |
setValues(PenState penState) |
void |
setValues(PLevel[] levels) |
void |
setValues(PLevelEvent ev) |
java.lang.String |
toString() |
public static final long serialVersionUID
public Levels()
public void setValues(PenState.Levels levels)
public void setValues(PLevelEvent ev)
public final void setValue(PLevel.Type levelType, float value)
public final void setValue(int levelTypeNumber, float value)
public float getValue(PLevel.Type levelType)
public float getValue(int levelTypeNumber)
public void clearValues()
public java.lang.String toString()
toString
in class java.lang.Object