+2003-10-12 Michael Koch <konqueror@gmx.de>
+
+ * javax/swing/event/AncestorListener.java,
+ javax/swing/event/CaretListener.java,
+ javax/swing/event/CellEditorListener.java,
+ javax/swing/event/ChangeListener.java,
+ javax/swing/event/DocumentEvent.java,
+ javax/swing/event/DocumentListener.java,
+ javax/swing/event/HyperlinkListener.java,
+ javax/swing/event/InternalFrameListener.java,
+ javax/swing/event/ListDataListener.java,
+ javax/swing/event/ListSelectionListener.java,
+ javax/swing/event/MenuDragMouseListener.java,
+ javax/swing/event/MenuKeyListener.java,
+ javax/swing/event/MenuListener.java,
+ javax/swing/event/MouseInputListener.java,
+ javax/swing/event/PopupMenuListener.java,
+ javax/swing/event/TableColumnModelListener.java,
+ javax/swing/event/TableModelListener.java,
+ javax/swing/event/TreeExpansionListener.java,
+ javax/swing/event/TreeModelListener.java,
+ javax/swing/event/TreeSelectionListener.java,
+ javax/swing/event/TreeWillExpandListener.java,
+ javax/swing/event/UndoableEditListener.java,
+ javax/swing/plaf/UIResource.java,
+ javax/swing/plaf/metal/MetalLookAndFeel.java:
+ Removed redundant modifiers.
+
2003-10-12 Michael Koch <konqueror@gmx.de>
* javax/swing/Action.java,
* Ancestor Added
* @param event Ancestor Event
*/
- public void ancestorAdded(AncestorEvent event);
+ void ancestorAdded(AncestorEvent event);
/**
* Ancestor Removed
* @param event Ancestor Event
*/
- public void ancestorRemoved(AncestorEvent event);
+ void ancestorRemoved(AncestorEvent event);
/**
* Ancestor Moved
* @param event Ancestor Event
*/
- public void ancestorMoved(AncestorEvent event);
+ void ancestorMoved(AncestorEvent event);
} // AncestorListener
import java.util.EventListener;
/**
- * CaretListener interface
+ * CaretListener public interface
* @author Andrew Selkirk
*/
public interface CaretListener extends EventListener {
* Caret position has been updated
* @param event Caret Event
*/
- public void caretUpdate(CaretEvent event);
+ void caretUpdate(CaretEvent event);
} // CaretListener
import java.util.EventListener;
/**
- * CellEditorListener interface
+ * CellEditorListener public interface
* @author Andrew Selkirk
*/
public interface CellEditorListener extends EventListener {
* Editing has been canceled
* @param event Change Event
*/
- public void editingCanceled(ChangeEvent event);
+ void editingCanceled(ChangeEvent event);
/**
* Editing has been stopped
* @param event Change Event
*/
- public void editingStopped(ChangeEvent event);
+ void editingStopped(ChangeEvent event);
} // CellEditorListener
* State changed
* @param event Change Event
*/
- public void stateChanged(ChangeEvent event);
+ void stateChanged(ChangeEvent event);
} // ChangeListener
import javax.swing.text.*;
/**
- * DocumentEvent interface
+ * DocumentEvent public interface
* @author Andrew Selkirk
* @author Ronald Veldema
*/
//-------------------------------------------------------------
/**
- * ElementChange interface
+ * ElementChange public interface
*/
- public static interface ElementChange {
+ public interface ElementChange {
//-------------------------------------------------------------
// Methods ----------------------------------------------------
* getIndex
* @returns int
*/
- public int getIndex();
+ int getIndex();
/**
* getElement
* @returns Element
*/
- public Element getElement();
+ Element getElement();
/**
* getChildrenRemoved
* @returns Element[]
*/
- public Element[] getChildrenRemoved();
+ Element[] getChildrenRemoved();
/**
* getChildrenAdded
* @returns Element[]
*/
- public Element[] getChildrenAdded();
+ Element[] getChildrenAdded();
} // ElementChange
/**
* EventType
*/
- public static final class EventType {
+ class EventType {
//-------------------------------------------------------------
// Variables --------------------------------------------------
/**
* INSERT
*/
- public static final EventType INSERT = new EventType("INSERT"); // TODO
+ EventType INSERT = new EventType("INSERT"); // TODO
/**
* REMOVE
*/
- public static final EventType REMOVE = new EventType("REMOVE"); // TODO
+ EventType REMOVE = new EventType("REMOVE"); // TODO
/**
* CHANGE
*/
- public static final EventType CHANGE = new EventType("CHANGE"); // TODO
+ EventType CHANGE = new EventType("CHANGE"); // TODO
/**
* typeString
* getType
* @returns EventType
*/
- public EventType getType();
+ EventType getType();
/**
* getOffset
* @returns int
*/
- public int getOffset();
+ int getOffset();
/**
* getLength
* @returns int
*/
- public int getLength();
+ int getLength();
/**
* getDocument
* @returns Document
*/
- public Document getDocument();
+ Document getDocument();
/**
* getChange
* @param element TODO
* @returns ElementChange
*/
- public ElementChange getChange(Element element);
+ ElementChange getChange(Element element);
} // DocumentEvent
import java.util.EventListener;
/**
- * DocumentListener interface
+ * DocumentListener public interface
* @author Andrew Selkirk
* @author Ronald Veldema
*/
* Changed update
* @param event Document Event
*/
- public void changedUpdate(DocumentEvent event);
+ void changedUpdate(DocumentEvent event);
/**
* Insert update
* @param event Document Event
*/
- public void insertUpdate(DocumentEvent event);
+ void insertUpdate(DocumentEvent event);
/**
* Remove update
* @param event Document Event
*/
- public void removeUpdate(DocumentEvent event);
+ void removeUpdate(DocumentEvent event);
} // DocumentListener
* Hyperlink updated
* @param event Hyperlink Event
*/
- public void hyperlinkUpdate(HyperlinkEvent event);
+ void hyperlinkUpdate(HyperlinkEvent event);
} // HyperlinkListener
import java.util.EventListener;
/**
- * InternalFrameListener interface
+ * InternalFrameListener public interface
* @author Andrew Selkirk
*/
public interface InternalFrameListener extends EventListener {
* Internal frame activated
* @param event Internal Frame Event
*/
- public void internalFrameActivated(InternalFrameEvent event);
+ void internalFrameActivated(InternalFrameEvent event);
/**
* Internal frame closed
* @param event Internal Frame Event
*/
- public void internalFrameClosed(InternalFrameEvent event);
+ void internalFrameClosed(InternalFrameEvent event);
/**
* Internal frame closing
* @param event Internal Frame Event
*/
- public void internalFrameClosing(InternalFrameEvent event);
+ void internalFrameClosing(InternalFrameEvent event);
/**
* Internal frame deactivated
* @param event Internal Frame Event
*/
- public void internalFrameDeactivated(InternalFrameEvent event);
+ void internalFrameDeactivated(InternalFrameEvent event);
/**
* Internal frame deiconified
* @param event Internal Frame Event
*/
- public void internalFrameDeiconified(InternalFrameEvent event);
+ void internalFrameDeiconified(InternalFrameEvent event);
/**
* Internal frame iconified
* @param event Internal Frame Event
*/
- public void internalFrameIconified(InternalFrameEvent event);
+ void internalFrameIconified(InternalFrameEvent event);
/**
* Internal frame opened
* @param event Internal Frame Event
*/
- public void internalFrameOpened(InternalFrameEvent event);
+ void internalFrameOpened(InternalFrameEvent event);
} // InternalFrameListener
import java.util.EventListener;
/**
- * ListDataListener interface
+ * ListDataListener public interface
* @author Andrew Selkirk
* @author Ronald Veldema
*/
* Contents Changed
* @param event ListDataEvent Event
*/
- public void contentsChanged(ListDataEvent event);
+ void contentsChanged(ListDataEvent event);
/**
* Interval Added
* @param event ListDataEvent Event
*/
- public void intervalAdded(ListDataEvent event);
+ void intervalAdded(ListDataEvent event);
/**
* Interval Removed
* @param event ListDataEvent Event
*/
- public void intervalRemoved(ListDataEvent event);
+ void intervalRemoved(ListDataEvent event);
} // ListDataListener
import java.util.EventListener;
/**
- * ListSelectionListener interface
+ * ListSelectionListener public interface
* @author Andrew Selkirk
* @author Ronald Veldema
*/
* Value changed
* @param event List Selection Event
*/
- public void valueChanged(ListSelectionEvent event);
+ void valueChanged(ListSelectionEvent event);
} // ListSelectionListener
import java.util.EventListener;
/**
- * MenuDragMouseListener interface
+ * MenuDragMouseListener public interface
* @author Andrew Selkirk
*/
public interface MenuDragMouseListener extends EventListener {
* Menu drag mouse dragged
* @param event Menu Drag Mouse Event
*/
- public void menuDragMouseDragged(MenuDragMouseEvent event);
+ void menuDragMouseDragged(MenuDragMouseEvent event);
/**
* Menu drag mouse entered
* @param event Menu Drag Mouse Event
*/
- public void menuDragMouseEntered(MenuDragMouseEvent event);
+ void menuDragMouseEntered(MenuDragMouseEvent event);
/**
* Menu drag mouse exited
* @param event Menu Drag Mouse Event
*/
- public void menuDragMouseExited(MenuDragMouseEvent event);
+ void menuDragMouseExited(MenuDragMouseEvent event);
/**
* Menu drag mouse released
* @param event Menu Drag Mouse Event
*/
- public void menuDragMouseReleased(MenuDragMouseEvent event);
+ void menuDragMouseReleased(MenuDragMouseEvent event);
} // MenuDragMouseListener
import java.util.EventListener;
/**
- * MenuKeyListener interface
+ * MenuKeyListener public interface
* @author Andrew Selkirk
*/
public interface MenuKeyListener extends EventListener {
* Menu key pressed
* @param event Menu Key Event
*/
- public void menuKeyPressed(MenuKeyEvent event);
+ void menuKeyPressed(MenuKeyEvent event);
/**
* Menu key released
* @param event Menu Key Event
*/
- public void menuKeyReleased(MenuKeyEvent event);
+ void menuKeyReleased(MenuKeyEvent event);
/**
* Menu key typed
* @param event Menu Key Event
*/
- public void menuKeyTyped(MenuKeyEvent event);
+ void menuKeyTyped(MenuKeyEvent event);
} // MenuKeyListener
import java.util.EventListener;
/**
- * MenuListener interface
+ * MenuListener public interface
* @author Andrew Selkirk
*/
public interface MenuListener extends EventListener {
* Menu canceled
* @param event Menu Event
*/
- public void menuCanceled(MenuEvent event);
+ void menuCanceled(MenuEvent event);
/**
* Menu deselected
* @param event Menu Event
*/
- public void menuDeselected(MenuEvent event);
+ void menuDeselected(MenuEvent event);
/**
* Menu selected
* @param event Menu Event
*/
- public void menuSelected(MenuEvent event);
+ void menuSelected(MenuEvent event);
} // MenuListener
import java.awt.event.MouseMotionListener;
/**
- * MouseInputListener interface
+ * MouseInputListener public interface
* @author Andrew Selkirk
*/
public interface MouseInputListener extends MouseListener,
import java.util.EventListener;
/**
- * PopupMenuListener interface
+ * PopupMenuListener public interface
* @author Andrew Selkirk
*/
public interface PopupMenuListener extends EventListener {
* Popup Menu Canceled
* @param event Popup Menu Event
*/
- public void popupMenuCanceled(PopupMenuEvent event);
+ void popupMenuCanceled(PopupMenuEvent event);
/**
* Popup Menu will become invisible
* @param event Popup Menu Event
*/
- public void popupMenuWillBecomeInvisible(PopupMenuEvent event);
+ void popupMenuWillBecomeInvisible(PopupMenuEvent event);
/**
* Popup Menu will become visible
* @param event Popup Menu Event
*/
- public void popupMenuWillBecomeVisible(PopupMenuEvent event);
+ void popupMenuWillBecomeVisible(PopupMenuEvent event);
} // PopupMenuListener
import java.util.EventListener;
/**
- * TableColumnModelListener interface
+ * TableColumnModelListener public interface
* @author Andrew Selkirk
*/
public interface TableColumnModelListener extends EventListener {
* Column added
* @param event Table Column Model Event
*/
- public void columnAdded(TableColumnModelEvent event);
+ void columnAdded(TableColumnModelEvent event);
/**
* Column margin changed
* @param event Change Event
*/
- public void columnMarginChanged(ChangeEvent event);
+ void columnMarginChanged(ChangeEvent event);
/**
* Column moved
* @param event Table Column Model Event
*/
- public void columnMoved(TableColumnModelEvent event);
+ void columnMoved(TableColumnModelEvent event);
/**
* Column removed
* @param event Table Column Model Event
*/
- public void columnRemoved(TableColumnModelEvent event);
+ void columnRemoved(TableColumnModelEvent event);
/**
* Column selection changed
* @param event List Selection Event
*/
- public void columnSelectionChanged(ListSelectionEvent event);
+ void columnSelectionChanged(ListSelectionEvent event);
} // TableColumnModelListener
import java.util.EventListener;
/**
- * TableModelListener interface
+ * TableModelListener public interface
* @author Andrew Selkirk
*/
public interface TableModelListener extends EventListener {
* Table changed
* @param event Table Model Event
*/
- public void tableChanged(TableModelEvent event);
+ void tableChanged(TableModelEvent event);
} // TableModelListener
import java.util.EventListener;
/**
- * TreeExpansionListener interface
+ * TreeExpansionListener public interface
* @author Andrew Selkirk
*/
public interface TreeExpansionListener extends EventListener {
* Tree collapsed
* @param event Tree Expansion Event
*/
- public void treeCollapsed(TreeExpansionEvent event);
+ void treeCollapsed(TreeExpansionEvent event);
/**
* Tree expanded
* @param event Tree Expansion Event
*/
- public void treeExpanded(TreeExpansionEvent event);
+ void treeExpanded(TreeExpansionEvent event);
} // TreeExpansionListener
import java.util.EventListener;
/**
- * TreeModelListener interface
+ * TreeModelListener public interface
* @author Andrew Selkirk
*/
public interface TreeModelListener extends EventListener {
* Tree nodes changed
* @param event Tree Model Event
*/
- public void treeNodesChanged(TreeModelEvent event);
+ void treeNodesChanged(TreeModelEvent event);
/**
* Tree nodes inserted
* @param event Tree Model Event
*/
- public void treeNodesInserted(TreeModelEvent event);
+ void treeNodesInserted(TreeModelEvent event);
/**
* Tree nodes removed
* @param event Tree Model Event
*/
- public void treeNodesRemoved(TreeModelEvent event);
+ void treeNodesRemoved(TreeModelEvent event);
/**
* Tree structured changed
* @param event Tree Model Event
*/
- public void treeStructureChanged(TreeModelEvent event);
+ void treeStructureChanged(TreeModelEvent event);
} // TreeModelListener
import java.util.EventListener;
/**
- * TreeSelectionListener interface
+ * TreeSelectionListener public interface
* @author Andrew Selkirk
*/
public interface TreeSelectionListener extends EventListener {
* Value changed
* @param event Tree Selection Event
*/
- public void valueChanged(TreeSelectionEvent event);
+ void valueChanged(TreeSelectionEvent event);
} // TreeSelectionListener
*
* @param event The tree expansion Event
*/
- public void treeWillCollapse(TreeExpansionEvent event)
+ void treeWillCollapse(TreeExpansionEvent event)
throws ExpandVetoException;
/**
*
* @param event The tree expansion Event
*/
- public void treeWillExpand(TreeExpansionEvent event)
+ void treeWillExpand(TreeExpansionEvent event)
throws ExpandVetoException;
}
import java.util.EventListener;
/**
- * UndoableEditListener interface
+ * UndoableEditListener public interface
* @author Andrew Selkirk
* @author Ronald Veldema
*/
* Undoable edit has happened
* @param event Undoable Edit Event
*/
- public void undoableEditHappened(UndoableEditEvent event);
+ void undoableEditHappened(UndoableEditEvent event);
} // UndoableEditListener
package javax.swing.plaf;
/**
- * This interface is used to designate which objects were created by
- * <code>ComponentUI</code> delegates. When uninstalling the user interface
+ * This public interface is used to designate which objects were created by
+ * <code>ComponentUI</code> delegates. When uninstalling the user public interface
* renderer with <code>ComponentUI.uninstallUI()</code> the renderer
* property is set to <code>null</code>.
* <br>
// Returns the default values for this look and feel.
return LAF_defaults;
}
- };
+ }