|
|||||||||||
| 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
org.objectweb.fractal.swing.JPanelImpl
org.objectweb.fractal.gui.dialog.view.BasicDialogView
A configuration view that displays the configuration's root component as a dialog.
| 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 | |
|---|---|
static java.lang.String |
CONFIGURATION_BINDING
A mandatory client interface bound to a configuration
model. |
static java.lang.String |
DIALOG_MODEL_BINDING
A mandatory client interface bound to a dialog model. |
static java.lang.String |
DIALOG_VIEW_LISTENERS_BINDING
A collection client interface bound to the listeners of this view. |
static java.lang.String |
INNER_GRAPH_VIEW_BINDING
An optional client interface bound to a JComponent inner component. |
| Fields inherited from class org.objectweb.fractal.swing.JPanelImpl |
|---|
BOTTOM_COMPONENT_BINDING, CENTER_COMPONENT_BINDING, COMPONENTS_BINDING, LAYOUT_BINDING, LEFT_COMPONENT_BINDING, RIGHT_COMPONENT_BINDING, TOP_COMPONENT_BINDING |
| 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 | |
|---|---|
BasicDialogView()
Constructs a new BasicDialogView component. |
|
| Method Summary | |
|---|---|
void |
attributeChanged(Component component,
java.lang.String attributeName,
java.lang.String oldValue)
Notifies this listener that the value of an attribute has changed. |
void |
attributeControllerChanged(Component component,
java.lang.String oldValue)
Notifies this listener that the attribute controller of a component has changed. |
void |
bindFc(java.lang.String clientItfName,
java.lang.Object serverItf)
|
void |
changeCountChanged(Component component,
long changeCount)
Notifies this listener that all the change count of the configuration has changed. |
void |
clientInterfaceAdded(Component component,
ClientInterface i,
int index)
Notifies this listener that a client interface has been added to a component. |
void |
clientInterfaceRemoved(Component component,
ClientInterface i,
int index)
Notifies this listener that a client interface has been removed from a component. |
void |
componentControllerDescriptorChanged(Component component,
java.lang.String oldValue)
Notifies this listener that the component controller descriptor of a component has changed. |
void |
implementationChanged(Component component,
java.lang.String oldValue)
Notifies this listener that the implementation of a component has changed. |
void |
interfaceBound(ClientInterface citf,
ServerInterface sitf)
Notifies this listener that an interface has been bound. |
void |
interfaceCardinalityChanged(Interface i,
boolean oldValue)
Notifies this listener that the cardinality of an interface has changed. |
void |
interfaceContingencyChanged(Interface i,
boolean oldValue)
Notifies this listener that the contigency of an interface has changed. |
void |
interfaceNameChanged(Interface i,
java.lang.String oldValue)
Notifies this listener that the name of an interface has changed. |
void |
interfaceRebound(ClientInterface citf,
ServerInterface oldSitf)
Notifies this listener that an interface has been rebound. |
void |
interfaceSignatureChanged(Interface i,
java.lang.String oldValue)
Notifies this listener that the signature of an interface has changed. |
void |
interfaceUnbound(ClientInterface citf,
ServerInterface sitf)
Notifies this listener that an interface has been unbound. |
java.lang.String[] |
listFc()
|
java.lang.Object |
lookupFc(java.lang.String clientItfName)
|
void |
nameChanged(Component component,
java.lang.String oldValue)
Notifies this listener that the name of a component has changed. |
void |
rootComponentChanged(Component oldValue)
Notifies this listener that the root component has changed. |
void |
serverInterfaceAdded(Component component,
ServerInterface i,
int index)
Notifies this listener that a server interface has been added to a component. |
void |
serverInterfaceRemoved(Component component,
ServerInterface i,
int index)
Notifies this listener that a server interface has been removed from a component. |
void |
setVisible(boolean visible)
|
void |
subComponentAdded(Component parent,
Component child,
int index)
Notifies this listener that a sub component has been added to a component. |
void |
subComponentRemoved(Component parent,
Component child,
int index)
Notifies this listener that a sub component has been removed from a component. |
void |
templateControllerDescriptorChanged(Component component,
java.lang.String oldValue)
Notifies this listener that the template controller descriptor of a component has changed. |
void |
typeChanged(Component component,
java.lang.String oldValue)
Notifies this listener that the type of a component has changed. |
void |
unbindFc(java.lang.String clientItfName)
|
| 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, 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, paint, 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, 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 |
| Methods inherited from interface org.objectweb.fractal.swing.JComponentItf |
|---|
addAncestorListener, addVetoableChangeListener, computeVisibleRect, createToolTip, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getActionForKeyStroke, getAutoscrolls, getBorder, getConditionForKeyStroke, getDebugGraphicsOptions, getInputVerifier, getInsets, getNextFocusableComponent, getRegisteredKeyStrokes, getRootPane, getToolTipLocation, getToolTipText, getToolTipText, getTopLevelAncestor, getUIClassID, getVerifyInputWhenFocusTarget, getVisibleRect, grabFocus, isFocusCycleRoot, isManagingFocus, isMaximumSizeSet, isMinimumSizeSet, isOptimizedDrawingEnabled, isPaintingTile, isPreferredSizeSet, isRequestFocusEnabled, isValidateRoot, paintImmediately, paintImmediately, registerKeyboardAction, registerKeyboardAction, removeAncestorListener, removeVetoableChangeListener, repaint, requestDefaultFocus, resetKeyboardActions, revalidate, scrollRectToVisible, setAlignmentX, setAlignmentY, setAutoscrolls, setBorder, setDebugGraphicsOptions, setDoubleBuffered, setInputVerifier, setMaximumSize, setMinimumSize, setNextFocusableComponent, setOpaque, setPreferredSize, setRequestFocusEnabled, setToolTipText, setVerifyInputWhenFocusTarget, unregisterKeyboardAction, updateUI |
| Methods inherited from interface org.objectweb.fractal.swing.ContainerItf |
|---|
add, add, add, add, add, addContainerListener, countComponents, findComponentAt, findComponentAt, getComponent, getComponentCount, getComponents, getInsets, getLayout, insets, isAncestorOf, paintComponents, printComponents, remove, remove, removeAll, removeContainerListener, setLayout |
| Methods inherited from interface org.objectweb.fractal.swing.ComponentItf |
|---|
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addNotify, addPropertyChangeListener, addPropertyChangeListener, bounds, checkImage, checkImage, contains, contains, createImage, createImage, deliverEvent, disable, doLayout, enable, enable, enableInputMethods, getAccessibleContext, getAlignmentX, getAlignmentY, getBackground, getBounds, getBounds, getColorModel, getComponentAt, getComponentAt, getComponentOrientation, getCursor, getDropTarget, getFont, getFontMetrics, getForeground, getGraphics, getGraphicsConfiguration, getHeight, getInputContext, getInputMethodRequests, getListeners, getLocale, getLocation, getLocation, getLocationOnScreen, getMaximumSize, getMinimumSize, getName, getParent, getPeer, getPreferredSize, getSize, getSize, getToolkit, getWidth, getX, getY, gotFocus, handleEvent, hasFocus, hide, imageUpdate, inside, invalidate, isDisplayable, isDoubleBuffered, isEnabled, isFocusTraversable, isLightweight, isOpaque, isShowing, isValid, isVisible, keyDown, keyUp, layout, list, list, list, list, list, locate, location, lostFocus, minimumSize, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paint, paintAll, postEvent, preferredSize, prepareImage, prepareImage, print, printAll, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeNotify, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, repaint, requestFocus, reshape, resize, resize, setBackground, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setEnabled, setFont, setForeground, setLocale, setLocation, setLocation, setName, setSize, setSize, show, show, size, transferFocus, update, validate |
| Methods inherited from interface org.objectweb.fractal.swing.JComponentAttributes |
|---|
getAlignmentX, getAlignmentY, getAutoscrolls, getBorder, getDebugGraphicsOptions, getInputVerifier, getMaximumSize, getMinimumSize, getNextFocusableComponent, getPreferredSize, getToolTipText, getVerifyInputWhenFocusTarget, setAlignmentX, setAlignmentY, setAutoscrolls, setBorder, setDebugGraphicsOptions, setInputVerifier, setMaximumSize, setMinimumSize, setNextFocusableComponent, setPreferredSize, setToolTipText, setVerifyInputWhenFocusTarget |
| Methods inherited from interface org.objectweb.fractal.swing.ContainerAttributes |
|---|
getLayout, setLayout |
| Methods inherited from interface org.objectweb.fractal.swing.ComponentAttributes |
|---|
getBackground, getBounds, getComponentOrientation, getCursor, getDropTarget, getFont, getForeground, getLocale, getLocation, getName, getSize, setBackground, setBounds, setComponentOrientation, setCursor, setDropTarget, setFont, setForeground, setLocale, setLocation, setName, setSize |
| Field Detail |
public static final java.lang.String CONFIGURATION_BINDING
configuration
model. This is the configuration whose root component is displayed by this
view.
public static final java.lang.String DIALOG_MODEL_BINDING
dialog model.
This is the model displayed by this view.
public static final java.lang.String INNER_GRAPH_VIEW_BINDING
JComponent inner component.
This optional inner swing component can, for example, display a graph
representation of the component that is displayed by this dialog.
public static final java.lang.String DIALOG_VIEW_LISTENERS_BINDING
listeners of this view.
| Constructor Detail |
public BasicDialogView()
BasicDialogView component.
| Method Detail |
public java.lang.String[] listFc()
listFc in interface org.objectweb.fractal.api.control.BindingControllerpublic java.lang.Object lookupFc(java.lang.String clientItfName)
lookupFc in interface org.objectweb.fractal.api.control.BindingController
public void bindFc(java.lang.String clientItfName,
java.lang.Object serverItf)
bindFc in interface org.objectweb.fractal.api.control.BindingControllerpublic void unbindFc(java.lang.String clientItfName)
unbindFc in interface org.objectweb.fractal.api.control.BindingController
public void changeCountChanged(Component component,
long changeCount)
ConfigurationListener
changeCountChanged in interface ConfigurationListenerchangeCount - the new change count of the configuration.public void rootComponentChanged(Component oldValue)
ConfigurationListener
rootComponentChanged in interface ConfigurationListeneroldValue - the old root component of the configuration.
public void nameChanged(Component component,
java.lang.String oldValue)
ConfigurationListener
nameChanged in interface ConfigurationListenercomponent - the component whose name has changed.oldValue - the old name of the component.
public void typeChanged(Component component,
java.lang.String oldValue)
ConfigurationListener
typeChanged in interface ConfigurationListenercomponent - the component whose type has changed.oldValue - the old type of the component.
public void implementationChanged(Component component,
java.lang.String oldValue)
ConfigurationListener
implementationChanged in interface ConfigurationListenercomponent - the component whose implementation has changed.oldValue - the old implementation of the component.
public void interfaceNameChanged(Interface i,
java.lang.String oldValue)
ConfigurationListener
interfaceNameChanged in interface ConfigurationListeneri - the interface whose name has changed.oldValue - the old name of the interface.
public void interfaceSignatureChanged(Interface i,
java.lang.String oldValue)
ConfigurationListener
interfaceSignatureChanged in interface ConfigurationListeneri - the interface whose signature has changed.oldValue - the old signature of the interface.
public void interfaceContingencyChanged(Interface i,
boolean oldValue)
ConfigurationListener
interfaceContingencyChanged in interface ConfigurationListeneri - the interface whose contingency has changed.oldValue - the old contingency of the interface.
public void interfaceCardinalityChanged(Interface i,
boolean oldValue)
ConfigurationListener
interfaceCardinalityChanged in interface ConfigurationListeneri - the interface whose cardinality has changed.oldValue - the old cardinality of the interface.
public void clientInterfaceAdded(Component component,
ClientInterface i,
int index)
ConfigurationListener
clientInterfaceAdded in interface ConfigurationListenercomponent - the component into which the new interface has been added.i - the interface that has been added.index - the index of this interface in the client interface list of
the component.
public void clientInterfaceRemoved(Component component,
ClientInterface i,
int index)
ConfigurationListener
clientInterfaceRemoved in interface ConfigurationListenercomponent - the component from which the interface has been removed.i - the interface that has been removed.index - the index of this interface in the client interface list of
the component.
public void serverInterfaceAdded(Component component,
ServerInterface i,
int index)
ConfigurationListener
serverInterfaceAdded in interface ConfigurationListenercomponent - the component into which the new interface has been added.i - the interface that has been added.index - the index of this interface in the server interface list of
the component.
public void serverInterfaceRemoved(Component component,
ServerInterface i,
int index)
ConfigurationListener
serverInterfaceRemoved in interface ConfigurationListenercomponent - the component from which the interface has been removed.i - the interface that has been removed.index - the index of this interface in the server interface list of
the component.
public void interfaceBound(ClientInterface citf,
ServerInterface sitf)
ConfigurationListener
interfaceBound in interface ConfigurationListenercitf - the client interface that has been bound.sitf - the server interface to which it has been bound.
public void interfaceRebound(ClientInterface citf,
ServerInterface oldSitf)
ConfigurationListener
interfaceRebound in interface ConfigurationListenercitf - the client interface that has been rebound.oldSitf - the server interface to which it was bound.
public void interfaceUnbound(ClientInterface citf,
ServerInterface sitf)
ConfigurationListener
interfaceUnbound in interface ConfigurationListenercitf - the client interface that has been unbound.sitf - the server interface to which it was bound.
public void attributeControllerChanged(Component component,
java.lang.String oldValue)
ConfigurationListener
attributeControllerChanged in interface ConfigurationListenercomponent - the component whose attribute controller has changed.oldValue - the old attribute controller of the component.
public void attributeChanged(Component component,
java.lang.String attributeName,
java.lang.String oldValue)
ConfigurationListener
attributeChanged in interface ConfigurationListenercomponent - the component whose attribute has changed.attributeName - the name of the attribute whose value has changed.oldValue - the old value of the attribute.
public void templateControllerDescriptorChanged(Component component,
java.lang.String oldValue)
ConfigurationListener
templateControllerDescriptorChanged in interface ConfigurationListenercomponent - the component whose template contoller descriptor has
changed.oldValue - the old value of the template controller descriptor.
public void componentControllerDescriptorChanged(Component component,
java.lang.String oldValue)
ConfigurationListener
componentControllerDescriptorChanged in interface ConfigurationListenercomponent - the component whose component contoller descriptor has
changed.oldValue - the old value of the component controller descriptor.
public void subComponentAdded(Component parent,
Component child,
int index)
ConfigurationListener
subComponentAdded in interface ConfigurationListenerparent - the component into which the sub component has been added.child - the sub component that has been added.index - the index of this sub component in the sub component list of
the parent component.
public void subComponentRemoved(Component parent,
Component child,
int index)
ConfigurationListener
subComponentRemoved in interface ConfigurationListenerparent - the component from which the sub component has been removed.child - the sub component that has been removed.index - the index of this sub component in the sub component list of
the parent component.public void setVisible(boolean visible)
setVisible in interface org.objectweb.fractal.swing.ComponentItf
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||