Size2D
Contents
[
Hide
]Inheritance: java.lang.Object, java.awt.geom.Dimension2D
public abstract class Size2D extends Dimension2D
The Size2D
class describes dimensions (w x h) .
This class is only the abstract superclass for all objects that store 2D dimensions. The actual storage representation of the dimensions is left to the subclass.
Constructors
Constructor | Description |
---|---|
Size2D() |
Methods
Size2D()
public Size2D()
clone()
public Object clone()
Returns: java.lang.Object
equals(Object arg0)
public boolean equals(Object arg0)
Parameters:
Parameter | Type | Description |
---|---|---|
arg0 | java.lang.Object |
Returns: boolean
getClass()
public final native Class<?> getClass()
Returns: java.lang.Class
getHeight()
public abstract double getHeight()
Returns: double
getWidth()
public abstract double getWidth()
Returns: double
hashCode()
public native int hashCode()
Returns: int
notify()
public final native void notify()
notifyAll()
public final native void notifyAll()
setSize(double arg0, double arg1)
public abstract void setSize(double arg0, double arg1)
Parameters:
Parameter | Type | Description |
---|---|---|
arg0 | double | |
arg1 | double |
setSize(Dimension2D arg0)
public void setSize(Dimension2D arg0)
Parameters:
Parameter | Type | Description |
---|---|---|
arg0 | java.awt.geom.Dimension2D |
toString()
public String toString()
Returns: java.lang.String
wait()
public final void wait()
wait(long arg0)
public final native void wait(long arg0)
Parameters:
Parameter | Type | Description |
---|---|---|
arg0 | long |
wait(long arg0, int arg1)
public final void wait(long arg0, int arg1)
Parameters:
Parameter | Type | Description |
---|---|---|
arg0 | long | |
arg1 | int |