|
Protege-2000 1.7 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--java.awt.Component | +--java.awt.Container | +--javax.swing.JComponent | +--edu.stanford.smi.protege.widget._AbstractWidget | +--edu.stanford.smi.protege.widget.AbstractSlotWidget | +--edu.stanford.smi.protege.widget.ComboBoxWidget
Description of the class
Inner classes inherited from class javax.swing.JComponent |
JComponent.AccessibleJComponent |
Inner classes inherited from class java.awt.Container |
Container.AccessibleAWTContainer |
Inner classes inherited from class java.awt.Component |
Component.AccessibleAWTComponent |
Field Summary | |
protected static String |
NONE
|
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 | |
void |
comboBoxValueChanged()
|
JComboBox |
createComboBox()
|
ComboBoxModel |
createModel()
|
JComboBox |
getComboBox()
|
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)
Insert the method's description here. |
void |
setRenderer(ListCellRenderer renderer)
|
void |
setValues(Collection values)
|
Methods inherited from class edu.stanford.smi.protege.widget.AbstractSlotWidget |
dispose, getDoubleClickAction, getSelectionBorderSize, handleDoubleClick, setDoubleClickListener, setInvalidValueBorder, setNormalBorder, setSelectedBorder, setup, updateBorder |
Methods inherited from class java.awt.Container |
add, add, add, add, add, addContainerListener, addImpl, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getLayout, insets, invalidate, isAncestorOf, layout, list, list, locate, minimumSize, paintComponents, preferredSize, printComponents, processContainerEvent, processEvent, remove, remove, removeAll, removeContainerListener, setLayout, validate, validateTree |
Methods inherited from class java.lang.Object |
clone, equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface edu.stanford.smi.protege.widget.SlotWidget |
getCls, getInstance, getSlot, setAssociatedCls, setInstance |
Methods inherited from interface edu.stanford.smi.protege.widget.Widget |
addWidgetListener, configure, getDescriptor, getKnowledgeBase, getLabel, getProject, removeWidgetListener |
Methods inherited from interface edu.stanford.smi.protege.util.Selectable |
addSelectionListener, clearSelection, getSelection, notifySelectionListeners, removeSelectionListener |
Field Detail |
protected static final String NONE
Constructor Detail |
public ComboBoxWidget()
Method Detail |
public void comboBoxValueChanged()
public JComboBox createComboBox()
public ComboBoxModel createModel()
public JComboBox getComboBox()
public boolean getDisplayNullEntry()
public Collection getValues()
getValues
in class _AbstractWidget
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 _AbstractWidget
public void setLabel(String text)
Widget
setLabel
in class _AbstractWidget
edu.stanford.smi.protege.widget.Widget
label
- java.lang.Stringpublic void setRenderer(ListCellRenderer renderer)
public void setValues(Collection values)
setValues
in class _AbstractWidget
|
Protege-2000 1.7 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |