

Public Member Functions | |
| Numeral (char c) | |
| Each numeral is represented by a character. | |
| char | get () |
| Useful to create a representation. | |
| String | name () |
| Useful to create a representation. | |
| String[] | name_array () |
| Useful to create a representation. | |
Private Attributes | |
| final char | c |
| Each numeral is represented by a character. | |
This includes 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, A, B, C, D, E, F and a base point. This is more unusual amongst PObject classes because its constructor takes and argument. The argument is used as the symbol and shortcut for the numeral.
| jscicalc.pobject.Numeral.Numeral | ( | char | c | ) |
Each numeral is represented by a character.
| c | The character reprenting this Numeral |
References jscicalc.pobject.PObject.fshortcut, and jscicalc.pobject.PObject.ftooltip.
| char jscicalc.pobject.Numeral.get | ( | ) |
Useful to create a representation.
References jscicalc.pobject.Numeral.c.
Referenced by jscicalc.CalculatorApplet.setMode().
| String jscicalc.pobject.Numeral.name | ( | ) |
Useful to create a representation.
Reimplemented from jscicalc.pobject.PObject.
Referenced by jscicalc.Parser.convertNumerals(), and jscicalc.CalculatorApplet.setMode().
| String [] jscicalc.pobject.Numeral.name_array | ( | ) | [virtual] |
Useful to create a representation.
Implements jscicalc.pobject.PObject.
References jscicalc.pobject.Numeral.c.
final char jscicalc.pobject.Numeral.c [private] |
Each numeral is represented by a character.
Referenced by jscicalc.pobject.Numeral.get(), and jscicalc.pobject.Numeral.name_array().
1.5.5