water.api
Class RequestArguments.HexPCAColumnSelect

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.HexPCAColumnSelect
All Implemented Interfaces:
java.lang.Cloneable, Request.Filter, Freezable
Enclosing class:
RequestArguments

public class RequestArguments.HexPCAColumnSelect
extends RequestArguments.HexColumnSelect


Field Summary
 
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.HexPCAColumnSelect(java.lang.String name, RequestArguments.H2OHexKey key)
           
 
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()
           
protected  java.lang.String queryDescription()
          Returns the query description.
 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.HexColumnSelect
checkLegality, isSelected, parse, 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.HexPCAColumnSelect

public RequestArguments.HexPCAColumnSelect(java.lang.String name,
                                           RequestArguments.H2OHexKey key)
Method Detail

queryDescription

protected java.lang.String queryDescription()
Description copied from class: RequestArguments.Argument
Returns the query description. This is a concise description of a correct value for the argument. generally used as a placeholder in the html query elements.

Overrides:
queryDescription in class RequestArguments.HexColumnSelect

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.HexColumnSelect

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[]>