Interface Changeable

    • Field Summary

      Fields 
      Modifier and Type Field Description
      static int CELL_EDITOR
      Flag to indicate that the element should be edited by a cell editor.
      static int CONTEXT_MENU
      Flag to indicate that the element should be edited by a context menu.
    • Field Detail

      • CONTEXT_MENU

        static final int CONTEXT_MENU
        Flag to indicate that the element should be edited by a context menu.
        See Also:
        Constant Field Values
      • CELL_EDITOR

        static final int CELL_EDITOR
        Flag to indicate that the element should be edited by a cell editor.
        See Also:
        Constant Field Values
    • Method Detail

      • getChangeModes

        int getChangeModes()
        Return the change mode. At this time this can be either CONTEXT_MENU or CELL_EDITOR
      • getContextFactory

        ContextFactory getContextFactory()
        Returns a factory for creating the appropriate context menu.
      • getArgument

        java.lang.Object getArgument()
        The game object for which this Changeable is responsible.
        Returns:
        the game object for which this Changeable is responsible.