public class DFBrowserPanel
extends javax.swing.JPanel
implements jadex.base.gui.componentviewer.IServiceViewerPanel
javax.swing.JPanel.AccessibleJPanel
javax.swing.JComponent.AccessibleJComponent
Modifier and Type | Field and Description |
---|---|
protected DFComponentTable |
component_table
The component table.
|
protected int |
defrefresh
The refresh delay.
|
protected jadex.bridge.service.types.df.IDF |
df
The df service.
|
protected static javax.swing.UIDefaults |
icons
The image icons.
|
protected jadex.bridge.service.types.df.IDFComponentDescription[] |
old_ads
The old component descriptions.
|
protected javax.swing.JRadioButton[] |
rb_refresh
The refresh selectzion buttons.
|
protected javax.swing.JCheckBox |
remotecb
The remote checkbox.
|
protected ServiceDescriptionPanel |
service_panel
The service panel.
|
protected DFServiceTable |
service_table
The service table.
|
protected javax.swing.JSplitPane |
split2
The second split pane.
|
protected javax.swing.JSplitPane |
split3
The third split pane.
|
protected javax.swing.Timer |
timer
The refresh timer.
|
listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW
accessibleContext, BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT
Constructor and Description |
---|
DFBrowserPanel()
Create a service panel
|
Modifier and Type | Method and Description |
---|---|
javax.swing.JComponent |
getComponent()
Get the component.
|
java.lang.String |
getId()
The id used for mapping properties.
|
jadex.commons.future.IFuture<jadex.commons.Properties> |
getProperties()
Advices the panel provide its setting as properties (if any).
|
jadex.commons.future.IFuture<java.lang.Void> |
init(jadex.base.gui.plugin.IControlCenter jcc,
jadex.bridge.service.IService service)
Called once to initialize the panel.
|
protected void |
refresh()
Refresh the view.
|
protected void |
removeComponentRegistration(jadex.bridge.service.types.df.IDFComponentDescription description) |
jadex.commons.future.IFuture<java.lang.Void> |
setProperties(jadex.commons.Properties ps)
Advices the the panel to restore its properties from the argument
|
jadex.commons.future.IFuture<java.lang.Void> |
shutdown()
Informs the plugin that it should stop all its computation
|
void |
updateDetailedService()
Update the detail view of services.
|
void |
updateServices(jadex.bridge.service.types.df.IDFComponentDescription[] ads)
Update the services panel.
|
getAccessibleContext, getUI, getUIClassID, paramString, setUI, updateUI
addAncestorListener, addNotify, addVetoableChangeListener, computeVisibleRect, contains, createToolTip, disable, enable, firePropertyChange, firePropertyChange, firePropertyChange, fireVetoableChange, getActionForKeyStroke, getActionMap, getAlignmentX, getAlignmentY, getAncestorListeners, getAutoscrolls, getBaseline, getBaselineResizeBehavior, getBorder, getBounds, getClientProperty, getComponentGraphics, getComponentPopupMenu, getConditionForKeyStroke, getDebugGraphicsOptions, getDefaultLocale, getFontMetrics, getGraphics, getHeight, getInheritsPopupMenu, getInputMap, getInputMap, getInputVerifier, getInsets, getInsets, getListeners, getLocation, getMaximumSize, getMinimumSize, getNextFocusableComponent, getPopupLocation, getPreferredSize, getRegisteredKeyStrokes, getRootPane, getSize, getToolTipLocation, getToolTipText, getToolTipText, getTopLevelAncestor, getTransferHandler, getVerifyInputWhenFocusTarget, getVetoableChangeListeners, getVisibleRect, getWidth, getX, getY, grabFocus, hide, isDoubleBuffered, isLightweightComponent, isManagingFocus, isOpaque, isOptimizedDrawingEnabled, isPaintingForPrint, isPaintingOrigin, isPaintingTile, isRequestFocusEnabled, isValidateRoot, paint, paintBorder, paintChildren, paintComponent, paintImmediately, paintImmediately, print, printAll, printBorder, printChildren, printComponent, processComponentKeyEvent, processKeyBinding, processKeyEvent, processMouseEvent, processMouseMotionEvent, putClientProperty, registerKeyboardAction, registerKeyboardAction, removeAncestorListener, removeNotify, removeVetoableChangeListener, repaint, repaint, requestDefaultFocus, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, resetKeyboardActions, reshape, revalidate, scrollRectToVisible, setActionMap, setAlignmentX, setAlignmentY, setAutoscrolls, setBackground, setBorder, setComponentPopupMenu, setDebugGraphicsOptions, setDefaultLocale, setDoubleBuffered, setEnabled, setFocusTraversalKeys, setFont, setForeground, setInheritsPopupMenu, setInputMap, setInputVerifier, setMaximumSize, setMinimumSize, setNextFocusableComponent, setOpaque, setPreferredSize, setRequestFocusEnabled, setToolTipText, setTransferHandler, setUI, setVerifyInputWhenFocusTarget, setVisible, unregisterKeyboardAction, update
add, add, add, add, add, addContainerListener, addImpl, addPropertyChangeListener, addPropertyChangeListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getComponentZOrder, getContainerListeners, getFocusTraversalKeys, getFocusTraversalPolicy, getLayout, getMousePosition, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusCycleRoot, isFocusTraversalPolicyProvider, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paintComponents, preferredSize, printComponents, processContainerEvent, processEvent, remove, remove, removeAll, removeContainerListener, setComponentZOrder, setFocusCycleRoot, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, setLayout, transferFocusDownCycle, validate, validateTree
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, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getBackground, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getForeground, getGraphicsConfiguration, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocale, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMousePosition, getMouseWheelListeners, getName, getParent, getPeer, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getToolkit, getTreeLock, gotFocus, handleEvent, hasFocus, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isEnabled, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isMaximumSizeSet, isMinimumSizeSet, isPreferredSizeSet, 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, processMouseWheelEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, resize, resize, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setFocusable, setFocusTraversalKeysEnabled, setIgnoreRepaint, setLocale, setLocation, setLocation, setName, setSize, setSize, show, show, size, toString, transferFocus, transferFocusBackward, transferFocusUpCycle
protected static final javax.swing.UIDefaults icons
protected jadex.bridge.service.types.df.IDF df
protected DFComponentTable component_table
protected DFServiceTable service_table
protected ServiceDescriptionPanel service_panel
protected javax.swing.JSplitPane split2
protected javax.swing.JSplitPane split3
protected jadex.bridge.service.types.df.IDFComponentDescription[] old_ads
protected javax.swing.Timer timer
protected int defrefresh
protected javax.swing.JRadioButton[] rb_refresh
protected javax.swing.JCheckBox remotecb
public jadex.commons.future.IFuture<java.lang.Void> init(jadex.base.gui.plugin.IControlCenter jcc, jadex.bridge.service.IService service)
init
in interface jadex.base.gui.componentviewer.IServiceViewerPanel
jcc
- The jcc.service
- The service.public jadex.commons.future.IFuture<java.lang.Void> shutdown()
shutdown
in interface jadex.base.gui.componentviewer.IAbstractViewerPanel
public javax.swing.JComponent getComponent()
getComponent
in interface jadex.base.gui.componentviewer.IAbstractViewerPanel
public java.lang.String getId()
getId
in interface jadex.base.gui.componentviewer.IAbstractViewerPanel
public jadex.commons.future.IFuture<java.lang.Void> setProperties(jadex.commons.Properties ps)
setProperties
in interface jadex.commons.IPropertiesProvider
public jadex.commons.future.IFuture<jadex.commons.Properties> getProperties()
getProperties
in interface jadex.commons.IPropertiesProvider
protected void refresh()
public void updateServices(jadex.bridge.service.types.df.IDFComponentDescription[] ads)
ads
- The component descriptions.public void updateDetailedService()
protected void removeComponentRegistration(jadex.bridge.service.types.df.IDFComponentDescription description)
description
-