|
|||||||||
| Home >> All >> org >> embl >> ebi >> escience >> [ scuflui overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
org.embl.ebi.escience.scuflui
Class ScuflSemanticMarkupEditor

java.lang.Objectjava.awt.Component
java.awt.Container
javax.swing.JComponent
javax.swing.JPanel
org.embl.ebi.escience.scuflui.ScuflSemanticMarkupEditor
- All Implemented Interfaces:
- javax.accessibility.Accessible, java.awt.image.ImageObserver, java.awt.MenuContainer, ScuflUIComponent, java.io.Serializable
- public class ScuflSemanticMarkupEditor
- extends javax.swing.JPanel
- implements ScuflUIComponent
- extends javax.swing.JPanel
A JPanel that allows editing of the semantic markup object passed into its constructor.
| 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 | |
private org.embl.ebi.escience.scufl.SemanticMarkup |
theMetadata
|
| 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 java.awt.image.ImageObserver |
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH |
| Constructor Summary | |
ScuflSemanticMarkupEditor(org.embl.ebi.escience.scufl.SemanticMarkup m)
Build a new markup editor attached to the particular SemanticMarkup object. |
|
| Method Summary | |
void |
attachToModel(org.embl.ebi.escience.scufl.ScuflModel theModel)
Directs the implementing component to bind to the specified ScuflModel instance, refresh its internal state from the model and commence listening to events, maintaining its state as these events dictate. |
void |
detachFromModel()
Directs the implementing component to detach from the model, set its internal state to some suitable blank (i.e. |
void |
expandAll(javax.swing.JTree tree,
boolean expand)
|
private void |
expandAll(javax.swing.JTree tree,
javax.swing.tree.TreePath parent,
boolean expand)
|
java.lang.String |
getName()
Get the preferred name of this component, for titles in windows etc. |
javax.swing.tree.TreeCellRenderer |
getRenderer(java.lang.String searchRegex)
If the 'searchRegex' parameter is not null then choose the icon based on whether a regex match exists between the string and the toString method on the user object within the tree |
| Methods inherited from class javax.swing.JPanel |
getAccessibleContext, getUI, getUIClassID, paramString, setUI, updateUI |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
theMetadata
private final org.embl.ebi.escience.scufl.SemanticMarkup theMetadata
| Constructor Detail |
ScuflSemanticMarkupEditor
public ScuflSemanticMarkupEditor(org.embl.ebi.escience.scufl.SemanticMarkup m)
- Build a new markup editor attached to the particular
SemanticMarkup object.
| Method Detail |
attachToModel
public void attachToModel(org.embl.ebi.escience.scufl.ScuflModel theModel)
- Description copied from interface:
ScuflUIComponent - Directs the implementing component to bind to the
specified ScuflModel instance, refresh its internal
state from the model and commence listening to events,
maintaining its state as these events dictate.
- Specified by:
attachToModelin interfaceScuflUIComponent
detachFromModel
public void detachFromModel()
- Description copied from interface:
ScuflUIComponent - Directs the implementing component to detach from the
model, set its internal state to some suitable blank
(i.e. blank image, no text in a text field etc) and
desist from listening to model events.
- Specified by:
detachFromModelin interfaceScuflUIComponent
getName
public java.lang.String getName()
- Description copied from interface:
ScuflUIComponent - Get the preferred name of this component, for titles
in windows etc.
- Specified by:
getNamein interfaceScuflUIComponent
getRenderer
public javax.swing.tree.TreeCellRenderer getRenderer(java.lang.String searchRegex)
- If the 'searchRegex' parameter is not null
then choose the icon based on whether a regex
match exists between the string and the toString
method on the user object within the tree
expandAll
public void expandAll(javax.swing.JTree tree, boolean expand)
expandAll
private void expandAll(javax.swing.JTree tree, javax.swing.tree.TreePath parent, boolean expand)
|
|||||||||
| Home >> All >> org >> embl >> ebi >> escience >> [ scuflui overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC