Margins

遗产: java.lang.Object

public final class Margins

此类表示图像的边距。

构造函数

构造函数描述
Margins(int left, int right, int top, int bottom)初始化 Margins 类的新实例。
Margins()初始化 Margins 类的新实例。

方法

方法描述
equals(Object arg0)
getBottom()得到底部。
getClass()
getLeft()得到左边。
getRight()获得权利。
getTop()获得顶部。
hashCode()
notify()
notifyAll()
setBottom(int value)设置底部。
setLeft(int value)设置左侧。
setRight(int value)设置正确。
setTop(int value)设置顶部。
toString()
wait()
wait(long arg0)
wait(long arg0, int arg1)

Margins(int left, int right, int top, int bottom)

public Margins(int left, int right, int top, int bottom)

初始化 Margins 类的新实例。

参数:

范围类型描述
leftint左坐标。
rightint正确的坐标。
topint顶坐标。
bottomint底部坐标。

Margins()

public Margins()

初始化 Margins 类的新实例。

equals(Object arg0)

public boolean equals(Object arg0)

参数:

范围类型描述
arg0java.lang.Object

退货: 布尔值

getBottom()

public int getBottom()

得到底部。

退货: int - int 值:底部。

getClass()

public final native Class<?> getClass()

退货: java.lang.Class

getLeft()

public int getLeft()

得到左边。

退货: int - int 值:左边。

getRight()

public int getRight()

获得权利。

退货: int - int 值:正确。

getTop()

public int getTop()

获得顶部。

退货: int - int 值:顶部。

hashCode()

public native int hashCode()

退货: 整数

notify()

public final native void notify()

notifyAll()

public final native void notifyAll()

setBottom(int value)

public void setBottom(int value)

设置底部。

参数:

范围类型描述
valueintint 值:底部。

setLeft(int value)

public void setLeft(int value)

设置左侧。

参数:

范围类型描述
valueintint值:左边。

setRight(int value)

public void setRight(int value)

设置正确。

参数:

范围类型描述
valueintint值:右边。

setTop(int value)

public void setTop(int value)

设置顶部。

参数:

范围类型描述
valueintint值:顶部。

toString()

public String toString()

退货: java.lang.字符串

wait()

public final void wait()

wait(long arg0)

public final native void wait(long arg0)

参数:

范围类型描述
arg0long

wait(long arg0, int arg1)

public final void wait(long arg0, int arg1)

参数:

范围类型描述
arg0long
arg1int