public class TableAdvanceOption
extends java.lang.Object
ASCENDING
, ASCENDING
or NOTSORTED
.Modifier and Type | Field and Description |
---|---|
static java.lang.String |
SELECT_N_ALL
The SeletcN type.
|
static java.lang.String |
SELECT_N_BOTTOM
The SeletcN type.
|
static java.lang.String |
SELECT_N_TOP
The SeletcN type.
|
Constructor and Description |
---|
TableAdvanceOption()
Constructor.
|
TableAdvanceOption(java.lang.String parameterNameForTopN,
int selectN,
java.lang.String otherName)
Constructor.
|
TableAdvanceOption(java.lang.String selectNType,
java.lang.String parameterNameForTopN,
int selectN,
java.lang.String otherName)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
clone()
Clones a Table Advanced Option.
|
java.lang.String |
getOtherName()
Gets the group name for all of the other records that don't match the Select N condition will be displayed (which by default are hidden) in another group.
|
java.lang.String |
getParameterName()
Gets the mapping name of the parameter which can define the SelectN number.
|
int |
getTopN()
Gets the SelectN number to define groups that will be displayed while the others are hidden.
|
void |
setOtherName(java.lang.String otherName)
Sets the group name for all of the other records that don't match the Select N condition will be displayed (which by default are hidden) in another group.
|
void |
setParameterName(java.lang.String parameterNameForTopN)
Sets the mapping name of the parameter which can define a SelectN number.
|
void |
setTopN(int selectN)
Specifies the SelectN number to define groups that will be displayed while the others are hidden.
|
public static final java.lang.String SELECT_N_ALL
public static final java.lang.String SELECT_N_TOP
public static final java.lang.String SELECT_N_BOTTOM
public TableAdvanceOption()
public TableAdvanceOption(java.lang.String parameterNameForTopN, int selectN, java.lang.String otherName)
parameterNameForTopN
- The mapping name of the parameter which can define a SelectN number.selectN
- The number of SelectN.otherName
- The group name for all of the other records that don't match the Select N condition will be displayed (which by default are hidden) in another group.#SELECT_N_ALL}, {@link #SELECT_N_TOP},{@link #SELECT_N_BOTTOM}
public TableAdvanceOption(java.lang.String selectNType, java.lang.String parameterNameForTopN, int selectN, java.lang.String otherName)
parameterNameForTopN
- The mapping name of the parameter which can define a SelectN number.selectN
- The number of SelectN.otherName
- The group name for all of the other records that don't match the Select N condition will be displayed (which by default are hidden) in another group.selectNType
- The String type of SelectN.#SELECT_N_ALL}, {@link #SELECT_N_TOP},{@link #SELECT_N_BOTTOM}
public void setTopN(int selectN)
SELECT_N_ALL
, SELECT_N_BOTTOM
and SELECT_N_TOP
.selectN
- The SelectN number.public int getTopN()
public void setParameterName(java.lang.String parameterNameForTopN)
parameterNameForTopN
- The mapping name of the parameter to define the SelectN number.public java.lang.String getParameterName()
public void setOtherName(java.lang.String otherName)
otherName
- Name of the Others
group of SelectN.public java.lang.String getOtherName()
Others
group of SelectN.public java.lang.Object clone()
clone
in class java.lang.Object