|
Protege 2.1.1 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Field Summary | |
static int |
HEIGHT
|
static int |
WIDTH
|
Method Summary | |
void |
doTask(String type)
Allow any other flexible process |
JComponent |
getComponent()
Return the JComponent to show on screen. |
Object[] |
getData()
Return an array of Objects that are shown in the widget. |
String |
getLabel()
Return the label of the widget. |
String[] |
getSelectedItems()
Returns the items currently selected in the JComponent. |
Object |
getSelectedObject()
Return the selected Object. |
String |
getSlotName()
Every widget is used to represent the value of s specific slot. |
QueriesTab |
getTab()
Get the tab. |
JComponent |
getWidget()
Return the JComponent to hold the data. |
void |
initialized()
Called after project and kb are set. |
boolean |
isComplete()
whether the seach is done or not |
boolean |
isSlotSingleValued()
If is a single value slot, set as true. |
boolean |
isViewEnabled()
|
boolean |
isVisible()
get visible |
void |
removeListener()
|
void |
removeMouse()
|
Collection |
search()
Performs the search for the specified string with the given search context. |
Collection |
search(Collection instances,
Slot slot,
String operation,
Object obj)
This is used to call for the Query settings. |
void |
setActionsEnabled(boolean b)
|
void |
setCls(Cls cls)
Setup the selected cls |
void |
setData(Object[] data)
An array of Objects are passed in that should be displayed. |
void |
setDisplayName(String name)
|
void |
setInstances(Collection instances)
Setup the instances collection |
void |
setProject(Project proj)
Each widget will have a pointer to the project so it can interact with the Protege knowledge base. |
void |
setSelectedObject(Object obj)
Set the displayed selected object. |
void |
setSpecification(SlotSpecification spec)
Setup the search specification. |
void |
setViewEnabled(boolean b)
|
void |
setVisible(boolean visible)
Set visible |
Field Detail |
public static final int WIDTH
public static final int HEIGHT
Method Detail |
public void doTask(String type)
public JComponent getComponent()
public Object[] getData()
public String getLabel()
public String[] getSelectedItems()
public Object getSelectedObject()
public String getSlotName()
public QueriesTab getTab()
public JComponent getWidget()
public void initialized()
public boolean isComplete()
public boolean isSlotSingleValued()
public boolean isViewEnabled()
public boolean isVisible()
public void removeListener()
public void removeMouse()
public Collection search()
public Collection search(Collection instances, Slot slot, String operation, Object obj)
public void setActionsEnabled(boolean b)
public void setCls(Cls cls)
public void setData(Object[] data)
public void setDisplayName(String name)
public void setInstances(Collection instances)
public void setProject(Project proj)
public void setSelectedObject(Object obj)
public void setSpecification(SlotSpecification spec)
public void setViewEnabled(boolean b)
public void setVisible(boolean visible)
|
Protege 2.1.1 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |