|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectde.uni_paderborn.fujaba.fsa.SelectionManager
Method Summary | |
void |
addToPopupSourceListeners(PopupSourceListener listener)
Add a listener that receives a method call upon change of the logicPopupSource |
void |
addToSelectedComponents(javax.swing.JComponent component)
Access method for an one to n association. |
void |
addToSelectedComponents(javax.swing.JComponent[] components)
Access method for an one to n association. |
void |
addToSelection(ASGElement element)
Add all fsaObjects belonging to an element to the selection. |
void |
addToSelection(FSAObject object)
Access method for an one to n association. |
void |
addToSelection(FSAObject[] objects)
Access method for an one to n association. |
void |
clear()
No comment provided by developer, please add a comment to improve documentation. |
static SelectionManager |
get()
No comment provided by developer, please add a comment to improve documentation. |
java.lang.String |
getActionCommand()
Handed over to the action as the command string for the event. |
javax.swing.JComponent |
getFocusedComponent()
Get the focusedComponent attribute of the SelectionManager object |
FSAObject |
getFocusedObject()
Get the focusedObject attribute of the SelectionManager object |
javax.swing.JComponent[] |
getLastSelectedComponents(javax.swing.JComponent obj,
int length)
This method returns the last 'index' selected items. |
javax.swing.JComponent[] |
getLastSelectedComponentsOfType(java.lang.Class typeClass,
int length)
Get the lastSelectedComponentsOfType attribute of the SelectionManager object |
javax.swing.JComponent[] |
getLastSelectedComponentsOfType(javax.swing.JComponent type,
int length)
Get the lastSelectedComponentsOfType attribute of the SelectionManager object |
FSAObject[] |
getLastSelections(FSAObject obj,
int length)
This method returns the last 'index' selected items. |
FSAObject[] |
getLastSelectionsOfType(java.lang.Class typeClass)
Returns all selections of type 'typeClass'. |
FSAObject[] |
getLastSelectionsOfType(java.lang.Class typeClass,
int length)
Returns 'length' number of selected objects of type 'typeclass'. |
FSAObject[] |
getLastSelectionsOfType(FSAObject type,
int length)
This method returns the last 'index' selected items, which are instances of the class of the type object. |
LogicUnparseInterface |
getLogicPopupSource()
Get the logicPopupSource attribute of the SelectionManager object |
java.awt.Component |
getPopupSource()
Get the popupSource attribute of the SelectionManager object |
javax.swing.JComponent[] |
getSelectedComponents()
Get the selectedComponents attribute of the SelectionManager object |
FSAObject[] |
getSelectedObjects()
Get the selectedObjects attribute of the SelectionManager object |
java.lang.Object |
getSource()
Returns an iterator of the objects from the environment of the source object. |
boolean |
hasInSelectedComponents(javax.swing.JComponent object)
No comment provided by developer, please add a comment to improve documentation. |
boolean |
hasInSelection(FSAObject object)
No comment provided by developer, please add a comment to improve documentation. |
boolean |
isFocused(javax.swing.JComponent component)
Get the focused attribute of the SelectionManager object |
boolean |
isSelected(javax.swing.JComponent component)
Get the selected attribute of the SelectionManager object |
java.util.Iterator |
iteratorOfSelectedComponents()
No comment provided by developer, please add a comment to improve documentation. |
java.util.Iterator |
iteratorOfSelectedComponentsAsIncrements()
No comment provided by developer, please add a comment to improve documentation. |
java.util.Iterator |
iteratorOfSelection()
No comment provided by developer, please add a comment to improve documentation. |
java.util.Iterator |
iteratorOfSelectionAsIncrements()
No comment provided by developer, please add a comment to improve documentation. |
javax.swing.JComponent |
nextComponent(javax.swing.JComponent object)
No comment provided by developer, please add a comment to improve documentation. |
FSAObject |
nextObject(FSAObject object)
No comment provided by developer, please add a comment to improve documentation. |
javax.swing.JComponent |
prevComponent(javax.swing.JComponent object)
No comment provided by developer, please add a comment to improve documentation. |
FSAObject |
prevObject(FSAObject object)
No comment provided by developer, please add a comment to improve documentation. |
void |
removeAllFromSelectedComponents()
deselect all |
void |
removeFromPopupSourceListeners(PopupSourceListener listener)
Remove a listener for logicPopupSource |
void |
removeFromSelectedComponents(javax.swing.JComponent object)
No comment provided by developer, please add a comment to improve documentation. |
void |
removeFromSelectedComponents(javax.swing.JComponent[] objects)
No comment provided by developer, please add a comment to improve documentation. |
void |
removeFromSelection(FSAObject object)
No comment provided by developer, please add a comment to improve documentation. |
void |
removeFromSelection(FSAObject[] objects)
No comment provided by developer, please add a comment to improve documentation. |
void |
replaceSelectedComponents(javax.swing.JComponent object)
No comment provided by developer, please add a comment to improve documentation. |
void |
replaceSelectedComponents(javax.swing.JComponent[] objects)
No comment provided by developer, please add a comment to improve documentation. |
void |
replaceSelection(FSAObject object)
No comment provided by developer, please add a comment to improve documentation. |
void |
replaceSelection(FSAObject[] objects)
No comment provided by developer, please add a comment to improve documentation. |
void |
selectionChanged(SelectionEvent event)
No comment provided by developer, please add a comment to improve documentation. |
void |
setFocused(FSAObject object,
boolean focus)
set the component focused It is set as the focused Object and the previously focused Object is unfocused. |
void |
setFocused(javax.swing.JComponent component,
boolean focus)
set the component focused It is set as the focused Object and the previously focused Object is unfocused. |
void |
setFocusedComponent(javax.swing.JComponent component)
Sets the focusedComponent attribute of the SelectionManager object |
void |
setFocusedObject(FSAObject object)
Sets the focusedObject attribute of the SelectionManager object |
void |
setLogicPopupSource(LogicUnparseInterface logicSource)
Sets the logicPopupSource attribute of the SelectionManager object |
void |
setPopupSource(java.awt.Component source)
Sets the popupSource attribute of the SelectionManager object |
void |
setPopupSource(java.awt.Component source,
LogicUnparseInterface logicSource)
Sets the popupSource attribute of the SelectionManager object |
void |
setSelected(FSAObject object,
boolean selected)
Sets the selected attribute of the SelectionManager object |
void |
setSelected(FSAObject object,
boolean selected,
boolean multi)
Sets the selected attribute of the SelectionManager object |
void |
setSelected(javax.swing.JComponent component,
boolean selected)
Sets the selected attribute of the SelectionManager object |
void |
setSelected(javax.swing.JComponent component,
boolean selected,
boolean multi)
Sets the selected attribute of the SelectionManager object |
int |
sizeOfSelectedComponents()
No comment provided by developer, please add a comment to improve documentation. |
int |
sizeOfSelection()
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 |
Method Detail |
public static SelectionManager get()
public void setPopupSource(java.awt.Component source, LogicUnparseInterface logicSource)
source
- The new popupSource valuelogicSource
- The new popupSource valuepublic void setPopupSource(java.awt.Component source)
source
- The new popupSource valuepublic void setLogicPopupSource(LogicUnparseInterface logicSource)
logicSource
- The new logicPopupSource valuepublic LogicUnparseInterface getLogicPopupSource()
public java.awt.Component getPopupSource()
public java.lang.Object getSource()
getSource
in interface de.upb.lib.userinterface.EventSource
public java.lang.String getActionCommand()
getActionCommand
in interface de.upb.lib.userinterface.EventSource
public void setSelected(javax.swing.JComponent component, boolean selected)
component
- The new selected valueselected
- The new selected valuepublic void setSelected(javax.swing.JComponent component, boolean selected, boolean multi)
component
- The new selected valueselected
- The new selected valuemulti
- The new selected valuepublic boolean isSelected(javax.swing.JComponent component)
component
- No description provided
public void setFocused(javax.swing.JComponent component, boolean focus)
component
- The new focused valuefocus
- The new focused valuepublic boolean isFocused(javax.swing.JComponent component)
component
- No description provided
public void setFocusedComponent(javax.swing.JComponent component)
component
- The new focusedComponent valuepublic javax.swing.JComponent getFocusedComponent()
public void addToSelectedComponents(javax.swing.JComponent component)
component
- The object added.public void addToSelectedComponents(javax.swing.JComponent[] components)
components
- The object added.public java.util.Iterator iteratorOfSelectedComponents()
public java.util.Iterator iteratorOfSelectedComponentsAsIncrements()
public boolean hasInSelectedComponents(javax.swing.JComponent object)
object
- No description provided
public int sizeOfSelectedComponents()
public void replaceSelectedComponents(javax.swing.JComponent object)
object
- No description providedpublic void replaceSelectedComponents(javax.swing.JComponent[] objects)
objects
- No description providedpublic void removeFromSelectedComponents(javax.swing.JComponent object)
object
- No description providedpublic void removeAllFromSelectedComponents()
public void removeFromSelectedComponents(javax.swing.JComponent[] objects)
objects
- No description providedpublic javax.swing.JComponent prevComponent(javax.swing.JComponent object)
object
- No description provided
public javax.swing.JComponent nextComponent(javax.swing.JComponent object)
object
- No description provided
public javax.swing.JComponent[] getLastSelectedComponents(javax.swing.JComponent obj, int length)
length
- number of the returned objects.obj
- If this object is not in the last 'length' selections, it will be returned
as the last selected Object in the resulting array.
public javax.swing.JComponent[] getLastSelectedComponentsOfType(javax.swing.JComponent type, int length)
type
- No description providedlength
- No description provided
public javax.swing.JComponent[] getLastSelectedComponentsOfType(java.lang.Class typeClass, int length)
typeClass
- No description providedlength
- No description provided
public javax.swing.JComponent[] getSelectedComponents()
public void clear()
public void setSelected(FSAObject object, boolean selected)
object
- The new selected valueselected
- The new selected valuepublic void setSelected(FSAObject object, boolean selected, boolean multi)
object
- The new selected valueselected
- The new selected valuemulti
- The new selected valuepublic void setFocused(FSAObject object, boolean focus)
object
- The new focused valuefocus
- The new focused valuepublic void setFocusedObject(FSAObject object)
object
- The new focusedObject valuepublic FSAObject getFocusedObject()
public void addToSelection(FSAObject object)
object
- The object added.public void addToSelection(FSAObject[] objects)
objects
- The object added.public java.util.Iterator iteratorOfSelection()
public java.util.Iterator iteratorOfSelectionAsIncrements()
public boolean hasInSelection(FSAObject object)
object
- No description provided
public int sizeOfSelection()
public void replaceSelection(FSAObject object)
object
- No description providedpublic void replaceSelection(FSAObject[] objects)
objects
- No description providedpublic void removeFromSelection(FSAObject object)
object
- No description providedpublic void removeFromSelection(FSAObject[] objects)
objects
- No description providedpublic FSAObject prevObject(FSAObject object)
object
- No description provided
public FSAObject nextObject(FSAObject object)
object
- No description provided
public FSAObject[] getLastSelections(FSAObject obj, int length)
length
- number of the returned objects.obj
- If this object is not in the last 'length' selections, it will be returned
as the last selected Object in the resulting array.
public FSAObject[] getLastSelectionsOfType(FSAObject type, int length)
length
- number of the returned objects.type
- Only objects of this type are returned.
public FSAObject[] getLastSelectionsOfType(java.lang.Class typeClass)
typeClass
- No description provided
public FSAObject[] getLastSelectionsOfType(java.lang.Class typeClass, int length)
typeClass
- No description providedlength
- No description provided
public FSAObject[] getSelectedObjects()
public void selectionChanged(SelectionEvent event)
selectionChanged
in interface SelectionListener
event
- No description providedpublic void addToPopupSourceListeners(PopupSourceListener listener)
listener
- to be addedpublic void removeFromPopupSourceListeners(PopupSourceListener listener)
listener
- to be removedpublic void addToSelection(ASGElement element)
element
- which element to be selected
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |