public class EditingChangeState
extends Object
Modifier and Type | Class and Description |
---|---|
static class |
EditingChangeState.EditChange
What kinds of change are possible.
|
Modifier and Type | Field and Description |
---|---|
(package private) boolean |
appearanceChanged |
(package private) boolean |
changeUndoable |
(package private) boolean |
semanticsChanged |
Constructor and Description |
---|
EditingChangeState()
Default is that nothing has changed.
|
EditingChangeState(EditingChangeState.EditChange... changes)
Set the appropriate change(s) in a human-readable way
|
Modifier and Type | Method and Description |
---|---|
boolean |
anythingChanged() |
boolean |
isAppearanceChanged() |
boolean |
isChangeUndoable() |
boolean |
isSemanticsChanged() |
void |
setAppearanceChanged(boolean appearanceChanged) |
void |
setChangeUndoable(boolean changeUndoable) |
void |
setSemanticsChanged(boolean semanticsChanged) |
boolean appearanceChanged
boolean semanticsChanged
boolean changeUndoable
public EditingChangeState(EditingChangeState.EditChange... changes)
public EditingChangeState()
public boolean isAppearanceChanged()
public void setAppearanceChanged(boolean appearanceChanged)
public boolean isSemanticsChanged()
public void setSemanticsChanged(boolean semanticsChanged)
public boolean isChangeUndoable()
public void setChangeUndoable(boolean changeUndoable)
public boolean anythingChanged()