Class PropertyTool
java.lang.Object
group24.escaperoom.ui.editorTools.EditorTool
group24.escaperoom.ui.editorTools.PropertyTool
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classRepresents a deletion operationprotected static enum -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidcancel()Called when the user presses Escape while this is the active toolgetName()getType()booleanWhether this tool is currently "pasting" That is, the tool has been used to paste a value to a single item and the user has not yet lifted the mouse buttonvoidselect()Called when this tool is selectedMethods inherited from class group24.escaperoom.ui.editorTools.EditorTool
getEditor
-
Constructor Details
-
PropertyTool
-
-
Method Details
-
isPasting
public boolean isPasting()Whether this tool is currently "pasting" That is, the tool has been used to paste a value to a single item and the user has not yet lifted the mouse button -
select
public void select()Description copied from class:EditorToolCalled when this tool is selected- Specified by:
selectin classEditorTool
-
cancel
public void cancel()Description copied from class:EditorToolCalled when the user presses Escape while this is the active tool- Specified by:
cancelin classEditorTool
-
getButtonStyle
- Overrides:
getButtonStylein classEditorTool
-
getType
- Specified by:
getTypein classEditorTool- Returns:
- the
ToolManager.ToolType
-
getName
- Specified by:
getNamein classEditorTool
-