Imported GNU Classpath 0.19 + gcj-import-20051115.
* sources.am: Regenerated. * Makefile.in: Likewise. * scripts/makemake.tcl: Use glob -nocomplain. From-SVN: r107049
This commit is contained in:
parent
02e549bfaa
commit
8f523f3a10
1241 changed files with 97711 additions and 25284 deletions
|
@ -45,8 +45,6 @@ import java.awt.event.WindowAdapter;
|
|||
import java.awt.event.WindowEvent;
|
||||
import java.beans.PropertyChangeEvent;
|
||||
import java.beans.PropertyChangeListener;
|
||||
import java.io.IOException;
|
||||
import java.io.ObjectOutputStream;
|
||||
import java.io.Serializable;
|
||||
import java.util.EventListener;
|
||||
|
||||
|
@ -137,10 +135,6 @@ public class JMenu extends JMenuItem implements Accessible, MenuElement
|
|||
this(text);
|
||||
}
|
||||
|
||||
private void writeObject(ObjectOutputStream stream) throws IOException
|
||||
{
|
||||
}
|
||||
|
||||
/**
|
||||
* Adds specified menu item to this menu
|
||||
*
|
||||
|
@ -768,6 +762,7 @@ public class JMenu extends JMenuItem implements Accessible, MenuElement
|
|||
*/
|
||||
protected void processKeyEvent(KeyEvent event)
|
||||
{
|
||||
// TODO: Implement this properly.
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -812,6 +807,7 @@ public class JMenu extends JMenuItem implements Accessible, MenuElement
|
|||
return accessibleContext;
|
||||
}
|
||||
|
||||
// FIXME: This inner class is a complete stub and needs to be implemented.
|
||||
protected class AccessibleJMenu extends AccessibleJMenuItem
|
||||
implements AccessibleSelection
|
||||
{
|
||||
|
@ -819,6 +815,7 @@ public class JMenu extends JMenuItem implements Accessible, MenuElement
|
|||
|
||||
protected AccessibleJMenu()
|
||||
{
|
||||
// Nothing to do here.
|
||||
}
|
||||
|
||||
public int getAccessibleChildrenCount()
|
||||
|
@ -858,32 +855,48 @@ public class JMenu extends JMenuItem implements Accessible, MenuElement
|
|||
|
||||
public void addAccessibleSelection(int value0)
|
||||
{
|
||||
// TODO: Implement this properly.
|
||||
}
|
||||
|
||||
public void removeAccessibleSelection(int value0)
|
||||
{
|
||||
// TODO: Implement this properly.
|
||||
}
|
||||
|
||||
public void clearAccessibleSelection()
|
||||
{
|
||||
// TODO: Implement this properly.
|
||||
}
|
||||
|
||||
public void selectAllAccessibleSelection()
|
||||
{
|
||||
// TODO: Implement this properly.
|
||||
}
|
||||
}
|
||||
|
||||
protected class WinListener extends WindowAdapter implements Serializable
|
||||
{
|
||||
JPopupMenu popupMenu;
|
||||
private static final long serialVersionUID = -6415815570638474823L;
|
||||
|
||||
/**
|
||||
* Creates a new <code>WinListener</code>.
|
||||
*
|
||||
* @param popup the popup menu which is observed
|
||||
*/
|
||||
public WinListener(JPopupMenu popup)
|
||||
{
|
||||
// TODO: What should we do with the popup argument?
|
||||
}
|
||||
|
||||
/**
|
||||
* Receives notification when the popup menu is closing and deselects
|
||||
* the menu.
|
||||
*
|
||||
* @param event the window event
|
||||
*/
|
||||
public void windowClosing(WindowEvent event)
|
||||
{
|
||||
setSelected(false);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue