ControlPictureSizeMode

Inheritance: java.lang.Object

public final class ControlPictureSizeMode

Represents how to display the picture.

Fields

FieldDescription
CLIPCrops any part of the picture that is larger than the control’s boundaries.
STRETCHStretches the picture to fill the control’s area.
ZOOMEnlarges the picture, but does not distort the picture in either the horizontal or vertical direction.

Methods

MethodDescription
equals(Object arg0)
getClass()
hashCode()
notify()
notifyAll()
toString()
wait()
wait(long arg0)
wait(long arg0, int arg1)

CLIP

public static final int CLIP

Crops any part of the picture that is larger than the control’s boundaries.

STRETCH

public static final int STRETCH

Stretches the picture to fill the control’s area. This setting distorts the picture in either the horizontal or vertical direction.

ZOOM

public static final int ZOOM

Enlarges the picture, but does not distort the picture in either the horizontal or vertical direction.

equals(Object arg0)

public boolean equals(Object arg0)

Parameters:

ParameterTypeDescription
arg0java.lang.Object

Returns: boolean

getClass()

public final native Class<?> getClass()

Returns: java.lang.Class

hashCode()

public native int hashCode()

Returns: int

notify()

public final native void notify()

notifyAll()

public final native void notifyAll()

toString()

public String toString()

Returns: java.lang.String

wait()

public final void wait()

wait(long arg0)

public final native void wait(long arg0)

Parameters:

ParameterTypeDescription
arg0long

wait(long arg0, int arg1)

public final void wait(long arg0, int arg1)

Parameters:

ParameterTypeDescription
arg0long
arg1int