The following tables list the members exposed by CalculatorEngine.
Name | Description | |
---|---|---|
![]() | CalculatorEngine Constructor | Constructs a new Calculator Engine Object |
Name | Description | |
---|---|---|
![]() | AutoDetectDecimalSymbol | Gets/Sets whether or not decimal symbol is taken from user defined prop or system locale |
![]() | AutoDetectGroupSymbol | Gets/Sets whether or not decimal symbol is taken from user defined prop or system locale |
![]() | DecimalSymbol | Value used to display decimal |
![]() | DigitGrouping | Gets/Sets whether or not to use digit grouping |
![]() | DisplayString | Returns the locally formatted display string. |
![]() | DisplayValue | Returns the display text as decimal |
![]() | GroupSize | Specifies how many places left of the decimal for each group. |
![]() | GroupSymbol | Value used to display group separator |
![]() | HasErrorOccurred | Gets whether or not an error has occured in default processing. |
![]() | HasMemoryValue | Used to determine if value is stored in memory |
![]() | MemoryValue | Allows setting or getting of the memory value |
Name | Description | |
---|---|---|
![]() | ButtonArrayList | Array of internal button objects used for processing |
![]() | CurrentOperator | Current operator being utilized |
![]() | CurrentValue | Returns current value as string. |
![]() | HasCurrentValue | determines if queue contains a value that can be operated on. operators can NEVER be added to the queue unless a value is present. |
![]() | HasPreviousValue | Used to determine if previous value has been entered |
![]() | ListHasOperator | Determines if an operator is in the list |
![]() | PreviousValue | Returns previous value as string. |
Name | Description | |
---|---|---|
![]() | BackSpace | Erases the last character entered. |
![]() | ClearAll | Clears everything |
![]() | ClearEntry | Sets the current value to 0, does not affect list in any other way |
![]() | MemoryAdd | Overloaded. Adds the current value to memory |
![]() | MemoryClear | Clears the memory |
![]() | MemoryRecall | Places memory value into current value |
![]() | MemoryStore | Overloaded. Stores the current value in memory |
![]() | PushButton | Responds to 'button presses' from 'calculator' |
![]() | ResetAutoDetectDecimalSymbol | Resets the AutoDetectDecimalSymbol property to its default value. |
![]() | ResetAutoDetectGroupSymbol | Resets the AutoDetectGroupSymbol property to its default value. |
![]() | ResetDecimalSymbol | Resets the DecimalSymbol property to its default value. |
![]() | ResetDigitGrouping | Resets the DigitGrouping property to its default value. |
![]() | ResetGroupSize | Resets the GroupSize property to its default value. |
![]() | ResetGroupSymbol | Resets the GroupSymbol property to its default value. |
![]() | ShouldSerializeAutoDetectDecimalSymbol | Returns a Boolean value that determines whether the AutoDetectDecimalSymbol property is set to its default value. |
![]() | ShouldSerializeAutoDetectGroupSymbol | Returns a Boolean value that determines whether the AutoDetectGroupSymbol property is set to its default value. |
![]() | ShouldSerializeDecimalSymbol | Returns a Boolean value that determines whether the DecimalSymbol property is set to its default value. |
![]() | ShouldSerializeDigitGrouping | Returns a Boolean value that determines whether the DigitGrouping property is set to its default value. |
![]() | ShouldSerializeGroupSize | Returns a Boolean value that determines whether the GroupSize property is set to its default value. |
![]() | ShouldSerializeGroupSymbol | Returns a Boolean value that determines whether the GroupSymbol property is set to its default value. |
Name | Description | |
---|---|---|
![]() | FireCalculationFailEvent | Fires the CalculationFail event |
![]() | FormatDisplayString | Formats the current value of the calculator |
![]() | IsStringNumeric | Tests the passed in string to ensure it is numeric |
![]() | OnAfterActionButtonPressed | AfterActionButtonPressed |
![]() | OnAfterButtonClicked | Used to invoke the AfterButtonClicked event |
![]() | OnAfterCalculateImmediate | after immediate calculation |
![]() | OnAfterCalculatePending | Fires after pending calculation |
![]() | OnAfterCalculationComplete | Since some calculations may actually contain multiple steps This event fires when all calculations initiated by operator clicks are completed. |
![]() | OnBeforeActionButtonPressed | Fires on before action occurs, allowing user to cancel default calculation and or change the values |
![]() | OnBeforeButtonClicked | Fires before button is clicked allowing user to cancel or change the button |
![]() | OnBeforeCalculateImmediate | Fires on before immediate Calculation, allowing user to cancel default calculation and or change the values |
![]() | OnBeforeCalculatePending | Fires on before pending Calculation, allowing user to cancel default calculation and or change the values |
![]() | OnDefaultCalculationFail | Fired on Failure of default calculation |
Name | Description | |
---|---|---|
![]() | AfterActionButtonPressed | AfterActionButtonPressed |
![]() | AfterButtonClicked | Event that occurs after a calculator button has been clicked |
![]() | AfterCalculateImmediate | after immediate calculation |
![]() | AfterCalculatePending | Fires after pending calculation |
![]() | AfterCalculationComplete | Since some calculations may actually contain multiple steps This event fires when all calculations initiated by operator clicks are completed. |
![]() | BeforeActionButtonPressed | Fires on before action occurs, allowing user to cancel default calculation and or change the values |
![]() | BeforeButtonClicked | Fires before any button is clicked |
![]() | BeforeCalculateImmediate | Fires on before immediate Calculation, allowing user to cancel default calculation and or change the values |
![]() | BeforeCalculatePending | Fires on before pending Calculation, allowing user to cancel default calculation and or change the values |
![]() | DefaultCalculationFail | Fired on Failure of default calculation |