public class OntologyInstanceViewer
extends javax.swing.JTabbedPane
javax.swing.JTabbedPane.AccessibleJTabbedPane, javax.swing.JTabbedPane.ModelListener
javax.swing.JComponent.AccessibleJComponent
changeEvent, changeListener, model, SCROLL_TAB_LAYOUT, tabPlacement, WRAP_TAB_LAYOUT
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 |
---|
OntologyInstanceViewer(OntologyVisualizationHelper ontologyVisualisationHelper)
This is the constructor in case that nothing should be displayed (no form, no slots).
|
OntologyInstanceViewer(OntologyVisualizationHelper ontologyVisualisationHelper,
AgentStartConfiguration agentStartConfiguration,
java.lang.String currentAgentReference)
Instantiates a new ontology instance viewer.
|
OntologyInstanceViewer(OntologyVisualizationHelper ontologyVisualisationHelper,
java.lang.String[] currOntologyClassReference)
Instantiates a new ontology instance viewer.
|
Modifier and Type | Method and Description |
---|---|
java.lang.Object[] |
getConfigurationInstances()
Returns the configuration instances.
|
java.lang.Object[] |
getConfigurationInstancesCopy()
Returns the configuration instances.
|
java.lang.String[] |
getConfigurationXML()
Returns the configuration in XML.
|
java.lang.String[] |
getConfigurationXML64()
Returns the configuration as XML in a Base64 encoded form.
|
java.util.Vector<OntologyClassEditorJPanel> |
getOntologyClassEditorJPanel(int targetDataModelIndex)
Returns the OntologyClassEditorJPanel for the specified index of the current data model.
|
OntologyVisualizationHelper |
getOntologyVisualisationHelper()
Returns the current OntologyVisualisationHelper.
|
void |
save()
This method saves the current configuration.
|
void |
setAllowViewEnlargement(boolean allowEnlargement)
This method can be called to either allow or disallow the enlargement
of View to the OntologyInstanceViewer.
|
void |
setConfigurationInstances(java.lang.Object[] configurationInstances)
Sets the configuration instances of the ontology objects.
|
void |
setConfigurationXML(java.lang.String[] configurationXML)
Sets the configuration in XML.
|
void |
setConfigurationXML64(java.lang.String[] configurationXML64)
Sets the configuration in XML in a Base64 decode form.
|
void |
setJToolBar4UserFunctions(javax.swing.JToolBar jToolBar4UserFunction)
Can be used to specify a JToolBar where user functions of
a
OntologyClassEditorJPanel can be placed. |
void |
setSelectedIndex(int indexSelection) |
add, add, add, add, add, addChangeListener, addTab, addTab, addTab, createChangeListener, fireStateChanged, getAccessibleContext, getBackgroundAt, getBoundsAt, getChangeListeners, getComponentAt, getDisabledIconAt, getDisplayedMnemonicIndexAt, getForegroundAt, getIconAt, getMnemonicAt, getModel, getSelectedComponent, getSelectedIndex, getTabComponentAt, getTabCount, getTabLayoutPolicy, getTabPlacement, getTabRunCount, getTitleAt, getToolTipText, getToolTipTextAt, getUI, getUIClassID, indexAtLocation, indexOfComponent, indexOfTab, indexOfTab, indexOfTabComponent, insertTab, isEnabledAt, paramString, remove, remove, removeAll, removeChangeListener, removeTabAt, setBackgroundAt, setComponentAt, setDisabledIconAt, setDisplayedMnemonicIndexAt, setEnabledAt, setForegroundAt, setIconAt, setMnemonicAt, setModel, setSelectedComponent, setTabComponentAt, setTabLayoutPolicy, setTabPlacement, setTitleAt, setToolTipTextAt, 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, 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
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, 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
public OntologyInstanceViewer(OntologyVisualizationHelper ontologyVisualisationHelper)
ontologyVisualisationHelper
- the ontology visualisation helperpublic OntologyInstanceViewer(OntologyVisualizationHelper ontologyVisualisationHelper, AgentStartConfiguration agentStartConfiguration, java.lang.String currentAgentReference)
ontologyVisualisationHelper
- the ontology visualisation helperagentStartConfiguration
- the agent configurationcurrentAgentReference
- the current agent referencepublic OntologyInstanceViewer(OntologyVisualizationHelper ontologyVisualisationHelper, java.lang.String[] currOntologyClassReference)
ontologyVisualisationHelper
- the ontology visualisation helpercurrOntologyClassReference
- the current ontology class referencepublic OntologyVisualizationHelper getOntologyVisualisationHelper()
public void setJToolBar4UserFunctions(javax.swing.JToolBar jToolBar4UserFunction)
OntologyClassEditorJPanel
can be placed.jToolBar4UserFunction
- the new JToolBar for user functionpublic void setSelectedIndex(int indexSelection)
setSelectedIndex
in class javax.swing.JTabbedPane
public void setAllowViewEnlargement(boolean allowEnlargement)
allowEnlargement
- the new allow view enlargementpublic java.util.Vector<OntologyClassEditorJPanel> getOntologyClassEditorJPanel(int targetDataModelIndex)
targetDataModelIndex
- the target data model indexpublic void save()
public void setConfigurationXML(java.lang.String[] configurationXML)
configurationXML
- the configurationXML to setpublic java.lang.String[] getConfigurationXML()
public void setConfigurationXML64(java.lang.String[] configurationXML64)
configurationXML64
- the new configuration xm l64public java.lang.String[] getConfigurationXML64()
public void setConfigurationInstances(java.lang.Object[] configurationInstances)
configurationInstances
- the configurationInstances to setpublic java.lang.Object[] getConfigurationInstances()
public java.lang.Object[] getConfigurationInstancesCopy()