|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.awt.Component java.awt.Container javax.swing.JComponent javax.swing.JPanel gate.gui.SingleConcatenatedFileInputDialog
public class SingleConcatenatedFileInputDialog
A simple component that allows the user to select a trec web file and encoding
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.BaselineResizeBehavior, 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 | |
---|---|
SingleConcatenatedFileInputDialog()
|
Method Summary | |
---|---|
String |
getDocumentNamePrefix()
Gets the document name prefix set by user |
String |
getDocumentRootElement()
Gets the document root element set by user |
DocType |
getDocumentType()
Gets the selected document type. |
String |
getEncoding()
Gets the encoding selected by the user. |
int |
getNumOfDocumentsToFetch()
Returns the number of documents to fetch |
String |
getUrlString()
Gets the current text in the URL text field. |
protected void |
initGUIComponents()
Creates the UI |
protected void |
initListeners()
Adds listeners for UI components |
static void |
main(String[] args)
Test code |
void |
setDocumentNamePrefix(String documentNamePrefix)
Sets the value for document name prefix |
void |
setDocumentRootElement(String documentRootElement)
Sets the value for documentRootElement field |
void |
setDocumentType(DocType documentType)
Sets the document type |
void |
setEncoding(String enc)
Sets the initila value for the encoding field. |
void |
setNumOfDocumentsToFetch(int numOfDocumentsToFetch)
Sets the number of documents to fetch |
void |
setUrlString(String urlString)
Sets the values for the URL string. |
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 SingleConcatenatedFileInputDialog()
Method Detail |
---|
protected void initGUIComponents()
protected void initListeners()
public void setUrlString(String urlString)
public String getUrlString()
public String getEncoding()
public void setEncoding(String enc)
public String getDocumentRootElement()
public void setDocumentRootElement(String documentRootElement)
public String getDocumentNamePrefix()
public void setDocumentNamePrefix(String documentNamePrefix)
public DocType getDocumentType()
public void setDocumentType(DocType documentType)
public int getNumOfDocumentsToFetch()
public void setNumOfDocumentsToFetch(int numOfDocumentsToFetch)
public static void main(String[] args)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |