com.jniwrapper.win32
Class Rect
java.lang.Object
|
+--com.jniwrapper.Parameter
|
+--com.jniwrapper.Structure
|
+--com.jniwrapper.win32.Rect
- public class Rect
- extends Structure
This class represents RECT structure.
Constructor Summary |
Rect()
|
Rect(int left,
int top,
int right,
int bottom)
|
Rect(Rect that)
|
Rect(java.awt.Rectangle rectangle)
|
Methods inherited from class com.jniwrapper.Structure |
acceptIOPerformer, addMembers, computeLength, getAlignmentRequirement, getLength, getMember, getMembers, init, init, pop, push, read, setDataBuffer, write |
Methods inherited from class java.lang.Object |
finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Rect
public Rect()
Rect
public Rect(Rect that)
Rect
public Rect(int left,
int top,
int right,
int bottom)
Rect
public Rect(java.awt.Rectangle rectangle)
setLeft
public void setLeft(long value)
getLeft
public long getLeft()
setTop
public void setTop(long value)
getTop
public long getTop()
setRight
public void setRight(long value)
getRight
public long getRight()
setBottom
public void setBottom(long value)
getBottom
public long getBottom()
moveTo
public void moveTo(long left,
long top)
moveBy
public void moveBy(int deltaX,
int deltaY)
toString
public java.lang.String toString()
- Overrides:
toString
in class Structure
clone
public java.lang.Object clone()
- Overrides:
clone
in class Structure
assign
public void assign(Rect anotherRect)
setBounds
public void setBounds(int left,
int top,
int right,
int bottom)
setBounds
public void setBounds(java.awt.Rectangle rectangle)