|
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.ChartOptionspublic CqQuery.ChartOptions.ImageFormat getImageFormat()
CqQuery.ChartOptions
getImageFormat in interface CqQuery.ChartOptionspublic Boolean getIsCompressionOptimized()
CqQuery.ChartOptions
getIsCompressionOptimized in interface CqQuery.ChartOptionspublic Boolean getIsGreyScale()
CqQuery.ChartOptions
getIsGreyScale in interface CqQuery.ChartOptionspublic Boolean getIsInterlaced()
CqQuery.ChartOptions
getIsInterlaced in interface CqQuery.ChartOptionspublic Boolean getIsProgressive()
CqQuery.ChartOptions
getIsProgressive in interface CqQuery.ChartOptionspublic Integer getQuality()
CqQuery.ChartOptions
getQuality in interface CqQuery.ChartOptionspublic PropertyRequestItem.PropertyRequest getQueryPropertyRequest()
getQueryPropertyRequest in interface CqQuery.CommonOptionsCqResultSet.getQuery()public Long getRowNumberLimit()
getRowNumberLimit in interface CqQuery.CommonOptionstargetRow 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 Tue 10-Jun-2014 09:00 AM | |||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||