|
||||||||||
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 |
JPanel.AccessibleJPanel |
Nested classes inherited from class javax.swing.JComponent |
JComponent.AccessibleJComponent |
Nested classes inherited from class java.awt.Container |
Container.AccessibleAWTContainer |
Nested classes inherited from class java.awt.Component |
Component.AccessibleAWTComponent, Component.BltBufferStrategy, Component.FlipBufferStrategy |
Field Summary | |
static String |
CONFIGURATION_BINDING
A mandatory client interface bound to a configuration
model. |
static String |
DIALOG_MODEL_BINDING
A mandatory client interface bound to a dialog model. |
static String |
DIALOG_VIEW_LISTENERS_BINDING
A collection client interface bound to the listeners of this view. |
static 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,
String attributeName,
String oldValue)
Notifies this listener that the value of an attribute has changed. |
void |
attributeControllerChanged(Component component,
String oldValue)
Notifies this listener that the attribute controller of a component has changed. |
void |
bindFc(String clientItfName,
Object serverItf)
Binds the client interface whose name is given to a server interface. |
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,
String oldValue)
Notifies this listener that the component controller descriptor of a component has changed. |
void |
implementationChanged(Component component,
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,
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,
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. |
String[] |
listFc()
Returns the names of the client interfaces of the component to which this interface belongs. |
Object |
lookupFc(String clientItfName)
Returns the interface to which the given client interface is bound. |
void |
nameChanged(Component component,
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,
String oldValue)
Notifies this listener that the template controller descriptor of a component has changed. |
void |
typeChanged(Component component,
String oldValue)
Notifies this listener that the type of a component has changed. |
void |
unbindFc(String clientItfName)
Unbinds the given client interface. |
Methods inherited from class javax.swing.JPanel |
getAccessibleContext, getUI, getUIClassID, paramString, setUI, updateUI |
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 String CONFIGURATION_BINDING
configuration
model. This is the configuration whose root component is displayed by this
view.
public static final String DIALOG_MODEL_BINDING
dialog
model.
This is the model displayed by this view.
public static final 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 String DIALOG_VIEW_LISTENERS_BINDING
listeners
of this view.
Constructor Detail |
public BasicDialogView()
BasicDialogView
component.
Method Detail |
public String[] listFc()
BindingController
listFc
in interface BindingController
public Object lookupFc(String clientItfName)
BindingController
bindFc
).
lookupFc
in interface BindingController
public void bindFc(String clientItfName, Object serverItf)
BindingController
bindFc
in interface BindingController
public void unbindFc(String clientItfName)
BindingController
unbindFc
in interface BindingController
public void changeCountChanged(Component component, long changeCount)
ConfigurationListener
changeCountChanged
in interface ConfigurationListener
changeCount
- the new change count of the configuration.public void rootComponentChanged(Component oldValue)
ConfigurationListener
rootComponentChanged
in interface ConfigurationListener
oldValue
- the old root component of the configuration.public void nameChanged(Component component, String oldValue)
ConfigurationListener
nameChanged
in interface ConfigurationListener
component
- the component whose name has changed.oldValue
- the old name of the component.public void typeChanged(Component component, String oldValue)
ConfigurationListener
typeChanged
in interface ConfigurationListener
component
- the component whose type has changed.oldValue
- the old type of the component.public void implementationChanged(Component component, String oldValue)
ConfigurationListener
implementationChanged
in interface ConfigurationListener
component
- the component whose implementation has changed.oldValue
- the old implementation of the component.public void interfaceNameChanged(Interface i, String oldValue)
ConfigurationListener
interfaceNameChanged
in interface ConfigurationListener
i
- the interface whose name has changed.oldValue
- the old name of the interface.public void interfaceSignatureChanged(Interface i, String oldValue)
ConfigurationListener
interfaceSignatureChanged
in interface ConfigurationListener
i
- the interface whose signature has changed.oldValue
- the old signature of the interface.public void interfaceContingencyChanged(Interface i, boolean oldValue)
ConfigurationListener
interfaceContingencyChanged
in interface ConfigurationListener
i
- the interface whose contingency has changed.oldValue
- the old contingency of the interface.public void interfaceCardinalityChanged(Interface i, boolean oldValue)
ConfigurationListener
interfaceCardinalityChanged
in interface ConfigurationListener
i
- 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 ConfigurationListener
component
- 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 ConfigurationListener
component
- 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 ConfigurationListener
component
- 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 ConfigurationListener
component
- 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 ConfigurationListener
citf
- 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 ConfigurationListener
citf
- 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 ConfigurationListener
citf
- the client interface that has been unbound.sitf
- the server interface to which it was bound.public void attributeControllerChanged(Component component, String oldValue)
ConfigurationListener
attributeControllerChanged
in interface ConfigurationListener
component
- the component whose attribute controller has changed.oldValue
- the old attribute controller of the component.public void attributeChanged(Component component, String attributeName, String oldValue)
ConfigurationListener
attributeChanged
in interface ConfigurationListener
component
- 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, String oldValue)
ConfigurationListener
templateControllerDescriptorChanged
in interface ConfigurationListener
component
- the component whose template contoller descriptor has
changed.oldValue
- the old value of the template controller descriptor.public void componentControllerDescriptorChanged(Component component, String oldValue)
ConfigurationListener
componentControllerDescriptorChanged
in interface ConfigurationListener
component
- 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 ConfigurationListener
parent
- 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 ConfigurationListener
parent
- 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 |