bibliothek.gui.dock.action
Class LocationHint.Origin

java.lang.Object
  extended by bibliothek.gui.dock.action.LocationHint.Enumeration
      extended by bibliothek.gui.dock.action.LocationHint.Origin
Enclosing class:
LocationHint

public static class LocationHint.Origin
extends LocationHint.Enumeration

Describes who created a LocationHint

Author:
Benjamin Sigg

Constructor Summary
LocationHint.Origin(String id)
          Creates a new origin
 
Method Summary
 boolean equals(LocationHint.Origin other)
          Compares this origin with another origin.
 boolean equals(Object obj)
           
 
Methods inherited from class bibliothek.gui.dock.action.LocationHint.Enumeration
getId, hashCode
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LocationHint.Origin

public LocationHint.Origin(String id)
Creates a new origin

Parameters:
id - the unique id of this origin
Method Detail

equals

public boolean equals(Object obj)
Overrides:
equals in class LocationHint.Enumeration

equals

public boolean equals(LocationHint.Origin other)
Compares this origin with another origin.

Parameters:
other - the other origin
Returns:
true if they have the same id