tcMenuJavaAPI
Public Member Functions | List of all members
com.thecoderscorner.menu.domain.state.BigDecimalMenuState Class Reference
Inheritance diagram for com.thecoderscorner.menu.domain.state.BigDecimalMenuState:
com.thecoderscorner.menu.domain.state.MenuState< BigDecimal >

Public Member Functions

 BigDecimalMenuState (MenuItem item, boolean changed, boolean active, BigDecimal value)
 
- Public Member Functions inherited from com.thecoderscorner.menu.domain.state.MenuState< BigDecimal >
 MenuState (StateStorageType storageType, MenuItem item, boolean changed, boolean active, T value)
 
MenuItem getItem ()
 
StateStorageType getStorageType ()
 
boolean isChanged ()
 
boolean isActive ()
 
getValue ()
 
boolean equals (Object o)
 
int hashCode ()
 

Detailed Description

Used to store the decimal state of large number menu item in the menu tree. Generally it's best to work with state via com.thecoderscorner.menu.domain.util.MenuItemHelper

Constructor & Destructor Documentation

◆ BigDecimalMenuState()

com.thecoderscorner.menu.domain.state.BigDecimalMenuState.BigDecimalMenuState ( MenuItem  item,
boolean  changed,
boolean  active,
BigDecimal  value 
)

Creates a state that can store a big decimal

Parameters
itemthe menu item it belongs to
changedif the item has changed
activeif the item is active.
valuethe current value as a big decimal

The documentation for this class was generated from the following file: