diff --git a/libjava/ChangeLog b/libjava/ChangeLog index 16f75a0d2bc..412256e41bb 100644 --- a/libjava/ChangeLog +++ b/libjava/ChangeLog @@ -1,3 +1,36 @@ +2000-10-11 Bryce McKinlay + + * 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. + 2000-10-10 Warren Levy * gnu/gcj/text/LocaleData_en.java (monetarySeparator): Added. diff --git a/libjava/java/awt/peer/ChoicePeer.java b/libjava/java/awt/peer/ChoicePeer.java index f1006151245..d55d3edf0ab 100644 --- a/libjava/java/awt/peer/ChoicePeer.java +++ b/libjava/java/awt/peer/ChoicePeer.java @@ -11,7 +11,6 @@ package java.awt.peer; public interface ChoicePeer extends ComponentPeer { void add(String item, int index); - void addItem(String item, int index); void remove(int index); void select(int index); } diff --git a/libjava/java/awt/peer/ComponentPeer.java b/libjava/java/awt/peer/ComponentPeer.java index 12e4749fbaf..9e114fcf6ca 100644 --- a/libjava/java/awt/peer/ComponentPeer.java +++ b/libjava/java/awt/peer/ComponentPeer.java @@ -16,9 +16,7 @@ public interface ComponentPeer int checkImage(Image img, int width, int height, ImageObserver o); Image createImage(ImageProducer prod); Image createImage(int width, int height); - void disable(); void dispose(); - void enable(); /** * Get the graphics configuration of the component. The color model @@ -33,16 +31,12 @@ public interface ComponentPeer Dimension getPreferredSize(); Toolkit getToolkit(); void handleEvent(AWTEvent e); - void hide(); boolean isFocusTraversable(); - Dimension minimumSize(); - Dimension preferredSize(); 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 reshape(int x, int y, int width, int height); void setBackground(Color color); void setBounds(int x, int y, int width, int height); void setCursor(Cursor cursor); @@ -51,5 +45,4 @@ public interface ComponentPeer void setFont(Font font); void setForeground(Color color); void setVisible(boolean visible); - void show(); } diff --git a/libjava/java/awt/peer/ListPeer.java b/libjava/java/awt/peer/ListPeer.java index a334e380506..062a2c1fc83 100644 --- a/libjava/java/awt/peer/ListPeer.java +++ b/libjava/java/awt/peer/ListPeer.java @@ -13,16 +13,11 @@ import java.awt.Dimension; public interface ListPeer extends ComponentPeer { void add(String item, int index); - void addItem(String item, int index); - void clear(); void delItems(int start_index, int end_index); void deselect(int index); int[] getSelectedIndexes(); void makeVisible(int index); - Dimension minimumSize(int size); - Dimension preferredSize(int size); void removeAll(); void select(int index); void setMultipleMode(boolean multipleMode); - void setMultipleSelections(boolean multipleSelections); } diff --git a/libjava/java/awt/peer/MenuBarPeer.java b/libjava/java/awt/peer/MenuBarPeer.java index e660ba26c5c..d69c5920b2e 100644 --- a/libjava/java/awt/peer/MenuBarPeer.java +++ b/libjava/java/awt/peer/MenuBarPeer.java @@ -13,6 +13,6 @@ import java.awt.Menu; public interface MenuBarPeer extends MenuComponentPeer { void addHelpMenu(Menu menu); - void addMenu(Menu menu); - void delMenu(int index); + void add(Menu menu); + void remove(int index); } diff --git a/libjava/java/awt/peer/MenuItemPeer.java b/libjava/java/awt/peer/MenuItemPeer.java index 555a38b25df..7c525293954 100644 --- a/libjava/java/awt/peer/MenuItemPeer.java +++ b/libjava/java/awt/peer/MenuItemPeer.java @@ -10,8 +10,6 @@ package java.awt.peer; public interface MenuItemPeer extends MenuComponentPeer { - void disable(); - void enable(); void setEnabled(boolean enabled); void setLabel(String text); } diff --git a/libjava/java/awt/peer/MenuPeer.java b/libjava/java/awt/peer/MenuPeer.java index eca98dc4335..ed8a7e647e7 100644 --- a/libjava/java/awt/peer/MenuPeer.java +++ b/libjava/java/awt/peer/MenuPeer.java @@ -12,7 +12,7 @@ import java.awt.MenuItem; public interface MenuPeer extends MenuItemPeer { - void addItem(MenuItem item); + void add(MenuItem item); void addSeparator(); - void delItem(int index); + void remove(int index); } diff --git a/libjava/java/awt/peer/TextAreaPeer.java b/libjava/java/awt/peer/TextAreaPeer.java index ce5a294ab86..ecc9b2c5e38 100644 --- a/libjava/java/awt/peer/TextAreaPeer.java +++ b/libjava/java/awt/peer/TextAreaPeer.java @@ -12,12 +12,6 @@ import java.awt.Dimension; public interface TextAreaPeer extends TextComponentPeer { - Dimension getMinimumSize(int rows, int columns); - Dimension getPreferredSize(int rows, int columns); void insert(String text, int pos); - void insertText(String text, int pos); - Dimension minimumSize(int rows, int cols); - Dimension preferredSize(int rows, int cols); void replaceRange(String text, int start, int end); - void replaceText(String text, int start, int end); } diff --git a/libjava/java/awt/peer/TextFieldPeer.java b/libjava/java/awt/peer/TextFieldPeer.java index cf4d6754179..42949a126ad 100644 --- a/libjava/java/awt/peer/TextFieldPeer.java +++ b/libjava/java/awt/peer/TextFieldPeer.java @@ -12,10 +12,5 @@ import java.awt.Dimension; public interface TextFieldPeer extends TextComponentPeer { - Dimension getMinimumSize(int columns); - Dimension getPreferredSize(int columns); - Dimension minimumSize(int columns); - Dimension preferredSize(int columns); void setEchoChar(char echo); - void setEchoCharacter(char echo); }