Java Doc for IUnTable.java in  » J2EE » WiSerFramework » de » ug2t » unifiedGui » interfaces » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » J2EE » WiSerFramework » de.ug2t.unifiedGui.interfaces 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


de.ug2t.unifiedGui.interfaces.IUnTable

All known Subclasses:   de.ug2t.channel.markup.generic.MuGenericTable,  de.ug2t.channel.ho.client.swing.HoSwingTable,  de.ug2t.channel.ho.server.generic.HoSrvGenericTable,
IUnTable
public interface IUnTable extends IUnComponent,IUnListSelectComponent,IUnMultiSelectComponent,IUnScrollController(Code)

author:
   Dirk
author:
   date: 15.03.2004 project: WiSer-Framework
author:
  


author:
   IUnTable is the common interface to a table-widget. A table-widget consists
author:
   of a table header and one or more table rows. Each row as well as the header
author:
   has multiple cells. A cell may contain a string or other widgets. The table
author:
   model is a table-object (KeTable)
author:
  


Inner Class :public static class Factory



Method Summary
public  voidpcmf_addRow(Collection xRow)
    
public  voidpcmf_addRow(Collection xRow, int xIdx)
    
public  voidpcmf_addRows(Collection xRow)
    
public  voidpcmf_clearCommitHandler()
    
public  voidpcmf_clearSelection()
    
public  voidpcmf_clearTableBody()
    
public  voidpcmf_commitTable()
    
public  Objectpcmf_getCellValue(int xRow, int xCol)
    
public  ArrayListpcmf_getCol(int xCol)
    
public  intpcmf_getColCount()
    
public  KeTablepcmf_getComplete()
    
public  Collectionpcmf_getHeader()
    
public  intpcmf_getPadding()
    

Gets the padding in pixel.

public  intpcmf_getRowCount()
    
public  Iteratorpcmf_getRows()
    

Gets an iterator which returns all rows of the table.

public  Collectionpcmf_getRowsOnly()
    
public  ArrayListpcmf_getSelectedTableRow()
    
public  ArrayListpcmf_getSelectedTableRows()
    
public  intpcmf_getSpacing()
    

Gets the spacing in pixel.

public  intpcmf_getTableBorder()
    

Gets the border width in pixel.

public  voidpcmf_hideRow(int xRow)
     Hides a row.
public  booleanpcmf_isHiddenRow(int xRow)
    
public  voidpcmf_lockColumn(int xCol, boolean xLock)
    

Locks the columns, that means that the column is not scrolled horizonally.

public  Objectpcmf_modCell(int xRow, int xCol, Object xObj)
    
public  voidpcmf_refresh(Collection xRows)
    

Sets new table-data (header as well as rows) and commits it.

public  voidpcmf_relockCol()
    

Refreshes the locked columns.

public  Collectionpcmf_removeRow(int xIdx)
    
public  voidpcmf_removeSelected()
    
public  voidpcmf_removeSpan(int xRow, int xColumn)
    
public  voidpcmf_setCellAlign(int xRow, int xCol, String xAlign)
    

Sets the alignment of the cell content.

public  voidpcmf_setCellBgColor(int xRow, int xCol, String xColor)
    
public  voidpcmf_setCellBorder(int xRow, int xCol, int xDir, String xColor, int xWidth, int xStyle)
    

Sets the border of a cell.

public  voidpcmf_setCellCssClass(int xRow, int xCol, String xClass)
    

Sets the css class of the cell.

public  voidpcmf_setCellFgColor(int xRow, int xCol, String xColor)
    
public  voidpcmf_setCellMargin(int xRow, int xCol, int xDir, int xWidth)
    

Sets the margin of a cell.

public  voidpcmf_setCellPadding(int xRow, int xCol, int xDir, int xWidth)
    

Sets the padding of a cell.

public  voidpcmf_setCommitHandler(IKeExecutable xHandler)
    
public  voidpcmf_setComplete(KeTable xTable)
    

Changes the complete table content including header and rows.

public  voidpcmf_setHeader(Collection xHead)
    
public  voidpcmf_setPadding(int xPad)
    
public  voidpcmf_setRowsOnly(Collection xRows)
    

Sets new table-data (rows only).

public  voidpcmf_setRowsOnly(KeTable xRows)
    

Sets new table-data (rows only) from another table.

public  voidpcmf_setSelected(int xRow)
    
public  voidpcmf_setSelected(int[] xRows)
    
public  Objectpcmf_setSelectedRow(int xRow)
    
public  ArrayListpcmf_setSelectedRows(int[] xRows)
    
public  voidpcmf_setSpacing(int xSpace)
    

Sets the spacing in pixel between the table-cells.

public  voidpcmf_setSpan(int xRow, int xColumn, int xRowSpan, int xColumnSpan)
     Create and store a span defintion upon the table.
public  voidpcmf_setTableBorder(int xBorder)
    
public  voidpcmf_unHideRow(int xRow)
     Unhides a row.



Method Detail
pcmf_addRow
public void pcmf_addRow(Collection xRow)(Code)

