|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectwater.Iced
water.api.RequestArguments.Argument<T>
water.api.RequestArguments.MultipleSelect<int[]>
water.api.RequestArguments.HexColumnSelect
public class RequestArguments.HexColumnSelect
| Field Summary | |
|---|---|
int |
_elementLimit
|
RequestArguments.H2OHexKey |
_key
|
| Fields inherited from class water.api.RequestArguments.Argument |
|---|
_displayName, _field, _hideInQuery, _name, _prerequisites, _readOnly, _requestHelp, _required |
| Constructor Summary | |
|---|---|
RequestArguments.HexColumnSelect(java.lang.String name,
RequestArguments.H2OHexKey key)
|
|
RequestArguments.HexColumnSelect(java.lang.String name,
RequestArguments.H2OHexKey key,
int elementLimit)
|
|
| Method Summary | |
|---|---|
void |
checkLegality(int i,
ValueArray.Column c)
|
protected java.util.Comparator<java.lang.Integer> |
colComp(ValueArray ary)
|
protected int[] |
defaultValue()
Returns the default value of the argument. |
protected boolean |
isSelected(java.lang.String value)
Returns true if the given option (by its value) is selected. |
protected int[] |
parse(java.lang.String input)
Override this method to provide parsing of the input string to the Java expected value. |
protected java.lang.String |
queryDescription()
Returns the query description. |
protected java.lang.String |
queryElement()
Displays the query element. |
protected java.lang.String[] |
selectNames()
Override this method to determine the value names, that is the names displayed in the browser. |
protected java.lang.String[] |
selectValues()
Override this method to provide the values for the options. |
boolean |
shouldIgnore(int i,
ValueArray.Column ca)
|
| 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, queryComment, 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 |
| Field Detail |
|---|
public final RequestArguments.H2OHexKey _key
public final int _elementLimit
| Constructor Detail |
|---|
public RequestArguments.HexColumnSelect(java.lang.String name,
RequestArguments.H2OHexKey key)
public RequestArguments.HexColumnSelect(java.lang.String name,
RequestArguments.H2OHexKey key,
int elementLimit)
| Method Detail |
|---|
public boolean shouldIgnore(int i,
ValueArray.Column ca)
public void checkLegality(int i,
ValueArray.Column c)
throws java.lang.IllegalArgumentException
java.lang.IllegalArgumentExceptionprotected java.util.Comparator<java.lang.Integer> colComp(ValueArray ary)
protected java.lang.String queryElement()
RequestArguments.MultipleSelect
queryElement in class RequestArguments.MultipleSelect<int[]>protected final java.lang.String[] selectValues()
RequestArguments.MultipleSelect
selectValues in class RequestArguments.MultipleSelect<int[]>protected java.lang.String[] selectNames()
RequestArguments.MultipleSelect
selectNames in class RequestArguments.MultipleSelect<int[]>protected boolean isSelected(java.lang.String value)
RequestArguments.MultipleSelect
isSelected in class RequestArguments.MultipleSelect<int[]>
protected int[] parse(java.lang.String input)
throws java.lang.IllegalArgumentException
RequestArguments.Argument
parse in class RequestArguments.Argument<int[]>java.lang.IllegalArgumentExceptionprotected int[] defaultValue()
RequestArguments.Argument
defaultValue in class RequestArguments.Argument<int[]>protected java.lang.String queryDescription()
RequestArguments.Argument
queryDescription in class RequestArguments.Argument<int[]>
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||