org.zkoss.zss.ui
Class Rect
java.lang.Object
org.zkoss.zss.ui.Rect
- Direct Known Subclasses:
- MergedRect
public class Rect
- extends java.lang.Object
a class to represent a rectangle range with 4 value : left, top, right, bottom
- Author:
- Dennis.Chen
|
Constructor Summary |
Rect()
|
Rect(int left,
int top,
int right,
int bottom)
|
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Rect
public Rect()
Rect
public Rect(int left,
int top,
int right,
int bottom)
set
public void set(int left,
int top,
int right,
int bottom)
getLeft
public int getLeft()
setLeft
public void setLeft(int left)
getTop
public int getTop()
setTop
public void setTop(int top)
getRight
public int getRight()
setRight
public void setRight(int right)
getBottom
public int getBottom()
setBottom
public void setBottom(int bottom)
cloneSelf
public java.lang.Object cloneSelf()
toString
public java.lang.String toString()
- Overrides:
toString in class java.lang.Object
contains
public boolean contains(int tRow,
int lCol,
int bRow,
int rCol)
hashCode
public int hashCode()
- Overrides:
hashCode in class java.lang.Object
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals in class java.lang.Object
Copyright © 2005-2010 Potix Corporation. All Rights Reserved.