|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.awt.Component
java.awt.Container
javax.swing.JComponent
javax.swing.JPanel
de.uni_paderborn.fujaba.gui.PEBaseComponent
de.uni_paderborn.fujaba.gui.PEHeaderComponent
de.uni_paderborn.fujaba.gui.PESelection
Class to implements a selection component. A selection component contains two list called source and destination and at least a add and a remove button to select and deselect from the source to the destination list.
Nested Class Summary |
Nested classes inherited from class javax.swing.JPanel |
javax.swing.JPanel.AccessibleJPanel |
Nested classes inherited from class javax.swing.JComponent |
javax.swing.JComponent.AccessibleJComponent |
Nested classes inherited from class java.awt.Container |
java.awt.Container.AccessibleAWTContainer |
Nested classes inherited from class java.awt.Component |
java.awt.Component.AccessibleAWTComponent, java.awt.Component.BltBufferStrategy, java.awt.Component.FlipBufferStrategy |
Field Summary |
Fields inherited from class de.uni_paderborn.fujaba.gui.PEHeaderComponent |
title |
Fields inherited from class de.uni_paderborn.fujaba.gui.PEBaseComponent |
parent |
Fields inherited from class javax.swing.JComponent |
accessibleContext, listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW |
Fields inherited from class java.awt.Component |
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT |
Fields inherited from interface java.awt.image.ImageObserver |
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH |
Constructor Summary | |
PESelection(BasicPropertyEditor parent)
Constructor for class PESelection |
Method Summary | |
protected void |
addComponents()
Access method for an one to n association. |
void |
addToDest(ASGElement incr)
The function addToDest () adds a new entry represented by a valid reference to an object of the AST to the destination list. |
void |
addToDest(ASGElement incr,
java.lang.String s)
The function addToDest () adds a new entry represented by a valid reference to an object of the AST and a string to the source list. |
void |
addToSource(ASGElement incr)
The function addToSource () adds a new entry represented by a valid reference to an object of the AST to the source list. |
void |
addToSource(ASGElement incr,
java.lang.String s)
The function addToSource () adds a new entry represented by a valid reference to an object of the AST and a string to the source list. |
boolean |
buttonActionPerformed(java.lang.String buttonIdentifier,
java.awt.event.ActionEvent e)
No comment provided by developer, please add a comment to improve documentation. |
void |
clearDest()
The function clearDest () removes all entries of the destination list |
void |
clearSource()
The function clearSource () removes all entries of the source list. |
protected void |
destSelectionChanged()
No comment provided by developer, please add a comment to improve documentation. |
protected void |
fillDestList()
Override the function fillDestList () to initialize the destination list. |
protected void |
fillSourceList()
Override the function fillSourceList () to initialize the source list. |
protected PEButton |
getAddButton()
Get the addButton attribute of the PESelection object |
protected PEColumn |
getButtonColumn()
Get the buttonColumn attribute of the PESelection object |
PEListIncr |
getDest()
Get the dest attribute of the PESelection object |
ASGElement |
getDestIncrementByName(java.lang.String name)
Get the destIncrementByName attribute of the PESelection object |
ASGElement |
getDestSelectedIncr()
The function getDestinationIncr () returns a valid reference of an object of the AST. |
ASGElement |
getIncrement()
The function getIncrement () returns a valid reference of the corresponding AST object. |
protected PEButton |
getModifyButton()
Get the modifyButton attribute of the PESelection object |
protected BasicPropertyEditor |
getParentPE()
Get the parentPE attribute of the PESelection object |
protected PEButton |
getRemoveButton()
Get the removeButton attribute of the PESelection object |
PEListIncr |
getSource()
Get the source attribute of the PESelection object |
ASGElement |
getSourceIncrementByName(java.lang.String name)
Get the sourceIncrementByName attribute of the PESelection object |
java.util.Enumeration |
getSourceList()
The function getSourceLsit returns a enumeration of the objects represented by the source list. |
ASGElement |
getSourceSelectedIncr()
The function getSourceSelectedIncr () returns a valid reference of an object of the AST. |
boolean |
isHorzResizable()
Get the horzResizable attribute of the PESelection object |
boolean |
isVertResizable()
Get the vertResizable attribute of the PESelection object |
void |
paint(java.awt.Graphics g)
No comment provided by developer, please add a comment to improve documentation. |
void |
removeFromDest(ASGElement incr)
The function removeFromSource () removes a existing entry from the destination list. |
void |
removeFromSource(ASGElement incr)
The function removeFromSource () removes a existing entry from the source list. |
void |
setAddListener(java.awt.event.ActionListener listener)
The function setAddListener sets a listener for the add button |
void |
setDestMouseListener(java.awt.event.MouseListener listener)
The function setDestMouseListener sets a listener for the destination list |
void |
setDestSelectedIncr(ASGElement incr)
Sets the destSelectedIncr attribute of the PESelection object |
void |
setIncrement(ASGElement incr)
The function setIncrement () sets the corresponding object of the AST |
void |
setModifyListener(java.awt.event.ActionListener listener)
The function setModifyListener sets a listener for the modify button |
void |
setReadOnly(boolean b)
Sets the readOnly attribute of the PESelection object |
void |
setRemoveListener(java.awt.event.ActionListener listener)
The function setAddListener sets a listener for the remove button |
void |
setSourceMouseListener(java.awt.event.MouseListener listener)
The function setSourceMouseListener sets a listener for the source list |
void |
setSourceSelectedIncr(ASGElement incr)
Sets the sourceSelectedIncr attribute of the PESelection object |
protected void |
sourceSelectionChanged()
No comment provided by developer, please add a comment to improve documentation. |
Methods inherited from class de.uni_paderborn.fujaba.gui.PEHeaderComponent |
getTitle, setHeader |
Methods inherited from class de.uni_paderborn.fujaba.gui.PEBaseComponent |
focusGained, focusLost, getComponentByName, getComponentName, getInsets, getLayoutManager, getStatus, setComponentName, setInsets, setParent, setStatus |
Methods inherited from class javax.swing.JPanel |
getAccessibleContext, getUI, getUIClassID, paramString, setUI, updateUI |
Methods inherited from class javax.swing.JComponent |
addAncestorListener, addNotify, addPropertyChangeListener, addPropertyChangeListener, addVetoableChangeListener, computeVisibleRect, contains, createToolTip, disable, enable, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, fireVetoableChange, getActionForKeyStroke, getActionMap, getAlignmentX, getAlignmentY, getAncestorListeners, getAutoscrolls, getBorder, getBounds, getClientProperty, getComponentGraphics, getConditionForKeyStroke, getDebugGraphicsOptions, getDefaultLocale, getGraphics, getHeight, getInputMap, getInputMap, getInputVerifier, getInsets, getListeners, getLocation, getMaximumSize, getMinimumSize, getNextFocusableComponent, getPreferredSize, getPropertyChangeListeners, getPropertyChangeListeners, getRegisteredKeyStrokes, getRootPane, getSize, getToolTipLocation, getToolTipText, getToolTipText, getTopLevelAncestor, getTransferHandler, getVerifyInputWhenFocusTarget, getVetoableChangeListeners, getVisibleRect, getWidth, getX, getY, grabFocus, isDoubleBuffered, isLightweightComponent, isManagingFocus, isMaximumSizeSet, isMinimumSizeSet, isOpaque, isOptimizedDrawingEnabled, isPaintingTile, isPreferredSizeSet, isRequestFocusEnabled, isValidateRoot, paintBorder, paintChildren, paintComponent, paintImmediately, paintImmediately, print, printAll, printBorder, printChildren, printComponent, processComponentKeyEvent, processKeyBinding, processKeyEvent, processMouseMotionEvent, putClientProperty, registerKeyboardAction, registerKeyboardAction, removeAncestorListener, removeNotify, removePropertyChangeListener, removePropertyChangeListener, removeVetoableChangeListener, repaint, repaint, requestDefaultFocus, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, resetKeyboardActions, reshape, revalidate, scrollRectToVisible, setActionMap, setAlignmentX, setAlignmentY, setAutoscrolls, setBackground, setBorder, setDebugGraphicsOptions, setDefaultLocale, setDoubleBuffered, setEnabled, setFont, setForeground, setInputMap, setInputVerifier, setMaximumSize, setMinimumSize, setNextFocusableComponent, setOpaque, setPreferredSize, setRequestFocusEnabled, setToolTipText, setTransferHandler, setUI, setVerifyInputWhenFocusTarget, setVisible, unregisterKeyboardAction, update |
Methods inherited from class java.awt.Container |
add, add, add, add, add, addContainerListener, addImpl, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getContainerListeners, getFocusTraversalKeys, getFocusTraversalPolicy, getLayout, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusCycleRoot, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paintComponents, preferredSize, printComponents, processContainerEvent, processEvent, remove, remove, removeAll, removeContainerListener, setFocusCycleRoot, setFocusTraversalKeys, setFocusTraversalPolicy, setLayout, transferFocusBackward, transferFocusDownCycle, validate, validateTree |
Methods inherited from class java.awt.Component |
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, coalesceEvents, contains, createImage, createImage, createVolatileImage, createVolatileImage, disableEvents, dispatchEvent, enable, enableEvents, enableInputMethods, getBackground, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getFontMetrics, getForeground, getGraphicsConfiguration, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocale, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMouseWheelListeners, getName, getParent, getPeer, getSize, getToolkit, getTreeLock, gotFocus, handleEvent, hasFocus, hide, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isEnabled, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isShowing, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, postEvent, prepareImage, prepareImage, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processMouseEvent, processMouseWheelEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, repaint, repaint, repaint, resize, resize, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setFocusable, setFocusTraversalKeysEnabled, setIgnoreRepaint, setLocale, setLocation, setLocation, setName, setSize, setSize, show, show, size, toString, transferFocus, transferFocusUpCycle |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public PESelection(BasicPropertyEditor parent)
parent
- No description providedMethod Detail |
public void setReadOnly(boolean b)
setReadOnly
in class PEBaseComponent
b
- The new readOnly valueprotected PEColumn getButtonColumn()
protected BasicPropertyEditor getParentPE()
protected void addComponents()
addComponents
in class PEBaseComponent
public void setIncrement(ASGElement incr)
incr
- The new increment valuepublic ASGElement getIncrement()
public void clearSource()
public void clearDest()
public ASGElement getSourceSelectedIncr()
public ASGElement getDestSelectedIncr()
public void setSourceSelectedIncr(ASGElement incr)
incr
- The new sourceSelectedIncr valuepublic void setDestSelectedIncr(ASGElement incr)
incr
- The new destSelectedIncr valuepublic void setAddListener(java.awt.event.ActionListener listener)
listener
- a valid reference of an action adapterpublic void setRemoveListener(java.awt.event.ActionListener listener)
listener
- a valid reference of an action adapterpublic void setModifyListener(java.awt.event.ActionListener listener)
listener
- a valid reference of an action adapterpublic void setSourceMouseListener(java.awt.event.MouseListener listener)
listener
- a valid reference of an action adapterpublic void setDestMouseListener(java.awt.event.MouseListener listener)
listener
- a valid reference of an action adapterpublic void addToSource(ASGElement incr)
incr
- a valid reference to an object of the ASTpublic void addToSource(ASGElement incr, java.lang.String s)
incr
- a valid reference to an object of the ASTs
- a valid string represented the entry in the listpublic void addToDest(ASGElement incr)
incr
- a valid reference to an object of the ASTpublic void addToDest(ASGElement incr, java.lang.String s)
incr
- a valid reference to an object of the ASTs
- a valid string represented the entry in the listpublic void removeFromSource(ASGElement incr)
incr
- a valid reference of an objectpublic void removeFromDest(ASGElement incr)
incr
- a valid reference of an objectpublic java.util.Enumeration getSourceList()
public PEListIncr getSource()
public PEListIncr getDest()
protected void fillSourceList()
protected void fillDestList()
protected void sourceSelectionChanged()
protected void destSelectionChanged()
public ASGElement getSourceIncrementByName(java.lang.String name)
name
- No description provided
public ASGElement getDestIncrementByName(java.lang.String name)
name
- No description provided
public boolean isHorzResizable()
isHorzResizable
in interface PEResizable
public boolean isVertResizable()
isVertResizable
in interface PEResizable
public void paint(java.awt.Graphics g)
g
- No description providedpublic boolean buttonActionPerformed(java.lang.String buttonIdentifier, java.awt.event.ActionEvent e)
buttonActionPerformed
in class PEBaseComponent
buttonIdentifier
- No description providede
- No description provided
protected PEButton getAddButton()
protected PEButton getRemoveButton()
protected PEButton getModifyButton()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |