Class DecimalArgumentProcessor
- java.lang.Object
-
- me.hsgamer.bettergui.argument.type.BaseActionArgumentProcessor
-
- me.hsgamer.bettergui.argument.type.SingleArgumentProcessor<Double>
-
- me.hsgamer.bettergui.argument.type.DecimalArgumentProcessor
-
- All Implemented Interfaces:
ArgumentProcessor,MenuElement
public class DecimalArgumentProcessor extends SingleArgumentProcessor<Double>
-
-
Field Summary
-
Fields inherited from class me.hsgamer.bettergui.argument.type.BaseActionArgumentProcessor
onInvalidActionApplier, onRequiredActionApplier, options
-
-
Constructor Summary
Constructors Constructor Description DecimalArgumentProcessor(ArgumentProcessorBuilder.Input input)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected StringgetArgumentValue(Double object)protected Optional<Double>getObject(String name)protected Stream<Double>getObjectStream()protected StringgetValue(String query, UUID uuid, Double object)-
Methods inherited from class me.hsgamer.bettergui.argument.type.SingleArgumentProcessor
getObject, getValue, process, tabComplete
-
Methods inherited from class me.hsgamer.bettergui.argument.type.BaseActionArgumentProcessor
getMenu
-
-
-
-
Constructor Detail
-
DecimalArgumentProcessor
public DecimalArgumentProcessor(ArgumentProcessorBuilder.Input input)
-
-
Method Detail
-
getObject
protected Optional<Double> getObject(String name)
- Specified by:
getObjectin classSingleArgumentProcessor<Double>
-
getObjectStream
protected Stream<Double> getObjectStream()
- Specified by:
getObjectStreamin classSingleArgumentProcessor<Double>
-
getArgumentValue
protected String getArgumentValue(Double object)
- Specified by:
getArgumentValuein classSingleArgumentProcessor<Double>
-
-