aminePlatform.guis.ontologyKBDrawing
Class OntologyKBDrawContainer

java.lang.Object
  extended byjava.awt.Component
      extended byjava.awt.Container
          extended byjavax.swing.JComponent
              extended byjavax.swing.JPanel
                  extended byaminePlatform.guis.graphDrawing.GraphDrawContainer
                      extended byaminePlatform.guis.ontologyKBDrawing.OntologyKBDrawContainer
All Implemented Interfaces:
javax.accessibility.Accessible, AmineConstants, java.awt.image.ImageObserver, java.awt.MenuContainer, java.io.Serializable

public class OntologyKBDrawContainer
extends GraphDrawContainer
implements AmineConstants

Title : OntologyDrawContainer

Description : OntologyDrawContainer extends GraphDrawContainer:

(1) redefines some inherited methods

(2) defines new methods

While GraphDrawPanel is part of GraphDrawContainer, OntologyDrawPanel is part of OntologyDrawContainer

Copyright : Copyright (c) Adil KABBAJ 2004-2009

See Also:
Serialized Form

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
(package private)  javax.swing.plaf.basic.BasicComboBoxEditor bscCbBxEdtr
           
(package private)  javax.swing.plaf.basic.BasicComboBoxEditor bscCbBxEdtr2
           
(package private)  javax.swing.JButton btAbduction
           
(package private)  javax.swing.JButton btAnalogy
           
(package private)  javax.swing.JButton btClassification
           
(package private)  javax.swing.JButton btDeduction
           
(package private)  javax.swing.JButton btGeneralization
           
(package private)  javax.swing.JButton btInformationRetrieval
           
 LanguagesComboBox cboLanguage
           
 javax.swing.JComboBox cbozoom
           
(package private)  Identifier currentLanguage
           
(package private) static java.awt.Font fontTxtFldBold
           
 javax.swing.ImageIcon iconCSRule
           
 javax.swing.ImageIcon iconIndividu
           
 javax.swing.ImageIcon iconRelationType
           
 javax.swing.ImageIcon iconSituation
           
 javax.swing.ImageIcon ImgFound
           
 IntegrateCSRuleFrame integrateCSRuleFrame
           
 IntegrateDefinitionFrame integrateDefinitionFrame
           
 IntegrateFrame integrateFrame
           
 IntegrateSituationFrame integrateSituationFrame
           
 MemoryBasedInferencesFrame memoryBasedInferencesFrame
           
(package private)  Ontology ontology
           
 OntologyKBGUIFrame ontologyGUIFrame
           
 javax.swing.JLabel PictFound
           
 javax.swing.JComboBox txtGraphHeight
           
 
Fields inherited from class aminePlatform.guis.graphDrawing.GraphDrawContainer
borderLayout, btnNewEdge, btnNewNode, btnNormalCursor, btnRearrange, btnTextCursor, btnZoomIn, btnZoomOut, currentLexicon, graphDrawPanel, GroupeBoite, iconNewEdge, iconNewNode, iconNormalCursor, iconRearrange, iconTextCursor, iconZoomIn, iconZoomOut, jsp, Tlbar
 
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 aminePlatform.util.AmineConstants
ANALOGY, B_ASSIGN, B_DSPLY_WT_DELAY, B_DSPLY_WTT_DELAY, B_TRIGGER, B_WTT_DSPLY, BLOCK_BACKWARD_PROPAGATION, BLOCK_FORWARD_PROPAGATION, CANON, CGIF, CGRAPHIC, CHECK_PRECONDITIONS, COMPARE, COMPOSED_GOAL, CONCEPT_TYPE_IDENT, CONTEXT, COVERED_BY, CPLTE_CONTRACT, DEFINITION, EQ_OR_MORE_SPCFQ, EQUAL, EXPAND, FALSE_FOCUS_LIST, FUNCTIONAL, GENERALISE, GENERALIZE, HAVE_AN_INTERSECTION, ID_ADD, ID_DIV, ID_EQ, ID_INF, ID_IS, ID_MESSAGE, ID_MUL, ID_NOT, ID_NULL, ID_OPER_AND, ID_OPER_OR, ID_SUB, ID_SUP, IN_ACTIVATION, IN_MODE, IN_MODE2, INDIVIDUAL, INDIVIDUAL_IDENT, INTEGRATED, IS_CANONIC, KEY_GLOBAL_RULE, LC_ADD, LC_AMINE_BOOLEAN, LC_AMINE_DOUBLE, LC_AMINE_INTEGER, LC_AND, LC_BOOLEAN, LC_CG, LC_CLOSE_BRKT, LC_CLOSE_PARENT, LC_CLOSE_SET, LC_COMMA, LC_COMMA_SEMI, LC_CONCEPT, LC_CONSTRUCTOR, LC_CS, LC_CUT, LC_DIFF, LC_DIV, LC_DOUBLE, LC_DSBL_BKWRD_PRPGTN, LC_DSBL_FRWRD_PRPGTN, LC_EOF, LC_EQ, LC_FOUR_POINTS, LC_IDENTIFIER, LC_IF, LC_INF, LC_INTEGER, LC_INTEROG, LC_IS, LC_JAVA_OBJECT, LC_LEFT_ARROW, LC_LIST, LC_NULL, LC_OPEN_BRKT, LC_OPEN_PARENT, LC_OPEN_SET, LC_OPER_AND, LC_OPER_OR, LC_POINT, LC_RELATION, LC_RGHT_ARROW, LC_SEMI_COMMA, LC_SET, LC_STAR, LC_STATE, LC_STRING, LC_SUB, LC_SUP, LC_TERM, LC_TWO_POINTS, LC_VAR_LIST_CONSTRUCTOR, LC_VARIABLE, LF, MAXIMAL_JOIN, MORE_GENERAL, MORE_SPECIFIC, NOTHING_TO_INTEGRATE, OPERS_WITH_RSLT, OUT_MODE, OUT_MODE2, PARTIAL_CONTRACT, PARTIAL_SUBSUME, PRJCT_OPERS, PROJECT, READ, READ_SENTENCE, RELATION_TYPE_IDENT, S_AND, S_BOOLEAN, S_CG, S_CLOSE_BRKT, S_CLOSE_PARENT, S_CLOSE_SET, S_COMMA, S_CONCEPT, S_CONSTRUCTOR, S_CUT, S_DIFF, S_DOUBLE, S_EOF, S_EQUAL, S_EXPAND, S_FALSE, S_FOUR_POINTS, S_GENERALISE, S_GENERALIZE, S_IDENTIFIER, S_IF, S_INTEGER, S_INTEROG, S_IS, S_IS_CANONIC, S_LEFT_ARROW, S_LIST, S_MAXIMAL_JOIN, S_OPEN_BRKT, S_OPEN_PARENT, S_OPEN_SET, S_POINT, S_RGHT_ARROW, S_SEMI_COMMA, S_SOURCE, S_SPECIALIZE, S_STATE, S_STRING, S_SUBSUME, S_SUBSUME_WITH_RESULT, S_SUPER, S_TARGET, S_TERM, S_THIS, S_TRUE, S_TWO_POINTS, S_UNIFY, S_VARIABLE, SITUATION, SPECIALIZE, STEADY, SUBSUME, SUBSUME_WITH_RSLT, TRIGGER, UNCOMPARABLE, UNIFY, VAR_SUPER, WAIT_ASSIGNMENT, WAIT_END_OF_ASSIGNMENT, WAIT_PRECONDITIONS, WAIT_VALUE
 
Fields inherited from interface java.awt.image.ImageObserver
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH
 
Constructor Summary
OntologyKBDrawContainer(OntologyKBGUIFrame ontologyGUIFrame, VisualGraph visualGraph, boolean isViewPanel)
           
 
Method Summary
(package private)  void addBrowserView()
           
 void addGraphDrawPanel()
           
 void clearVisualGraph()
           
 void CollapseInView()
           
(package private)  void doAbduction()
           
(package private)  void doAnalogy()
           
(package private)  void doDeduction()
           
(package private)  void doIntegration(int i)
           
(package private)  void editSynonyms()
           
 void ExpandInView()
           
 void Find(java.lang.String identifier)
           
 boolean isBrowser()
           
 boolean isViewMode()
           
(package private)  boolean oneFather(Identifier ident)
           
 void SetBrowser(boolean isbrowser)
           
 void SetCursorMode(int mode)
           
 void setCursorToCSRule()
          Set the cursor for the current GraphDrawPanel to Mode New CSRule
 void setCursorToIndividu()
          Set the cursor for the current GraphDrawPanel to Mode New Individu
 void setCursorToModeBrowse()
          Set the cursor for the current GraphDrawPanel to Mode Browser
 void setCursorToModeCollapse()
          Set the cursor for the current GraphDrawPanel to Mode Collapse
 void setCursorToModeExpand()
          Set the cursor for the current GraphDrawPanel to Mode Expand
 void setCursorToRelationConcept()
          Set the cursor for the current GraphDrawPanel to Mode New Relation Concept
 void setCursorToSituation()
          Set the cursor for the current GraphDrawPanel to Mode New Situation
 void setCursorToTypeConcept()
          Set the cursor for the current GraphDrawPanel to Mode New Type Concept
 void setElemsInTxtFldFind()
           
(package private)  void setGraphHeight(java.lang.String sInt)
           
(package private)  void setGraphHeightFromEditor(java.awt.event.KeyEvent k)
           
 void setLexicon(Lexicon lexicon)
           
 void setOntology(Ontology ontology)
           
 void SetViewMode(boolean isViewMode)
           
 void setVisualGraph(VisualGraph visualGraph)
           
(package private)  void setZommFromEditor(java.awt.event.KeyEvent k)
           
 void setZoom()
           
 void toBrowser()
           
 void updateCurrentLexicon()
           
 void updateCurrentLexicon(Identifier language, java.lang.Object SelectedItem)
           
 
Methods inherited from class aminePlatform.guis.graphDrawing.GraphDrawContainer
getGraphDrawPanel, getGraphDrawPanel, updatePanel
 
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, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

fontTxtFldBold

static final java.awt.Font fontTxtFldBold

iconSituation

public javax.swing.ImageIcon iconSituation

iconCSRule

public javax.swing.ImageIcon iconCSRule

iconIndividu

public javax.swing.ImageIcon iconIndividu

iconRelationType

public javax.swing.ImageIcon iconRelationType

cbozoom

public javax.swing.JComboBox cbozoom

bscCbBxEdtr

javax.swing.plaf.basic.BasicComboBoxEditor bscCbBxEdtr

cboLanguage

public LanguagesComboBox cboLanguage

txtGraphHeight

public javax.swing.JComboBox txtGraphHeight

bscCbBxEdtr2

javax.swing.plaf.basic.BasicComboBoxEditor bscCbBxEdtr2

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

ImgFound

public javax.swing.ImageIcon ImgFound

PictFound

public javax.swing.JLabel PictFound

currentLanguage

Identifier currentLanguage

ontology

Ontology ontology

ontologyGUIFrame

public OntologyKBGUIFrame ontologyGUIFrame

integrateFrame

public IntegrateFrame integrateFrame

integrateDefinitionFrame

public IntegrateDefinitionFrame integrateDefinitionFrame

integrateSituationFrame

public IntegrateSituationFrame integrateSituationFrame

integrateCSRuleFrame

public IntegrateCSRuleFrame integrateCSRuleFrame

memoryBasedInferencesFrame

public MemoryBasedInferencesFrame memoryBasedInferencesFrame
Constructor Detail

OntologyKBDrawContainer

public OntologyKBDrawContainer(OntologyKBGUIFrame ontologyGUIFrame,
                               VisualGraph visualGraph,
                               boolean isViewPanel)
Method Detail

addGraphDrawPanel

public void addGraphDrawPanel()
Overrides:
addGraphDrawPanel in class GraphDrawContainer

setZoom

public void setZoom()

setZommFromEditor

void setZommFromEditor(java.awt.event.KeyEvent k)

setGraphHeightFromEditor

void setGraphHeightFromEditor(java.awt.event.KeyEvent k)

setGraphHeight

void setGraphHeight(java.lang.String sInt)

setVisualGraph

public void setVisualGraph(VisualGraph visualGraph)

doIntegration

void doIntegration(int i)

doDeduction

void doDeduction()

doAbduction

void doAbduction()

doAnalogy

void doAnalogy()

updateCurrentLexicon

public void updateCurrentLexicon()

updateCurrentLexicon

public void updateCurrentLexicon(Identifier language,
                                 java.lang.Object SelectedItem)

setElemsInTxtFldFind

public void setElemsInTxtFldFind()

oneFather

boolean oneFather(Identifier ident)

isBrowser

public boolean isBrowser()

SetBrowser

public void SetBrowser(boolean isbrowser)

isViewMode

public boolean isViewMode()

SetViewMode

public void SetViewMode(boolean isViewMode)

Find

public void Find(java.lang.String identifier)

clearVisualGraph

public void clearVisualGraph()

setOntology

public void setOntology(Ontology ontology)

setLexicon

public void setLexicon(Lexicon lexicon)

setCursorToModeBrowse

public void setCursorToModeBrowse()
Set the cursor for the current GraphDrawPanel to Mode Browser


setCursorToModeExpand

public void setCursorToModeExpand()
Set the cursor for the current GraphDrawPanel to Mode Expand


setCursorToModeCollapse

public void setCursorToModeCollapse()
Set the cursor for the current GraphDrawPanel to Mode Collapse


setCursorToTypeConcept

public void setCursorToTypeConcept()
Set the cursor for the current GraphDrawPanel to Mode New Type Concept


setCursorToRelationConcept

public void setCursorToRelationConcept()
Set the cursor for the current GraphDrawPanel to Mode New Relation Concept


setCursorToIndividu

public void setCursorToIndividu()
Set the cursor for the current GraphDrawPanel to Mode New Individu


setCursorToSituation

public void setCursorToSituation()
Set the cursor for the current GraphDrawPanel to Mode New Situation


setCursorToCSRule

public void setCursorToCSRule()
Set the cursor for the current GraphDrawPanel to Mode New CSRule


SetCursorMode

public void SetCursorMode(int mode)

addBrowserView

void addBrowserView()

toBrowser

public void toBrowser()

ExpandInView

public void ExpandInView()

CollapseInView

public void CollapseInView()

editSynonyms

void editSynonyms()