From: PaulE <ut_...@us...> - 2005-10-27 07:44:23
|
Update of /cvsroot/jaffa/JaffaCore/source/java/org/jaffa/presentation/portlet/widgets/taglib In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv19146/source/java/org/jaffa/presentation/portlet/widgets/taglib Modified Files: GridColumnTag.java Log Message: Added new attribute to grid column 'treeSpace' which can be used as the html filler when indenting the tree Made tree graphics same size and transparent Added new method to GridModel to give the position of a row in the table Added new icons Moved fileExplorer out, it is not an Admin Component Index: GridColumnTag.java =================================================================== RCS file: /cvsroot/jaffa/JaffaCore/source/java/org/jaffa/presentation/portlet/widgets/taglib/GridColumnTag.java,v retrieving revision 1.14 retrieving revision 1.15 diff -C2 -d -r1.14 -r1.15 *** GridColumnTag.java 21 Oct 2005 14:28:52 -0000 1.14 --- GridColumnTag.java 27 Oct 2005 07:44:12 -0000 1.15 *************** *** 80,83 **** --- 80,85 ---- /** property declaration for tag attribute: treeField.*/ private String m_treeField; + /** property declaration for tag attribute: treeSpacer.*/ + private String m_treeSpacer; /** property declaration for tag attribute: key.*/ private boolean m_key; *************** *** 108,111 **** --- 110,114 ---- m_dataType = null; m_treeField = null; + m_treeSpacer = " "; m_labelEditorLink = ""; m_key = false; *************** *** 218,222 **** m_gridTag.updateLastLevelId(level, newLevelId); for (int i=1 ; i < level.intValue() ; i++) { ! sb.append(" "); } newLevelId = m_gridTag.getField() + ":" + newLevelId; --- 221,225 ---- m_gridTag.updateLastLevelId(level, newLevelId); for (int i=1 ; i < level.intValue() ; i++) { ! sb.append(m_treeSpacer); } newLevelId = m_gridTag.getField() + ":" + newLevelId; *************** *** 432,435 **** --- 435,452 ---- } + /** Setter for the attribute treeSpacer. + * @param value New value of attribute treeSpacer. + */ + public void setTreeSpacer(String value) { + m_treeSpacer = value; + } + + /** Getter for the attribute treeSpacer. + * @return Value of attribute treeSpacer. + */ + public String getTreeSpacer() { + return m_treeSpacer; + } + /** Setter for the attribute columnCssClass. * @param value New value of attribute columnCssClass. |