javax.swing.event
49 classes of the module java.desktop.
Load them with:
using {
"javax.swing.event"
}
AncestorEvent#
class · extends AWTEvent · javax.swing.event.AncestorEvent
Constructors
new AncestorEvent(JComponent source, int id, Container ancestor, Container ancestorParent) |
Ring: new AncestorEvent(args) uses the constructor with the fewest parameters (at least one); new AncestorEvent makes the object with the constructor without parameters; the others: (new AncestorEvent).@New([ :param = value ]) or .@New([v1,v2]).
Fields
| Name | Type | Access | In Ring |
|---|---|---|---|
ANCESTOR_ADDED | int | constant · static | o.ANCESTOR_ADDED |
ANCESTOR_REMOVED | int | constant · static | o.ANCESTOR_REMOVED |
ANCESTOR_MOVED | int | constant · static | o.ANCESTOR_MOVED |
Methods
| Method | Ring call | Java overloads |
|---|---|---|
getAncestor | getAncestor() | Container getAncestor() |
getAncestorParent | getAncestorParent() | Container getAncestorParent() |
getComponent | getComponent() | JComponent getComponent() |
The methods and fields of AWTEvent are inherited.
AncestorListener#
interface · javax.swing.event.AncestorListener
Extends: EventListener
Methods
| Method | Ring call | Java overloads |
|---|---|---|
ancestorAdded | ancestorAdded(event) | void ancestorAdded(AncestorEvent event) |
ancestorMoved | ancestorMoved(event) | void ancestorMoved(AncestorEvent event) |
ancestorRemoved | ancestorRemoved(event) | void ancestorRemoved(AncestorEvent event) |
CaretEvent#
abstract · extends EventObject · javax.swing.event.CaretEvent
Methods
| Method | Ring call | Java overloads |
|---|---|---|
getDot | getDot() | int getDot() |
getMark | getMark() | int getMark() |
The methods and fields of EventObject are inherited.
CaretListener#
interface · javax.swing.event.CaretListener
Extends: EventListener
Methods
| Method | Ring call | Java overloads |
|---|---|---|
caretUpdate | caretUpdate(e) | void caretUpdate(CaretEvent e) |
CellEditorListener#
interface · javax.swing.event.CellEditorListener
Extends: EventListener
Methods
| Method | Ring call | Java overloads |
|---|---|---|
editingCanceled | editingCanceled(e) | void editingCanceled(ChangeEvent e) |
editingStopped | editingStopped(e) | void editingStopped(ChangeEvent e) |
ChangeEvent#
class · extends EventObject · javax.swing.event.ChangeEvent
Constructors
new ChangeEvent(Object source) |
Ring: new ChangeEvent(args) uses the constructor with the fewest parameters (at least one); new ChangeEvent makes the object with the constructor without parameters; the others: (new ChangeEvent).@New([ :param = value ]) or .@New([v1,v2]).
The methods and fields of EventObject are inherited.
ChangeListener#
interface · javax.swing.event.ChangeListener
Extends: EventListener
Methods
| Method | Ring call | Java overloads |
|---|---|---|
stateChanged | stateChanged(e) | void stateChanged(ChangeEvent e) |
DocumentEventElementChange#
interface · javax.swing.event.DocumentEvent$ElementChange
Methods
| Method | Ring call | Java overloads |
|---|---|---|
getChildrenAdded | getChildrenAdded() | Element[] getChildrenAdded() |
getChildrenRemoved | getChildrenRemoved() | Element[] getChildrenRemoved() |
getElement | getElement() | Element getElement() |
getIndex | getIndex() | int getIndex() |
DocumentEventEventType#
class final · extends Object · javax.swing.event.DocumentEvent$EventType
Fields
| Name | Type | Access | In Ring |
|---|---|---|---|
INSERT | EventType | constant · static | o.INSERT |
REMOVE | EventType | constant · static | o.REMOVE |
CHANGE | EventType | constant · static | o.CHANGE |
The methods and fields of Object are inherited.
DocumentListener#
interface · javax.swing.event.DocumentListener
Extends: EventListener
Methods
| Method | Ring call | Java overloads |
|---|---|---|
changedUpdate | changedUpdate(e) | void changedUpdate(DocumentEvent e) |
insertUpdate | insertUpdate(e) | void insertUpdate(DocumentEvent e) |
removeUpdate | removeUpdate(e) | void removeUpdate(DocumentEvent e) |
EventDocumentEvent#
interface · javax.swing.event.DocumentEvent
Methods
| Method | Ring call | Java overloads |
|---|---|---|
getChange | getChange(elem) | ElementChange getChange(Element elem) |
getDocument | getDocument() | Document getDocument() |
getLength | getLength() | int getLength() |
getOffset | getOffset() | int getOffset() |
getType | getType() | EventType getType() |
EventListenerList#
class · extends Object · javax.swing.event.EventListenerList
Implements: Serializable
Constructors
new EventListenerList() |
Ring: new EventListenerList(args) uses the constructor with the fewest parameters (at least one); new EventListenerList makes the object with the constructor without parameters; the others: (new EventListenerList).@New([ :param = value ]) or .@New([v1,v2]).
Methods
| Method | Ring call | Java overloads |
|---|---|---|
@getListenerCount | @getListenerCount(t) | int getListenerCount(Class t) |
add | add(t,l) | void add(Class t, EventListener l) |
getListenerCount | getListenerCount() | int getListenerCount() |
getListenerList | getListenerList() | Object[] getListenerList() |
getListeners | getListeners(t) | EventListener[] getListeners(Class t) |
remove | remove(t,l) | void remove(Class t, EventListener l) |
The methods and fields of Object are inherited.
HyperlinkEvent#
class · extends EventObject · javax.swing.event.HyperlinkEvent
Constructors
new HyperlinkEvent(Object source, EventType type, URL u) |
new HyperlinkEvent(Object source, EventType type, URL u, String desc) |
new HyperlinkEvent(Object source, EventType type, URL u, String desc, Element sourceElement) |
new HyperlinkEvent(Object source, EventType type, URL u, String desc, Element sourceElement, InputEvent inputEvent) |
Ring: new HyperlinkEvent(args) uses the constructor with the fewest parameters (at least one); new HyperlinkEvent makes the object with the constructor without parameters; the others: (new HyperlinkEvent).@New([ :param = value ]) or .@New([v1,v2]).
Methods
| Method | Ring call | Java overloads |
|---|---|---|
getDescription | getDescription() | String getDescription() |
getEventType | getEventType() | EventType getEventType() |
getInputEvent | getInputEvent() | InputEvent getInputEvent() |
getSourceElement | getSourceElement() | Element getSourceElement() |
getURL | getURL() | URL getURL() |
The methods and fields of EventObject are inherited.
HyperlinkEventEventType#
class final · extends Object · javax.swing.event.HyperlinkEvent$EventType
Fields
| Name | Type | Access | In Ring |
|---|---|---|---|
ENTERED | EventType | constant · static | o.ENTERED |
EXITED | EventType | constant · static | o.EXITED |
ACTIVATED | EventType | constant · static | o.ACTIVATED |
The methods and fields of Object are inherited.
HyperlinkListener#
interface · javax.swing.event.HyperlinkListener
Extends: EventListener
Methods
| Method | Ring call | Java overloads |
|---|---|---|
hyperlinkUpdate | hyperlinkUpdate(e) | void hyperlinkUpdate(HyperlinkEvent e) |
InternalFrameAdapter#
abstract · extends Object · javax.swing.event.InternalFrameAdapter
Implements: InternalFrameListener
Methods
| Method | Ring call | Java overloads |
|---|---|---|
internalFrameActivated | internalFrameActivated(e) | void internalFrameActivated(InternalFrameEvent e) |
internalFrameClosed | internalFrameClosed(e) | void internalFrameClosed(InternalFrameEvent e) |
internalFrameClosing | internalFrameClosing(e) | void internalFrameClosing(InternalFrameEvent e) |
internalFrameDeactivated | internalFrameDeactivated(e) | void internalFrameDeactivated(InternalFrameEvent e) |
internalFrameDeiconified | internalFrameDeiconified(e) | void internalFrameDeiconified(InternalFrameEvent e) |
internalFrameIconified | internalFrameIconified(e) | void internalFrameIconified(InternalFrameEvent e) |
internalFrameOpened | internalFrameOpened(e) | void internalFrameOpened(InternalFrameEvent e) |
The methods and fields of Object are inherited.
InternalFrameEvent#
class · extends AWTEvent · javax.swing.event.InternalFrameEvent
Constructors
new InternalFrameEvent(JInternalFrame source, int id) |
Ring: new InternalFrameEvent(args) uses the constructor with the fewest parameters (at least one); new InternalFrameEvent makes the object with the constructor without parameters; the others: (new InternalFrameEvent).@New([ :param = value ]) or .@New([v1,v2]).
Fields
| Name | Type | Access | In Ring |
|---|---|---|---|
INTERNAL_FRAME_FIRST | int | constant · static | o.INTERNAL_FRAME_FIRST |
INTERNAL_FRAME_LAST | int | constant · static | o.INTERNAL_FRAME_LAST |
INTERNAL_FRAME_OPENED | int | constant · static | o.INTERNAL_FRAME_OPENED |
INTERNAL_FRAME_CLOSING | int | constant · static | o.INTERNAL_FRAME_CLOSING |
INTERNAL_FRAME_CLOSED | int | constant · static | o.INTERNAL_FRAME_CLOSED |
INTERNAL_FRAME_ICONIFIED | int | constant · static | o.INTERNAL_FRAME_ICONIFIED |
INTERNAL_FRAME_DEICONIFIED | int | constant · static | o.INTERNAL_FRAME_DEICONIFIED |
INTERNAL_FRAME_ACTIVATED | int | constant · static | o.INTERNAL_FRAME_ACTIVATED |
INTERNAL_FRAME_DEACTIVATED | int | constant · static | o.INTERNAL_FRAME_DEACTIVATED |
Methods
| Method | Ring call | Java overloads |
|---|---|---|
getInternalFrame | getInternalFrame() | JInternalFrame getInternalFrame() |
The methods and fields of AWTEvent are inherited.
InternalFrameListener#
interface · javax.swing.event.InternalFrameListener
Extends: EventListener
Methods
| Method | Ring call | Java overloads |
|---|---|---|
internalFrameActivated | internalFrameActivated(e) | void internalFrameActivated(InternalFrameEvent e) |
internalFrameClosed | internalFrameClosed(e) | void internalFrameClosed(InternalFrameEvent e) |
internalFrameClosing | internalFrameClosing(e) | void internalFrameClosing(InternalFrameEvent e) |
internalFrameDeactivated | internalFrameDeactivated(e) | void internalFrameDeactivated(InternalFrameEvent e) |
internalFrameDeiconified | internalFrameDeiconified(e) | void internalFrameDeiconified(InternalFrameEvent e) |
internalFrameIconified | internalFrameIconified(e) | void internalFrameIconified(InternalFrameEvent e) |
internalFrameOpened | internalFrameOpened(e) | void internalFrameOpened(InternalFrameEvent e) |
ListDataEvent#
class · extends EventObject · javax.swing.event.ListDataEvent
Constructors
new ListDataEvent(Object source, int type, int index0, int index1) |
Ring: new ListDataEvent(args) uses the constructor with the fewest parameters (at least one); new ListDataEvent makes the object with the constructor without parameters; the others: (new ListDataEvent).@New([ :param = value ]) or .@New([v1,v2]).
Fields
| Name | Type | Access | In Ring |
|---|---|---|---|
CONTENTS_CHANGED | int | constant · static | o.CONTENTS_CHANGED |
INTERVAL_ADDED | int | constant · static | o.INTERVAL_ADDED |
INTERVAL_REMOVED | int | constant · static | o.INTERVAL_REMOVED |
Methods
| Method | Ring call | Java overloads |
|---|---|---|
getIndex0 | getIndex0() | int getIndex0() |
getIndex1 | getIndex1() | int getIndex1() |
getType | getType() | int getType() |
The methods and fields of EventObject are inherited.
ListDataListener#
interface · javax.swing.event.ListDataListener
Extends: EventListener
Methods
| Method | Ring call | Java overloads |
|---|---|---|
contentsChanged | contentsChanged(e) | void contentsChanged(ListDataEvent e) |
intervalAdded | intervalAdded(e) | void intervalAdded(ListDataEvent e) |
intervalRemoved | intervalRemoved(e) | void intervalRemoved(ListDataEvent e) |
ListSelectionEvent#
class · extends EventObject · javax.swing.event.ListSelectionEvent
Constructors
new ListSelectionEvent(Object source, int firstIndex, int lastIndex, boolean isAdjusting) |
Ring: new ListSelectionEvent(args) uses the constructor with the fewest parameters (at least one); new ListSelectionEvent makes the object with the constructor without parameters; the others: (new ListSelectionEvent).@New([ :param = value ]) or .@New([v1,v2]).
Methods
| Method | Ring call | Java overloads |
|---|---|---|
getFirstIndex | getFirstIndex() | int getFirstIndex() |
getLastIndex | getLastIndex() | int getLastIndex() |
getValueIsAdjusting | getValueIsAdjusting() | boolean getValueIsAdjusting() |
The methods and fields of EventObject are inherited.
ListSelectionListener#
interface · javax.swing.event.ListSelectionListener
Extends: EventListener
Methods
| Method | Ring call | Java overloads |
|---|---|---|
valueChanged | valueChanged(e) | void valueChanged(ListSelectionEvent e) |
MenuDragMouseEvent#
class · extends EventMouseEvent · javax.swing.event.MenuDragMouseEvent
Constructors
new MenuDragMouseEvent(Component source, int id, long when, int modifiers, int x, int y, int clickCount, boolean popupTrigger, MenuElement[] p, MenuSelectionManager m) |
new MenuDragMouseEvent(Component source, int id, long when, int modifiers, int x, int y, int xAbs, int yAbs, int clickCount, boolean popupTrigger, MenuElement[] p, MenuSelectionManager m) |
Ring: new MenuDragMouseEvent(args) uses the constructor with the fewest parameters (at least one); new MenuDragMouseEvent makes the object with the constructor without parameters; the others: (new MenuDragMouseEvent).@New([ :param = value ]) or .@New([v1,v2]).
Methods
| Method | Ring call | Java overloads |
|---|---|---|
getMenuSelectionManager | getMenuSelectionManager() | MenuSelectionManager getMenuSelectionManager() |
getPath | getPath() | MenuElement[] getPath() |
The methods and fields of EventMouseEvent are inherited.
MenuDragMouseListener#
interface · javax.swing.event.MenuDragMouseListener
Extends: EventListener
Methods
| Method | Ring call | Java overloads |
|---|---|---|
menuDragMouseDragged | menuDragMouseDragged(e) | void menuDragMouseDragged(MenuDragMouseEvent e) |
menuDragMouseEntered | menuDragMouseEntered(e) | void menuDragMouseEntered(MenuDragMouseEvent e) |
menuDragMouseExited | menuDragMouseExited(e) | void menuDragMouseExited(MenuDragMouseEvent e) |
menuDragMouseReleased | menuDragMouseReleased(e) | void menuDragMouseReleased(MenuDragMouseEvent e) |
MenuEvent#
class · extends EventObject · javax.swing.event.MenuEvent
Constructors
new MenuEvent(Object source) |
Ring: new MenuEvent(args) uses the constructor with the fewest parameters (at least one); new MenuEvent makes the object with the constructor without parameters; the others: (new MenuEvent).@New([ :param = value ]) or .@New([v1,v2]).
The methods and fields of EventObject are inherited.
MenuKeyEvent#
class · extends KeyEvent · javax.swing.event.MenuKeyEvent
Constructors
new MenuKeyEvent(Component source, int id, long when, int modifiers, int keyCode, char keyChar, MenuElement[] p, MenuSelectionManager m) |
Ring: new MenuKeyEvent(args) uses the constructor with the fewest parameters (at least one); new MenuKeyEvent makes the object with the constructor without parameters; the others: (new MenuKeyEvent).@New([ :param = value ]) or .@New([v1,v2]).
Methods
| Method | Ring call | Java overloads |
|---|---|---|
getMenuSelectionManager | getMenuSelectionManager() | MenuSelectionManager getMenuSelectionManager() |
getPath | getPath() | MenuElement[] getPath() |
The methods and fields of KeyEvent are inherited.
MenuKeyListener#
interface · javax.swing.event.MenuKeyListener
Extends: EventListener
Methods
| Method | Ring call | Java overloads |
|---|---|---|
menuKeyPressed | menuKeyPressed(e) | void menuKeyPressed(MenuKeyEvent e) |
menuKeyReleased | menuKeyReleased(e) | void menuKeyReleased(MenuKeyEvent e) |
menuKeyTyped | menuKeyTyped(e) | void menuKeyTyped(MenuKeyEvent e) |
MenuListener#
interface · javax.swing.event.MenuListener
Extends: EventListener
Methods
| Method | Ring call | Java overloads |
|---|---|---|
menuCanceled | menuCanceled(e) | void menuCanceled(MenuEvent e) |
menuDeselected | menuDeselected(e) | void menuDeselected(MenuEvent e) |
menuSelected | menuSelected(e) | void menuSelected(MenuEvent e) |
MouseInputAdapter#
abstract · extends MouseAdapter · javax.swing.event.MouseInputAdapter
Implements: MouseInputListener
The methods and fields of MouseAdapter are inherited.
MouseInputListener#
interface · javax.swing.event.MouseInputListener
Extends: MouseListener, MouseMotionListener
Methods
| Method | Ring call | Java overloads |
|---|---|---|
mouseClicked | mouseClicked(e) | void mouseClicked(MouseEvent e) |
mouseDragged | mouseDragged(e) | void mouseDragged(MouseEvent e) |
mouseEntered | mouseEntered(e) | void mouseEntered(MouseEvent e) |
mouseExited | mouseExited(e) | void mouseExited(MouseEvent e) |
mouseMoved | mouseMoved(e) | void mouseMoved(MouseEvent e) |
mousePressed | mousePressed(e) | void mousePressed(MouseEvent e) |
mouseReleased | mouseReleased(e) | void mouseReleased(MouseEvent e) |
PopupMenuEvent#
class · extends EventObject · javax.swing.event.PopupMenuEvent
Constructors
new PopupMenuEvent(Object source) |
Ring: new PopupMenuEvent(args) uses the constructor with the fewest parameters (at least one); new PopupMenuEvent makes the object with the constructor without parameters; the others: (new PopupMenuEvent).@New([ :param = value ]) or .@New([v1,v2]).
The methods and fields of EventObject are inherited.
PopupMenuListener#
interface · javax.swing.event.PopupMenuListener
Extends: EventListener
Methods
| Method | Ring call | Java overloads |
|---|---|---|
popupMenuCanceled | popupMenuCanceled(e) | void popupMenuCanceled(PopupMenuEvent e) |
popupMenuWillBecomeInvisible | popupMenuWillBecomeInvisible(e) | void popupMenuWillBecomeInvisible(PopupMenuEvent e) |
popupMenuWillBecomeVisible | popupMenuWillBecomeVisible(e) | void popupMenuWillBecomeVisible(PopupMenuEvent e) |
RowSorterEvent#
class · extends EventObject · javax.swing.event.RowSorterEvent
Constructors
new RowSorterEvent(RowSorter source) |
new RowSorterEvent(RowSorter source, Type type, int[] previousRowIndexToModel) |
Ring: new RowSorterEvent(args) uses the constructor with the fewest parameters (at least one); new RowSorterEvent makes the object with the constructor without parameters; the others: (new RowSorterEvent).@New([ :param = value ]) or .@New([v1,v2]).
Methods
| Method | Ring call | Java overloads |
|---|---|---|
convertPreviousRowIndexToModel | convertPreviousRowIndexToModel(index) | int convertPreviousRowIndexToModel(int index) |
getPreviousRowCount | getPreviousRowCount() | int getPreviousRowCount() |
getType | getType() | Type getType() |
The methods and fields of EventObject are inherited.
RowSorterEventType#
enum · extends Enum · javax.swing.event.RowSorterEvent$Type
Fields
| Name | Type | Access | In Ring |
|---|---|---|---|
SORT_ORDER_CHANGED | Type | constant · static | o.SORT_ORDER_CHANGED |
SORTED | Type | constant · static | o.SORTED |
Methods
| Method | Ring call | Java overloads |
|---|---|---|
valueOf | valueOf(p1)valueOf([enumClass,name])valueOf([ :enumClass = v, :name = v ]) | static Type valueOf(String p1)static Enum valueOf(Class enumClass, String name) |
values | values() | static Type[] values() |
The methods and fields of Enum are inherited.
RowSorterListener#
interface · javax.swing.event.RowSorterListener
Extends: EventListener
Methods
| Method | Ring call | Java overloads |
|---|---|---|
sorterChanged | sorterChanged(e) | void sorterChanged(RowSorterEvent e) |
SwingPropertyChangeSupport#
class final · extends PropertyChangeSupport · javax.swing.event.SwingPropertyChangeSupport
Constructors
new SwingPropertyChangeSupport(Object sourceBean) |
new SwingPropertyChangeSupport(Object sourceBean, boolean notifyOnEDT) |
Ring: new SwingPropertyChangeSupport(args) uses the constructor with the fewest parameters (at least one); new SwingPropertyChangeSupport makes the object with the constructor without parameters; the others: (new SwingPropertyChangeSupport).@New([ :param = value ]) or .@New([v1,v2]).
Methods
| Method | Ring call | Java overloads |
|---|---|---|
isNotifyOnEDT | isNotifyOnEDT() | boolean isNotifyOnEDT() |
The methods and fields of PropertyChangeSupport are inherited.
TableColumnModelEvent#
class · extends EventObject · javax.swing.event.TableColumnModelEvent
Constructors
new TableColumnModelEvent(TableColumnModel source, int from, int to) |
Ring: new TableColumnModelEvent(args) uses the constructor with the fewest parameters (at least one); new TableColumnModelEvent makes the object with the constructor without parameters; the others: (new TableColumnModelEvent).@New([ :param = value ]) or .@New([v1,v2]).
Methods
| Method | Ring call | Java overloads |
|---|---|---|
getFromIndex | getFromIndex() | int getFromIndex() |
getToIndex | getToIndex() | int getToIndex() |
The methods and fields of EventObject are inherited.
TableColumnModelListener#
interface · javax.swing.event.TableColumnModelListener
Extends: EventListener
Methods
| Method | Ring call | Java overloads |
|---|---|---|
columnAdded | columnAdded(e) | void columnAdded(TableColumnModelEvent e) |
columnMarginChanged | columnMarginChanged(e) | void columnMarginChanged(ChangeEvent e) |
columnMoved | columnMoved(e) | void columnMoved(TableColumnModelEvent e) |
columnRemoved | columnRemoved(e) | void columnRemoved(TableColumnModelEvent e) |
columnSelectionChanged | columnSelectionChanged(e) | void columnSelectionChanged(ListSelectionEvent e) |
TableModelEvent#
class · extends EventObject · javax.swing.event.TableModelEvent
Constructors
new TableModelEvent(TableModel source) |
new TableModelEvent(TableModel source, int row) |
new TableModelEvent(TableModel source, int firstRow, int lastRow) |
new TableModelEvent(TableModel source, int firstRow, int lastRow, int column) |
new TableModelEvent(TableModel source, int firstRow, int lastRow, int column, int type) |
Ring: new TableModelEvent(args) uses the constructor with the fewest parameters (at least one); new TableModelEvent makes the object with the constructor without parameters; the others: (new TableModelEvent).@New([ :param = value ]) or .@New([v1,v2]).
Fields
| Name | Type | Access | In Ring |
|---|---|---|---|
INSERT | int | constant · static | o.INSERT |
UPDATE | int | constant · static | o.UPDATE |
DELETE | int | constant · static | o.DELETE |
HEADER_ROW | int | constant · static | o.HEADER_ROW |
ALL_COLUMNS | int | constant · static | o.ALL_COLUMNS |
Methods
| Method | Ring call | Java overloads |
|---|---|---|
getColumn | getColumn() | int getColumn() |
getFirstRow | getFirstRow() | int getFirstRow() |
getLastRow | getLastRow() | int getLastRow() |
getType | getType() | int getType() |
The methods and fields of EventObject are inherited.
TableModelListener#
interface · javax.swing.event.TableModelListener
Extends: EventListener
Methods
| Method | Ring call | Java overloads |
|---|---|---|
tableChanged | tableChanged(e) | void tableChanged(TableModelEvent e) |
TreeExpansionEvent#
class · extends EventObject · javax.swing.event.TreeExpansionEvent
Constructors
new TreeExpansionEvent(Object source, TreePath path) |
Ring: new TreeExpansionEvent(args) uses the constructor with the fewest parameters (at least one); new TreeExpansionEvent makes the object with the constructor without parameters; the others: (new TreeExpansionEvent).@New([ :param = value ]) or .@New([v1,v2]).
Methods
| Method | Ring call | Java overloads |
|---|---|---|
getPath | getPath() | TreePath getPath() |
The methods and fields of EventObject are inherited.
TreeExpansionListener#
interface · javax.swing.event.TreeExpansionListener
Extends: EventListener
Methods
| Method | Ring call | Java overloads |
|---|---|---|
treeCollapsed | treeCollapsed(event) | void treeCollapsed(TreeExpansionEvent event) |
treeExpanded | treeExpanded(event) | void treeExpanded(TreeExpansionEvent event) |
TreeModelEvent#
class · extends EventObject · javax.swing.event.TreeModelEvent
Constructors
new TreeModelEvent(Object source, TreePath path) |
new TreeModelEvent(Object source, Object[] path) |
new TreeModelEvent(Object source, TreePath path, int[] childIndices, Object[] children) |
new TreeModelEvent(Object source, Object[] path, int[] childIndices, Object[] children) |
Ring: new TreeModelEvent(args) uses the constructor with the fewest parameters (at least one); new TreeModelEvent makes the object with the constructor without parameters; the others: (new TreeModelEvent).@New([ :param = value ]) or .@New([v1,v2]).
Methods
| Method | Ring call | Java overloads |
|---|---|---|
getChildIndices | getChildIndices() | int[] getChildIndices() |
getChildren | getChildren() | Object[] getChildren() |
getPath | getPath() | Object[] getPath() |
getTreePath | getTreePath() | TreePath getTreePath() |
The methods and fields of EventObject are inherited.
TreeModelListener#
interface · javax.swing.event.TreeModelListener
Extends: EventListener
Methods
| Method | Ring call | Java overloads |
|---|---|---|
treeNodesChanged | treeNodesChanged(e) | void treeNodesChanged(TreeModelEvent e) |
treeNodesInserted | treeNodesInserted(e) | void treeNodesInserted(TreeModelEvent e) |
treeNodesRemoved | treeNodesRemoved(e) | void treeNodesRemoved(TreeModelEvent e) |
treeStructureChanged | treeStructureChanged(e) | void treeStructureChanged(TreeModelEvent e) |
TreeSelectionEvent#
class · extends EventObject · javax.swing.event.TreeSelectionEvent
Constructors
new TreeSelectionEvent(Object source, TreePath[] paths, boolean[] areNew, TreePath oldLeadSelectionPath, TreePath newLeadSelectionPath) |
new TreeSelectionEvent(Object source, TreePath path, boolean isNew, TreePath oldLeadSelectionPath, TreePath newLeadSelectionPath) |
Ring: new TreeSelectionEvent(args) uses the constructor with the fewest parameters (at least one); new TreeSelectionEvent makes the object with the constructor without parameters; the others: (new TreeSelectionEvent).@New([ :param = value ]) or .@New([v1,v2]).
Methods
| Method | Ring call | Java overloads |
|---|---|---|
@isAddedPath | @isAddedPath(path) | boolean isAddedPath(TreePath path)boolean isAddedPath(int index) |
cloneWithSource | cloneWithSource(newSource) | Object cloneWithSource(Object newSource) |
getNewLeadSelectionPath | getNewLeadSelectionPath() | TreePath getNewLeadSelectionPath() |
getOldLeadSelectionPath | getOldLeadSelectionPath() | TreePath getOldLeadSelectionPath() |
getPath | getPath() | TreePath getPath() |
getPaths | getPaths() | TreePath[] getPaths() |
isAddedPath | isAddedPath() | boolean isAddedPath() |
The methods and fields of EventObject are inherited.
TreeSelectionListener#
interface · javax.swing.event.TreeSelectionListener
Extends: EventListener
Methods
| Method | Ring call | Java overloads |
|---|---|---|
valueChanged | valueChanged(e) | void valueChanged(TreeSelectionEvent e) |
TreeWillExpandListener#
interface · javax.swing.event.TreeWillExpandListener
Extends: EventListener
Methods
| Method | Ring call | Java overloads |
|---|---|---|
treeWillCollapse | treeWillCollapse(event) | void treeWillCollapse(TreeExpansionEvent event) |
treeWillExpand | treeWillExpand(event) | void treeWillExpand(TreeExpansionEvent event) |
UndoableEditEvent#
class · extends EventObject · javax.swing.event.UndoableEditEvent
Constructors
new UndoableEditEvent(Object source, UndoableEdit edit) |
Ring: new UndoableEditEvent(args) uses the constructor with the fewest parameters (at least one); new UndoableEditEvent makes the object with the constructor without parameters; the others: (new UndoableEditEvent).@New([ :param = value ]) or .@New([v1,v2]).
Methods
| Method | Ring call | Java overloads |
|---|---|---|
getEdit | getEdit() | UndoableEdit getEdit() |
The methods and fields of EventObject are inherited.
UndoableEditListener#
interface · javax.swing.event.UndoableEditListener
Extends: EventListener
Methods
| Method | Ring call | Java overloads |
|---|---|---|
undoableEditHappened | undoableEditHappened(e) | void undoableEditHappened(UndoableEditEvent e) |