org.ceryle.ui.graph
Class OccurrenceViewer.OccurrenceView
java.lang.Object
java.awt.Component
java.awt.Container
javax.swing.JComponent
javax.swing.JPanel
org.ceryle.ui.View
org.ceryle.ui.DocumentView
org.ceryle.ui.graph.OccurrenceViewer.OccurrenceView
- All Implemented Interfaces:
- ImageObserver, MenuContainer, Serializable, EventListener, Accessible, ListDataListener, ListSelectionListener, EditView
- Enclosing class:
- OccurrenceViewer
public class OccurrenceViewer.OccurrenceView
- extends DocumentView
Extends DocumentView by limiting various features, adding a different
toolbar and button panel in the South.
- See Also:
- Serialized Form
| Fields inherited from class org.ceryle.ui.DocumentView |
autoIndex, AUX_CARD, EDITOR_CARD, LIST_CARD, m_alttools, m_container, m_doctools, m_docview, m_outerNest, m_popupmenu, m_southComponent, m_toolbar, NOTE_CARD, showNodeTitles, suspendTracking, TREE_CARD, useDragAndDrop |
| Fields inherited from class org.ceryle.ui.View |
DOCUMENT, GRAPH, isClosing, m_desktop, m_verbose, mh, NOTE, pm, PROJECT, srvs, vf, vmgr |
| Methods inherited from class org.ceryle.ui.DocumentView |
addToolbarButton, archiveCollections, changeID, checkRevisionLimits, clearNodes, closeDocument, closeDocument, closeForm, closing, colTitleMode, contentsChanged, createCollection, createCollection, createCollectionPanel, createNode, createNode, deleteCollection, deleteNode, deselectNode, differenceDialog, disableTools, docCheck, docPlink, docTidy, documentSummary, dump, duplicateNode, editCopy, editCut, editPaste, editRedo, editSelectAll, editUndo, exportCollection, exportPDB, fileClose, fileImport, fileNew, fileOpen, fileSave, find, findNext, getAltToolBar, getAuxCard, getCollectionID, getCollectionList, getContentAsDocument, getDatabaseTools, getDefaultCollection, getDocumentToolBar, getEditor, getEditorBackground, getEditorFont, getEditorLineWrap, getNIDFromList, getNIDs, getNode, getNode, getPopupMenu, getRevisionManagerDialog, getSearchTool, getSelectedResource, getTextArea, getToolBar, getType, getWikiTools, importCollection, importPDB, importPSIDocument, indexCollection, indexCollection, indexCollections, indexNodes, interpretGroovy, intervalAdded, intervalRemoved, isDatabaseVisible, isDirty, isDocument, isExtendedView, isNote, isStoredNode, isWikiToolsMaximized, matchUndoRedoState, modifyNode, modifyNode, nodeModifyPossible, nodeTitleMode, openCollection, openCollection, overrideDisable, packView, popUpWindow, refresh, reindexNodes, removeExtensions, replace, requestFocus, resetDividers, restoreCollections, saveProperties, scrollToLine, selectCollectionInList, selectNodeInList, serializeToDocumentView, serializeToDocumentView, setDatabaseToolsVisible, setDatabaseVisible, setEditable, setEditorDocument, setEditorFont, setEditorLineWrap, setEditorText, setMode, setNIDFieldFromNodeList, setSearchToolVisible, setSystemId, setTitle, setTitle, setToolBar, setToolsVisible, setWikiToolsMaximized, showDatabaseManager, showForm, showRevisionManager, showStatistics, storeOnImport, toggleDivider, valueChanged, visualizeCollections, yoi |
| Methods inherited from class org.ceryle.ui.View |
deactivate, fileSave, fileSaveAs, getDesktop, getSystemId, getTitle, getTypeName, getViewFrame, getViewManager, hasDatabase, hasEditing, hasGraph, isDocumentOrNoteView, isDocumentView, isGraphView, isNoteView, isProjectView, setViewFrame |
| Methods inherited from class javax.swing.JComponent |
addAncestorListener, addNotify, addVetoableChangeListener, computeVisibleRect, contains, createToolTip, disable, enable, firePropertyChange, firePropertyChange, firePropertyChange, fireVetoableChange, getActionForKeyStroke, getActionMap, getAlignmentX, getAlignmentY, getAncestorListeners, getAutoscrolls, 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, isDoubleBuffered, isLightweightComponent, isManagingFocus, isOpaque, isOptimizedDrawingEnabled, 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, 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 |
| Methods inherited from class java.awt.Container |
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, 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, 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, hide, 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, transferFocusUpCycle |
btn_newOccur
protected JButton btn_newOccur
btn_addOccur
protected JButton btn_addOccur
btn_remOccur
protected JButton btn_remOccur
btn_saveOccur
protected JButton btn_saveOccur
btn_form
protected JButton btn_form
btn_selectOccur
protected JCheckBox btn_selectOccur
btn_help
protected JButton btn_help
btn_save
protected JButton btn_save
btn_close
protected JButton btn_close
o_occurBox
protected JComboBox o_occurBox
m_tmlistrend
protected TopicMapObjectRenderer m_tmlistrend
OccurrenceViewer.OccurrenceView
public OccurrenceViewer.OccurrenceView(ViewFrame vf)
- Constructor for OccurrenceView with its parent ViewFrame.
setList
protected void setList()
throws TopicMapException
- Throws:
TopicMapException
composeView
protected void composeView(int type)
- Put the highest-level components together.
- Overrides:
composeView in class DocumentView
getOccurrencesBox
public JComboBox getOccurrencesBox()
- Returns the occurrences combobox.
updateOccurrenceUI
public void updateOccurrenceUI()
- Updates the UI based on the current occurrence (selected or not?).
clearList
protected void clearList()
- Clears the JComboBox list.
loadOccurrence
public void loadOccurrence(Occurrence occur)
- Load the provided Occurrence. If the provided parameter is null, the editor is cleared.
processURI
public void processURI(String uriref,
ViewFrame vf)
- Load content referenced by the URI.
This involves first determining the protocol for opening the resource,
then determining its type to open the correct view pane. If the current
view is a DocumentView, opens any text format into it, otherwise opens
a new DocumentView. LTM, XTM, and other graph formats are opened
into a new GraphView.
createOccurrenceToolBar
public JToolBar createOccurrenceToolBar()
- Creates an Occurrence toolbar as a substitution for the document
toolbar in DocumentView, returning the toolbar.
The Ceryle Project. Copyright ©2001-2007 Murray Altheim, All Rights Reserved. See LICENSE included with distribution.