ru.tunegov.mathematic
Class Visualizer

java.lang.Object
  |
  +--ru.tunegov.mathematic.FunctionBean
        |
        +--ru.tunegov.mathematic.Visualizer
All Implemented Interfaces:
java.io.Serializable

public class Visualizer
extends FunctionBean

This is a non-visual component that represents converter from ElementSet to String and back. The Visualizer bean provides an easy way to perform input/output mathematical elements in the IDE.

Since:
Mathematic 1.0
See Also:
Serialized Form

Constructor Summary
Visualizer()
          ElementParser constructor comment.
 
Method Summary
 java.text.DecimalFormat getFormatter()
          Returns the formatter for format and parse elements.
 ElementSet getInputElement()
          Returns the element which will be formatted.
 java.lang.String getInputString()
          Returns the text which will be parsed.
 ElementSet getResultElement()
          Returns the current result of parsing of text.
 java.lang.String getResultString()
          Returns the current result of formatting of element.
 void setFormatter(java.text.DecimalFormat value)
          Sets the formatter for format and parse elements.
 void setInputElement(ElementSet value)
          Sets the element which will be formatted.
 void setInputString(java.lang.String value)
          Sets the text which will be parsed.
 
Methods inherited from class ru.tunegov.mathematic.FunctionBean
addActionErrorListener, addFetchArgumentsListener, addPropertyChangeListener, addTriggerNextActionListener, getAutoAction, removeActionErrorListener, removeFetchArgumentsListener, removePropertyChangeListener, removeTriggerNextActionListener, setAutoAction, triggerAction
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Visualizer

public Visualizer()
ElementParser constructor comment.
Method Detail

getFormatter

public java.text.DecimalFormat getFormatter()
Returns the formatter for format and parse elements.
Returns:
The formatter

getInputElement

public ElementSet getInputElement()
Returns the element which will be formatted.
Returns:
The element which will be formatted

getInputString

public java.lang.String getInputString()
Returns the text which will be parsed.
Returns:
The text which will be parsed

getResultElement

public ElementSet getResultElement()
Returns the current result of parsing of text.
Returns:
The current result of parsing of text

getResultString

public java.lang.String getResultString()
Returns the current result of formatting of element.
Returns:
The current result of formatting of element

setFormatter

public void setFormatter(java.text.DecimalFormat value)
Sets the formatter for format and parse elements.
Parameters:
value - The formatter

setInputElement

public void setInputElement(ElementSet value)
Sets the element which will be formatted.
Parameters:
value - The element which will be formatted

setInputString

public void setInputString(java.lang.String value)
Sets the text which will be parsed.
Parameters:
value - The text which will be parsed