Class NoSelection

java.lang.Object
com.iizix.prop.ui.selection.NoSelection
All Implemented Interfaces:
IUISelection

public class NoSelection extends Object implements IUISelection
The No-Selection.
Author:
Christopher Mindus
  • Constructor Details

    • NoSelection

      public NoSelection(IUISelectionComp source)
      Constructor.
      Parameters:
      source - The component source.
  • Method Details

    • getSource

      public IUISelectionComp getSource()
      Get the source component of the event.
      Specified by:
      getSource in interface IUISelection
      Returns:
      The source.
    • getUISource

      public UIComp getUISource()
      Gets the UI component being the source of the event.
      Specified by:
      getUISource in interface IUISelection
      Returns:
      The UI component.
    • equals

      public boolean equals(Object o)
      Equals.
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Gets the hash code of this instance, consistent with equals: the source component (by identity, as equals compares it).
      Overrides:
      hashCode in class Object
      Returns:
      The hash code.
    • toString

      public String toString()
      Converts the selection to a string.
      Overrides:
      toString in class Object