public abstract class AbstractTraditionalTopicPanel extends javax.swing.JPanel implements java.awt.print.Printable, java.awt.event.MouseListener, TopicMapListener, RefreshListener
| Modifier and Type | Class and Description |
|---|---|
protected class |
AbstractTraditionalTopicPanel.AssociationTableTransferHandler |
protected class |
AbstractTraditionalTopicPanel.ClassesPanelTransferHandler |
protected class |
AbstractTraditionalTopicPanel.InstancesPanelTransferHandler |
protected class |
AbstractTraditionalTopicPanel.OccurrencesPanelTransferHandler |
protected class |
AbstractTraditionalTopicPanel.TopicPanelTransferHandler |
javax.swing.JPanel.AccessibleJPaneljavax.swing.JComponent.AccessibleJComponent| Modifier and Type | Field and Description |
|---|---|
int |
ASSOCIATIONS_WHERE_PLAYER |
int |
ASSOCIATIONS_WHERE_TYPE |
protected java.util.HashMap<SimpleField,java.util.Set<Topic>> |
invNameTable |
static javax.swing.border.Border |
leftTableBorder |
static javax.swing.border.Border |
leftTopTableBorder |
protected java.util.HashMap<java.util.Set<Topic>,SimpleField> |
nameTable |
protected boolean |
needsRefresh |
protected OccurrenceTableAll |
occurrenceTable |
protected java.util.Collection<OccurrenceTableSingleType> |
occurrenceTables |
protected java.util.HashSet<Locator> |
openTopic |
static java.lang.String |
OPTIONS_PREFIX |
static java.lang.String |
OPTIONS_VIEW_PREFIX |
protected IteratedMap<java.util.Collection<Topic>,java.lang.String> |
originalNameTable |
static java.awt.Color |
tableBorderColor |
static java.lang.String |
VARIANT_GUITYPE_OPTIONS_KEY |
static java.lang.String |
VARIANT_GUITYPE_SCHEMA |
static java.lang.String |
VARIANT_GUITYPE_USED |
java.lang.String |
variantGUIType |
protected java.util.HashSet<Locator> |
visibleTopics |
listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW| Constructor and Description |
|---|
AbstractTraditionalTopicPanel()
Creates a new instance of AbstractTraditionalTopicPanel
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
applyChanges(Topic topic,
Wandora wandora) |
void |
associationChanged(Association a)
A notification used to report general or large changes in association.
|
void |
associationPlayerChanged(Association a,
Topic role,
Topic newPlayer,
Topic oldPlayer)
A notification that a player in an association with a certain role has
been changed.
|
void |
associationRemoved(Association a)
A notification that an association has been completely removed.
|
void |
associationTypeChanged(Association a,
Topic newType,
Topic oldType)
A notification that association type has changed.
|
void |
buildAllNamesPanel(javax.swing.JPanel variantPanel,
javax.swing.JLabel numberLabel,
Topic topic,
TopicPanel topicPanel,
Options options,
Wandora wandora) |
void |
buildAssociationsPanel(javax.swing.JPanel associationPanel,
javax.swing.JLabel numberLabel,
Topic topic,
int option,
Options options,
Wandora wandora) |
void |
buildAssociationsPanel(javax.swing.JPanel associationPanel,
javax.swing.JLabel numberLabel,
Topic topic,
Options options,
Wandora wandora) |
void |
buildClassesPanel(javax.swing.JPanel classesPanel,
javax.swing.JLabel numberLabel,
Topic topic,
Options options,
Wandora wandora) |
void |
buildHorizontalNamePanel(javax.swing.JPanel variantPanel,
javax.swing.JLabel numberLabel,
Topic topic,
TopicPanel topicPanel,
Options options,
Wandora wandora) |
void |
buildInstancesPanel(javax.swing.JPanel instancesPanel,
javax.swing.JLabel numberLabel,
Topic topic,
Options options,
Wandora wandora) |
void |
buildNamePanel(javax.swing.JPanel variantPanel,
javax.swing.JLabel numberLabel,
Topic topic,
TopicPanel topicPanel,
Options options,
Wandora wandora) |
void |
buildOccurrencesPanel(javax.swing.JPanel dataPanel,
javax.swing.JLabel numberLabel,
Topic topic,
Options options,
Wandora wandora) |
void |
buildOccurrencesPanelOld(javax.swing.JPanel dataPanel,
javax.swing.JLabel numberLabel,
Topic topic,
Options options,
Wandora wandora) |
void |
buildSubjectIdentifierPanel(javax.swing.JPanel subjectIdentifierPanel,
Topic topic,
Options options,
Wandora wandora) |
void |
buildVerticalNamePanel(javax.swing.JPanel variantPanel,
javax.swing.JLabel numberLabel,
Topic topic,
TopicPanel topicPanel,
Options options,
Wandora wandora) |
private <T> boolean |
collectionsOverlap(java.util.Collection<T> a,
java.util.Collection<T> b) |
void |
doRefresh() |
abstract javax.swing.JPopupMenu |
getAssociationsMenu() |
abstract javax.swing.JPopupMenu |
getAssociationTypeMenu() |
abstract javax.swing.JPopupMenu |
getClassesMenu() |
abstract javax.swing.JPopupMenu |
getInstancesMenu() |
abstract javax.swing.JPopupMenu |
getNamesMenu() |
abstract javax.swing.JPopupMenu |
getOccurrencesMenu() |
abstract javax.swing.JPopupMenu |
getOccurrenceTypeMenu(Topic occurrenceType) |
abstract javax.swing.JPopupMenu |
getSIMenu() |
abstract javax.swing.JPopupMenu |
getSubjectMenu() |
void |
mouseClicked(java.awt.event.MouseEvent mouseEvent) |
void |
mouseEntered(java.awt.event.MouseEvent mouseEvent) |
void |
mouseExited(java.awt.event.MouseEvent mouseEvent) |
void |
mousePressed(java.awt.event.MouseEvent mouseEvent) |
void |
mouseReleased(java.awt.event.MouseEvent mouseEvent) |
void |
refresh() |
protected void |
setPanelTitle(javax.swing.JPanel panel,
java.lang.String title) |
private void |
setParentVisibility(javax.swing.JComponent component,
int n) |
boolean |
supportsOpenTopic() |
void |
toggleVisibility(java.lang.String componentName) |
void |
topicBaseNameChanged(Topic t,
java.lang.String newName,
java.lang.String oldName)
Notification that the base name has been changed.
|
void |
topicChanged(Topic t)
A notification used to report general or large changes in topic, for example when topics are merged.
|
void |
topicDataChanged(Topic t,
Topic type,
Topic version,
java.lang.String newValue,
java.lang.String oldValue)
Notification that topic occurrence has been changed.
|
void |
topicRemoved(Topic t)
Notification that a topic has been completely removed.
|
void |
topicSubjectIdentifierChanged(Topic t,
Locator added,
Locator removed)
Notification that a subject identifier has changed.
|
void |
topicSubjectLocatorChanged(Topic t,
Locator newLocator,
Locator oldLocator)
Notification that the subject locator has been changed.
|
void |
topicTypeChanged(Topic t,
Topic added,
Topic removed)
Notification that a topic type has changed.
|
void |
topicVariantChanged(Topic t,
java.util.Collection<Topic> scope,
java.lang.String newName,
java.lang.String oldName)
Notification that a variant name has been changed.
|
getAccessibleContext, 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 java.lang.String VARIANT_GUITYPE_SCHEMA
public static final java.lang.String VARIANT_GUITYPE_USED
public java.lang.String variantGUIType
public static final java.lang.String OPTIONS_PREFIX
public static final java.lang.String OPTIONS_VIEW_PREFIX
public static final java.lang.String VARIANT_GUITYPE_OPTIONS_KEY
public static final java.awt.Color tableBorderColor
public static final javax.swing.border.Border leftTableBorder
public static final javax.swing.border.Border leftTopTableBorder
public int ASSOCIATIONS_WHERE_PLAYER
public int ASSOCIATIONS_WHERE_TYPE
protected OccurrenceTableAll occurrenceTable
protected java.util.Collection<OccurrenceTableSingleType> occurrenceTables
protected java.util.HashMap<java.util.Set<Topic>,SimpleField> nameTable
protected java.util.HashMap<SimpleField,java.util.Set<Topic>> invNameTable
protected IteratedMap<java.util.Collection<Topic>,java.lang.String> originalNameTable
protected java.util.HashSet<Locator> visibleTopics
protected java.util.HashSet<Locator> openTopic
protected boolean needsRefresh
public AbstractTraditionalTopicPanel()
public void toggleVisibility(java.lang.String componentName)
public boolean supportsOpenTopic()
public void mouseClicked(java.awt.event.MouseEvent mouseEvent)
mouseClicked in interface java.awt.event.MouseListenerpublic void mouseEntered(java.awt.event.MouseEvent mouseEvent)
mouseEntered in interface java.awt.event.MouseListenerpublic void mouseExited(java.awt.event.MouseEvent mouseEvent)
mouseExited in interface java.awt.event.MouseListenerpublic void mousePressed(java.awt.event.MouseEvent mouseEvent)
mousePressed in interface java.awt.event.MouseListenerpublic void mouseReleased(java.awt.event.MouseEvent mouseEvent)
mouseReleased in interface java.awt.event.MouseListenerpublic void buildAssociationsPanel(javax.swing.JPanel associationPanel,
javax.swing.JLabel numberLabel,
Topic topic,
Options options,
Wandora wandora)
public void buildAssociationsPanel(javax.swing.JPanel associationPanel,
javax.swing.JLabel numberLabel,
Topic topic,
int option,
Options options,
Wandora wandora)
public void buildClassesPanel(javax.swing.JPanel classesPanel,
javax.swing.JLabel numberLabel,
Topic topic,
Options options,
Wandora wandora)
public void buildSubjectIdentifierPanel(javax.swing.JPanel subjectIdentifierPanel,
Topic topic,
Options options,
Wandora wandora)
public void buildInstancesPanel(javax.swing.JPanel instancesPanel,
javax.swing.JLabel numberLabel,
Topic topic,
Options options,
Wandora wandora)
public void buildOccurrencesPanel(javax.swing.JPanel dataPanel,
javax.swing.JLabel numberLabel,
Topic topic,
Options options,
Wandora wandora)
public void buildOccurrencesPanelOld(javax.swing.JPanel dataPanel,
javax.swing.JLabel numberLabel,
Topic topic,
Options options,
Wandora wandora)
public void buildNamePanel(javax.swing.JPanel variantPanel,
javax.swing.JLabel numberLabel,
Topic topic,
TopicPanel topicPanel,
Options options,
Wandora wandora)
public void buildHorizontalNamePanel(javax.swing.JPanel variantPanel,
javax.swing.JLabel numberLabel,
Topic topic,
TopicPanel topicPanel,
Options options,
Wandora wandora)
public void buildVerticalNamePanel(javax.swing.JPanel variantPanel,
javax.swing.JLabel numberLabel,
Topic topic,
TopicPanel topicPanel,
Options options,
Wandora wandora)
public void buildAllNamesPanel(javax.swing.JPanel variantPanel,
javax.swing.JLabel numberLabel,
Topic topic,
TopicPanel topicPanel,
Options options,
Wandora wandora)
protected void setPanelTitle(javax.swing.JPanel panel,
java.lang.String title)
public void refresh()
public void doRefresh()
throws TopicMapException
doRefresh in interface RefreshListenerTopicMapExceptionpublic boolean applyChanges(Topic topic, Wandora wandora) throws TopicMapException
TopicMapExceptionprivate void setParentVisibility(javax.swing.JComponent component,
int n)
public abstract javax.swing.JPopupMenu getNamesMenu()
public abstract javax.swing.JPopupMenu getClassesMenu()
public abstract javax.swing.JPopupMenu getInstancesMenu()
public abstract javax.swing.JPopupMenu getSIMenu()
public abstract javax.swing.JPopupMenu getOccurrencesMenu()
public abstract javax.swing.JPopupMenu getOccurrenceTypeMenu(Topic occurrenceType)
public abstract javax.swing.JPopupMenu getSubjectMenu()
public abstract javax.swing.JPopupMenu getAssociationsMenu()
public abstract javax.swing.JPopupMenu getAssociationTypeMenu()
private <T> boolean collectionsOverlap(java.util.Collection<T> a,
java.util.Collection<T> b)
public void associationRemoved(Association a) throws TopicMapException
TopicMapListenerassociationRemoved in interface TopicMapListenerTopicMapExceptionpublic void topicSubjectLocatorChanged(Topic t, Locator newLocator, Locator oldLocator) throws TopicMapException
TopicMapListenertopicSubjectLocatorChanged in interface TopicMapListenerTopicMapExceptionpublic void topicSubjectIdentifierChanged(Topic t, Locator added, Locator removed) throws TopicMapException
TopicMapListenertopicSubjectIdentifierChanged in interface TopicMapListenerTopicMapExceptionpublic void topicVariantChanged(Topic t, java.util.Collection<Topic> scope, java.lang.String newName, java.lang.String oldName) throws TopicMapException
TopicMapListenertopicVariantChanged in interface TopicMapListenerTopicMapExceptionpublic void topicDataChanged(Topic t, Topic type, Topic version, java.lang.String newValue, java.lang.String oldValue) throws TopicMapException
TopicMapListenertopicDataChanged in interface TopicMapListenerTopicMapExceptionpublic void topicBaseNameChanged(Topic t, java.lang.String newName, java.lang.String oldName) throws TopicMapException
TopicMapListenertopicBaseNameChanged in interface TopicMapListenerTopicMapExceptionpublic void topicRemoved(Topic t) throws TopicMapException
TopicMapListenertopicRemoved in interface TopicMapListenerTopicMapExceptionpublic void topicChanged(Topic t) throws TopicMapException
TopicMapListenertopicChanged in interface TopicMapListenerTopicMapExceptionpublic void associationTypeChanged(Association a, Topic newType, Topic oldType) throws TopicMapException
TopicMapListenerassociationTypeChanged in interface TopicMapListenerTopicMapExceptionpublic void associationPlayerChanged(Association a, Topic role, Topic newPlayer, Topic oldPlayer) throws TopicMapException
TopicMapListenerassociationPlayerChanged in interface TopicMapListenerTopicMapExceptionpublic void associationChanged(Association a) throws TopicMapException
TopicMapListenerassociationChanged in interface TopicMapListenerTopicMapExceptionpublic void topicTypeChanged(Topic t, Topic added, Topic removed) throws TopicMapException
TopicMapListenertopicTypeChanged in interface TopicMapListenerTopicMapExceptionCopyright 2004-2015 Wandora Team