|
||||||||||
| 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
project35.soa.ontology.views.ListView
public class ListView
Views an ontology as a list of alphabetised terms. Combines a list with a search field
Copyright (c) Kevin Garwood and University of Manchester 2007. All rights reserved. Licensed under the Academic Free License version 3.0. For more information on the terms and conditions, please see the file "LICENSE" that is included in this distribution.
| 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 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 | |
|---|---|
ListView()
|
|
| Method Summary | |
|---|---|
void |
buildUI()
|
boolean |
canViewSource(Project35FormContext project35FormContext,
OntologySource ontologySource)
determines if the view is capable of supporting terms provided by an ontology source |
void |
caretUpdate(CaretEvent event)
|
void |
changeFont(Font font)
|
JComponent |
getComponent()
gets the component that renders the view. |
String |
getName()
the name of the view. |
OntologyTerm[] |
getSelectedOntologyTerms(Project35FormContext project35FormContext)
returns the selected terms in the view |
void |
reset()
resets the display. |
void |
setOntologySource(Project35FormContext project35FormContext,
OntologySource ontologySource)
sets the ontology source for the view |
void |
setOntologyViewListener(OntologyViewListener ontologyViewListener)
sets the ontology view listener. |
void |
showDescription(boolean showDescription)
|
void |
update()
|
void |
valueChanged(ListSelectionEvent event)
|
| 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 |
| Constructor Detail |
|---|
public ListView()
| Method Detail |
|---|
public void showDescription(boolean showDescription)
public void buildUI()
public void changeFont(Font font)
changeFont in interface OntologyViewpublic void update()
public void caretUpdate(CaretEvent event)
caretUpdate in interface CaretListenerpublic String getName()
getName in interface OntologyViewgetName in class Component
public boolean canViewSource(Project35FormContext project35FormContext,
OntologySource ontologySource)
OntologyView
canViewSource in interface OntologyViewproject35FormContext - a collection of environment variables that
refer to different parts of the Project35 ApplicationontologySource - provides terms to the view. The View performs
introspection on the source by checking what marker interfaces the
source supports. It uses these to determine whether it can support
a particular kind of view.public void reset()
reset in interface OntologyView
public void setOntologySource(Project35FormContext project35FormContext,
OntologySource ontologySource)
setOntologySource in interface OntologyViewontologySource - the ontology sourceproject35FormContext - a collection of environment variables that
refer to different parts of the Project35 Applicationpublic OntologyTerm[] getSelectedOntologyTerms(Project35FormContext project35FormContext)
getSelectedOntologyTerms in interface OntologyViewproject35FormContext - a collection of environment variables that
refer to different parts of the Project35 Application
public void setOntologyViewListener(OntologyViewListener ontologyViewListener)
setOntologyViewListener in interface OntologyViewontologyViewListener - public JComponent getComponent()
OntologyView
getComponent in interface OntologyViewpublic void valueChanged(ListSelectionEvent event)
valueChanged in interface ListSelectionListener
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||