aminePlatform.guis.ontologyKBGUI
Class OntologyKBTreePanel
java.lang.Object
java.awt.Component
java.awt.Container
javax.swing.JComponent
javax.swing.JPanel
aminePlatform.guis.ontologyKBGUI.OntologyKBTreePanel
- All Implemented Interfaces:
- javax.accessibility.Accessible, java.awt.image.ImageObserver, java.awt.MenuContainer, OntologyKBPanel, java.io.Serializable
- public class OntologyKBTreePanel
- extends javax.swing.JPanel
- implements OntologyKBPanel
Title: guis.lexiconsOntologyGUI.OntologyTreePanel class
Description:
Copyright : Copyright (c) Adil KABBAJ 2004-2009
- See Also:
- Serialized Form
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 |
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.Container |
|
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 |
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, 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, getClass, hashCode, notify, notifyAll, wait, wait, wait |
ASCENDING
public static final int ASCENDING
- See Also:
- Constant Field Values
DESCENDING
public static final int DESCENDING
- See Also:
- Constant Field Values
fontTxtFld
public static final java.awt.Font fontTxtFld
fontBoldTxtFld
public static final java.awt.Font fontBoldTxtFld
fontItalicTxtFld
public static final java.awt.Font fontItalicTxtFld
fontItalicBoldTxtFld
public static final java.awt.Font fontItalicBoldTxtFld
ontology
public Ontology ontology
rootTreeNode
OntologyKBTreePanel.TreeOntNode rootTreeNode
integratedNodesList
public static AmineList integratedNodesList
ontologyGUIFrame
public OntologyKBGUIFrame ontologyGUIFrame
currentLexicon
public Lexicon currentLexicon
currentLanguage
Identifier currentLanguage
visitedNodes
java.util.ArrayList visitedNodes
visitedTreeNodes
java.util.ArrayList visitedTreeNodes
ontTreeModel
public javax.swing.tree.DefaultTreeModel ontTreeModel
tree
javax.swing.JTree tree
integrateFrame
public IntegrateFrame integrateFrame
integrateDefinitionFrame
public IntegrateDefinitionFrame integrateDefinitionFrame
integrateSituationFrame
public IntegrateSituationFrame integrateSituationFrame
integrateCSRuleFrame
public IntegrateCSRuleFrame integrateCSRuleFrame
memoryBasedInferencesFrame
public MemoryBasedInferencesFrame memoryBasedInferencesFrame
hmpSitOrRules
java.util.HashMap hmpSitOrRules
nbrSitOrRules
int nbrSitOrRules
hmpContexts
java.util.HashMap hmpContexts
nbrContexts
int nbrContexts
hmpMetaphors
java.util.HashMap hmpMetaphors
nbrMetaphors
int nbrMetaphors
selectionHistory
java.util.ArrayList selectionHistory
selectionHistoryIndex
int selectionHistoryIndex
treeSelectionListener
javax.swing.event.TreeSelectionListener treeSelectionListener
typeHierarchy
javax.swing.JScrollPane typeHierarchy
menuBarFind
javax.swing.JPanel menuBarFind
bckWrdBt
javax.swing.JLabel bckWrdBt
isBckWrdActv
boolean isBckWrdActv
forWrdBt
javax.swing.JLabel forWrdBt
isForWrdActv
boolean isForWrdActv
ignoreSelectionHistory
boolean ignoreSelectionHistory
dynamicOntologyCall
public boolean dynamicOntologyCall
j
int j
labelLanguage
javax.swing.JLabel labelLanguage
lstLanguage
LanguagesComboBox lstLanguage
labelIdent
javax.swing.JLabel labelIdent
txtFldIdentToFind
TextFieldPopup txtFldIdentToFind
expandAllBt
javax.swing.JButton expandAllBt
btClassification
javax.swing.JButton btClassification
btGeneralization
javax.swing.JButton btGeneralization
btInformationRetrieval
javax.swing.JButton btInformationRetrieval
btDeduction
javax.swing.JButton btDeduction
btAbduction
javax.swing.JButton btAbduction
btAnalogy
javax.swing.JButton btAnalogy
inputDlgTxtFld
TextFieldPopup inputDlgTxtFld
txtFldInputDialog
TxtFldInputDialog txtFldInputDialog
popup
javax.swing.JPopupMenu popup
insertMenu
javax.swing.JMenu insertMenu
insertNewCSMenu
javax.swing.JMenu insertNewCSMenu
insertNewLinkMenu
javax.swing.JMenu insertNewLinkMenu
removeMenu
javax.swing.JMenu removeMenu
findMnItem
javax.swing.JMenuItem findMnItem
editMnItem
javax.swing.JMenuItem editMnItem
showContentMnItem
javax.swing.JMenuItem showContentMnItem
synMnItem
javax.swing.JMenuItem synMnItem
supTypMnItem
javax.swing.JMenuItem supTypMnItem
typeInsMnItem
javax.swing.JMenuItem typeInsMnItem
ruleInsMnItem
javax.swing.JMenuItem ruleInsMnItem
sitInsMnItem
javax.swing.JMenuItem sitInsMnItem
indInsMnItem
javax.swing.JMenuItem indInsMnItem
lnk2TypeInsMnItem
javax.swing.JMenuItem lnk2TypeInsMnItem
lnk2IndInsMnItem
javax.swing.JMenuItem lnk2IndInsMnItem
lnk2RuleInsMnItem
javax.swing.JMenuItem lnk2RuleInsMnItem
lnk2SitInsMnItem
javax.swing.JMenuItem lnk2SitInsMnItem
linkRemMnItem
javax.swing.JMenuItem linkRemMnItem
nodeRemMnItem
javax.swing.JMenuItem nodeRemMnItem
linkRemBisMnItem
javax.swing.JMenuItem linkRemBisMnItem
gotoFirstOccurMnItem
javax.swing.JMenuItem gotoFirstOccurMnItem
nextMnItem
javax.swing.JMenuItem nextMnItem
nextAction
java.awt.event.ActionListener nextAction
supTypAction
java.awt.event.ActionListener supTypAction
linkRemAction
java.awt.event.ActionListener linkRemAction
nodeRemAction
java.awt.event.ActionListener nodeRemAction
csInsertAction
java.awt.event.ActionListener csInsertAction
findAction
java.awt.event.ActionListener findAction
editAction
java.awt.event.ActionListener editAction
showContentAction
java.awt.event.ActionListener showContentAction
synAction
java.awt.event.ActionListener synAction
gotoFirstOccurAction
java.awt.event.ActionListener gotoFirstOccurAction
OntologyKBTreePanel
public OntologyKBTreePanel(Ontology ontology,
OntologyKBGUIFrame ontGUIFrame,
boolean dynamicOntologyCall)
finalize
public void finalize()
updateTree
public void updateTree()
getCSOfNode
public CS getCSOfNode(java.lang.Object node)
- Specified by:
getCSOfNode
in interface OntologyKBPanel
setElemsInTxtFldFind
public void setElemsInTxtFldFind()
oneFather
boolean oneFather(Identifier ident)
updateCurrentLexicon
public void updateCurrentLexicon()
updateCurrentLexicon
public void updateCurrentLexicon(Identifier language,
java.lang.Object SelectedItem)
newNodeSelected
public void newNodeSelected()
updateRenameSynMenus
void updateRenameSynMenus(boolean mode)
editSynonyms
void editSynonyms()
select
void select(OntologyKBTreePanel.TreeOntNode node)
bckWrdBt
void bckWrdBt()
forWrdBt
void forWrdBt()
findBt
void findBt()
expandAllBt
void expandAllBt()
doIntegration
void doIntegration(int i)
doDeduction
void doDeduction()
doAbduction
void doAbduction()
doAnalogy
void doAnalogy()
findNodeBis
void findNodeBis(java.lang.String idToFind)
findNode
OntologyKBTreePanel.TreeOntNode findNode(java.lang.String toFind)
showContent
boolean showContent(OntologyKBTreePanel.TreeOntNode currentTreeNode)
removeDrawAndBrowserViews
public void removeDrawAndBrowserViews(Node node)
insertDrawAndBrowserViews
public void insertDrawAndBrowserViews(Node node)
updateNodeRectDrawViews
public void updateNodeRectDrawViews(Node node,
java.lang.String newName)