APIdia Launch Partner
Top Fields Constructors Methods
sun.awt.X11

pack-priv final Class Separator

Located in compilation unit of sun.awt.X11.XFileDialogPeer.

extends Canvas
Class Inheritance
Annotations
@SuppressWarnings:serial

Field Summary

Modifier and TypeField and Description
public static final int
pack-priv int
public static final int

Constructor Summary

AccessConstructor and Description
public
Separator(int length, int thickness, int orient)

Method Summary

Modifier and TypeMethod and Description
public void
paint(Graphics g)

Overrides java.awt.Canvas.paint.

Paints this canvas.

Inherited from java.awt.Canvas:
addNotifycreateBufferStrategycreateBufferStrategygetAccessibleContextgetBufferStrategyupdate

Field Detail

HORIZONTALback to summary
public static final int HORIZONTAL
orientationback to summary
pack-priv int orientation
VERTICALback to summary
public static final int VERTICAL

Constructor Detail

Separatorback to summary
public Separator(int length, int thickness, int orient)
Annotations
@SuppressWarnings:deprecation

Method Detail

paintback to summary
public void paint(Graphics g)

Overrides java.awt.Canvas.paint.

Doc from java.awt.Canvas.paint.

Paints this canvas.

Most applications that subclass Canvas should override this method in order to perform some useful operation (typically, custom painting of the canvas). The default operation is simply to clear the canvas. Applications that override this method need not call super.paint(g).

Annotations
@Override
@SuppressWarnings:deprecation