Prev Class | Next Class | Frames | No Frames |
Summary: Nested | Field | Method | Constr | Detail: Nested | Field | Method | Constr |
java.lang.Object
java.awt.Toolkit
gnu.java.awt.ClasspathToolkit
gnu.java.awt.peer.gtk.GtkToolkit
public class GtkToolkit
extends ClasspathToolkit
Field Summary |
Fields inherited from class java.awt.Toolkit | |
Object>() , desktopProperties , desktopPropsSupport |
Constructor Summary | |
Method Summary | |
void |
|
@Override |
|
@Override |
|
int |
|
protected ButtonPeer | |
protected CanvasPeer | |
protected CheckboxPeer | |
protected CheckboxMenuItemPeer | |
protected ChoicePeer | |
Cursor |
|
protected DialogPeer | |
DragSourceContextPeer | |
EmbeddedWindowPeer | |
protected FileDialogPeer | |
Font |
|
protected FramePeer |
|
Image |
|
Image |
|
Image |
|
Image |
|
ImageProducer |
|
protected LabelPeer |
|
protected ListPeer |
|
protected MenuPeer |
|
protected MenuBarPeer |
|
protected MenuItemPeer | |
protected PanelPeer |
|
protected PopupMenuPeer |
|
RobotPeer |
|
protected ScrollPanePeer | |
protected ScrollbarPeer | |
protected TextAreaPeer | |
protected TextFieldPeer | |
protected WindowPeer | |
|
|
Rectangle | |
ClasspathFontPeer |
|
ColorModel |
|
String[] | |
FontMetrics |
|
protected FontPeer |
|
Image | |
Image | |
GraphicsEnvironment | |
protected int |
|
boolean |
|
protected MouseInfoPeer | |
int | |
PrintJob |
|
int | |
Dimension | |
Clipboard | |
protected EventQueue | |
Clipboard | |
boolean |
|
protected void |
|
Map |
|
boolean |
|
void | |
protected void | |
void |
|
Methods inherited from class gnu.java.awt.ClasspathToolkit | |
createDesktopPeer , createEmbeddedWindow , createFont , createRobot , getClasspathFontPeer , getFont , getLocalGraphicsEnvironment , getMouseNumberOfButtons , registerImageIOSpis |
Methods inherited from class java.lang.Object | |
clone , equals , extends Object> getClass , finalize , hashCode , notify , notifyAll , toString , wait , wait , wait |
public @Override boolean isModalExclusionTypeSupported(Dialog.ModalExclusionType modalExclusionType)
public @Override boolean isModalityTypeSupported(Dialog.ModalityType modalityType)
public int checkImage(Image image, int width, int height, ImageObserver observer)
- Overrides:
- checkImage in interface Toolkit
protected CheckboxPeer createCheckbox(Checkbox cb)
- Overrides:
- createCheckbox in interface Toolkit
protected CheckboxMenuItemPeer createCheckboxMenuItem(CheckboxMenuItem cmi)
- Overrides:
- createCheckboxMenuItem in interface Toolkit
public Cursor createCustomCursor(Image image, Point hotspot, String name)
- Overrides:
- createCustomCursor in interface Toolkit
public DragSourceContextPeer createDragSourceContextPeer(DragGestureEvent e)
- Overrides:
- createDragSourceContextPeer in interface Toolkit
public EmbeddedWindowPeer createEmbeddedWindow(EmbeddedWindow w)
- Overrides:
- createEmbeddedWindow in interface ClasspathToolkit
protected FileDialogPeer createFileDialog(FileDialog fd)
- Overrides:
- createFileDialog in interface Toolkit
public Font createFont(int format, InputStream stream)
- Overrides:
- createFont in interface ClasspathToolkit
public Image createImage(byte[] imagedata, int imageoffset, int imagelength)
- Overrides:
- createImage in interface Toolkit
public Image createImage(ImageProducer producer)
- Overrides:
- createImage in interface Toolkit
public ImageProducer createImageProducer(URL url)
Creates an ImageProducer from the specified URL. The image is assumed to be in a recognised format.
- Parameters:
url
- URL to read image data from.
protected MenuBarPeer createMenuBar(MenuBar mb)
- Overrides:
- createMenuBar in interface Toolkit
protected MenuItemPeer createMenuItem(MenuItem mi)
- Overrides:
- createMenuItem in interface Toolkit
protected PopupMenuPeer createPopupMenu(PopupMenu target)
- Overrides:
- createPopupMenu in interface Toolkit
public RobotPeer createRobot(GraphicsDevice screen) throws AWTException
- Overrides:
- createRobot in interface ClasspathToolkit
protected ScrollPanePeer createScrollPane(ScrollPane sp)
- Overrides:
- createScrollPane in interface Toolkit
protected ScrollbarPeer createScrollbar(Scrollbar sb)
- Overrides:
- createScrollbar in interface Toolkit
protected TextAreaPeer createTextArea(TextArea ta)
- Overrides:
- createTextArea in interface Toolkit
protected TextFieldPeer createTextField(TextField tf)
- Overrides:
- createTextField in interface Toolkit
publicextends DragGestureRecognizer> T createDragGestureRecognizer(Class recognizer, DragSource ds, Component comp, int actions, DragGestureListener l)
public ClasspathFontPeer getClasspathFontPeer(String name, Map , ?> attrs)
Newer method to produce a peer for a Font object, even though Sun's design claims Font should now be peerless, we do not agree with this model, hence "ClasspathFontPeer".
- Overrides:
- getClasspathFontPeer in interface ClasspathToolkit
public ColorModel getColorModel()
Returns the native color model (which isn't the same as the default ARGB color model, but doesn't have to be).
- Overrides:
- getColorModel in interface Toolkit
public FontMetrics getFontMetrics(Font font)
- Overrides:
- getFontMetrics in interface Toolkit
protected FontPeer getFontPeer(String name, int style)
Deprecated. part of the older "logical font" system in earlier AWT implementations. Our newer Font class uses getClasspathFontPeer.
- Overrides:
- getFontPeer in interface Toolkit
public GraphicsEnvironment getLocalGraphicsEnvironment()
- Overrides:
- getLocalGraphicsEnvironment in interface ClasspathToolkit
public boolean getLockingKeyState(int keyCode)
- Overrides:
- getLockingKeyState in interface Toolkit
protected MouseInfoPeer getMouseInfoPeer()
- Overrides:
- getMouseInfoPeer in interface Toolkit
public int getMouseNumberOfButtons()
- Overrides:
- getMouseNumberOfButtons in interface ClasspathToolkit
public PrintJob getPrintJob(Frame frame, String jobtitle, Properties props)
- Overrides:
- getPrintJob in interface Toolkit
public int getScreenResolution()
- Overrides:
- getScreenResolution in interface Toolkit
public Clipboard getSystemClipboard()
- Overrides:
- getSystemClipboard in interface Toolkit
protected EventQueue getSystemEventQueueImpl()
- Overrides:
- getSystemEventQueueImpl in interface Toolkit
public Clipboard getSystemSelection()
- Overrides:
- getSystemSelection in interface Toolkit
public boolean isFrameStateSupported(int state)
- Overrides:
- isFrameStateSupported in interface Toolkit
public MapmapInputMethodHighlight(InputMethodHighlight highlight)
- Overrides:
- mapInputMethodHighlight in interface Toolkit
public boolean prepareImage(Image image, int width, int height, ImageObserver observer)
Prepares a GtkImage. For every other kind of Image it just assumes the image is already prepared for rendering.
- Overrides:
- prepareImage in interface Toolkit
public void registerImageIOSpis(IIORegistry reg)
- Overrides:
- registerImageIOSpis in interface ClasspathToolkit