|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcox.jmatt.java.MathTools.demo.NoteworthyDemo
public class NoteworthyDemo
This class demonstrates the use of the NoteworthyParser
class. Simply stated, Noteworthy
allows HTML content to be embedded into and extractef from easily-readable and structured plain text lecture notes. To use this demo load or type some
Noteworthy text into the TextArea
and hit the '[Parse]' button. The output will be displayed on the printer and, optionall, copied to the
clipboard.
Constructor Summary | |
---|---|
NoteworthyDemo()
Simple constructor, 'Load' button not available. |
|
NoteworthyDemo(java.awt.Dialog pParent)
Build around a Dialog. |
|
NoteworthyDemo(java.awt.Frame pParent)
Build around a Frame. |
Method Summary | |
---|---|
void |
actionPerformed(java.awt.event.ActionEvent aev)
|
void |
clearContent(boolean bClear)
Clear the parser area, if bClear is 'true'. |
java.lang.String |
getContent()
Fetch the content of the parser area. |
void |
loadFile()
Load a file from the FileDialog if one is defined. |
void |
loadFile(java.lang.String pFile)
Load a file into the parser area. |
void |
parseDocument()
Parse the document in the parser area into HTML. |
void |
setContent(java.lang.String pContent)
Set the content to be parsed. |
java.awt.Panel |
standardGUI()
Build and return the GUI panel. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public NoteworthyDemo()
public NoteworthyDemo(java.awt.Dialog pParent)
public NoteworthyDemo(java.awt.Frame pParent)
Method Detail |
---|
public void actionPerformed(java.awt.event.ActionEvent aev)
actionPerformed
in interface java.awt.event.ActionListener
public final java.awt.Panel standardGUI()
public void loadFile()
FileDialog
if one is defined.
public void loadFile(java.lang.String pFile)
public void setContent(java.lang.String pContent)
public java.lang.String getContent()
public void clearContent(boolean bClear)
public void parseDocument()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |