public class PenStateCopy extends PenState implements java.io.Serializable
PenState.Levels
Modifier and Type | Field and Description |
---|---|
static long |
serialVersionUID |
Constructor and Description |
---|
PenStateCopy() |
PenStateCopy(PenState penState) |
Modifier and Type | Method and Description |
---|---|
PenState.Levels |
getLevels() |
boolean |
setButtonValue(int typeNumber,
boolean value) |
boolean |
setButtonValue(PButton.Type type,
boolean value) |
boolean |
setButtonValue(PButton button) |
void |
setKind(int kindTypeNumber) |
void |
setKind(PKind.Type type) |
void |
setKind(PKind kind) |
void |
setLevelValue(int typeNumber,
float value) |
void |
setLevelValue(PLevel.Type type,
float value) |
void |
setLevelValue(PLevel level) |
void |
setValues(PenEvent ev) |
void |
setValues(PenState penState) |
getButtonValue, getButtonValue, getKind, getLevelValue, getLevelValue, getPressedButtonsCount, hasPressedButtons
public static final long serialVersionUID
public PenStateCopy()
public PenStateCopy(PenState penState)
public PenState.Levels getLevels()
public void setLevelValue(PLevel level)
public void setLevelValue(PLevel.Type type, float value)
public void setLevelValue(int typeNumber, float value)
public boolean setButtonValue(PButton button)
public boolean setButtonValue(int typeNumber, boolean value)
public boolean setButtonValue(PButton.Type type, boolean value)
public void setKind(PKind.Type type)
public void setKind(int kindTypeNumber)