|
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.JPanel
edu.stanford.smi.protege.widget.AbstractWidget
edu.stanford.smi.protege.widget.AbstractSlotWidget
edu.stanford.smi.protege.widget.ComboBoxWidget
public class ComboBoxWidget
Slot widget for displaying the "allowed values" of a value-type=Symbol slot. The values are displayed in a standard drop-down list.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class javax.swing.JPanel |
---|
JPanel.AccessibleJPanel |
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 static String |
NONE
|
Fields inherited from class edu.stanford.smi.protege.widget.AbstractSlotWidget |
---|
READ_ONLY_WIDGET_PROPERTY |
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 java.awt.image.ImageObserver |
---|
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH |
Constructor Summary | |
---|---|
ComboBoxWidget()
|
Method Summary | |
---|---|
protected void |
comboBoxValueChanged()
|
JComboBox |
createComboBox()
|
ComboBoxModel |
createModel()
|
WidgetConfigurationPanel |
createWidgetConfigurationPanel()
|
JComboBox |
getComboBox()
|
Object |
getComboBoxSelection()
|
boolean |
getDisplayNullEntry()
|
Collection |
getValues()
|
void |
initialize()
|
static boolean |
isSuitable(Cls cls,
Slot slot,
Facet facet)
|
void |
setComboBoxModel(ComboBoxModel model)
|
protected void |
setComboBoxValue(String value)
|
void |
setDisplayNullEntry(boolean b)
|
void |
setEditable(boolean b)
|
void |
setLabel(String text)
|
void |
setRenderer(ListCellRenderer renderer)
|
void |
setValues(Collection values)
|
Methods inherited from class edu.stanford.smi.protege.widget.AbstractWidget |
---|
addSelectionListener, beginTransaction, beginTransaction, clearSelection, commitTransaction, endTransaction, equals, getDescriptor, getKnowledgeBase, getProject, getPropertyList, getSelection, getStringProperty, isDesignTime, isRuntime, notifySelectionListeners, paint, removeSelectionListener, rollbackTransaction, setPropertyList, setup, show |
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 |
Methods inherited from interface edu.stanford.smi.protege.widget.Widget |
---|
getDescriptor, getKnowledgeBase, getProject |
Methods inherited from interface edu.stanford.smi.protege.util.Selectable |
---|
addSelectionListener, clearSelection, getSelection, notifySelectionListeners, removeSelectionListener |
Methods inherited from interface edu.stanford.smi.protege.plugin.Plugin |
---|
getName |
Field Detail |
---|
protected static final String NONE
Constructor Detail |
---|
public ComboBoxWidget()
Method Detail |
---|
protected void comboBoxValueChanged()
public JComboBox createComboBox()
public ComboBoxModel createModel()
public JComboBox getComboBox()
public Object getComboBoxSelection()
public boolean getDisplayNullEntry()
public Collection getValues()
getValues
in class AbstractSlotWidget
public void initialize()
public static boolean isSuitable(Cls cls, Slot slot, Facet facet)
public void setComboBoxModel(ComboBoxModel model)
protected void setComboBoxValue(String value)
public void setDisplayNullEntry(boolean b)
public void setEditable(boolean b)
setEditable
in class AbstractSlotWidget
public void setLabel(String text)
setLabel
in interface Widget
setLabel
in class AbstractWidget
public void setRenderer(ListCellRenderer renderer)
public void setValues(Collection values)
setValues
in class AbstractSlotWidget
public WidgetConfigurationPanel createWidgetConfigurationPanel()
createWidgetConfigurationPanel
in class AbstractSlotWidget
|
Protege 3.4.6 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |