Home » Eclipse-SWT-3.5.1 » org.eclipse.swt.graphics.custom » [javadoc | source]
org.eclipse.swt.graphics.custom
public class: Dimension [javadoc | source]
java.lang.Object
   org.eclipse.swt.graphics.custom.Dimension

All Implemented Interfaces:
    SerializableCompatibility

Simple wrapper of a width and height dimension.
Field Summary
public  int width     
public  int height     
Constructor:
 public Dimension(Dimension d) 
 public Dimension(int w,
    int h) 
Method from org.eclipse.swt.graphics.custom.Dimension Summary:
equals,   hashCode,   toString
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.eclipse.swt.graphics.custom.Dimension Detail:
 public boolean equals(Object object) 
    Compares the argument to the receiver, and returns true if they represent the same object using a class specific comparison.
 public int hashCode() 
    Returns an integer hash code for the receiver. Any two objects which return true when passed to equals must return the same value for this method.
 public String toString() 
    Returns a string containing a concise, human-readable description of the receiver.