water.api
Class RequestArguments.HexNonConstantColumnSelect

java.lang.Object
  extended by water.Iced
      extended by water.api.RequestArguments.Argument<T>
          extended by water.api.RequestArguments.MultipleSelect<int[]>
              extended by water.api.RequestArguments.HexColumnSelect
                  extended by water.api.RequestArguments.HexNonClassColumnSelect
                      extended by water.api.RequestArguments.HexNonConstantColumnSelect
All Implemented Interfaces:
java.lang.Cloneable, Request.Filter, Freezable
Enclosing class:
RequestArguments

public class RequestArguments.HexNonConstantColumnSelect
extends RequestArguments.HexNonClassColumnSelect


Field Summary
 
Fields inherited from class water.api.RequestArguments.HexNonClassColumnSelect
_classCol
 
Fields inherited from class water.api.RequestArguments.HexColumnSelect
_elementLimit, _key
 
Fields inherited from class water.api.RequestArguments.Argument
_displayName, _field, _hideInQuery, _name, _prerequisites, _readOnly, _requestHelp, _required
 
Constructor Summary
RequestArguments.HexNonConstantColumnSelect(java.lang.String name, RequestArguments.H2OHexKey key, RequestArguments.H2OHexKeyCol classCol)
           
 
Method Summary
protected  java.util.Comparator<java.lang.Integer> colComp(ValueArray ary)
           
protected  int[] defaultValue()
          Returns the default value of the argument.
 java.lang.String queryComment()
           
 java.lang.String[] selectNames()
          Override this method to determine the value names, that is the names displayed in the browser.
 boolean shouldIgnore(int i, ValueArray.Column ca)
           
 
Methods inherited from class water.api.RequestArguments.HexNonClassColumnSelect
checkLegality
 
Methods inherited from class water.api.RequestArguments.HexColumnSelect
isSelected, parse, queryDescription, queryElement, selectValues
 
Methods inherited from class water.api.RequestArguments.MultipleSelect
jsRefresh, jsValue
 
Methods inherited from class water.api.RequestArguments.Argument
addPrerequisite, check, disable, disable, disabled, errors, jsAddons, originalValue, query, queryAddons, record, refreshOnChange, requestHelp, reset, run, setRefreshOnChange, specified, valid, value
 
Methods inherited from class water.Iced
clone, frozenType, init, newInstance, read, toDocField, write, writeJSON, writeJSONFields
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RequestArguments.HexNonConstantColumnSelect

public RequestArguments.HexNonConstantColumnSelect(java.lang.String name,
                                                   RequestArguments.H2OHexKey key,
                                                   RequestArguments.H2OHexKeyCol classCol)
Method Detail

selectNames

public java.lang.String[] selectNames()
Description copied from class: RequestArguments.MultipleSelect
Override this method to determine the value names, that is the names displayed in the browser. Return null, if the value strings should be used (this is default behavior).

Overrides:
selectNames in class RequestArguments.HexColumnSelect

colComp

protected java.util.Comparator<java.lang.Integer> colComp(ValueArray ary)
Overrides:
colComp in class RequestArguments.HexColumnSelect

shouldIgnore

public boolean shouldIgnore(int i,
                            ValueArray.Column ca)
Overrides:
shouldIgnore in class RequestArguments.HexNonClassColumnSelect

defaultValue

protected int[] defaultValue()
Description copied from class: RequestArguments.Argument
Returns the default value of the argument. Note that the method will be called also on required arguments, in which case it is ok return null. It is kept abstract because defining a proper default value might be tricky and in many case you do not want it to be null. Overriding it always makes you think:)

Overrides:
defaultValue in class RequestArguments.HexColumnSelect

queryComment

public java.lang.String queryComment()
Overrides:
queryComment in class RequestArguments.Argument<int[]>