org.rococoa.cocoa.foundation
Class NSSize

java.lang.Object
  extended by com.sun.jna.Structure
      extended by org.rococoa.cocoa.foundation.NSSize
All Implemented Interfaces:
com.sun.jna.Structure.ByValue

public class NSSize
extends com.sun.jna.Structure
implements com.sun.jna.Structure.ByValue


Nested Class Summary
 
Nested classes/interfaces inherited from class com.sun.jna.Structure
com.sun.jna.Structure.ByReference, com.sun.jna.Structure.ByValue
 
Field Summary
 CGFloat height
           
 CGFloat width
           
 
Fields inherited from class com.sun.jna.Structure
ALIGN_DEFAULT, ALIGN_GNUC, ALIGN_MSVC, ALIGN_NONE, CALCULATE_SIZE
 
Constructor Summary
NSSize()
           
NSSize(java.awt.geom.Dimension2D pSize)
           
NSSize(double width, double height)
           
 
Method Summary
 
Methods inherited from class com.sun.jna.Structure
allocateMemory, allocateMemory, autoRead, autoRead, autoWrite, autoWrite, cacheTypeInfo, clear, ensureAllocated, equals, getAutoRead, getAutoWrite, getFieldOrder, getNativeAlignment, getPointer, getStructAlignment, hashCode, newInstance, read, readField, setAlignType, setAutoRead, setAutoSynch, setAutoWrite, setFieldOrder, setTypeMapper, size, sortFields, toArray, toArray, toString, useMemory, useMemory, write, writeField, writeField
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

width

public final CGFloat width

height

public final CGFloat height
Constructor Detail

NSSize

public NSSize()

NSSize

public NSSize(double width,
              double height)

NSSize

public NSSize(java.awt.geom.Dimension2D pSize)


Copyright © 2009. All Rights Reserved.