Class SelectionCellImpl

java.lang.Object
org.gvsig.layout.mapbox.model.SelectionCellImpl
All Implemented Interfaces:
Cloneable, SelectionCell, org.gvsig.tools.lang.Cloneable, org.gvsig.tools.persistence.Persistent

public class SelectionCellImpl extends Object implements SelectionCell
Author:
fdiaz
  • Field Details

  • Constructor Details

    • SelectionCellImpl

      public SelectionCellImpl()
  • Method Details

    • add

      public void add(Cell cell)
      Specified by:
      add in interface SelectionCell
    • isSelected

      public boolean isSelected(Cell cell)
      Specified by:
      isSelected in interface SelectionCell
    • clear

      public void clear()
      Specified by:
      clear in interface SelectionCell
    • getStartCell

      public Cell getStartCell()
      Specified by:
      getStartCell in interface SelectionCell
    • getRectangle

      public Rectangle2D getRectangle()
      Specified by:
      getRectangle in interface SelectionCell
    • registerPersistent

      public static void registerPersistent()
    • saveToState

      public void saveToState(org.gvsig.tools.persistence.PersistentState state) throws org.gvsig.tools.persistence.exception.PersistenceException
      Specified by:
      saveToState in interface org.gvsig.tools.persistence.Persistent
      Throws:
      org.gvsig.tools.persistence.exception.PersistenceException
    • loadFromState

      public void loadFromState(org.gvsig.tools.persistence.PersistentState state) throws org.gvsig.tools.persistence.exception.PersistenceException
      Specified by:
      loadFromState in interface org.gvsig.tools.persistence.Persistent
      Throws:
      org.gvsig.tools.persistence.exception.PersistenceException
    • clone

      public Object clone() throws CloneNotSupportedException
      Specified by:
      clone in interface org.gvsig.tools.lang.Cloneable
      Overrides:
      clone in class Object
      Throws:
      CloneNotSupportedException