|
Project: stp | |||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
ObjectCqQuery.ChartOptionsClass
public static class CqQuery.ChartOptionsClass
Instances of this class provide the default values for each attribute specified by the ChartOptions interface, which is the same behavior exhibited when using null for a ChartOptions object. Clients can provide non-default attribute values by defining and instantiating a subclass of this class that overrides select methods to provide the desired non-default value.
Using a class instance creation expression, for example, one could define a ChartOptions object for requesting a row limit of 10000 as follows...
ChartOptions TEN_THOUSAND_ROWS = new ChartOptionsClass(){ public Long getRowNumberLimit() { return 10000; }; };
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface CqQuery.ChartOptions |
---|
CqQuery.ChartOptions.ImageFormat |
Constructor Summary | |
---|---|
CqQuery.ChartOptionsClass()
|
Method Summary | |
---|---|
Long |
getHeight()
Returns the requested height of the chart image in pixels. |
CqQuery.ChartOptions.ImageFormat |
getImageFormat()
Returns the compression format requested for the chart image. |
Boolean |
getIsCompressionOptimized()
Returns whether or not the compression of the image should be optimized. |
Boolean |
getIsGreyScale()
Returns whether the chart image is to be rendered in grey scale or color. |
Boolean |
getIsInterlaced()
Returns whether or not a PNG image should be interlaced. |
Boolean |
getIsProgressive()
Returns whether or not a JPEG image is to use progressive compression. |
Integer |
getQuality()
Returns the requested quality of JPEG compression, expressed as an integer between 1 (maximum compression) and 100 (maximum fidelity). |
PropertyRequestItem.PropertyRequest |
getQueryPropertyRequest()
|
Long |
getRowNumberLimit()
|
Long |
getWidth()
Returns the requested width of the chart image. |
Methods inherited from class Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CqQuery.ChartOptionsClass()
Method Detail |
---|
public Long getHeight()
CqQuery.ChartOptions
getHeight
in interface CqQuery.ChartOptions
public CqQuery.ChartOptions.ImageFormat getImageFormat()
CqQuery.ChartOptions
getImageFormat
in interface CqQuery.ChartOptions
public Boolean getIsCompressionOptimized()
CqQuery.ChartOptions
getIsCompressionOptimized
in interface CqQuery.ChartOptions
public Boolean getIsGreyScale()
CqQuery.ChartOptions
getIsGreyScale
in interface CqQuery.ChartOptions
public Boolean getIsInterlaced()
CqQuery.ChartOptions
getIsInterlaced
in interface CqQuery.ChartOptions
public Boolean getIsProgressive()
CqQuery.ChartOptions
getIsProgressive
in interface CqQuery.ChartOptions
public Integer getQuality()
CqQuery.ChartOptions
getQuality
in interface CqQuery.ChartOptions
public PropertyRequestItem.PropertyRequest getQueryPropertyRequest()
getQueryPropertyRequest
in interface CqQuery.CommonOptions
CqResultSet.getQuery()
public Long getRowNumberLimit()
getRowNumberLimit
in interface CqQuery.CommonOptions
targetRow
parameter is 1. In general,
the maximum number of rows returned by an execution of the
query will be the smallest of
maxRows
parameter,
1+getRowNumberLimit()-targetRow
, and
1+CqResultSet.getRowNumberHardLimit()-targetRows
CqResultSet.getRowNumberHardLimit()
,
CqResultSet.getRowNumberSoftLimit()
,
CqResultSet.isRowNumberLimitExceeded()
public Long getWidth()
CqQuery.ChartOptions
getWidth
in interface CqQuery.ChartOptions
|
Generated Fri 30-Jul-2010 12:52 AM | |||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |