com.dukascopy.api.indicators
Class BooleanOptInputDescription

java.lang.Object
  extended by com.dukascopy.api.indicators.BooleanOptInputDescription
All Implemented Interfaces:
OptInputDescription

public class BooleanOptInputDescription
extends Object
implements OptInputDescription

Describes optional input as boolean value. On UI is represented as check box.


Constructor Summary
BooleanOptInputDescription()
           
BooleanOptInputDescription(boolean defaultValue)
           
 
Method Summary
 boolean getDefaultValue()
          The method returns default value, which will be shown on UI
 void setDefaultValue(boolean defaultValue)
          The method sets default value, which will be shown on UI
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BooleanOptInputDescription

public BooleanOptInputDescription()

BooleanOptInputDescription

public BooleanOptInputDescription(boolean defaultValue)
Method Detail

getDefaultValue

public boolean getDefaultValue()
The method returns default value, which will be shown on UI

Returns:
default value

setDefaultValue

public void setDefaultValue(boolean defaultValue)
The method sets default value, which will be shown on UI

Parameters:
defaultValue -


Copyright © 2011. All Rights Reserved.