mirror of
git://gcc.gnu.org/git/gcc.git
synced 2024-12-22 14:49:45 +08:00
18a61d1cb2
2000-10-11 Bryce McKinlay <bryce@albatross.co.nz> * java/awt/peer/ChoicePeer.java (addItem): Removed. * java/awt/peer/ComponentPeer.java (disable): Removed. (enable): Removed. (hide): Removed. (minimumSize): Removed. (preferredSize): Removed. (reshape): Removed. (show): Removed. * java/awt/peer/ListPeer.java (addItem): Removed. (clear): Removed. (minimumSize): Removed. (preferredSize): Removed. (setMultipleSelections): Removed. * java/awt/peer/MenuBarPeer.java (add): Renamed from addMenu. (remove): Renamed from removeMenu. * java/awt/peer/MenuItemPeer.java (disable): Removed. (enable): Removed. * java/awt/peer/MenuPeer.java (add): Renamed from addItem. (remove): Renamed from removeItem. * java/awt/peer/TextAreaPeer.java (insertText): Removed. (getMinimumSize): Removed. (getPreferredSize): Removed. (minimumSize): Removed. (preferredSize): Removed. (replaceText): Removed. * java/awt/peer/TextFieldPeer.java (minimumSize): Removed. (preferredSize): Removed. (getMinimumSize): Removed. (getPreferredSize): Removed. (setEchoCharacter): Removed. From-SVN: r36836
49 lines
1.4 KiB
Java
49 lines
1.4 KiB
Java
/* Copyright (C) 2000 Free Software Foundation
|
|
|
|
This file is part of libgcj.
|
|
|
|
This software is copyrighted work licensed under the terms of the
|
|
Libgcj License. Please consult the file "LIBGCJ_LICENSE" for
|
|
details. */
|
|
|
|
package java.awt.peer;
|
|
|
|
import java.awt.*;
|
|
import java.awt.image.*;
|
|
|
|
public interface ComponentPeer
|
|
{
|
|
int checkImage(Image img, int width, int height, ImageObserver o);
|
|
Image createImage(ImageProducer prod);
|
|
Image createImage(int width, int height);
|
|
void dispose();
|
|
|
|
/**
|
|
* Get the graphics configuration of the component. The color model
|
|
* of the component can be derived from the configuration.
|
|
*/
|
|
GraphicsConfiguration getGraphicsConfiguration();
|
|
|
|
FontMetrics getFontMetrics(Font f);
|
|
Graphics getGraphics();
|
|
Point getLocationOnScreen();
|
|
Dimension getMinimumSize();
|
|
Dimension getPreferredSize();
|
|
Toolkit getToolkit();
|
|
void handleEvent(AWTEvent e);
|
|
boolean isFocusTraversable();
|
|
void paint(Graphics graphics);
|
|
boolean prepareImage(Image img, int width, int height, ImageObserver o);
|
|
void print(Graphics graphics);
|
|
void repaint(long tm, int x, int y, int width, int height);
|
|
void requestFocus();
|
|
void setBackground(Color color);
|
|
void setBounds(int x, int y, int width, int height);
|
|
void setCursor(Cursor cursor);
|
|
void setEnabled(boolean enabled);
|
|
void setEventMask(long eventMask);
|
|
void setFont(Font font);
|
|
void setForeground(Color color);
|
|
void setVisible(boolean visible);
|
|
}
|