com.ebmwebsourcing.geasytools.geasyui.impl.core
Class Region<T>

java.lang.Object
  extended by com.ebmwebsourcing.geasytools.geasyui.impl.core.Region<T>
All Implemented Interfaces:
IRegion

public class Region<T>
extends java.lang.Object
implements IRegion


Constructor Summary
Region(IPoint iPoint, IPoint iPoint2)
           
Region(IPoint topLeftPoint, IPoint bottomRightPoint, T subject)
           
 
Method Summary
 boolean contains(IPoint point)
           
 boolean containsOneOf(java.util.Collection<Point> collection)
           
 IPoint getBottomRightPoint()
           
 IPoint getNorthWestPoint()
           
 IPoint getSouthEastPoint()
           
 T getSubject()
           
 IPoint getTopLeftPoint()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Region

public Region(IPoint iPoint,
              IPoint iPoint2)

Region

public Region(IPoint topLeftPoint,
              IPoint bottomRightPoint,
              T subject)
Method Detail

getBottomRightPoint

public IPoint getBottomRightPoint()

getTopLeftPoint

public IPoint getTopLeftPoint()

getSubject

public T getSubject()

contains

public boolean contains(IPoint point)
Specified by:
contains in interface IRegion

containsOneOf

public boolean containsOneOf(java.util.Collection<Point> collection)

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

getNorthWestPoint

public IPoint getNorthWestPoint()
Specified by:
getNorthWestPoint in interface IRegion

getSouthEastPoint

public IPoint getSouthEastPoint()
Specified by:
getSouthEastPoint in interface IRegion


Copyright © 2010-2011 Petals Link. All Rights Reserved.