de.uni_paderborn.fujaba.fsa.listener
Class SelectionListenerHelper

java.lang.Object
  extended byde.uni_paderborn.fujaba.fsa.listener.SelectionListenerHelper

public abstract class SelectionListenerHelper
extends java.lang.Object

No comment provided by developer, please add a comment to improve documentation.

Version:
$Revision: 1.13 $
Author:
$Author: schneider $

Constructor Summary
SelectionListenerHelper()
           
 
Method Summary
static void addSelectionListener(javax.swing.JComponent comp, SelectionListener listener)
          Access method for an one to n association.
protected static void fireSelectionChanged(javax.swing.JComponent source, java.lang.Integer old, java.lang.Integer selection)
          No comment provided by developer, please add a comment to improve documentation.
protected static void fireSelectionChanged(SelectionEvent event)
          No comment provided by developer, please add a comment to improve documentation.
static int getSelection(javax.swing.JComponent comp)
          Get the selection attribute of the SelectionListenerHelper class
protected static java.beans.PropertyChangeListener getSelectionStateListener()
          Get the selectionStateListener attribute of the SelectionListenerHelper class
static boolean isFocused(javax.swing.JComponent comp)
          Get the focused attribute of the SelectionListenerHelper class
static boolean isSelected(javax.swing.JComponent comp)
          Get the selected attribute of the SelectionListenerHelper class
static java.util.Iterator iteratorOfSelectionListeners(javax.swing.JComponent comp)
          No comment provided by developer, please add a comment to improve documentation.
static boolean removeSelectionListener(javax.swing.JComponent comp, SelectionListener listener)
          No comment provided by developer, please add a comment to improve documentation.
static void setFocused(javax.swing.JComponent comp, boolean flag)
          Sets the focused attribute of the SelectionListenerHelper class
static void setSelected(javax.swing.JComponent comp, boolean flag)
          Sets the selected attribute of the SelectionListenerHelper class
static void setSelection(javax.swing.JComponent comp, int selection)
          Sets the selection attribute of the SelectionListenerHelper class
protected static void setSelection(javax.swing.JComponent comp, java.lang.Integer selection)
          Sets the selection attribute of the SelectionListenerHelper class
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SelectionListenerHelper

public SelectionListenerHelper()
Method Detail

addSelectionListener

public static void addSelectionListener(javax.swing.JComponent comp,
                                        SelectionListener listener)
Access method for an one to n association.

Parameters:
comp - The object added.
listener - The object added.

removeSelectionListener

public static boolean removeSelectionListener(javax.swing.JComponent comp,
                                              SelectionListener listener)
No comment provided by developer, please add a comment to improve documentation.

Parameters:
comp - No description provided
listener - No description provided
Returns:
No description provided

iteratorOfSelectionListeners

public static java.util.Iterator iteratorOfSelectionListeners(javax.swing.JComponent comp)
No comment provided by developer, please add a comment to improve documentation.

Parameters:
comp - No description provided
Returns:
No description provided

getSelection

public static int getSelection(javax.swing.JComponent comp)
Get the selection attribute of the SelectionListenerHelper class

Parameters:
comp - No description provided
Returns:
The selection value

setSelection

public static void setSelection(javax.swing.JComponent comp,
                                int selection)
Sets the selection attribute of the SelectionListenerHelper class

Parameters:
comp - The new selection value
selection - The new selection value

setSelection

protected static void setSelection(javax.swing.JComponent comp,
                                   java.lang.Integer selection)
Sets the selection attribute of the SelectionListenerHelper class

Parameters:
comp - The new selection value
selection - The new selection value

isSelected

public static boolean isSelected(javax.swing.JComponent comp)
Get the selected attribute of the SelectionListenerHelper class

Parameters:
comp - No description provided
Returns:
The selected value

setSelected

public static void setSelected(javax.swing.JComponent comp,
                               boolean flag)
Sets the selected attribute of the SelectionListenerHelper class

Parameters:
comp - The new selected value
flag - The new selected value

isFocused

public static boolean isFocused(javax.swing.JComponent comp)
Get the focused attribute of the SelectionListenerHelper class

Parameters:
comp - No description provided
Returns:
The focused value

setFocused

public static void setFocused(javax.swing.JComponent comp,
                              boolean flag)
Sets the focused attribute of the SelectionListenerHelper class

Parameters:
comp - The new focused value
flag - The new focused value

fireSelectionChanged

protected static void fireSelectionChanged(SelectionEvent event)
No comment provided by developer, please add a comment to improve documentation.

Parameters:
event - No description provided

fireSelectionChanged

protected static void fireSelectionChanged(javax.swing.JComponent source,
                                           java.lang.Integer old,
                                           java.lang.Integer selection)
No comment provided by developer, please add a comment to improve documentation.

Parameters:
source - No description provided
old - No description provided
selection - No description provided

getSelectionStateListener

protected static java.beans.PropertyChangeListener getSelectionStateListener()
Get the selectionStateListener attribute of the SelectionListenerHelper class

Returns:
The selectionStateListener value