org.openbp.jaspira.gui.interaction
Class BasicDropRegionId

java.lang.Object
  extended by org.openbp.jaspira.gui.interaction.BasicDropRegionId

public class BasicDropRegionId
extends java.lang.Object

Mini identifier used for identifying standard drop regions. Contains a name and a matching constraint number. Primarily used to identify the four edges and the center or a window.

Author:
Stephan Moritz

Constructor Summary
BasicDropRegionId(java.lang.String name, java.lang.String constraint)
          Constructor.
 
Method Summary
 boolean equals(BasicDropRegionId obj)
          Check for equality.
 java.lang.String getConstraint()
          Gets the region constraint.
 java.lang.String getName()
          Gets the name of the region.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BasicDropRegionId

public BasicDropRegionId(java.lang.String name,
                         java.lang.String constraint)
Constructor.

Parameters:
name - Name of the region
constraint - Region constraint
Method Detail

equals

public boolean equals(BasicDropRegionId obj)
Check for equality.


getName

public java.lang.String getName()
Gets the name of the region.


getConstraint

public java.lang.String getConstraint()
Gets the region constraint.



Copyright © 2011. All Rights Reserved.