Adds a row to a table


Parameters:
  xRow - collection of row-data




pcmf_addRow
public void pcmf_addRow(Collection xRow, int xIdx)(Code)

Adds a row to a table


Parameters:
  xRow - collection of row-data
Parameters:
  xIdx - RowIndex, 0 = header




pcmf_addRows
public void pcmf_addRows(Collection xRow)(Code)

Adds multiple rows to a table


Parameters:
  xRow - collection of multiple collections each of which contains onetable row




pcmf_clearCommitHandler
public void pcmf_clearCommitHandler()(Code)

Clears the commit handler




pcmf_clearSelection
public void pcmf_clearSelection()(Code)
Clears the selection



pcmf_clearTableBody
public void pcmf_clearTableBody()(Code)

Clears the tables roes




pcmf_commitTable
public void pcmf_commitTable()(Code)

Commits the changes




pcmf_getCellValue
public Object pcmf_getCellValue(int xRow, int xCol)(Code)

Gets on table cell's content

content


Parameters:
  xRow - index of the row (started by 0)
Parameters:
  xCol - index of the column (started by 0)




pcmf_getCol
public ArrayList pcmf_getCol(int xCol)(Code)

Gets the cell values of the specifoed column


Parameters:
  xCol - column started by 0 ArrayList which contains the column




pcmf_getColCount
public int pcmf_getColCount()(Code)

Gets the number of cols

number of cols




pcmf_getComplete
public KeTable pcmf_getComplete()(Code)

Gets a new table from this one

new table object




pcmf_getHeader
public Collection pcmf_getHeader()(Code)

Gets the table header

collection of table-header values




pcmf_getPadding
public int pcmf_getPadding()(Code)

Gets the padding in pixel.

padding




pcmf_getRowCount
public int pcmf_getRowCount()(Code)

Gets the number of rows including the header

number of rows




pcmf_getRows
public Iterator pcmf_getRows()(Code)

Gets an iterator which returns all rows of the table. Each row consists of one collection of cells

row-iterator




pcmf_getRowsOnly
public Collection pcmf_getRowsOnly()(Code)

Gets table-data excluding the header

collection of multiple collections each of which contains one tablerow




pcmf_getSelectedTableRow
public ArrayList pcmf_getSelectedTableRow()(Code)

Gets the selected row

ArrayList which contains the row values




pcmf_getSelectedTableRows
public ArrayList pcmf_getSelectedTableRows()(Code)

Gets the selected rows in case of multiselectable

ArrayList which contains the rows each as an own ArrayList




pcmf_getSpacing
public int pcmf_getSpacing()(Code)

Gets the spacing in pixel.

spacing




pcmf_getTableBorder
public int pcmf_getTableBorder()(Code)

Gets the border width in pixel.

border width




pcmf_hideRow
public void pcmf_hideRow(int xRow)(Code)
Hides a row. A call to index row 0 (which is the header) does not work in all channels
Parameters:
  xRow -



pcmf_isHiddenRow
public boolean pcmf_isHiddenRow(int xRow)(Code)
Returns whether a row is hidden or not



pcmf_lockColumn
public void pcmf_lockColumn(int xCol, boolean xLock)(Code)

Locks the columns, that means that the column is not scrolled horizonally.


Parameters:
  xCol - column started by 0
Parameters:
  xLock - true indicates lock, false indicates unlock




pcmf_modCell
public Object pcmf_modCell(int xRow, int xCol, Object xObj)(Code)

Modifies one existing table-cell

old value of the table-cell


Parameters:
  xRow - index of the row (started by 0)
Parameters:
  xCol - index of the column (started by 0)
Parameters:
  xObj - new object




pcmf_refresh
public void pcmf_refresh(Collection xRows)(Code)

Sets new table-data (header as well as rows) and commits it.


Parameters:
  xRows - a collection of one collection containing a new table header andmultiple collections containing the row-values




pcmf_relockCol
public void pcmf_relockCol()(Code)

Refreshes the locked columns. The function is only used internally




pcmf_removeRow
public Collection pcmf_removeRow(int xIdx)(Code)

Removes one row from the table

Collection containing the removed row-values


Parameters:
  xIdx - row index (started by 0)




pcmf_removeSelected
public void pcmf_removeSelected()(Code)

Removes all selected Rows




pcmf_removeSpan
public void pcmf_removeSpan(int xRow, int xColumn)(Code)
Removes a column span for the given row (if present)
Parameters:
  xRow -
Parameters:
  xColumn -



pcmf_setCellAlign
public void pcmf_setCellAlign(int xRow, int xCol, String xAlign)(Code)

Sets the alignment of the cell content.


Parameters:
  xRow - row index (started by 0)
Parameters:
  xCol - col index (started by 0)
Parameters:
  xAlign - NORTH | WEST | EAST | SOUTH - and combinations




pcmf_setCellBgColor
public void pcmf_setCellBgColor(int xRow, int xCol, String xColor)(Code)

Modifies the background of a cell


Parameters:
  xRow - row index (started by 0)
