|
|||||||||||
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.protegex.owl.ui.widget.AbstractPropertyWidget
edu.stanford.smi.protegex.owl.ui.widget.MultiWidgetPropertyWidget
edu.stanford.smi.protegex.owl.ui.cls.SwitchableClassDefinitionWidget
A MultiWidgetPropertyWidget used as main widget on the OWLClassesTab, showing one of various switchable displays (Logic view etc).
Nested Class Summary |
Nested classes inherited from class edu.stanford.smi.protegex.owl.ui.widget.MultiWidgetPropertyWidget |
|
Nested classes inherited from class edu.stanford.smi.protege.widget.AbstractSlotWidget |
|
Nested classes inherited from class javax.swing.JPanel |
JPanel.AccessibleJPanel |
Nested classes inherited from class javax.swing.JComponent |
JComponent.AccessibleJComponent |
Nested classes inherited from class java.awt.Container |
Container.AccessibleAWTContainer |
Nested classes inherited from class java.awt.Component |
Component.AccessibleAWTComponent, Component.BltBufferStrategy, Component.FlipBufferStrategy |
Field Summary | |
private edu.stanford.smi.protege.widget.Widget |
activeWidget
|
private static List |
registry
|
Fields inherited from class edu.stanford.smi.protegex.owl.ui.widget.MultiWidgetPropertyWidget |
|
Fields inherited from class edu.stanford.smi.protege.widget.AbstractSlotWidget |
|
Fields inherited from class edu.stanford.smi.protege.widget.AbstractWidget |
|
Fields inherited from class javax.swing.JPanel |
|
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.Container |
|
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 | |
SwitchableClassDefinitionWidget()
|
Method Summary | |
protected void |
createNestedWidgets()
Adds the user-defined tabs to the widget. |
Class |
getActiveWidgetClass()
|
protected void |
initAllPanel(JPanel allPanel,
List widgets)
Overload this to set layout, add static components, and otherwise modify the appearance of the panel if this is in "all" mode. |
void |
initialize()
Overloaded to forward the nested calls into all nested components. |
static boolean |
isSuitable(edu.stanford.smi.protege.model.Cls cls,
edu.stanford.smi.protege.model.Slot slot,
edu.stanford.smi.protege.model.Facet facet)
|
static Iterator |
listSwitchableTypes()
|
static void |
registerSwitchableType(SwitchableType type)
|
void |
setActiveType(Class widgetClassType)
|
Methods inherited from class edu.stanford.smi.protegex.owl.ui.widget.MultiWidgetPropertyWidget |
addNestedWidget, createWidgetConfigurationPanel, createWidgetDescriptor, dispose, getEditedResource, getTabbedPane, listWidgets, reinitAllPanel, setAllMode, setAssociatedCls, setBorder, setEditable, setInstance, setSelectedTab, setup, setupSubWidgets |
Methods inherited from class edu.stanford.smi.protegex.owl.ui.widget.AbstractPropertyWidget |
getInstance, getOWLModel, getRDFProperty, getSlot, updateBorder |
Methods inherited from class edu.stanford.smi.protege.widget.AbstractSlotWidget |
addButtonConfiguration, addButtonConfiguration, allowsMultipleValues, areDirectValues, configure, displayButton, displayButton, getAssociatedCls, getButtonDescription, getCls, getClsWidget, getDefaultLabel, getDefaultToolTip, getDoubleClickAction, getFirstItem, getInvalidValueText, getLabel, getMaximumCardinality, getMinimumCardinality, getPreferredSize, getSelectionBorderSize, getValues, handleDoubleClick, isDirectValue, isSlotAtCls, loadValues, localizeStandardLabel, reshape, setAllowed, setCls, setDefaultToolTip, setDoubleClickListener, setInstanceValues, setInvalidValueBorder, setNormalBorder, setPreferredColumns, setPreferredRows, setPreferredSize, setSelectedBorder, setSelectedBorder, setShowInstanceListener, setSlot, setValues, setWidgetValues, showInstance, valueChanged |
Methods inherited from class edu.stanford.smi.protege.widget.AbstractWidget |
addSelectionListener, beginTransaction, clearSelection, endTransaction, equals, getDescriptor, getKnowledgeBase, getProject, getPropertyList, getSelection, getStringProperty, isDesignTime, isRuntime, notifySelectionListeners, paint, removeSelectionListener, 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.SlotWidget |
getAssociatedCls, getCls, getDefaultToolTip, setDefaultToolTip |
Methods inherited from interface edu.stanford.smi.protege.widget.Widget |
configure, getDescriptor, getKnowledgeBase, getLabel, getProject, setLabel |
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 |
private edu.stanford.smi.protege.widget.Widget activeWidget
private static List registry
Constructor Detail |
public SwitchableClassDefinitionWidget()
Method Detail |
protected void createNestedWidgets()
MultiWidgetPropertyWidget
addNestedWidget(...)
for each nested
widget. Note that all tab components must be instance of SlotWidget.
createNestedWidgets
in class MultiWidgetPropertyWidget
public Class getActiveWidgetClass()
protected void initAllPanel(JPanel allPanel, List widgets)
MultiWidgetPropertyWidget
initAllPanel
in class MultiWidgetPropertyWidget
allPanel
- the Panel that will host all widgetspublic void initialize()
MultiWidgetPropertyWidget
initialize
in interface edu.stanford.smi.protege.widget.Widget
initialize
in class MultiWidgetPropertyWidget
public static boolean isSuitable(edu.stanford.smi.protege.model.Cls cls, edu.stanford.smi.protege.model.Slot slot, edu.stanford.smi.protege.model.Facet facet)
public static Iterator listSwitchableTypes()
public static void registerSwitchableType(SwitchableType type)
public void setActiveType(Class widgetClassType)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |