|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object jet.controls.JetObject jet.report.JetRptObject jet.report.JRObjectTemplate
public abstract class JRObjectTemplate
The JRObjectTemplate(and subclasses) is used for creating User Defined Objects (UDO). It contains several predefined standard JRpeort Objects (which are used to compose the report). Properties such as X, Y, Height and Width, etc, can be modified. Standard Jreport Object is also called as 'component' in this class. See the help document
Field Summary | |
---|---|
static java.lang.String |
ARCSHAPE_STL
Default Style prefix for Arc shape, Only be used for compatibility now |
JetColor |
backColor
The property named "Background" for background color. |
static java.lang.String |
BOX_STL
Default Style prefix for box shape, Only be used for compatibility now |
static java.lang.String |
CHARTPLATFORM_STL
Default Style prefix for ChartObject, Only be used for compatibility now |
jet.controls.JetContextList |
Class
The Property named "class", for class conditional on class Selector/Attribute Selector when applying CSS |
JetEnumeration |
clear
|
static java.lang.String |
COLUMN_STL
Deprecated. because V8 use new structure table. |
JetNumber |
columnIndex
The Property named "ColumnIndex", the index of column when exporting to excel, default is -1 which means not set. |
static java.lang.String |
CTAGGFIELD_STL
Default Style prefix for CTAggField, Only be used for compatibility now |
static java.lang.String |
CTCROSSTAB_STL
Default Style prefix for Crosstab, Only be used for compatibility now |
static java.lang.String |
CTDBFIELD_STL
Default Style prefix for CTDBField, Only be used for compatibility now |
static java.lang.String |
CTTEXTFIELD_STL
Default Style prefix for CTTextField, Only be used for compatibility now |
static java.lang.String |
DATAOBJDETAILPANEL_STL
Deprecated. because DataObj Not used since V8 |
static java.lang.String |
DATAOBJECT_STL
Deprecated. because DataObj Not used since V8 |
static java.lang.String |
DATAOBJFOOTERPANEL_STL
Deprecated. because DataObj Not used since V8 |
static java.lang.String |
DATAOBJGRPFOOTERPANEL_STL
Deprecated. because DataObj Not used since V8 |
static java.lang.String |
DATAOBJGRPHEADERPANEL_STL
Deprecated. because DataObj Not used since V8 |
static java.lang.String |
DATAOBJHEADERPANEL_STL
Deprecated. because DataObj Not used since V8 |
static java.lang.String |
DBFIELD_STL
Default Style prefix for DBField/Summary/Formula, Only be used for compatibility now |
static java.lang.String |
DETAILPANEL_STL
Default Style prefix for Detail Panel, Only be used for compatibility now |
JetEnumeration |
display
|
JetBoolean |
exportToCSV
The property named "ExportToCSV", if is true this object can be export to csv result. |
JetBoolean |
exportToDHTML
The Property named "ExportToDHTML", if is true, this object can be exported to DHTML. |
JetBoolean |
exportToXLS
The property named "ExportToXLS", if is true this object can be export to excel result. |
JetString |
externalCSSClassValue
Using this, a report only provides an "externalCSSClassValue" property for user to specify a string value. |
JetEnumeration |
Float
|
static int |
FLOW_CLEAR_BOTH
Deprecated. See EnumerationConstant.FLOW_CLEAR_BOTH |
static int |
FLOW_CLEAR_LEFT
Deprecated. See EnumerationConstant.FLOW_CLEAR_LEFT |
static int |
FLOW_CLEAR_NONE
Deprecated. See EnumerationConstant.FLOW_CLEAR_NONE |
static int |
FLOW_CLEAR_RIGHT
Deprecated. See EnumerationConstant.FLOW_CLEAR_RIGHT |
static int |
FLOW_DIRECTION_BTT
Deprecated. See EnumerationConstant.FLOW_DIRECTION_BTT |
static int |
FLOW_DIRECTION_LTR
Deprecated. See EnumerationConstant.FLOW_DIRECTION_LTR |
static int |
FLOW_DIRECTION_RTL
Deprecated. See EnumerationConstant.FLOW_DIRECTION_RTL |
static int |
FLOW_DIRECTION_TTB
Deprecated. See EnumerationConstant.FLOW_DIRECTION_TTB |
static int |
FLOW_DISPLAY_BLOCK
Deprecated. See EnumerationConstant.FLOW_DISPLAY_BLOCK |
static int |
FLOW_DISPLAY_INLINE
Deprecated. See EnumerationConstant.FLOW_DISPLAY_INLINE |
static int |
FLOW_DISPLAY_NONE
Deprecated. See EnumerationConstant.FLOW_DISPLAY_NONE |
static int |
FLOW_FLOAT_LEFT
Deprecated. See EnumerationConstant.FLOW_FLOAT_LEFT |
static int |
FLOW_FLOAT_NONE
Deprecated. See EnumerationConstant.FLOW_FLOAT_NONE |
static int |
FLOW_FLOAT_RIGHT
Deprecated. See EnumerationConstant.FLOW_FLOAT_RIGHT |
static int |
FLOW_POSITION_ABSOLUTE
Deprecated. See EnumerationConstant.FLOW_POSITION_ABSOLUTE |
static int |
FLOW_POSITION_RELATIVE
Deprecated. See EnumerationConstant.FLOW_POSITION_RELATIVE |
static int |
FLOW_POSITION_STATIC
Deprecated. See EnumerationConstant.FLOW_POSITION_STATIC |
static java.lang.String |
GROUPFOOTERPANEL_STL
Default Style prefix for Group Footer, Only be used for compatibility now |
static java.lang.String |
GROUPHEADERPANEL_STL
Default Style prefix for Group Header, Only be used for compatibility now |
JetUnitNumber |
height
The property named "Height" for object height. |
jet.controls.JetContextList |
id
The Property named "id", for Id conditional on ID Selector/Attribute Selector when applying CSS |
static java.lang.String |
IMAGE_STL
Default Style prefix for Image, Only be used for compatibility now |
JetBoolean |
invisible
The property named "Invisible" for object visible. |
static java.lang.String |
LABEL_STL
Default Style prefix for Label/TextField, Only be used for compatibility now |
static java.lang.String |
LINE_STL
Default Style prefix for line shape, Only be used for compatibility now |
JetEnumeration |
location
The property named "RecordLocation" for record location, value must be EnumerationConstant.RECORDLOCATION_DETAIL EnumerationConstant.RECORDLOCATION_PAGEHEADER EnumerationConstant.RECORDLOCATION_PAGEFOOTER |
static java.lang.String |
MAP_STL
Default Style prefix for Map, Only be used for compatibility now |
static java.lang.String |
MAPDBFIELD_STL
Default Style prefix for Area-Summary, Only be used for compatibility now |
static java.lang.String |
MAPLABEL_STL
Default Style prefix for Area-Label, Only be used for compatibility now |
static java.lang.String |
MEDIAFIELD_STL
Deprecated. because Media Field Not used since V8 |
JetNumber |
objectIndex
|
static java.lang.String |
OVALSHAPE_STL
Default Style prefix for oval shape, Only be used for compatibility now |
static java.lang.String |
PAGEFOOTERPANEL_STL
Default Style prefix for Page Footer, Only be used for compatibility now |
static java.lang.String |
PAGEHEADERPANEL_STL
Default Style prefix for Page Header, Only be used for compatibility now |
static java.lang.String |
PARAMETERFIELD_STL
Default Style prefix for Pareter field, Only be used for compatibility now |
JetEnumeration |
position
|
JetQualifyReference |
refMode
The Property named "refMode" for "mode' usage |
static java.lang.String |
ROUNDBOXSHAPE_STL
Default Style prefix for Round-box shape, Only be used for compatibility now |
JetNumber |
rowIndex
The Property named "RowIndex", the index of row when exporting to excel, default is -1 which means not set. |
static java.lang.String |
RPTFOOTERPANEL_STL
Deprecated. because Report footer Not used since V8 |
static java.lang.String |
RPTHEADERPANEL_STL
Deprecated. because Report Header Not used since V8 |
JetNumber |
rtfId
|
static java.lang.String |
SECTIONFOOTER_STL
Default Style prefix for Banded Footer, Only be used for compatibility now |
static java.lang.String |
SECTIONHEADER_STL
Default Style prefix for Banded Header, Only be used for compatibility now |
static java.lang.String |
SECTIONPAGEFOOTER_STL
Default Style prefix for Banded Page Footer, Only be used for compatibility now |
static java.lang.String |
SECTIONPAGEHEADER_STL
Default Style prefix for Banded Page header, Only be used for compatibility now |
static java.lang.String |
SPECIALFIELD_STL
Default Style prefix for Special Field/System Field, Only be used for compatibility now |
JetStringList |
style
The property named "Style", the prefix for StyleGroup, not be export to RST. |
static java.lang.String |
SUBREPORT_STL
Default Style prefix for Sub-Report, Only be used for compatibility now |
JetBoolean |
suppressed
The property named "Suppressed". |
JetBoolean |
suppressedIfNoRecords
The property named "SuppressedIfNoRecords". |
static java.lang.String |
TABLE_STL
Deprecated. because V8 use new structure table. |
static java.lang.String |
TEXT_STL
Deprecated. because TextObject Not used since V8 |
JetUnitNumber |
width
The property named "Width" for object width. |
JetString |
wstyleGrp
|
JetString |
wstyleName
|
JetUnitNumber |
x
The property named "X" for object x position. |
JetUnitNumber |
y
The property named "Y" for object y position. |
JetNumber |
zOrder
|
Fields inherited from class jet.report.JetRptObject |
---|
anchor, anchorDispValue, displayName, styleName |
Fields inherited from class jet.controls.JetObject |
---|
bEditable, debug, profiling, propIDs, schemaLocation, UPDATENAME |
Fields inherited from interface jet.datastream.DSTemplatible |
---|
ALIGNMENT_CODE, ALT_CODE, APPLET_HEIGHT_CODE, APPLET_WIDTH_CODE, ARC_ANGLE_CODE, ARCSHAPE, AREA, AREA_DBFIELD, AREA_LABEL, AREACHART, AUTO_SIZE_CODE, AUTOFITCODE, AVOID_ORPHAN_HEADER_CODE, BACKGROUND_CODE, BARCHART, BARCODEFIELD, BOLDCODE, BORDER_COLOR_CODE, BORDER_STYLE_CODE, BORDERWIDTH_CODE, BOTTOM_ATTACH_CODE, BOTTOM_ATTACH_POS_X_CODE, BOTTOM_ATTACH_POS_Y_CODE, BOTTOM_LINE_CODE, BOTTOM_MARGIN_CODE, BOUNDARY_VALUE_CODE, BOX, CACHE_SECTION_CODE, CanCrossCode, CASCADE_CODE, CATALOG_NAME_CODE, CELL, CHART, CHART2DCOORDINATEPAPER, CHART3DCOORDINATEPAPER, CHARTCOORDINATEPAPER, CHARTDATASOURCE, CHARTHEATMAPGROUPRECT, CHARTHEATMAPLEGEND, CHARTLABEL, CHARTLEGEND, CHARTNODE, CHARTORGNODE, CHARTORGNODELINE, CHARTPLATFORM, COL_WIDTH_LIST_CODE, COLUMN, COLUMN_NAME_CODE, COLUMN_TOTAL_ON_LEFT_CODE, COLUMNNUMBER_CODE, COMPCHART, COMPCROSSTAB, COMPFLOAT, COMPRESS_IF_NO_RECORD_CODE, CONTAINER, CONTAINER2, CONTROL, CONTROL_SYMBOL, CORNER_FACTOR_CODE, CROSS_TAB, DATA_DRIVER_CODE, DATA_SOURCE_NAME_CODE, DBFIELD, DEPTH_CODE, DETAIL_PANEL, DISPLAY_NULL_CODE, EmbeddedCode, END, ERROR, EXCEL_BUFFER_SIZE_CODE, EXPORTTOCSV_CODE, EXPORTTOXLS_CODE, FIELD, FIELD_TYPE_CODE, FILL_COLOR_CODE, FillWholeCode, FILTER_CONTROL, FONT_FACE_CODE, FONTSIZECODE, FOREGROUND_CODE, FORM, FORMAT_CODE, FUNCTION_CODE, G_MAP, G_MARKER, GEO_AREA, GEO_MAP, GEO_MARKER, GRANT_CODE, GRID, GROUP_BY_CODE, GROUP_CODE, GROUP_FOOTER_PANEL, GROUP_HEADER_PANEL, GROUP_ID_CODE, GROUP_MASK_CODE, GROUP_NUMBER_CODE, GROUP_ORDER_CODE, GROUP_TYPE_CODE, GROUPCONTROLIMG, GROUPFIELD, GROUPFILTER, HAS_BORDER_CODE, HeightCode, HORIZONTAL_CODE, HORIZONTAL_GAP_CODE, INDEX_CODE, INPUT, InvisibleCode, IS_COLUMN_CODE, ISXHEADER_CODE, ITALICCODE, ITEM_ID_CODE, JETRPTCTFIELD, KEEP_GROUP_TOGETHER_CODE, KEEP_OTHERS_CODE, KEY_CODE, LABEL_CODE, LC_CONFIG, LC_TITLE_BAR, LEFT_LINE_CODE, LEFT_MARGIN_CODE, LINE, LINE_COLOR_CODE, LINE_STYLE_CODE, LINE_WIDTH_CODE, LINECHART, MAIN_COLUMN_CODE, MAP, MAP_TEXTFIELD, MAPDBFIELD, MAPLABEL, MAX_PAGE_NUMBER_CODE, MAX_RECORDS_CODE, MAXWIDTHCODE, MEDIAFIELD, MULTI_VALUE_BOX, NAVIGATE_BUTTON, NAVIGATE_CONTROL, NEED_TOPN_CODE, NEW_TABLE, NO_RECORD_TIP_CODE, OLE, OnNewPageCode, OPERATOR_CODE, ORDERBY_CODE, ORIENTATION_CODE, OTHERFIELD, OTHERS_NAME_CODE, OVALSHAPE, PAGE_FOOTER_PANEL, PAGE_HEADER_PANEL, PAGE_TYPE_CODE, PARA_LIST_AUTO_CODE, PARAGRAPH, PARALLELDETAIL_PANEL, PARAMETER_CODE, PARAMETER_FORM, PARAMETERFIELD, ParamListAutoCode, PATTERNCOLOR_CODE, PATTERNSTYLE_CODE, PICTURE, PICTURE_NAME_CODE, PIECHART, POLYGONAL_LINE, QUERY_NAME_CODE, RECORD_LOCATION_CODE, RECORDS_PER_PAGE_CODE, REFERENCE, RELATIVE_FIELD_CODE, REPEAT_CODE, REPEAT_ROW_HEADER_CODE, REPEAT_WHILEGF_CODE, REPLACE_ELEMENT, REPORT_BODY, REPORT_CODE, REPORT_FOOTER_PANEL, REPORT_HEADER_PANEL, REPORT_OBJECT, RESTRICT_CODE, RESULT_BUFFER_SIZE_CODE, RIGHT_LINE_CODE, RIGHT_MARGIN_CODE, ROOT_LABEL_CODE, ROUNDBOXSHAPE, ROW, ROW_TOTAL_ON_TOP_CODE, ROWNUMBER_CODE, ROWS_PER_SHEET_CODE, RTF_FILE_CODE, SECTION, SECTION_FOOTER, SECTION_HEADER, SECTION_OBJECT, SECTION_PAGEFOOTER, SECTION_PAGEHADER, SECTION_PAGEPANEL, SECTION2, SELECT, SHADOW_COLOR_CODE, SHADOWCODE, SHAPE, SHOW_BORDER_CODE, SHOW_SUB_HEADER_FOOTER_CODE, ShowBottomLineCode, SLIDER, SMART_FOOTER, SMART_HEADER, SORT_ORDER_CODE, SPECIAL_FUNC_CODE, SQL_STATEMENT_CODE, START_ANGLE_CODE, STRIKEOUTCODE, STYLE_ELEMENT, SUB_COLUMN_CODE, SUB_REPORT, SUBREPORT_BODY, SUPPRESS_AGGREATE_CODE, SUPPRESS_IN_LAST_PAGE_CODE, SuppressBlankCode, SuppressCode, SUPPRESSED_IF_NULL_CODE, SuppressEmptyCode, SuppressIfNoRCode, SYSTEMFIELD, TABLE, TABLE_CELL, TABLE_DETAIL, TABLE_FOOTER, TABLE_GROUP_FOOTER, TABLE_GROUP_HEADER, TABLE_HEADER, TABLE_ROW, TABLEFIELD, TABULAR, TABULAR_CELL, TEMPLATE_CODE, TEXT_BOX, TEXT_CODE, TEXT_SEGMENT, TEXTFIELD, TEXTOBJECT, TILE_DETAIL_SECTION_CODE, TILE_HORIZONTAL_CODE, TO_BOTTOM_CODE, TOC, TOCGRP, TOCNODE, TOP_ATTACH_CODE, TOP_ATTACH_POS_X_CODE, TOP_ATTACH_POS_Y_CODE, TOP_LINE_CODE, TOP_MARGIN_CODE, TOPN_CODE, TPL_NAME_CODE, TRANSWHILETOHTMLCODE, UDO, UnderlayCode, UNDERLINE_CODE, UNDERLINECODE, VCT_COLOR_LEGEND, VCT_DATALABEL_LEGEND, VCT_DISPLAYTYPE_AUTO, VCT_DISPLAYTYPE_BAR, VCT_DISPLAYTYPE_BENCH, VCT_DISPLAYTYPE_LINE, VCT_DISPLAYTYPE_PIE, VCT_DISPLAYTYPE_SHAPE, VCT_DISPLAYTYPE_TEXT, VCT_HEADER_TITLE, VCT_SHAPE_LEGEND, VCT_SIZE_LEGEND, VCT_SLICE_LEGEND, VCT_TEXT_LEGEND, VCT_TEXT_LEGEND_PATTERN, VCTAXISHeader, VCTBODY, VCTDBHEADER, VCTOBJECT, VERTICAL_GAP_CODE, VERTICAL_LAYOUT_CODE, WidthCode, WORDWRAPCODE, X_DEPTH_CODE, XCode, Y_DEPTH_CODE, YCode, ZIP_RESULT_CODE |
Fields inherited from interface jet.datastream.RecordLocation |
---|
DETAIL, PAGE_FOOTER, PAGE_HEADER |
Fields inherited from interface jet.controls.VisualObject |
---|
VISUAL_LINESEGS, VISUAL_RECTANGLE, VISUAL_STATICBOX |
Constructor Summary | |
---|---|
JRObjectTemplate()
Creates a component . |
Method Summary | |
---|---|
void |
addPropertyToGroup(java.lang.String propertyName,
java.lang.String groupName)
ONLY for UDO in Designer. Append a Property to Property-Group that will be showed in Designer Inspector Must sure that propertyName and groupName has been defined in this Object |
boolean |
canDoConditionalFormatting()
API for solution for 'Conditional Formatting Feature', implements from ConditionalFormatable Can this component Use 'conditional formatting'(as ChangeBy value) on its properties? |
static int |
convertSize(int pixel)
Deprecated. |
void |
fillContextList(jet.controls.JetContextList prop)
For solution of FR51511, overwrited from JetObject, fill ID/Class's property choice |
JetColor |
getBackground()
|
java.awt.Rectangle |
getBound()
|
java.util.Vector<jet.controls.JetObject> |
getChildren()
Returns the children in list if it is container component. |
JetEnumeration |
getClear()
|
jet.report.conditionalFormatting.JetRptConditionalFormatList |
getConditionalFormatList()
|
jet.reportset.JetRptDataSet |
getDataSet()
API for solution for 'Conditional Formatting Feature', implements from ConditionalFormatable Gets the dataset used in datacontainer which contains this. |
static int |
getDefaultResolution()
Deprecated. |
JetEnumeration |
getDisplay()
|
JetEnumeration |
getFloat()
|
JetUnitNumber |
getHeight()
|
java.util.HashMap<java.lang.String,java.lang.Integer> |
getIndecialMap()
Returns the properties managed by this. History:V9 rewrite for thread-safe, V10 rewrite for JDK1.5 |
java.util.HashMap<java.lang.String,java.lang.Integer> |
getIndecialMapForCF()
API for solution for 'Conditional Formatting Feature', implements from ConditionalFormatable Gets the properties that are under the control of the 'conditional formatting' Now the properties under 'conditional formatting' are much smaller than the total, so this API is provided. |
java.lang.String |
getInstName()
|
JetBoolean |
getInvisible()
|
jet.report.mode.JetRptMode |
getJetRptMode()
Deprecated. |
JetProperty |
getLinkProperty()
Gets the Property for link to Report/Email/URL |
java.awt.Point |
getLocation()
Only For Designer product(such as Designer, LCBuilder) |
int |
getObjectType()
Gets the object type Object type is used in Layout/Export result. |
JRObjectTemplate |
getOwner()
|
JetEnumeration |
getPosition()
|
jet.util.Propertiable |
getProperty(short propertyName)
Gets property by property index. |
JetProperty |
getProperty(java.lang.String name)
|
JetProperty |
getPropertyByCFControlName(java.lang.String name)
|
jet.util.Propertiable |
getPropertyByName(java.lang.String propertyName)
Gets property by property name. |
|
getPropGrpsDesc()
Only For Designer product(such as Designer, LCBuilder) |
jet.reportset.JetRptReport |
getRptReport()
API for solution for 'Conditional Formatting Feature', implements from ConditionalFormatable Gets the report this is in |
jet.report.conditionalFormatting.JetRptConditionalFormatList |
getSavedTemporaryConditionalFormatList()
|
JetBoolean |
getSuppressed()
|
int |
getTemplateIndex()
Only for Layout/Export. Gets the index in Layout/Export result. |
java.util.Vector<?> |
getTempSaveConditionalFormatInfoVectorForCrosstab()
|
java.lang.String |
getUDOName()
If user derives his UDO object from this class, this method will return its name. |
java.awt.Rectangle |
getUnitBound()
|
int |
getVisualObjType()
|
JetUnitNumber |
getWidth()
|
JetUnitNumber |
getX()
|
JetUnitNumber |
getY()
|
boolean |
hasConditionalFormat()
API for solution for 'Conditional Formatting Feature', implements from ConditionalFormatable Does this have 'conditional formatting' data |
boolean |
isGetPreferredSizeFromRender()
If user defined object(UDO) needs to get preferred size from JRObjecrRender, it should return true. |
boolean |
isGroupListener()
If user defined object(UDO) needs a group of data, it should return true. |
boolean |
isLinkable()
Is support link to Report/Email/URL? |
boolean |
isViewableObject()
If this object is viewable, return true; |
void |
move(int x,
int y)
Only For Designer product(such as Designer, LCBuilder) |
void |
removePropertyFromGroup(java.lang.String groupName,
java.lang.String propName)
ONLY for UDO in Designer. Hide a Property in specified Property-Group that be showed in Designer Inspector Must sure that groupName has been defined in this Object |
void |
removePropertyGroup(java.lang.String groupName)
ONLY for UDO in Designer. Hide a Property-Group( and properties) that be showed in Designer Inspector Must sure that groupName has been defined in this Object |
void |
reshape(int x,
int y,
int width,
int height)
Only For Designer product(such as Designer, LCBuilder) |
void |
resize(java.awt.Dimension d)
Only For Designer product(such as Designer, LCBuilder) |
void |
resize(int w,
int h)
Only For Designer product(such as Designer, LCBuilder) |
void |
saveTemporaryConditionalFormatList(jet.report.conditionalFormatting.JetRptConditionalFormatList cflist)
|
void |
set(java.lang.String name,
java.awt.Color val)
Sets the value of property whose name is set via the specified color value. History: Before 20050704, ONLY can set "backColor"(case insencetive) |
void |
set(java.lang.String name,
int t3)
Sets the value of property whose name is set via specified integer value. History: Before 20050704,ONLY can set "x","y","width","height","invisible" ,"suppressed", "suppressedIfNoRecords","exportToCSV","exportToXLS"(all case insencetive) Author's comment For better performance, JReport Server uses primitive data type to replace JetProperty. |
void |
set(java.lang.String name,
java.lang.String t3)
Sets the value of property whose name is set via the specified string value. History: Before 20050704,ONLY can set "backColor"(case insencetive) Author's comment For better performance, JReport Server use primitive data type to replace JetProperty. |
void |
setBackground(java.awt.Color c)
Deprecated. |
void |
setBound(java.awt.Rectangle rect)
Only For Designer product(such as Designer, LCBuilder) |
void |
setConditionalFormatList(jet.report.conditionalFormatting.JetRptConditionalFormatList cfList)
API for solution for 'Conditional Formatting Feature', implements from ConditionalFormatable Resets 'conditional formatting' data, and clear 'conditional formatting' on properties |
static void |
setDefaultResolution(int res)
Deprecated. |
void |
setTemplateIndex(int idx)
Only For Layout/Export Sets the index in Layout/Export result. |
void |
setUDOName(java.lang.String name)
If user derives his UDO object from this class, UDOManager will set its name when loading the UDO tamplate. |
java.awt.Dimension |
size()
|
void |
tempSaveConditionalFormatInfoVectorForCrosstab(java.util.Vector v)
|
Methods inherited from class jet.report.JetRptObject |
---|
afterInit, delete, getBelongFormInstName, getDisplayName, getEdMethod, getIndexInChildren, getPrefix, getPrimProp, getViewComponentName, setBelongFormInstName, setChangeBy, setDisplayName, setEdMethod, setViewComponentName |
Methods inherited from class jet.controls.JetObject |
---|
add, addPrimByF, addProperty, addPropertyGroup, addPropertyGroupAt, addPropertyGroupDirectly, addPropertytoGroupDirectly, addReferencer, afterInitInternal, afterNewTree, beforeRemoved, canBeBrowse, close, copyProperties, copyProperties, copyProperties, createNamingSystem, createNamingSystem, createNamingSystemB, deepDup, deepDup, deepDup, deepDupWithName, deepDupWithoutCopyProperties, deepDupWithoutCopyProperties, destory, dup, duplicatePropGrpsDesc, fullDestory, getAncestor, getChangByF, getDescendant, getDisEditJetPropByByGroup, getEditableProperties, getEditalbeJetProp, getFlagImage, getGroupNamebyPropName, getInstancePrefix, getInstNameDirectly, getNameCount, getParent, getParentNode, getPrimByF, getProperties, getPropertyGroup, getPropertyGroupNameByProperty, getPropertyGroups, getPropertyValue, getPropNames, getQualifyName, getRefObjects, getRoot, getTemplate, handleEvent, isAfterInit, isIncludePropertyGroupDirectly, isInIndecialMap, isNeedQuotes, nameToObject, nameToProperty, registObject, remove, removePropertiesAndGroups, removeReferencer, rename, setEditable, setInstName, setInstNameDirectly, setParent, setParentDirectly, setTemplate, toPrimitive |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface jet.datastream.DSTemplatible |
---|
getAlignment, getAlignmentChBy, getAlt, getAlt, getArcAngle, getAutoFit, getAutoSize, getAvoidOrphanHeader, getBackground, getBackgroundByType, getBackgroundChBy, getBasedArea, getBasedMapDBField, getBasedMapTextField, getBold, getBoldChangeByType, getBoldChBy, getBorderColor, getBorderColorChBy, getBorderStyle, getBorderStyleChBy, getBorderWidth, getBorderWidthChBy, getBottomAttachPosX, getBottomAttachPosY, getBottomLine, getBottomLineChangeByType, getBottomLineChBy, getBoundaryValue, getCacheSection, getCanCrossPage, getCascade, getChangByF, getColumnName, getColumnNameChBy, getColumnNumber, getColumnTotalOnLeft, getCornerFactor, getDataSourceName, getDefaultProperties, getDepth, getDisplayNull, getDisplayNull, getEmbedded, getExportToCSV, getExportToCSVChBy, getExportToXLS, getExportToXLSChBy, getFieldType, getFillColor, getFillWholePage, getFontFace, getFontFaceChangeByType, getFontFaceChBy, getFontSize, getFontSizeChangeByType, getFontSizeChBy, getForeground, getForegroundChangeByType, getForegroundChBy, getFormat, getFormat, getGrant, getGroup, getGroupBy, getGroupByChBy, getGroupMask, getGroupNumber, getGroupOrder, getGroupType, getHasBorder, getHeight, getHorizontalGap, getImg, getIndex, getInvisible, getIsXHeader, getItalic, getItalicChangeByType, getItalicChBy, getKeepGroupTogether, getKeepOthers, getLabel, getLeftLine, getLeftLineChangeByType, getLeftLineChBy, getLineColor, getLineColorChBy, getLineStyle, getLineStyleChBy, getLineWidth, getMainColumnChBy, getMaxPageNumber, getMaxWidth, getNeedTopN, getOnNewPage, getOrderby, getOrderbyChBy, getOthersName, getParameter, getParameterChBy, getPatternColor, getPatternStyle, getPictureNameChBy, getPrimProp, getPrimPropS, getProperties, getQueryName, getRecordLocation, getRecordsPerPage, getRelativeFieldChBy, getRepeat, getRepeatRowHeader, getRepeatWhileGF, getReport, getRightLine, getRightLineChangeByType, getRightLineChBy, getRowNumber, getRowTotalOnTop, getRtfFile, getShadow, getShadowChBy, getShadowColor, getShadowColorChBy, getShowBorder, getShowBottomLine, getSortOrder, getSpecialFunc, getSqlStatement, getStartAngle, getStrikeOut, getStrikeOutChBy, getSuppressAggreate, getSuppressBlankSection, getSuppressed, getSuppressedIfNull, getSuppressedIfNull, getSuppressEmpty, getSuppressInLastPage, getText, getText, getTileDetailSection, getTileHorizontal, getToBottom, getTopAttachPosX, getTopAttachPosY, getTopLine, getTopLineChangeByType, getTopLineChBy, getTopN, getTransWhileToHtml, getUnderlay, getUnderline, getUnderlineChangeByType, getUnderlineChBy, getVerticalGap, getVerticalLayout, getWidth, getWordWrap, getX, getXDepth, getY, getYDepth, isByOther, writePrim, writePrim, writePrim |
Methods inherited from interface jet.ireport.IComponent |
---|
clearTitleObject, getProperties, getTitleObject, setTitleObject |
Field Detail |
---|
public static final int FLOW_POSITION_STATIC
EnumerationConstant.FLOW_POSITION_STATIC
public static final int FLOW_POSITION_RELATIVE
EnumerationConstant.FLOW_POSITION_RELATIVE
public static final int FLOW_POSITION_ABSOLUTE
EnumerationConstant.FLOW_POSITION_ABSOLUTE
public static final int FLOW_DISPLAY_BLOCK
EnumerationConstant.FLOW_DISPLAY_BLOCK
public static final int FLOW_DISPLAY_INLINE
EnumerationConstant.FLOW_DISPLAY_INLINE
public static final int FLOW_DISPLAY_NONE
EnumerationConstant.FLOW_DISPLAY_NONE
public static final int FLOW_FLOAT_LEFT
EnumerationConstant.FLOW_FLOAT_LEFT
public static final int FLOW_FLOAT_RIGHT
EnumerationConstant.FLOW_FLOAT_RIGHT
public static final int FLOW_FLOAT_NONE
EnumerationConstant.FLOW_FLOAT_NONE
public static final int FLOW_CLEAR_LEFT
EnumerationConstant.FLOW_CLEAR_LEFT
public static final int FLOW_CLEAR_RIGHT
EnumerationConstant.FLOW_CLEAR_RIGHT
public static final int FLOW_CLEAR_BOTH
EnumerationConstant.FLOW_CLEAR_BOTH
public static final int FLOW_CLEAR_NONE
EnumerationConstant.FLOW_CLEAR_NONE
public static final int FLOW_DIRECTION_LTR
EnumerationConstant.FLOW_DIRECTION_LTR
public static final int FLOW_DIRECTION_RTL
EnumerationConstant.FLOW_DIRECTION_RTL
public static final int FLOW_DIRECTION_TTB
EnumerationConstant.FLOW_DIRECTION_TTB
public static final int FLOW_DIRECTION_BTT
EnumerationConstant.FLOW_DIRECTION_BTT
public static java.lang.String CTTEXTFIELD_STL
public static java.lang.String CTAGGFIELD_STL
public static java.lang.String CTDBFIELD_STL
public static java.lang.String DATAOBJHEADERPANEL_STL
public static java.lang.String RPTHEADERPANEL_STL
public static java.lang.String DATAOBJFOOTERPANEL_STL
public static java.lang.String RPTFOOTERPANEL_STL
public static java.lang.String DATAOBJGRPHEADERPANEL_STL
public static java.lang.String GROUPHEADERPANEL_STL
public static java.lang.String DATAOBJGRPFOOTERPANEL_STL
public static java.lang.String GROUPFOOTERPANEL_STL
public static java.lang.String DATAOBJDETAILPANEL_STL
public static java.lang.String DETAILPANEL_STL
public static java.lang.String ARCSHAPE_STL
public static java.lang.String BOX_STL
public static java.lang.String LINE_STL
public static java.lang.String OVALSHAPE_STL
public static java.lang.String ROUNDBOXSHAPE_STL
public static java.lang.String LABEL_STL
public static java.lang.String DBFIELD_STL
public static java.lang.String MEDIAFIELD_STL
public static java.lang.String IMAGE_STL
public static java.lang.String TEXT_STL
public static java.lang.String CHARTPLATFORM_STL
public static java.lang.String DATAOBJECT_STL
public static java.lang.String SUBREPORT_STL
public static java.lang.String CTCROSSTAB_STL
public static java.lang.String PARAMETERFIELD_STL
public static java.lang.String SPECIALFIELD_STL
public static java.lang.String TABLE_STL
public static java.lang.String COLUMN_STL
public static java.lang.String MAP_STL
public static java.lang.String MAPDBFIELD_STL
public static java.lang.String MAPLABEL_STL
public static java.lang.String PAGEHEADERPANEL_STL
public static java.lang.String PAGEFOOTERPANEL_STL
public static java.lang.String SECTIONHEADER_STL
public static java.lang.String SECTIONFOOTER_STL
public static java.lang.String SECTIONPAGEHEADER_STL
public static java.lang.String SECTIONPAGEFOOTER_STL
public JetUnitNumber x
public JetUnitNumber y
public JetUnitNumber width
public JetUnitNumber height
public JetBoolean invisible
public JetBoolean suppressed
public JetBoolean suppressedIfNoRecords
public JetColor backColor
public JetBoolean exportToCSV
public JetBoolean exportToXLS
public JetEnumeration location
EnumerationConstant.RECORDLOCATION_DETAIL
EnumerationConstant.RECORDLOCATION_PAGEHEADER
EnumerationConstant.RECORDLOCATION_PAGEFOOTER
public JetStringList style
public JetNumber rtfId
public JetNumber columnIndex
public JetNumber rowIndex
public JetString wstyleGrp
public JetString wstyleName
public JetNumber objectIndex
public JetQualifyReference refMode
public JetEnumeration position
public JetEnumeration display
public JetEnumeration Float
public JetEnumeration clear
public JetNumber zOrder
public jet.controls.JetContextList id
public jet.controls.JetContextList Class
public JetString externalCSSClassValue
public JetBoolean exportToDHTML
Constructor Detail |
---|
public JRObjectTemplate()
Method Detail |
---|
public java.lang.String getInstName()
getInstName
in interface jet.datastream.DSTemplatible
getInstName
in class jet.controls.JetObject
public final void setUDOName(java.lang.String name)
public final java.lang.String getUDOName()
getUDOName
in interface jet.controls.UDOObject
public boolean isViewableObject()
isViewableObject
in class jet.report.JetRptObject
public java.awt.Point getLocation()
public java.awt.Rectangle getBound()
public java.awt.Rectangle getUnitBound()
public java.awt.Dimension size()
public void move(int x, int y)
x
- x in pixely
- y in pixelreshape(int, int, int, int)
public void resize(java.awt.Dimension d)
d
- Dimension based on pixelreshape(int, int, int, int)
public void resize(int w, int h)
width
- width in pixelheight
- height in pixelreshape(int, int, int, int)
public void reshape(int x, int y, int width, int height)
x
- x in pixely
- y in pixelwidth
- width in pixelheight
- height in pixelpublic void setBound(java.awt.Rectangle rect)
rect
- Rectangle based on pixelpublic void setBackground(java.awt.Color c)
JetObject.nameToProperty(String)
,
JetColor.set(Color)
public JetProperty getProperty(java.lang.String name)
getPropertyByName(String)
,
JetObject.nameToProperty(String)
public JRObjectTemplate getOwner()
this
public int getObjectType()
getObjectType
in interface jet.datastream.DSTemplatible
DSTemplatible
public jet.util.Propertiable getProperty(short propertyName)
getProperty
in interface jet.util.PropertySetable
PropertyMapTable.getPropertyName(short)
,
getPropertyByName(String)
,
JetObject.nameToProperty(String)
public jet.util.Propertiable getPropertyByName(java.lang.String propertyName)
getPropertyByName
in interface jet.util.PropertySetable
JetObject.nameToProperty(String)
public boolean isGroupListener()
public boolean isGetPreferredSizeFromRender()
public boolean isLinkable()
isLinkable
in interface jet.datastream.DSTemplatible
public JetProperty getLinkProperty()
public final void setTemplateIndex(int idx)
idx
- getTemplateIndex()
,
JCommunicator
public final int getTemplateIndex()
setTemplateIndex(int)
,
JCommunicator
public static void setDefaultResolution(int res)
res
- the resulutionUnit.setResolution(int)
,
getDefaultResolution()
,
convertSize(int)
public static int getDefaultResolution()
Unit.getResolution()
,
setDefaultResolution(int)
,
convertSize(int)
public static int convertSize(int pixel)
pixel
-
Unit.convertPixelToUnit(int, int)
,
setDefaultResolution(int)
,
getDefaultResolution()
public java.util.Vector<jet.controls.JetObject> getChildren()
getChildren
in interface jet.convert.NodeInfo
getChildren
in interface jet.datastream.DSTemplatible
getChildren
in class jet.controls.JetObject
null
if not container component.public void set(java.lang.String name, int t3)
name
- the property namet3
- the int valueJetObject.nameToProperty(String)
,
getPropertyByName(String)
,
JetProperty.setUnitValue(String)
public void set(java.lang.String name, java.lang.String t3)
name
- the property namet3
- the string valueJetObject.nameToProperty(String)
,
getPropertyByName(String)
,
JetProperty.setUnitValue(String)
public void set(java.lang.String name, java.awt.Color val)
name
- the property nameval
- the color valueJetObject.nameToProperty(String)
,
getPropertyByName(String)
,
JetColor.set(Color)
public jet.report.mode.JetRptMode getJetRptMode()
Renderable.getCurrentUsedRenderer()
public java.util.HashMap<java.lang.String,java.lang.Integer> getIndecialMap()
getIndecialMap
in class jet.report.JetRptObject
publicgetPropGrpsDesc()
getPropGrpsDesc
in class jet.controls.JetObject
public java.util.HashMap<java.lang.String,java.lang.Integer> getIndecialMapForCF()
ConditionalFormatable
getIndecialMapForCF
in interface jet.report.conditionalFormatting.ConditionalFormatable
public jet.report.conditionalFormatting.JetRptConditionalFormatList getConditionalFormatList()
getConditionalFormatList
in interface jet.report.conditionalFormatting.ConditionalFormatable
hasConditionalFormat()
,
setConditionalFormatList(JetRptConditionalFormatList)
,
canDoConditionalFormatting()
,
JetRptConditionalFormatList
public boolean hasConditionalFormat()
ConditionalFormatable
hasConditionalFormat
in interface jet.report.conditionalFormatting.ConditionalFormatable
getConditionalFormatList()
,
setConditionalFormatList(JetRptConditionalFormatList)
,
canDoConditionalFormatting()
public void setConditionalFormatList(jet.report.conditionalFormatting.JetRptConditionalFormatList cfList)
ConditionalFormatable
setConditionalFormatList
in interface jet.report.conditionalFormatting.ConditionalFormatable
cfList
- 'conditional formatting' datagetPropertyByCFControlName(String)
,
hasConditionalFormat()
,
canDoConditionalFormatting()
,
JetProperty.setChangeByFmtt(Object)
public boolean canDoConditionalFormatting()
ConditionalFormatable
canDoConditionalFormatting
in interface jet.report.conditionalFormatting.ConditionalFormatable
public jet.reportset.JetRptReport getRptReport()
ConditionalFormatable
getRptReport
in interface jet.report.conditionalFormatting.ConditionalFormatable
public jet.reportset.JetRptDataSet getDataSet()
ConditionalFormatable
getDataSet
in interface jet.report.conditionalFormatting.ConditionalFormatable
DataContainerLogic.getBindDataContainer(JetObject)
,
DataContainerLogic#getUsedDataSet(JetRptDataContainer)
public void saveTemporaryConditionalFormatList(jet.report.conditionalFormatting.JetRptConditionalFormatList cflist)
saveTemporaryConditionalFormatList
in interface jet.report.conditionalFormatting.ConditionalFormatable
public jet.report.conditionalFormatting.JetRptConditionalFormatList getSavedTemporaryConditionalFormatList()
getSavedTemporaryConditionalFormatList
in interface jet.report.conditionalFormatting.ConditionalFormatable
public JetProperty getPropertyByCFControlName(java.lang.String name)
getPropertyByCFControlName
in interface jet.report.conditionalFormatting.ConditionalFormatable
name
-
java.lang.NullPointerException
- if name is null
java.lang.Error
- if name not defined.getIndecialMapForCF()
public void tempSaveConditionalFormatInfoVectorForCrosstab(java.util.Vector v)
tempSaveConditionalFormatInfoVectorForCrosstab
in interface jet.report.conditionalFormatting.ConditionalFormatable
public java.util.Vector<?> getTempSaveConditionalFormatInfoVectorForCrosstab()
getTempSaveConditionalFormatInfoVectorForCrosstab
in interface jet.report.conditionalFormatting.ConditionalFormatable
public void fillContextList(jet.controls.JetContextList prop)
fillContextList
in class jet.controls.JetObject
public JetUnitNumber getX()
getX
in interface jet.controls.VisualRectangle
public JetUnitNumber getY()
getY
in interface jet.controls.VisualRectangle
public JetEnumeration getDisplay()
getDisplay
in interface jet.controls.VisualRectangle
public JetEnumeration getPosition()
getPosition
in interface jet.controls.VisualRectangle
public JetEnumeration getFloat()
getFloat
in interface jet.controls.VisualRectangle
public JetEnumeration getClear()
getClear
in interface jet.controls.VisualRectangle
public JetUnitNumber getWidth()
getWidth
in interface jet.controls.VisualBox
public JetUnitNumber getHeight()
getHeight
in interface jet.controls.VisualBox
public JetColor getBackground()
getBackground
in interface jet.controls.VisualBox
public JetBoolean getInvisible()
getInvisible
in interface jet.controls.VisualObject
public int getVisualObjType()
getVisualObjType
in interface jet.controls.VisualObject
public JetBoolean getSuppressed()
getSuppressed
in interface jet.controls.VisualObject
public final void addPropertyToGroup(java.lang.String propertyName, java.lang.String groupName)
propertyName
and groupName
has been defined in this Object
addPropertyToGroup
in class jet.controls.JetObject
propertyName
- groupName
- public final void removePropertyGroup(java.lang.String groupName)
groupName
has been defined in this Object
removePropertyGroup
in class jet.controls.JetObject
groupName
- public final void removePropertyFromGroup(java.lang.String groupName, java.lang.String propName)
groupName
has been defined in this Object
removePropertyFromGroup
in class jet.controls.JetObject
groupName
- propName
-
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |