|
Protege 3.4.4 | ||||||||
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.widget.instancetable.InstanceTableWidget
public class InstanceTableWidget
Description of the Class
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 | |
---|---|
protected static edu.stanford.smi.protege.util.LabeledComponent |
_description
|
protected InstanceTable |
_displayTable
|
protected InstanceTableWidgetState |
_state
|
protected InstanceTableModel |
_tableModel
|
protected ArrayList |
_values
|
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 | |
---|---|
InstanceTableWidget()
|
Method Summary | |
---|---|
protected void |
addActionButtonsToComponent(edu.stanford.smi.protege.util.LabeledComponent centerPiece)
|
void |
addValue(edu.stanford.smi.protege.model.Instance value)
|
void |
addValues(Collection values)
|
protected void |
buildTableComponents()
|
edu.stanford.smi.protege.widget.WidgetConfigurationPanel |
createWidgetConfigurationPanel()
|
void |
dispose()
|
Collection |
getAllowedClses()
|
InstanceTableWidgetState |
getState()
|
Collection |
getValues()
|
void |
initialize()
|
boolean |
isEditable()
|
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 void |
main(String[] args)
|
void |
moveValue(edu.stanford.smi.protege.model.Instance value,
int increment)
|
protected void |
moveValueInternal(edu.stanford.smi.protege.model.Instance value,
int oldIndex,
int newIndex)
|
void |
removeValue(edu.stanford.smi.protege.model.Instance value)
|
void |
removeValues(Collection values)
|
void |
selectInstanceIfAppropriate(edu.stanford.smi.protege.model.Instance instance)
|
void |
setEditable(boolean b)
|
protected void |
setTableColumnWidths()
|
void |
setValues(Collection values)
|
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, getInstance, getInvalidValueText, getLabel, getMaximumCardinality, getMinimumCardinality, getPreferredSize, getSelectionBorderSize, getSlot, handleDoubleClick, isDirectValue, isReadOnlyConfiguredWidget, isSlotAtCls, loadValues, localizeStandardLabel, reshape, setAllowed, setAssociatedCls, setCls, setDefaultToolTip, setDoubleClickListener, setInstance, setInstanceValues, setInvalidValueBorder, setNormalBorder, setPreferredColumns, setPreferredRows, setPreferredSize, setReadOnlyWidget, setSelectedBorder, setSelectedBorder, setShowInstanceListener, setSlot, setup, setWidgetValues, showInstance, updateBorder, 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.Widget |
---|
getDescriptor, getKnowledgeBase, 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 |
---|
protected InstanceTableWidgetState _state
protected InstanceTable _displayTable
protected InstanceTableModel _tableModel
protected ArrayList _values
protected static edu.stanford.smi.protege.util.LabeledComponent _description
Constructor Detail |
---|
public InstanceTableWidget()
Method Detail |
---|
protected void addActionButtonsToComponent(edu.stanford.smi.protege.util.LabeledComponent centerPiece)
public void addValue(edu.stanford.smi.protege.model.Instance value)
public void addValues(Collection values)
protected void buildTableComponents()
public edu.stanford.smi.protege.widget.WidgetConfigurationPanel createWidgetConfigurationPanel()
createWidgetConfigurationPanel
in class edu.stanford.smi.protege.widget.AbstractSlotWidget
public void dispose()
dispose
in interface edu.stanford.smi.protege.util.Disposable
dispose
in class edu.stanford.smi.protege.widget.AbstractSlotWidget
public Collection getAllowedClses()
public InstanceTableWidgetState getState()
public Collection getValues()
getValues
in class edu.stanford.smi.protege.widget.AbstractSlotWidget
public void initialize()
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 void main(String[] args)
public void moveValue(edu.stanford.smi.protege.model.Instance value, int increment)
protected void moveValueInternal(edu.stanford.smi.protege.model.Instance value, int oldIndex, int newIndex)
public void removeValue(edu.stanford.smi.protege.model.Instance value)
public void removeValues(Collection values)
public void selectInstanceIfAppropriate(edu.stanford.smi.protege.model.Instance instance)
public void setEditable(boolean b)
setEditable
in class edu.stanford.smi.protege.widget.AbstractSlotWidget
public boolean isEditable()
protected void setTableColumnWidths()
public void setValues(Collection values)
setValues
in class edu.stanford.smi.protege.widget.AbstractSlotWidget
|
Protege 3.4.4 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |