|
|||||||||
| 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.AbstractListWidget
edu.uchsc.ccp.knowtator.SlotMentionValueWidget
public class SlotMentionValueWidget
| 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 |
|---|
| 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 | |
|---|---|
SlotMentionValueWidget()
|
|
| Method Summary | |
|---|---|
protected Action |
getAddValueAction()
|
protected String |
getInvalidFloatDescription(String text,
Cls mentionCls,
Slot mentionSlot)
The code for this method was copied from edu.stanford.smi.protege.widget.FloatFieldWidget and modified slightly |
protected String |
getInvalidIntegerDescription(String text,
Cls mentionCls,
Slot mentionSlot)
The code for this method was copied from edu.stanford.smi.protege.widget.IntegerFieldWidget and modified slightly |
protected Action |
getRemoveValueAction()
|
protected void |
handleAddAction()
|
protected void |
handleRemoveAction(Collection values)
|
void |
initialize()
|
static boolean |
isSuitable(Cls cls,
Slot slot,
Facet facet)
|
void |
setEditable(boolean b)
|
void |
setValues(Collection values)
|
| Methods inherited from class edu.stanford.smi.protege.widget.AbstractListWidget |
|---|
addButton, addButton, addItem, addItems, canRemove, contains, createRenderer, createWidgetConfigurationPanel, getLabeledComponent, getList, getSelection, getValues, initialize, removeAllItems, removeItem, removeItems, replaceItem, setInstance, setRenderer, setSelection |
| Methods inherited from class edu.stanford.smi.protege.widget.AbstractWidget |
|---|
addSelectionListener, beginTransaction, beginTransaction, clearSelection, commitTransaction, endTransaction, equals, getDescriptor, getKnowledgeBase, getProject, getPropertyList, getStringProperty, isDesignTime, isRuntime, notifySelectionListeners, paint, removeSelectionListener, rollbackTransaction, setLabel, 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, setLabel |
| Methods inherited from interface edu.stanford.smi.protege.util.Selectable |
|---|
addSelectionListener, clearSelection, notifySelectionListeners, removeSelectionListener |
| Methods inherited from interface edu.stanford.smi.protege.plugin.Plugin |
|---|
getName |
| Constructor Detail |
|---|
public SlotMentionValueWidget()
| Method Detail |
|---|
public void initialize()
initialize in interface Widgetinitialize in class AbstractListWidgetpublic void setValues(Collection values)
setValues in class AbstractListWidgetprotected Action getAddValueAction()
protected void handleAddAction()
protected String getInvalidIntegerDescription(String text,
Cls mentionCls,
Slot mentionSlot)
protected String getInvalidFloatDescription(String text,
Cls mentionCls,
Slot mentionSlot)
protected Action getRemoveValueAction()
protected void handleRemoveAction(Collection values)
public static boolean isSuitable(Cls cls,
Slot slot,
Facet facet)
public void setEditable(boolean b)
setEditable in class AbstractListWidget
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||