public interface TopicPanel extends TopicMapListener
| Modifier and Type | Method and Description |
|---|---|
boolean |
applyChanges()
Topic panel should store all pending changes immediately.
|
javax.swing.JPanel |
getGui()
Return the UI element for the topic panel.
|
javax.swing.Icon |
getIcon()
Return icon image of the topic panel.
|
java.lang.String |
getName()
Return name of the topic panel.
|
int |
getOrder()
Deprecated.
|
java.lang.String |
getTitle()
Return title of the topic panel.
|
Topic |
getTopic()
Return the active topic in topic panel.
|
LocatorHistory |
getTopicHistory()
A topic panel can store it's own topic history.
|
javax.swing.JMenu |
getViewMenu() |
java.lang.Object[] |
getViewMenuStruct()
Topic panel can provide a menu structure that Wandora views in UI.
|
javax.swing.JPopupMenu |
getViewPopupMenu() |
void |
init()
Initialize the TopicPanel.
|
boolean |
noScroll()
If this returns true, then the topic panel will not be wrapped inside
a scroll pane.
|
void |
open(Topic topic)
Open a topic in the topic panel.
|
void |
refresh()
Request topic panel UI refresh.
|
void |
stop()
A topic panel should stop all threads and close all (shared) resources.
|
boolean |
supportsOpenTopic()
Does the topic panel support topic open? In other words can one call the
open method with a topic.
|
associationChanged, associationPlayerChanged, associationRemoved, associationTypeChanged, topicBaseNameChanged, topicChanged, topicDataChanged, topicRemoved, topicSubjectIdentifierChanged, topicSubjectLocatorChanged, topicTypeChanged, topicVariantChangedvoid init()
boolean supportsOpenTopic()
void open(Topic topic) throws TopicMapException, OpenTopicNotSupportedException
void stop()
void refresh()
throws TopicMapException
TopicMapExceptionboolean applyChanges()
throws CancelledException,
TopicMapException
CancelledExceptionTopicMapExceptionjavax.swing.JPanel getGui()
Topic getTopic() throws TopicMapException
TopicMapExceptionjava.lang.String getName()
java.lang.String getTitle()
javax.swing.Icon getIcon()
int getOrder()
java.lang.Object[] getViewMenuStruct()
javax.swing.JMenu getViewMenu()
javax.swing.JPopupMenu getViewPopupMenu()
boolean noScroll()
LocatorHistory getTopicHistory()
Copyright 2004-2015 Wandora Team