com.jniwrapper.win32
Class Rect

java.lang.Object
  extended bycom.jniwrapper.Parameter
      extended bycom.jniwrapper.Structure
          extended bycom.jniwrapper.win32.Rect
All Implemented Interfaces:
com.jniwrapper.AlignmentAwareParameter, com.jniwrapper.CompositeParameter

public class Rect
extends com.jniwrapper.Structure

This class represents RECT structure.


Field Summary
 
Fields inherited from class com.jniwrapper.Structure
f
 
Fields inherited from class com.jniwrapper.Parameter
LICENSE_TYPE, V
 
Constructor Summary
Rect()
           
Rect(long left, long top, long right, long bottom)
           
Rect(Rect that)
           
Rect(java.awt.Rectangle rectangle)
           
 
Method Summary
 void assign(Rect anotherRect)
           
 Rect centerRect(Size innerRect)
           
 java.lang.Object clone()
           
 long getBottom()
           
 int getBottomAsInt()
           
 int getHeight()
           
 long getLeft()
           
 int getLeftAsInt()
           
 long getRight()
           
 int getRightAsInt()
           
 long getTop()
           
 int getTopAsInt()
           
 int getWidth()
           
 void moveBy(int deltaX, int deltaY)
           
 void moveTo(long left, long top)
           
 void setBottom(long value)
           
 void setBounds(int left, int top, int right, int bottom)
           
 void setBounds(java.awt.Rectangle rectangle)
           
 void setLeft(long value)
           
 void setRight(long value)
           
 void setTop(long value)
           
 java.lang.String toString()
           
 
Methods inherited from class com.jniwrapper.Structure
a, a, acceptIOPerformer, addMembers, computeLength, equals, getAlignmentRequirement, getDebugInfo, getFirstMemberSize, getLength, getMember, getMembers, getOffsets, init, init, initFrom, pop, push, read, setDataBuffer, write
 
Methods inherited from class com.jniwrapper.Parameter
, a, asReturnValue, b, dataBufferAssigned, getAlignedLength, getDataBuffer, getDataBufferOffset, hashCode, indent, read, read, toByteArray, write
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Rect

public Rect()

Rect

public Rect(Rect that)

Rect

public Rect(long left,
            long top,
            long right,
            long bottom)

Rect

public Rect(java.awt.Rectangle rectangle)
Method Detail

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()

clone

public java.lang.Object clone()

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)

getWidth

public int getWidth()

getHeight

public int getHeight()

getLeftAsInt

public int getLeftAsInt()

getTopAsInt

public int getTopAsInt()

getBottomAsInt

public int getBottomAsInt()

getRightAsInt

public int getRightAsInt()

centerRect

public Rect centerRect(Size innerRect)