|
JavaTM Platform Standard Ed. 6 |
|||||||||
��һ���� ��һ���� | ��� ��� ������ | |||||||||
ժҪ�� Ƕ�� | �ֶ� | ���췽�� | ���� | ��ϸ��Ϣ�� �ֶ� | ���췽�� | ���� |
java.lang.Objectjava.awt.geom.Dimension2D
public abstract class Dimension2D
Dimension2D
�����ڷ�װ���Ⱥ߶ȳߴ硣
���������д洢 2D �ߴ�Ķ����Ωһ�����ࡣ��С��ʵ�ʴ洢��ʾ��ʽ�����������
���췽��ժҪ | |
---|---|
protected |
Dimension2D()
����һ������ֱ��ʵ�����ij����ࡣ |
����ժҪ | |
---|---|
Object |
clone()
����һ����˶��������ͬ����¶��� |
abstract double |
getHeight()
���ش� Dimension �ĸ߶ȣ��� double ���ȱ�ʾ���� |
abstract double |
getWidth()
���ش� Dimension �Ŀ��ȣ��� double ���ȱ�ʾ���� |
void |
setSize(Dimension2D d)
�� Dimension2D ����Ĵ�С����Ϊָ����С�� |
abstract void |
setSize(double width,
double height)
���� Dimension ����Ĵ�С����Ϊָ���Ŀ��Ⱥ߶ȡ� |
���� java.lang.Object �̳еķ��� |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
���췽����ϸ��Ϣ |
---|
protected Dimension2D()
Dimension
������ϸ��Ϣ |
---|
public abstract double getWidth()
Dimension
�Ŀ��ȣ��� double ���ȱ�ʾ����
Dimension
�Ŀ��ȡ�public abstract double getHeight()
Dimension
�ĸ߶ȣ��� double ���ȱ�ʾ����
Dimension
�ĸ߶ȡ�public abstract void setSize(double width, double height)
Dimension
����Ĵ�С����Ϊָ���Ŀ��Ⱥ߶ȡ������˷����dz��������Կ��ǣ��� Component
�� getSize
������Ӧ��
width
- Dimension
������¿���height
- Dimension
������¸߶�public void setSize(Dimension2D d)
Dimension2D
����Ĵ�С����Ϊָ����С�������˷����dz��������Կ��ǣ��� Component
�� getSize
������Ӧ��
d
- Dimension2D
������´�Сpublic Object clone()
Object
�е� clone
OutOfMemoryError
- ���û���㹻���ڴ档Cloneable
|
JavaTM Platform Standard Ed. 6 |
|||||||||
��һ���� ��һ���� | ��� ��� ������ | |||||||||
ժҪ�� Ƕ�� | �ֶ� | ���췽�� | ���� | ��ϸ��Ϣ�� �ֶ� | ���췽�� | ���� |
��Ȩ���� 2007 Sun Microsystems, Inc. ��������Ȩ���� ����������֤��������������ĵ����·ַ�������