ChoicePeer.java (addItem): Removed.

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
This commit is contained in:
Bryce McKinlay 2000-10-11 09:47:25 +00:00 committed by Bryce McKinlay
parent 4dc8f5f8da
commit 18a61d1cb2
9 changed files with 37 additions and 30 deletions

View File

@ -1,3 +1,36 @@
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.
2000-10-10 Warren Levy <warrenl@cygnus.com>
* gnu/gcj/text/LocaleData_en.java (monetarySeparator): Added.

View File

@ -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);
}

View File

@ -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();
}

View File

@ -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);
}

View File

@ -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);
}

View File

@ -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);
}

View File

@ -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);
}

View File

@ -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);
}

View File

@ -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);
}