Class PropertyTool

java.lang.Object
group24.escaperoom.ui.editorTools.EditorTool
group24.escaperoom.ui.editorTools.PropertyTool

public class PropertyTool extends EditorTool
  • Constructor Details

  • 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: EditorTool
      Called when this tool is selected
      Specified by:
      select in class EditorTool
    • cancel

      public void cancel()
      Description copied from class: EditorTool
      Called when the user presses Escape while this is the active tool
      Specified by:
      cancel in class EditorTool
    • getButtonStyle

      public String getButtonStyle()
      Overrides:
      getButtonStyle in class EditorTool
    • getType

      public ToolManager.ToolType getType()
      Specified by:
      getType in class EditorTool
      Returns:
      the ToolManager.ToolType
    • getName

      public String getName()
      Specified by:
      getName in class EditorTool