java.lang.Object
com.thecoderscorner.menu.domain.state.MenuState<BigDecimal>
com.thecoderscorner.menu.domain.state.BigDecimalMenuState
All Implemented Interfaces:
AnyMenuState

public class BigDecimalMenuState extends MenuState<BigDecimal>
Used to store the decimal state of large number menu item in the menu tree. Generally it's best to work with state via MenuItemHelper
  • Constructor Details

    • BigDecimalMenuState

      public BigDecimalMenuState(MenuItem item, boolean changed, boolean active, BigDecimal value)
      Creates a state that can store a big decimal
      Parameters:
      item - the menu item it belongs to
      changed - if the item has changed
      active - if the item is active.
      value - the current value as a big decimal