|
Protege 3.4.6 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.awt.Component
java.awt.Container
javax.swing.JComponent
javax.swing.JComboBox
edu.stanford.smi.protegex.widget.abstracttable.ComboBoxEditor
edu.stanford.smi.protegex.widget.abstracttable.FrameEditor
public abstract class FrameEditor
Description of the Class
Nested Class Summary |
---|
Nested classes/interfaces inherited from class javax.swing.JComboBox |
---|
JComboBox.AccessibleJComboBox, JComboBox.KeySelectionManager |
Nested classes/interfaces inherited from class javax.swing.JComponent |
---|
JComponent.AccessibleJComponent |
Nested classes/interfaces inherited from class java.awt.Container |
---|
Container.AccessibleAWTContainer |
Nested classes/interfaces inherited from class java.awt.Component |
---|
Component.AccessibleAWTComponent, Component.BltBufferStrategy, Component.FlipBufferStrategy |
Field Summary | |
---|---|
protected boolean |
_hasModelBeenConfigured
|
protected EditableComboBoxModel |
_model
|
protected JComponent |
_onScreenComponent
|
protected boolean |
_processingUserSelection
|
protected Project |
_project
|
protected Frame |
_value
|
protected static String |
CHOOSE
|
protected static String |
EDIT
|
protected static String |
REMOVE
|
Fields inherited from class edu.stanford.smi.protegex.widget.abstracttable.ComboBoxEditor |
---|
_instance, _processingSelection, _readingFromModel, _slot |
Fields inherited from class javax.swing.JComboBox |
---|
actionCommand, dataModel, editor, isEditable, keySelectionManager, lightWeightPopupEnabled, maximumRowCount, renderer, selectedItemReminder |
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.Component |
---|
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT |
Fields inherited from interface edu.stanford.smi.protegex.widget.abstracttable.TableEditorInterface |
---|
NULL_STRING |
Fields inherited from interface java.awt.image.ImageObserver |
---|
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH |
Constructor Summary | |
---|---|
FrameEditor(JComponent onScreenComponent,
Project project)
|
|
FrameEditor(JComponent onScreenComponent,
Project project,
Instance instance,
Slot slot)
|
Method Summary | |
---|---|
protected void |
addUniquely(Collection addToMe,
Collection addFromMe)
|
protected abstract void |
configureComboBoxModel()
|
void |
configureUIFromKB()
|
protected ComboBoxModel |
getComboBoxModel()
|
protected abstract List |
getPossibleChoices()
|
protected abstract void |
getValueFromDialog()
|
protected void |
handleSelectionChange()
|
protected void |
processUserSelection()
|
protected void |
selectValueInComboBox()
|
void |
storeValueInKB()
|
Methods inherited from class edu.stanford.smi.protegex.widget.abstracttable.ComboBoxEditor |
---|
getValue, isManagingFocus, isValueAcceptable, needsToStoreChanges, selectedItemChanged, setInstance, setSlot |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
protected Frame _value
protected Project _project
protected JComponent _onScreenComponent
protected boolean _hasModelBeenConfigured
protected boolean _processingUserSelection
protected EditableComboBoxModel _model
protected static final String REMOVE
protected static final String CHOOSE
protected static final String EDIT
Constructor Detail |
---|
public FrameEditor(JComponent onScreenComponent, Project project)
public FrameEditor(JComponent onScreenComponent, Project project, Instance instance, Slot slot)
Method Detail |
---|
protected void addUniquely(Collection addToMe, Collection addFromMe)
protected abstract void configureComboBoxModel()
public void configureUIFromKB()
configureUIFromKB
in class ComboBoxEditor
protected ComboBoxModel getComboBoxModel()
getComboBoxModel
in class ComboBoxEditor
protected abstract List getPossibleChoices()
protected abstract void getValueFromDialog()
protected void handleSelectionChange()
handleSelectionChange
in class ComboBoxEditor
protected void processUserSelection()
protected void selectValueInComboBox()
public void storeValueInKB()
storeValueInKB
in interface TableEditorInterface
storeValueInKB
in class ComboBoxEditor
|
Protege 3.4.6 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |