Java Doc for CrosstabEditorPanel.java in  » Report » iReport-2.0.5 » it » businesslogic » ireport » crosstab » gui » 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 » Report » iReport 2.0.5 » it.businesslogic.ireport.crosstab.gui 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


javax.swing.JPanel
   it.businesslogic.ireport.crosstab.gui.CrosstabEditorPanel

CrosstabEditorPanel
public class CrosstabEditorPanel extends javax.swing.JPanel implements java.awt.dnd.DropTargetListener(Code)

author:
   gtoffoli



Constructor Summary
public  CrosstabEditorPanel()
    

Method Summary
public  voidaddNotDefinedCells()
     This method fill all not defined cells with defaults taken by inherited cell... The alghoritm to find the cell from wich a cell inherits its defaults works as follow: 1.
public  voidaddSelectedElement(ReportElement el)
    
public  voidaddSelectedElement(ReportElement el, boolean fireEvent)
     Add an element to the selection...
public  voidapplyI18n()
    
public  voidbringToFront()
    
public  voidcopyStyle()
    
public  voiddeleteSelectedElements()
    
public  voiddragEnter(java.awt.dnd.DropTargetDragEvent dtde)
    
public  voiddragExit(java.awt.dnd.DropTargetEvent dte)
    
public  voiddragOver(java.awt.dnd.DropTargetDragEvent dtde)
    
public  voiddrop(java.awt.dnd.DropTargetDropEvent dtde)
    
public  voiddropActionChanged(java.awt.dnd.DropTargetDragEvent dtde)
    
public  TextFieldReportElementdropNewTextField(Point newObjectOrigin, String textfieldExpression, String classExpression, String time)
    
public  voideditCell(CrosstabCell editCell)
    
public  CrosstabCellfindCell(String rowGroup, String columnGroup)
    
public  voidfireSelectionChangedEvent()
    
public  CrosstabCellgetCellByPoint(Point p)
     Point is a point il logical coordinates, so you have to perform a conversion before call it: getCellByPoint( new Point( getRealDim(x), getRealDim(y))) this if you are using mouse coordinates...
public  VectorgetColumnBands()
    
public  intgetColumnWidth(String columnTotalGroup)
     Return the maximum width of a certain column.
public  ListgetColumns()
    
public  CrosstabReportElementgetCrosstabElement()
    
public  CrosstabEditorgetEditor()
    
public  ReportElementgetElementAt(Point location)
    
public  MainFramegetMainFrame()
    
public  intgetNewObjectType()
     Getter for property newObjectType.
public  java.util.ListgetOpenedNodesDocumentStructure()
    
public  JReportFramegetParentReportFrame()
    
public  intgetRealDim(int dim)
     Return an int.
public  VectorgetRowBands()
    
public  intgetRowHeight(String rowTotalGroup)
     Return the maximum height of a certain row.
public  ListgetRows()
    
public  VectorgetSelectedElements()
    
public  intgetTotalColumnLeftIndex(String columnTotalGroup)
     Return the maximum height of a certain row.
public  intgetTotalRowTopIndex(String rowTotalGroup)
     Return the maximum height of a certain row.
public  CrosstabCellgetWhenNoDataCell()
     This method returns the WhenNoDataCell (that *should* be ever present after an updateGgrid...
public  doublegetZoomFactor()
    
public  intgetZoomedDim(int dim)
     Return an int.
public  intgridMultiple(int zoomedDim)
    
public  booleanisDefaultCellMode()
    
public  intmagnetEffect(List spots, int position)
    
public  voidpaint(Graphics g)
    
public  voidpaintDocument(Graphics2D g2)
    
public  voidpanelKeyPressed(java.awt.event.KeyEvent evt)
    
public  voidpasteStyle()
    
protected  voidremoveSubElements(ReportElement parentElement, DeleteElementsOperation undoOp, Vector deletedElements)
    
public  voidsendToBack()
    
public  voidsetColumns(List columns)
    
public  voidsetDefaultCellMode(boolean defaultCellMode)
    
public  voidsetEditor(CrosstabEditor editor)
    
public  voidsetNewObjectType(int newObjectType)
     Setter for property newObjectType.
public  voidsetOpenedNodesDocumentStructure(java.util.List openedNodesDocumentStructure)
    
public  voidsetParentReportFrame(JReportFrame parentReportFrame)
    
public  voidsetRows(List rows)
    
public  voidsetSelectedElement(ReportElement e)
    
public  voidsetSelectedElement(ReportElement el, boolean fireEvent)
    
public  voidsetSelectedElements(Vector selectedElements)
    
public  voidsetZoomFactor(double zoomFactor)
    
public  intsnapToGridVertically(int p)
     Not implemented, just returns p.
public  Pointstraighten(int delta_w, int delta_h)
    
public  voidtransformStaticInTextFields()
    
public  voidupdateGrid()
     This method update the cell matrix according with groups and cells contained in the CrosstabElement...
public  voidupdateSize()
    
public  voidvalidateSelection()
    


Constructor Detail
CrosstabEditorPanel
public CrosstabEditorPanel()(Code)
Creates new form CrosstabEditorPanel




Method Detail
addNotDefinedCells
public void addNotDefinedCells()(Code)
This method fill all not defined cells with defaults taken by inherited cell... The alghoritm to find the cell from wich a cell inherits its defaults works as follow: 1. Check for the previos row cell with the same width 2. Check for the previos column cell with the same height An updateGrid on CrosstabReportPanel will fix all positions... In this case it's not important the total position (Start/End/Node)



addSelectedElement
public void addSelectedElement(ReportElement el)(Code)



addSelectedElement
public void addSelectedElement(ReportElement el, boolean fireEvent)(Code)
Add an element to the selection...



applyI18n
public void applyI18n()(Code)



bringToFront
public void bringToFront()(Code)



copyStyle
public void copyStyle()(Code)



deleteSelectedElements
public void deleteSelectedElements()(Code)



dragEnter
public void dragEnter(java.awt.dnd.DropTargetDragEvent dtde)(Code)



dragExit
public void dragExit(java.awt.dnd.DropTargetEvent dte)(Code)



dragOver
public void dragOver(java.awt.dnd.DropTargetDragEvent dtde)(Code)



drop
public void drop(java.awt.dnd.DropTargetDropEvent dtde)(Code)



dropActionChanged
public void dropActionChanged(java.awt.dnd.DropTargetDragEvent dtde)(Code)



dropNewTextField
public TextFieldReportElement dropNewTextField(Point newObjectOrigin, String textfieldExpression, String classExpression, String time)(Code)



editCell
public void editCell(CrosstabCell editCell)(Code)



findCell
public CrosstabCell findCell(String rowGroup, String columnGroup)(Code)



fireSelectionChangedEvent
public void fireSelectionChangedEvent()(Code)



getCellByPoint
public CrosstabCell getCellByPoint(Point p)(Code)
Point is a point il logical coordinates, so you have to perform a conversion before call it: getCellByPoint( new Point( getRealDim(x), getRealDim(y))) this if you are using mouse coordinates...



getColumnBands
public Vector getColumnBands()(Code)



getColumnWidth
public int getColumnWidth(String columnTotalGroup)(Code)
Return the maximum width of a certain column. The column "" is the A0 cell width



getColumns
public List getColumns()(Code)



getCrosstabElement
public CrosstabReportElement getCrosstabElement()(Code)



getEditor
public CrosstabEditor getEditor()(Code)



getElementAt
public ReportElement getElementAt(Point location)(Code)
Return the element at the point location (if any...)



getMainFrame
public MainFrame getMainFrame()(Code)
Shortcut for MainFrame.getMainInstance();



getNewObjectType
public int getNewObjectType()(Code)
Getter for property newObjectType. Value of property newObjectType.



getOpenedNodesDocumentStructure
public java.util.List getOpenedNodesDocumentStructure()(Code)



getParentReportFrame
public JReportFrame getParentReportFrame()(Code)



getRealDim
public int getRealDim(int dim)(Code)
Return an int. It performs zoomFactor*dim and a round.



getRowBands
public Vector getRowBands()(Code)



getRowHeight
public int getRowHeight(String rowTotalGroup)(Code)
Return the maximum height of a certain row. The row "" is the A0 cell row



getRows
public List getRows()(Code)



getSelectedElements
public Vector getSelectedElements()(Code)



getTotalColumnLeftIndex
public int getTotalColumnLeftIndex(String columnTotalGroup)(Code)
Return the maximum height of a certain row. The row "" is the A0 cell row



getTotalRowTopIndex
public int getTotalRowTopIndex(String rowTotalGroup)(Code)
Return the maximum height of a certain row. The row "" is the A0 cell row



getWhenNoDataCell
public CrosstabCell getWhenNoDataCell()(Code)
This method returns the WhenNoDataCell (that *should* be ever present after an updateGgrid...



getZoomFactor
public double getZoomFactor()(Code)



getZoomedDim
public int getZoomedDim(int dim)(Code)
Return an int. It performs zoomFactor*dim and a round.



gridMultiple
public int gridMultiple(int zoomedDim)(Code)



isDefaultCellMode
public boolean isDefaultCellMode()(Code)



magnetEffect
public int magnetEffect(List spots, int position)(Code)



paint
public void paint(Graphics g)(Code)



paintDocument
public void paintDocument(Graphics2D g2)(Code)
This method paint the wthite surface of the crossrtab



panelKeyPressed
public void panelKeyPressed(java.awt.event.KeyEvent evt)(Code)



pasteStyle
public void pasteStyle()(Code)



removeSubElements
protected void removeSubElements(ReportElement parentElement, DeleteElementsOperation undoOp, Vector deletedElements)(Code)



sendToBack
public void sendToBack()(Code)



setColumns
public void setColumns(List columns)(Code)



setDefaultCellMode
public void setDefaultCellMode(boolean defaultCellMode)(Code)



setEditor
public void setEditor(CrosstabEditor editor)(Code)



setNewObjectType
public void setNewObjectType(int newObjectType)(Code)
Setter for property newObjectType.
Parameters:
  newObjectType - New value of property newObjectType.



setOpenedNodesDocumentStructure
public void setOpenedNodesDocumentStructure(java.util.List openedNodesDocumentStructure)(Code)



setParentReportFrame
public void setParentReportFrame(JReportFrame parentReportFrame)(Code)



setRows
public void setRows(List rows)(Code)



setSelectedElement
public void setSelectedElement(ReportElement e)(Code)



setSelectedElement
public void setSelectedElement(ReportElement el, boolean fireEvent)(Code)
Set the selected element



setSelectedElements
public void setSelectedElements(Vector selectedElements)(Code)



setZoomFactor
public void setZoomFactor(double zoomFactor)(Code)



snapToGridVertically
public int snapToGridVertically(int p)(Code)
Not implemented, just returns p.



straighten
public Point straighten(int delta_w, int delta_h)(Code)



transformStaticInTextFields
public void transformStaticInTextFields()(Code)



updateGrid
public void updateGrid()(Code)
This method update the cell matrix according with groups and cells contained in the CrosstabElement...



updateSize
public void updateSize()(Code)



validateSelection
public void validateSelection()(Code)
This method remove from selection vector elements no longer part of this crosstab



Methods inherited from javax.swing.JPanel
public AccessibleContext getAccessibleContext()(Code)(Java Doc)
public PanelUI getUI()(Code)(Java Doc)
public String getUIClassID()(Code)(Java Doc)
protected String paramString()(Code)(Java Doc)
public void setUI(PanelUI ui)(Code)(Java Doc)
public void updateUI()(Code)(Java Doc)

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