Parameters:
  xCol - col index (started by 0)
Parameters:
  xColor - color




pcmf_setCellBorder
public void pcmf_setCellBorder(int xRow, int xCol, int xDir, String xColor, int xWidth, int xStyle)(Code)

Sets the border of a cell. To unset a border set its width to 0.


Parameters:
  xRow - row index (started by 0)
Parameters:
  xCol - col index (started by 0)
Parameters:
  xDir - IUnBox.LEFT | IUnBox.RIGHT | IUnBox.TOP | IUnBox.BOTTOM
Parameters:
  xColor - color
Parameters:
  xWidth - width in pixel
Parameters:
  xStyle - IUnBox.DOTTED | IUnBox.DASHED | IUnBox.DOUBLE | IUnBox.LINE




pcmf_setCellCssClass
public void pcmf_setCellCssClass(int xRow, int xCol, String xClass)(Code)

Sets the css class of the cell. (Works only im markup based channels by default)


Parameters:
  xRow - row index (started by 0)
Parameters:
  xCol - col index (started by 0)
Parameters:
  xClass - css class




pcmf_setCellFgColor
public void pcmf_setCellFgColor(int xRow, int xCol, String xColor)(Code)

Modifies the foreground of a cell


Parameters:
  xRow - row index (started by 0)
Parameters:
  xCol - col index (started by 0)
Parameters:
  xColor - color




pcmf_setCellMargin
public void pcmf_setCellMargin(int xRow, int xCol, int xDir, int xWidth)(Code)

Sets the margin of a cell. (Does not work in HTML by default)


Parameters:
  xRow - row index (started by 0)
Parameters:
  xCol - col index (started by 0)
Parameters:
  xDir - IUnBox.LEFT | IUnBox.RIGHT | IUnBox.TOP | IUnBox.BOTTOM
Parameters:
  xWidth - width in pixel




pcmf_setCellPadding
public void pcmf_setCellPadding(int xRow, int xCol, int xDir, int xWidth)(Code)

Sets the padding of a cell.


Parameters:
  xRow - row index (started by 0)
Parameters:
  xCol - col index (started by 0)
Parameters:
  xDir - IUnBox.LEFT | IUnBox.RIGHT | IUnBox.TOP | IUnBox.BOTTOM
Parameters:
  xWidth - width in pixel




pcmf_setCommitHandler
public void pcmf_setCommitHandler(IKeExecutable xHandler)(Code)

Sets a commit handler which is called each time the table is commited


Parameters:
  xHandler - handler




pcmf_setComplete
public void pcmf_setComplete(KeTable xTable)(Code)

Changes the complete table content including header and rows. The new content is read from another table


Parameters:
  xTable - table-object to copy the content from




pcmf_setHeader
public void pcmf_setHeader(Collection xHead)(Code)

Sets a new header


Parameters:
  xHead - collection containing the header-values




pcmf_setPadding
public void pcmf_setPadding(int xPad)(Code)

Sets the distance between the cell's content and the cell's border in pixel


Parameters:
  xPad - distance in pixel




pcmf_setRowsOnly
public void pcmf_setRowsOnly(Collection xRows)(Code)

Sets new table-data (rows only).


Parameters:
  xRows - a collection of collections containing the row-values




pcmf_setRowsOnly
public void pcmf_setRowsOnly(KeTable xRows)(Code)

Sets new table-data (rows only) from another table.


Parameters:
  xRows - a table object to copy row data from




pcmf_setSelected
public void pcmf_setSelected(int xRow)(Code)

Sets one row selected


Parameters:
  xRow - rowIndex to select




pcmf_setSelected
public void pcmf_setSelected(int[] xRows)(Code)

Sets multiple rows selected and returns the rows


Parameters:
  xRows - rowIndex to select




pcmf_setSelectedRow
public Object pcmf_setSelectedRow(int xRow)(Code)

Sets one row selected and returns the row


Parameters:
  xRow - rowIndex ArrayList which contains the row




pcmf_setSelectedRows
public ArrayList pcmf_setSelectedRows(int[] xRows)(Code)

Sets multiple rows selected and returns the rows


Parameters:
  xRow - rowIndex to select ArrayList which contains the rows




pcmf_setSpacing
public void pcmf_setSpacing(int xSpace)(Code)

Sets the spacing in pixel between the table-cells.


Parameters:
  xSpace - space in cells




pcmf_setSpan
public void pcmf_setSpan(int xRow, int xColumn, int xRowSpan, int xColumnSpan)(Code)
Create and store a span defintion upon the table.
Parameters:
  xRow -
Parameters:
  xColumn -
Parameters:
  xRowSpan -
Parameters:
  xColumnSpan -



pcmf_setTableBorder
public void pcmf_setTableBorder(int xBorder)(Code)

Sets the width of the cell's border in pixel


Parameters:
  xBorder - width in pixel




pcmf_unHideRow
public void pcmf_unHideRow(int xRow)(Code)
Unhides a row. A call to index row 0 (which is the header) does not work in all channels
Parameters:
  xRow -



www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.