com.ebmwebsourcing.geasytools.geasyui.impl.core
Class Region<T>
java.lang.Object
com.ebmwebsourcing.geasytools.geasyui.impl.core.Region<T>
- All Implemented Interfaces:
- IRegion
public class Region<T>
- extends java.lang.Object
- implements IRegion
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Region
public Region(IPoint iPoint,
IPoint iPoint2)
Region
public Region(IPoint topLeftPoint,
IPoint bottomRightPoint,
T subject)
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.