Java Doc for SpecialField.java in  » Report » datavision-1.1.0 » jimm » datavision » field » 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 » datavision 1.1.0 » jimm.datavision.field 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


jimm.datavision.field.Field
   jimm.datavision.field.SpecialField

SpecialField
public class SpecialField extends Field (Code)
A SpecialField represents a special value such as the report name or current page number. The value of a SpecialField is a string that identifies which value to display.
  • report.name
  • report.title
  • report.author
  • report.description
  • report.date
  • report.row
  • page.number
  • group.count

author:
   Jim Menard, jimm@io.com


Field Summary
final public static  StringTYPE_STRING
    

Constructor Summary
public  SpecialField(Long id, Report report, Section section, Object value, boolean visible)
     Constructs a special field with the specified id in the specified report section whose special value is value.

Method Summary
public  StringdesignLabel()
    
public  StringdragString()
    
public  StringformulaString()
    
public  ObjectgetValue()
     Returns the value of this field.
protected static  IntegergroupCount(Field f)
     Returns the group count for the group in which this field resides.
public static  HashMapspecialFieldNames()
     Returns an array of all of the special field names.
public  StringtypeString()
    
public static  Objectvalue(Field f, String str, Report report)
     Returns the value associated with the given special field name string.

Field Detail
TYPE_STRING
final public static String TYPE_STRING(Code)




Constructor Detail
SpecialField
public SpecialField(Long id, Report report, Section section, Object value, boolean visible)(Code)
Constructs a special field with the specified id in the specified report section whose special value is value.
Parameters:
  id - the new field's id
Parameters:
  report - the report containing this element
Parameters:
  section - the report section in which the field resides
Parameters:
  value - the magic string
Parameters:
  visible - show/hide flag




Method Detail
designLabel
public String designLabel()(Code)



dragString
public String dragString()(Code)



formulaString
public String formulaString()(Code)



getValue
public Object getValue()(Code)
Returns the value of this field. a string



groupCount
protected static Integer groupCount(Field f)(Code)
Returns the group count for the group in which this field resides. If we are in the detail section, return the count of the innermost group. Else If the group is null (for example, we are in the report footer), returns the report.row value. If f is null, return 0.
Parameters:
  f - a field the number of records in the group or the current record numberwithin the group.



specialFieldNames
public static HashMap specialFieldNames()(Code)
Returns an array of all of the special field names. We read the map each time because (in theory) the language could have changed and all the strings could be different. an array strings containing all of the special field names



typeString
public String typeString()(Code)



value
public static Object value(Field f, String str, Report report)(Code)
Returns the value associated with the given special field name string.
Parameters:
  str - the special field name string
Parameters:
  report - the report that is running a string



Fields inherited from jimm.datavision.field.Field
final public static double DEFAULT_HEIGHT(Code)(Java Doc)
final public static double DEFAULT_WIDTH(Code)(Java Doc)
protected Border border(Code)(Java Doc)
protected Rectangle bounds(Code)(Java Doc)
protected FormattedValueCache cache(Code)(Java Doc)
protected Format format(Code)(Java Doc)
protected Long id(Code)(Java Doc)
static Long maxIdSeen(Code)(Java Doc)
protected Object value(Code)(Java Doc)

Methods inherited from jimm.datavision.field.Field
public boolean canBeAggregated()(Code)(Java Doc)
public Object clone()(Code)(Java Doc)
public static Field create(Long id, Report report, Section section, String type, Object value, boolean visible)(Code)(Java Doc)
public static Field createFromDragString(Report report, String str)(Code)(Java Doc)
public String designLabel()(Code)(Java Doc)
abstract public String dragString()(Code)(Java Doc)
protected void finalize() throws Throwable(Code)(Java Doc)
abstract public String formulaString()(Code)(Java Doc)
public Border getBorder()(Code)(Java Doc)
public Border getBorderOrDefault()(Code)(Java Doc)
public Rectangle getBounds()(Code)(Java Doc)
public Format getFormat()(Code)(Java Doc)
public Object getId()(Code)(Java Doc)
public double getOutputHeight()(Code)(Java Doc)
public Object getValue()(Code)(Java Doc)
public FieldWidget makeWidget(SectionWidget sw)(Code)(Java Doc)
public boolean refersTo(Field f)(Code)(Java Doc)
public boolean refersTo(Formula f)(Code)(Java Doc)
public boolean refersTo(UserColumn uc)(Code)(Java Doc)
public boolean refersTo(Parameter p)(Code)(Java Doc)
public void setBorder(Border newBorder)(Code)(Java Doc)
public void setBounds(Rectangle newBounds)(Code)(Java Doc)
public void setFormat(Format newFormat)(Code)(Java Doc)
public void setValue(Object newValue)(Code)(Java Doc)
public String toString()(Code)(Java Doc)
abstract public String typeString()(Code)(Java Doc)
public void update(Observable o, Object arg)(Code)(Java Doc)
protected void writeFieldGuts(XMLWriter out)(Code)(Java Doc)
public void writeXML(XMLWriter out)(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.