|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ParserMathObject
This interface provides a standard way for WCM beans to tell a WCMParserBean how to add them properly to a parser. Some objects, like WCMVariableBean's and any class that implements ParserExtension can just be added to a parser directly, so these classes just return themselves in their getMathObject methods. Other classes, like WCMVariableInputBean, need to have getVariable() called on them and the result added to the parser. The getMathObject method in this interface hides this from any class that wants to add one of these beans to a parser.
Method Summary | |
---|---|
void |
addPropertyChangeListener(java.beans.PropertyChangeListener listener)
Add a property change listener (typically only called by a WCMParserBean) |
MathObject |
getMathObject()
Get the MathObject for adding to a parser. |
void |
removePropertyChangeListener(java.beans.PropertyChangeListener listener)
Add a property change listener (typically only called by a WCMParserBean) |
Methods inherited from interface net.sourceforge.webcompmath.data.MathObject |
---|
getName, setName |
Method Detail |
---|
MathObject getMathObject()
void addPropertyChangeListener(java.beans.PropertyChangeListener listener)
listener
- void removePropertyChangeListener(java.beans.PropertyChangeListener listener)
listener
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |