bibliothek.gui.dock.action
Class LocationHint.Hint

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

public static class LocationHint.Hint
extends LocationHint.Enumeration

Describes the preferred location of a LocationHint

Author:
Benjamin Sigg

Constructor Summary
LocationHint.Hint(String id)
          Creates a new hint.
 
Method Summary
 boolean equals(LocationHint.Hint other)
          Compares this hint with other.
 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.Hint

public LocationHint.Hint(String id)
Creates a new hint.

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

equals

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

equals

public boolean equals(LocationHint.Hint other)
Compares this hint with other.

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