com.jstatcom.ts
Class Selection
- java.lang.Object
-
- com.jstatcom.ts.Selection
-
public final class Selection extends java.lang.ObjectRepresents a selection of the theTSSelcomponent that is XML serializable.
-
-
Field Summary
Fields Modifier and Type Field and Description static XmlFormat<Selection>Selection_XMLXML format field for (de)serialization.
-
Constructor Summary
Constructors Constructor and Description Selection()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description JSCDRangegetEnclosingRange()Gets the enclosing date range object.JSCNArraygetSelectedIndices()Gets the array with the selected indices in the correct order.JSCDRangegetSelectedRange()Gets the selected date range object.voidsetEnclosingRange(JSCDRange enclosingRange)Sets the enclosing date range.voidsetSelectedIndices(JSCNArray selectedIndices)Sets the array with the selected indices.voidsetSelectedRange(JSCDRange selectedRange)Sets the selected date range.
-
-
-
Method Detail
-
getSelectedIndices
public JSCNArray getSelectedIndices()
Gets the array with the selected indices in the correct order.- Returns:
- array with selected indices
-
setSelectedIndices
public void setSelectedIndices(JSCNArray selectedIndices)
Sets the array with the selected indices.- Parameters:
selectedIndices- array with selected indices- Throws:
java.lang.IllegalArgumentException-if (selectedIndices == null)
-
getSelectedRange
public JSCDRange getSelectedRange()
Gets the selected date range object.- Returns:
- the selected range
-
setSelectedRange
public void setSelectedRange(JSCDRange selectedRange)
Sets the selected date range.- Parameters:
selectedRange- date range- Throws:
java.lang.IllegalArgumentException-if (selectedRange == null)
-
getEnclosingRange
public JSCDRange getEnclosingRange()
Gets the enclosing date range object.- Returns:
- the enclosing range
-
setEnclosingRange
public void setEnclosingRange(JSCDRange enclosingRange)
Sets the enclosing date range.- Parameters:
enclosingRange- date range- Throws:
java.lang.IllegalArgumentException-if (enclosingRange == null)
-
-
DMelt 3.0 © DataMelt by jWork.ORG