Package overit.geocall.basic.ui.xlsx
Class XlsxColumnLookup
java.lang.Object
overit.geocall.platform.ui.UINode
overit.geocall.basic.ui.xlsx.XlsxComponent
overit.geocall.basic.ui.xlsx.XlsxCell
overit.geocall.basic.ui.xlsx.XlsxColumn
overit.geocall.basic.ui.xlsx.XlsxColumnLookup
- All Implemented Interfaces:
Serializable,Identified
The class extends
The class implements and represent the column's cells with a look up inside, of an Excel sheet.
XlsxColumn.The class implements and represent the column's cells with a look up inside, of an Excel sheet.
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class overit.geocall.basic.ui.xlsx.XlsxColumn
XlsxColumn.RowMergeUtil -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected String[]protected DBViewprotected booleanprotected intprotected StaticViewprotected int[]protected TextFormatFields inherited from class overit.geocall.basic.ui.xlsx.XlsxColumn
_bkgColorName, _breakCellFormatClass, _breakFormat, _breakFunction, _ffBkgColorSwitch, _ffFontVariantSwitch, _ffGroup, _ffName, _fontVariantName, _forcedBkgColor, _forcedFontVariant, _group, _stylesMap, _titlespan, _tmBkgColorSwitch, _tmFontVariantSwitch, commentName, ffCommentSwitch, ffFillPatternSwitch, fillPatternName, forcedComment, forcedFillPattern, tmCommentSwitch, tmFillPatternSwitchFields inherited from class overit.geocall.basic.ui.xlsx.XlsxCell
_cellstyle, _columnspan, _delim, _endfunction, _endLabel, _fixedsize, _lines4Row, _sizeFields inherited from class overit.geocall.basic.ui.xlsx.XlsxComponent
_align, _cellFormat, _cellFormatClass, _font, _format, _valign, _warning -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected org.apache.poi.ss.usermodel.CellgiveCell(org.apache.poi.ss.usermodel.Sheet sheet, ArrayList row, int rowNum, int colNum, org.apache.poi.xssf.usermodel.XSSFCellStyle cs) Method to implement that allows to set the orientation, the font etcprotected voidvoidSets the column label array.voidSets the number type format of the cell.voidSets if you want to ignore decode error.voidSets Static View from which take datas.voidsetupMetaData(HashMap dbfields) Method used for the field init starting from a resultSet.voidsetupMetaData(DBView dbfields) Method used for the field init starting from the DBView.Methods inherited from class overit.geocall.basic.ui.xlsx.XlsxColumn
getBreakCell, getCell, getDBVFieldPos, getForcedColor, getForcedComment, getForcedFillPattern, getForcedFontVariant, getHeaderColor, getHeaderFontColor, getTitleSpan, groupCell, initFormat, isGroup, isHeaderNOTVisible, makeCellStyle, parseFunction, setBKGCOLORNAME, setBKGCOLORSWITCH, setBREAKCELLFORMATCLASS, setBREAKFUNCTION, setCOLUMNSPAN, setCOMMENTNAME, setCOMMENTSWITCH, setFILLPATTERNNAME, setFILLPATTERNSWITCH, setFONTVARIANTNAME, setFONTVARIANTSWITCH, setForcedStyle, setGroup, setGROUP, setGROUPNAME, setHEADERCOLOR, setHEADERFONTCOLOR, setHEADVISIBLE, setLABEL, setTITLESPANMethods inherited from class overit.geocall.basic.ui.xlsx.XlsxCell
countBreakLines, getColumnSpan, getDELIM, getEndFunction, getEndLabel, getFixedSize, getLines4Row, getSize, setAutoSize4Lines, setBorder, setDELIM, setENDFUNCTION, setENDLABEL, setFONTSIZE, setLines4Row, setLINES4ROW, setSheet, setSize, setSIZE, setUseBGColorMethods inherited from class overit.geocall.basic.ui.xlsx.XlsxComponent
getAlign, getBgColor, getBoolean, getBorder, getBorder, getBorder, getBorderColor, getBorderStyle, getCellFormat, getCellStyle, getChildIterator, getChildSize, getColor, getColor, getComment, getDefault, getDocument, getFont, getFontSize, getIdentity, getKey, getLabel, getName, getRegistryName, getSheet, getStyleName, getVAlign, getWarning, hasFontSize, initChilds, isBold, isEnabled, isForcedBoldState, isForcedFontSize, isHidden, isLocked, isShrinkToFit, isWrap, onInit, setALIGN, setBGCOLOR, setBOLD, setBORDER, setBorderColor, setBORDERCOLORRGB, setBorderStyle, setBORDERSTYLE, setCellFormat, setCELLFORMATCLASS, setCellStyle, setCOLOR, setCOMMENT, setDEFAULT, setENABLED, setFONT, setHIDDEN, setIdentity, setKEY, setLabel, setLOCKED, setNAME, setREGISTRYNAME, setSHRINKTOFIT, setSTYLENAME, setUSEBGCOLOR, setUSEDECIMALSPERCENTAGE, setUseHeadColor, setUSEHEADCOLOR, setVALIGN, setWRAP, useBGColor, useDecimalsPercentage, useHeaderColorMethods inherited from class overit.geocall.platform.ui.UINode
addChild, addChildText, getChildren, getNodeId, getParent, getRoot, getSchema, setNodeId, setParent, setSchemaMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface overit.geocall.util.Identified
getIdentity, setIdentity
-
Field Details
-
_staticView
-
_dbvSv
-
_tf
-
_nLabel
protected int _nLabel -
_ignoreDecodeError
protected boolean _ignoreDecodeError -
_columnLabel
-
_staticViewFieldPos
protected int[] _staticViewFieldPos
-
-
Constructor Details
-
XlsxColumnLookup
public XlsxColumnLookup()
-
-
Method Details
-
setIGNOREDECODEERROR
Sets if you want to ignore decode error.- Parameters:
s-'true' or '1'if you want to egnore decode error,'false' or '0'otherwise.
-
setSTATICVIEW
Sets Static View from which take datas.- Parameters:
s- The Static View to set.
-
setFORMAT
Description copied from class:XlsxComponentSets the number type format of the cell.- Overrides:
setFORMATin classXlsxComponent- Parameters:
s- Allow format are:- '%' - Percent float format.
- 'i' - Integer format.
- 'f' - Float format.
- 'e' - Accounting red float format.
- default - Account float format.
-
setCOLUMNLABEL
Sets the column label array.- Parameters:
s- The string with the column's list separated by comma.
-
setupMetaData
Description copied from class:XlsxColumnMethod used for the field init starting from a resultSet. The name of the column must be null in case the field is not in the DBView or in the ResultSet.- Overrides:
setupMetaDatain classXlsxColumn- Parameters:
dbfields- The HashMap for the init
-
setupMetaData
Description copied from class:XlsxColumnMethod used for the field init starting from the DBView. The name of the column must be null in case the field is not in the DBView or in the ResultSet.- Overrides:
setupMetaDatain classXlsxColumn- Parameters:
dbfields- The DBView for the init
-
initCellFormat
protected void initCellFormat()- Overrides:
initCellFormatin classXlsxComponent
-
giveCell
protected org.apache.poi.ss.usermodel.Cell giveCell(org.apache.poi.ss.usermodel.Sheet sheet, ArrayList row, int rowNum, int colNum, org.apache.poi.xssf.usermodel.XSSFCellStyle cs) Description copied from class:XlsxCellMethod to implement that allows to set the orientation, the font etc- Overrides:
giveCellin classXlsxColumn- Parameters:
sheet- The sheetrow- The list of rowsrowNum- The number of rowcolNum- The cell numbercs- The XSSFCellStyle- Returns:
- The cell
-