Package hec.map

Class MapGlyph.Selection

java.lang.Object
hec.map.MapGlyph.Selection
Enclosing class:
MapGlyph

public class MapGlyph.Selection extends Object
Inner class to hold Selections in the MapPanel

  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    boolean
    true if the object is being edited
    The object that was selected
  • Constructor Summary

    Constructors
    Constructor
    Description
    Selection(Object obj, boolean ed)
    Create a new Selection object
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    equals(Object that)
    checks to see if one Selection's obj is equal to another Selection's obj
    int
    returns the hashcode of this Selection's obj

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • object

      public Object object
      The object that was selected
    • editing

      public boolean editing
      true if the object is being edited
  • Constructor Details

    • Selection

      public Selection(Object obj, boolean ed)
      Create a new Selection object

      Parameters:
      obj - the object that was selected
      ed - true if obj is being edited
  • Method Details

    • equals

      public boolean equals(Object that)
      checks to see if one Selection's obj is equal to another Selection's obj

      Overrides:
      equals in class Object
      Parameters:
      that - Description

      Returns:
      true if the that's obj equals() this Selection's obj
    • hashCode

      public int hashCode()
      returns the hashcode of this Selection's obj

      Overrides:
      hashCode in class Object
      Returns:
      the obj hashcode