|
|||||||||
| Home >> All >> org >> greenstone >> gatherer >> [ cdm overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
org.greenstone.gatherer.cdm
Class SearchTypeManager

java.lang.Objectjavax.swing.AbstractListModel
org.greenstone.gatherer.cdm.DOMProxyListModel
org.greenstone.gatherer.cdm.SearchTypeManager
- All Implemented Interfaces:
- javax.swing.ListModel, java.io.Serializable
- public class SearchTypeManager
- extends DOMProxyListModel
This class maintains an ordered list of the search types available in the collection (MGPP command available in G2.39 or later). Currently only 'form' and 'plain' are valid.
- Version:
- 2.4
| Nested Class Summary | |
private class |
SearchTypeManager.SearchTypeControl
|
| Field Summary | |
private Control |
controls
The controls used to edit the search types. |
private DOMProxyListModel |
model
A reference to ourselves so our inner classes have access. |
static java.lang.String[] |
SEARCH_TYPES
|
| Fields inherited from class org.greenstone.gatherer.cdm.DOMProxyListModel |
root |
| Fields inherited from class javax.swing.AbstractListModel |
listenerList |
| Constructor Summary | |
SearchTypeManager(org.w3c.dom.Element searchtypes_element)
|
|
| Method Summary | |
void |
addSearchType(SearchType searchtype)
|
Control |
getControls()
|
java.lang.String |
getSearchTypes()
Return a list of the currently assigned search types as a comma separated string. |
boolean |
isMGPPEnabled()
Be examining the SearchType 'root' we were created with, determine if mgpp is enabled. |
void |
moveSearchType(SearchType search_type,
boolean direction)
|
void |
removeSearchType(SearchType searchtype)
|
| Methods inherited from class org.greenstone.gatherer.cdm.DOMProxyListModel |
add, add, add, addAfter, addBefore, append, children, contains, getElementAt, getSize, indexOf, refresh, refresh, remove, remove, setRoot |
| Methods inherited from class javax.swing.AbstractListModel |
addListDataListener, fireContentsChanged, fireIntervalAdded, fireIntervalRemoved, getListDataListeners, getListeners, removeListDataListener |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
SEARCH_TYPES
public static final java.lang.String[] SEARCH_TYPES
controls
private Control controls
- The controls used to edit the search types.
model
private DOMProxyListModel model
- A reference to ourselves so our inner classes have access.
| Constructor Detail |
SearchTypeManager
public SearchTypeManager(org.w3c.dom.Element searchtypes_element)
| Method Detail |
addSearchType
public void addSearchType(SearchType searchtype)
getControls
public Control getControls()
getSearchTypes
public java.lang.String getSearchTypes()
- Return a list of the currently assigned search types as a comma separated string.
isMGPPEnabled
public boolean isMGPPEnabled()
- Be examining the SearchType 'root' we were created with, determine if mgpp is enabled.
moveSearchType
public void moveSearchType(SearchType search_type, boolean direction)
removeSearchType
public void removeSearchType(SearchType searchtype)
|
|||||||||
| Home >> All >> org >> greenstone >> gatherer >> [ cdm overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC