|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectde.uni_paderborn.fujaba.fsa.listener.AncestorNotifier
Only changes to original Notifier: - ignores visibility of components - endpoint for ancestor listening can be specified
Nested Class Summary | |
private static class |
AncestorNotifier.ComponentMulticast
since this is only used internally and we only need the componentMoved events, these are the only ones that are multicasted Copy/Pasted for class cast performance reasons |
private static class |
AncestorNotifier.PropertyChangeMulticast
No comment provided by developer, please add a comment to improve documentation. |
Field Summary | |
private static java.lang.Object |
COMPONENT_MULTICAST
No comment provided by developer, please add a comment to improve documentation. |
(package private) java.awt.Container |
end
No comment provided by developer, please add a comment to improve documentation. |
(package private) java.awt.Component |
firstAncestor
No comment provided by developer, please add a comment to improve documentation. |
static java.lang.Object |
KEY
No comment provided by developer, please add a comment to improve documentation. |
(package private) javax.swing.event.EventListenerList |
listenerList
No comment provided by developer, please add a comment to improve documentation. |
private static java.lang.Object |
PROPERTYCHANGE_MULTICAST
No comment provided by developer, please add a comment to improve documentation. |
(package private) javax.swing.JComponent |
root
No comment provided by developer, please add a comment to improve documentation. |
Constructor Summary | |
AncestorNotifier(javax.swing.JComponent root)
Constructor for class AncestorNotifier |
|
AncestorNotifier(javax.swing.JComponent root,
java.awt.Container end)
Constructor for class AncestorNotifier |
Method Summary | |
void |
addAncestorListener(javax.swing.event.AncestorListener l)
Access method for an one to n association. |
private void |
addComponentListener(javax.swing.JComponent target)
Access method for an one to n association. |
(package private) void |
addListeners(java.awt.Component ancestor,
boolean addToFirst)
Access method for an one to n association. |
private void |
addPropertyChangeListener(javax.swing.JComponent target)
Access method for an one to n association. |
void |
componentHidden(java.awt.event.ComponentEvent e)
No comment provided by developer, please add a comment to improve documentation. |
void |
componentMoved(java.awt.event.ComponentEvent e)
No comment provided by developer, please add a comment to improve documentation. |
void |
componentResized(java.awt.event.ComponentEvent e)
No comment provided by developer, please add a comment to improve documentation. |
void |
componentShown(java.awt.event.ComponentEvent e)
No comment provided by developer, please add a comment to improve documentation. |
protected void |
fireAncestorAdded(javax.swing.JComponent source,
int id,
java.awt.Container ancestor,
java.awt.Container ancestorParent)
No comment provided by developer, please add a comment to improve documentation. |
protected void |
fireAncestorMoved(javax.swing.JComponent source,
int id,
java.awt.Container ancestor,
java.awt.Container ancestorParent)
No comment provided by developer, please add a comment to improve documentation. |
protected void |
fireAncestorRemoved(javax.swing.JComponent source,
int id,
java.awt.Container ancestor,
java.awt.Container ancestorParent)
No comment provided by developer, please add a comment to improve documentation. |
java.awt.Container |
getEnd()
Get the end attribute of the AncestorNotifier object |
javax.swing.JComponent |
getRoot()
Get the root attribute of the AncestorNotifier object |
void |
propertyChange(java.beans.PropertyChangeEvent evt)
No comment provided by developer, please add a comment to improve documentation. |
(package private) void |
removeAllListeners()
No comment provided by developer, please add a comment to improve documentation. |
void |
removeAncestorListener(javax.swing.event.AncestorListener l)
No comment provided by developer, please add a comment to improve documentation. |
private void |
removeComponentListener(javax.swing.JComponent target)
No comment provided by developer, please add a comment to improve documentation. |
(package private) void |
removeListeners(java.awt.Component ancestor)
No comment provided by developer, please add a comment to improve documentation. |
private void |
removePropertyChangeListener(javax.swing.JComponent target)
No comment provided by developer, please add a comment to improve documentation. |
void |
removeYou()
No comment provided by developer, please add a comment to improve documentation. |
void |
setEnd(java.awt.Container end)
Sets the end attribute of the AncestorNotifier object |
void |
setRoot(javax.swing.JComponent root)
Sets the root attribute of the AncestorNotifier object |
int |
sizeOfAncestorListeners()
No comment provided by developer, please add a comment to improve documentation. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final java.lang.Object KEY
java.awt.Container end
java.awt.Component firstAncestor
javax.swing.event.EventListenerList listenerList
javax.swing.JComponent root
private static final java.lang.Object PROPERTYCHANGE_MULTICAST
private static final java.lang.Object COMPONENT_MULTICAST
Constructor Detail |
public AncestorNotifier(javax.swing.JComponent root)
root
- No description providedpublic AncestorNotifier(javax.swing.JComponent root, java.awt.Container end)
root
- No description providedend
- No description providedMethod Detail |
public void setRoot(javax.swing.JComponent root)
root
- The new root valuepublic javax.swing.JComponent getRoot()
public void setEnd(java.awt.Container end)
end
- The new end valuepublic java.awt.Container getEnd()
public void addAncestorListener(javax.swing.event.AncestorListener l)
l
- The object added.public void removeAncestorListener(javax.swing.event.AncestorListener l)
l
- No description providedpublic int sizeOfAncestorListeners()
protected void fireAncestorAdded(javax.swing.JComponent source, int id, java.awt.Container ancestor, java.awt.Container ancestorParent)
source
- No description providedid
- No description providedancestor
- No description providedancestorParent
- No description providedprotected void fireAncestorRemoved(javax.swing.JComponent source, int id, java.awt.Container ancestor, java.awt.Container ancestorParent)
source
- No description providedid
- No description providedancestor
- No description providedancestorParent
- No description providedprotected void fireAncestorMoved(javax.swing.JComponent source, int id, java.awt.Container ancestor, java.awt.Container ancestorParent)
source
- No description providedid
- No description providedancestor
- No description providedancestorParent
- No description providedvoid removeAllListeners()
void addListeners(java.awt.Component ancestor, boolean addToFirst)
ancestor
- The object added.addToFirst
- The object added.void removeListeners(java.awt.Component ancestor)
ancestor
- No description providedpublic void componentShown(java.awt.event.ComponentEvent e)
componentShown
in interface java.awt.event.ComponentListener
e
- No description providedpublic void componentHidden(java.awt.event.ComponentEvent e)
componentHidden
in interface java.awt.event.ComponentListener
e
- No description providedpublic void componentResized(java.awt.event.ComponentEvent e)
componentResized
in interface java.awt.event.ComponentListener
e
- No description providedpublic void componentMoved(java.awt.event.ComponentEvent e)
componentMoved
in interface java.awt.event.ComponentListener
e
- No description providedpublic void propertyChange(java.beans.PropertyChangeEvent evt)
propertyChange
in interface java.beans.PropertyChangeListener
evt
- No description providedprivate void addPropertyChangeListener(javax.swing.JComponent target)
target
- The object added.private void removePropertyChangeListener(javax.swing.JComponent target)
target
- No description providedprivate void addComponentListener(javax.swing.JComponent target)
target
- The object added.private void removeComponentListener(javax.swing.JComponent target)
target
- No description providedpublic void removeYou()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |