public class Gaze
extends gate.creole.AbstractVisualResource
implements gate.creole.gazetteer.GazetteerListener, gate.creole.ontology.OntologyModificationListener
JPanel.AccessibleJPanelJComponent.AccessibleJComponentContainer.AccessibleAWTContainerComponent.AccessibleAWTComponent, Component.BaselineResizeBehavior, Component.BltBufferStrategy, Component.FlipBufferStrategyaccessibleContext, listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOWBOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENTABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH| Constructor and Description |
|---|
Gaze() |
| Modifier and Type | Method and Description |
|---|---|
gate.Resource |
init() |
void |
ontologyModified(gate.creole.ontology.Ontology ontology,
gate.creole.ontology.OResource resource,
int eventType) |
void |
ontologyReset(gate.creole.ontology.Ontology ontology) |
void |
processGateEvent(gate.event.GateEvent e) |
void |
processGazetteerEvent(gate.creole.gazetteer.GazetteerEvent e) |
void |
resourceAdded(gate.creole.ontology.Ontology ontology,
gate.creole.ontology.OResource resource) |
void |
resourcePropertyValueChanged(gate.creole.ontology.Ontology ontology,
gate.creole.ontology.OResource resource,
gate.creole.ontology.RDFProperty property,
Object value,
int eventType) |
void |
resourceRelationChanged(gate.creole.ontology.Ontology ontology,
gate.creole.ontology.OResource resource1,
gate.creole.ontology.OResource resouce2,
int eventType) |
void |
resourcesRemoved(gate.creole.ontology.Ontology ontology,
String[] resourcesURIs) |
void |
setTarget(Object targeta)
Called by the GUI when this viewer/editor has to initialise itself for a
specific object.
|
static void |
synchronizeTreeExpansion(JTree orig,
JTree mirror)
Synchronizes the expansion of the given trees.
|
cleanup, getFeatures, getInitParameterValues, getParameterValue, setFeatures, setHandle, setParameterValue, setParameterValuesgetAccessibleContext, getUI, getUIClassID, paramString, setUI, updateUIaddAncestorListener, 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, updateadd, 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, validateTreeaction, 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, transferFocusUpCyclepublic static final int SIZE_X
public static final int SIZE_Y
public static final int POSITION_X
public static final int POSITION_Y
protected JPopupMenu linearPopup
protected JMenuItem linearPopupEdit
protected JMenuItem linearPopupInsert
protected JMenuItem linearPopupRemove
protected JMenuBar mainMenu
protected JMenu fileMenu
protected JMenu viewMenu
protected JSplitPane baseSplit
protected JSplitPane mappingSplit
protected JSplitPane linearSplit
protected JPanel linearPanel
protected JPanel listPanel
protected JPanel mappingPanel
protected JPanel ontologyPanel
protected JLabel linearLabel
protected GridBagLayout gridBagLayout1
protected JScrollPane linearScroll
protected JToolBar linearBar
protected JButton btnLinearLoad
protected JList linearList
protected JButton btnLinearSave
protected JButton btnLinearSaveAs
protected JLabel listLabel
protected GridBagLayout gridBagLayout2
protected JToolBar listBar
protected JButton btnListLoad
protected JScrollPane listScroll
protected JButton btnListSave
protected JButton btnListSaveAs
protected GridBagLayout gridBagLayout3
protected JLabel mappingLabel
protected JToolBar mappingBar
protected JButton btnMappingLoad
protected JScrollPane mappingScroll
protected JList mappingList
protected JButton btnMappingSave
protected JButton btnMappingSaveAs
protected JLabel ontologyLabel
protected JToolBar ontologyBar
protected JButton btnOntologyLoad
protected JScrollPane ontologyScroll
protected GridBagLayout gridBagLayout4
protected JMenu menuHelp
protected JMenuItem menuAbout
protected GridBagLayout thisLayout
protected JMenu menuLinear
protected JMenuItem menuLinearLoad
protected JMenuItem menuLinearSave
protected JMenuItem menuLinearSaveAs
protected JMenu menuList
protected JMenuItem menuListLoad
protected JMenuItem menuListSave
protected JMenuItem menuListSaveAs
protected JMenu menuMapping
protected JMenuItem menuMappingLoad
protected JMenuItem menuMappingSave
protected JMenuItem menuMappingSaveAs
protected JMenu menuOntology
protected JMenuItem menuOntologyLoad
protected JMenuItem menuRefresh
protected JTree oTree
protected JTextArea listArea
protected JButton btnMappingNew
protected JButton btnLinearNew
protected JButton btnListNew
protected JMenuItem menuLinearNew
protected JMenuItem menuListNew
protected JMenuItem menuMappingNew
protected JButton btnListSaveAll
protected JMenuItem menuListSaveAll
public void setTarget(Object targeta)
AbstractVisualResource overriden method.setTarget in interface gate.VisualResourcesetTarget in class gate.creole.AbstractVisualResourcetargeta - the object (be it a Resource,
DataStore or whatever) this viewer has to displaypublic gate.Resource init()
throws gate.creole.ResourceInstantiationException
init in interface gate.Resourceinit in class gate.creole.AbstractVisualResourcegate.creole.ResourceInstantiationExceptionpublic void processGazetteerEvent(gate.creole.gazetteer.GazetteerEvent e)
processGazetteerEvent in interface gate.creole.gazetteer.GazetteerListenerpublic void processGateEvent(gate.event.GateEvent e)
public void resourceAdded(gate.creole.ontology.Ontology ontology,
gate.creole.ontology.OResource resource)
resourceAdded in interface gate.creole.ontology.OntologyModificationListenerpublic void resourcesRemoved(gate.creole.ontology.Ontology ontology,
String[] resourcesURIs)
resourcesRemoved in interface gate.creole.ontology.OntologyModificationListenerpublic void ontologyReset(gate.creole.ontology.Ontology ontology)
ontologyReset in interface gate.creole.ontology.OntologyModificationListenerpublic void resourceRelationChanged(gate.creole.ontology.Ontology ontology,
gate.creole.ontology.OResource resource1,
gate.creole.ontology.OResource resouce2,
int eventType)
resourceRelationChanged in interface gate.creole.ontology.OntologyModificationListenerpublic void resourcePropertyValueChanged(gate.creole.ontology.Ontology ontology,
gate.creole.ontology.OResource resource,
gate.creole.ontology.RDFProperty property,
Object value,
int eventType)
resourcePropertyValueChanged in interface gate.creole.ontology.OntologyModificationListenerpublic void ontologyModified(gate.creole.ontology.Ontology ontology,
gate.creole.ontology.OResource resource,
int eventType)