|
Protege 3.3.1 | ||||||||
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.stanford.smi.protege.widget.ClsListWidget
public class ClsListWidget
SlotWidget for acquiring and displaying a list of Cls objects. Note that this widget does not allow you to create a new class, in part because of the need to also specify its parents.
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 | |
---|---|
ClsListWidget()
|
Method Summary | |
---|---|
protected void |
addButtons(LabeledComponent c,
Action viewAction)
|
void |
dispose()
|
protected Action |
getAddClsesAction()
|
protected Action |
getRemoveClsesAction()
|
protected Action |
getViewInstanceAction()
|
protected void |
handleAddAction()
|
protected void |
handleRemoveAction(Collection clses)
|
protected void |
handleViewAction(Cls cls)
|
void |
initialize()
|
static boolean |
isSuitable(Cls cls,
Slot slot,
Facet facet)
|
protected void |
removeListener()
|
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 ClsListWidget()
Method Detail |
---|
protected void addButtons(LabeledComponent c, Action viewAction)
public void dispose()
dispose
in interface Disposable
dispose
in class AbstractSlotWidget
protected Action getAddClsesAction()
protected Action getRemoveClsesAction()
protected Action getViewInstanceAction()
protected void handleAddAction()
protected void handleRemoveAction(Collection clses)
protected void handleViewAction(Cls cls)
public void initialize()
initialize
in interface Widget
initialize
in class AbstractListWidget
public static boolean isSuitable(Cls cls, Slot slot, Facet facet)
protected void removeListener()
public void setEditable(boolean b)
setEditable
in class AbstractListWidget
public void setValues(Collection values)
setValues
in class AbstractListWidget
|
Protege 3.3.1 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |