ewe.fx
Class Dimension

java.lang.Object
  extended byewe.fx.Dimension
All Implemented Interfaces:
Encodable

public class Dimension
extends Object
implements Encodable


Field Summary
static Dimension buff
           
 int height
           
 int width
           
 
Constructor Summary
Dimension()
           
Dimension(int w, int h)
           
 
Method Summary
 boolean equals(Object other)
          Returns if this object is considered equal to the other object.
 Dimension set(Dimension r)
           
 Dimension set(int w, int h)
           
 Dimension set(Rect r)
           
 String toString()
          Return a String representation of this object.
static Dimension unNull(Dimension r)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode
 

Field Detail

width

public int width

height

public int height

buff

public static Dimension buff
Constructor Detail

Dimension

public Dimension()

Dimension

public Dimension(int w,
                 int h)
Method Detail

toString

public String toString()
Description copied from class: Object
Return a String representation of this object.

Overrides:
toString in class Object
Returns:
a String representing this object.

set

public Dimension set(int w,
                     int h)

set

public Dimension set(Dimension r)

set

public Dimension set(Rect r)

unNull

public static Dimension unNull(Dimension r)

equals

public boolean equals(Object other)
Description copied from class: Object
Returns if this object is considered equal to the other object.

Overrides:
equals in class Object
Parameters:
other - Another object to compare to.
Returns:
true if this object is considered equal to the other object.