|
Protégé-OWL 3.4.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.protegex.owl.ui.widget.AbstractPropertyWidget
edu.stanford.smi.protegex.owl.ui.widget.MultiWidgetPropertyWidget
edu.stanford.smi.protegex.owl.ui.cls.SwitchableClassDefinitionWidget
public class SwitchableClassDefinitionWidget
A MultiWidgetPropertyWidget used as main widget on the OWLClassesTab, showing one of various switchable displays (Logic view etc).
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.protegex.owl.ui.widget.MultiWidgetPropertyWidget |
---|
instance, valueListener |
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 | |
---|---|
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<SwitchableType> |
listSwitchableTypes()
|
static void |
registerSwitchableType(SwitchableType type)
|
void |
setActiveType(Class widgetClassType)
|
void |
setInstance(edu.stanford.smi.protege.model.Instance newInstance)
Overloaded to forward the method call into all nested components. |
Methods inherited from class edu.stanford.smi.protegex.owl.ui.widget.MultiWidgetPropertyWidget |
---|
addNestedWidget, createWidgetConfigurationPanel, createWidgetDescriptor, dispose, getEditedResource, getMultiWidgetInstance, getTabbedPane, listWidgets, reinitAllPanel, setAllMode, setAssociatedCls, setBorder, setEditable, 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, isReadOnlyConfiguredWidget, isSlotAtCls, loadValues, localizeStandardLabel, reshape, setAllowed, setCls, setDefaultToolTip, setDoubleClickListener, setInstanceValues, setInvalidValueBorder, setNormalBorder, setPreferredColumns, setPreferredRows, setPreferredSize, setReadOnlyWidget, setSelectedBorder, setSelectedBorder, setShowInstanceListener, setSlot, setValues, setWidgetValues, showInstance, valueChanged |
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, 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 |
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<SwitchableType> listSwitchableTypes()
public static void registerSwitchableType(SwitchableType type)
public void setActiveType(Class widgetClassType)
public void setInstance(edu.stanford.smi.protege.model.Instance newInstance)
MultiWidgetPropertyWidget
setInstance
in interface edu.stanford.smi.protege.widget.SlotWidget
setInstance
in class MultiWidgetPropertyWidget
|
Protégé-OWL 3.4.1 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |