Java Doc for LazyText.java in  » Ajax » Laszlo-4.0.10 » org » openlaszlo » iv » flash » api » text » 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 » Ajax » Laszlo 4.0.10 » org.openlaszlo.iv.flash.api.text 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   org.openlaszlo.iv.flash.api.FlashItem
      org.openlaszlo.iv.flash.api.FlashObject
         org.openlaszlo.iv.flash.api.FlashDef
            org.openlaszlo.iv.flash.api.text.LazyText

LazyText
final public class LazyText extends FlashDef implements TextBlock(Code)
This class represents DefineText tag.

Basically it is alredy laid out text.
author:
   Dmitry Skavish
See Also:   Text



Field Summary
final public static  intHAS_COLOR
    
final public static  intHAS_FONT
    
final public static  intHAS_XOFFSET
    
final public static  intHAS_YOFFSET
    
public  Rectangle2Dbounds
    
public  AffineTransformmatrix
    
public  IVVectorrecords
    
public  booleanwithAlpha
    

Constructor Summary
public  LazyText()
    
public  LazyText(boolean withAlpha)
    

Method Summary
protected  boolean_isConstant()
    
public  void_parse(Parser p)
    
public  voidaddTextRecord(TextRecord record)
    
public  voidaddTextStyleChangeRecord(TextStyleChangeRecord record)
    
public  voidapply(Context context)
    
public  voidchangeFont(Font old_font, Font new_font)
     Updates records' font.
public  voidcollectDeps(DepsCollector dc)
    
public  voidcollectFonts(FontsCollector fc)
    
protected  FlashItemcopyInto(FlashItem item, ScriptCopier copier)
    
public  TextcreateText()
    
public  IVVectorgetAllTextRecords1()
     Returns vector of all text records of this text.
public  Rectangle2DgetBounds()
    
public  FlashItemgetCopy(ScriptCopier copier)
    
public  AffineTransformgetMatrix()
    
public  intgetTag()
    
public  IVVectorgetTextRecords(Font font)
     Returns vector of TextRecord s from this text of specified font.
public  voidlayout()
     Layouts this text.
public static  LazyTextparse(Parser p, boolean withAlpha)
    
public  voidprintContent(PrintStream out, String indent)
    
public  voidsetAllTextRecords(IVVector records)
     Sets new vector of text records for this text.
public  voidsetBounds(Rectangle2D bounds)
    
public  voidsetMatrix(AffineTransform matrix)
    
public  voidwrite(FlashOutput fob)
    

Field Detail
HAS_COLOR
final public static int HAS_COLOR(Code)



HAS_FONT
final public static int HAS_FONT(Code)



HAS_XOFFSET
final public static int HAS_XOFFSET(Code)



HAS_YOFFSET
final public static int HAS_YOFFSET(Code)



bounds
public Rectangle2D bounds(Code)



matrix
public AffineTransform matrix(Code)



records
public IVVector records(Code)



withAlpha
public boolean withAlpha(Code)




Constructor Detail
LazyText
public LazyText()(Code)



LazyText
public LazyText(boolean withAlpha)(Code)




Method Detail
_isConstant
protected boolean _isConstant()(Code)



_parse
public void _parse(Parser p)(Code)



addTextRecord
public void addTextRecord(TextRecord record)(Code)
Adds new text record to this text
Parameters:
  record - new text record to be added



addTextStyleChangeRecord
public void addTextStyleChangeRecord(TextStyleChangeRecord record)(Code)
Adds new text style change record to this text
Parameters:
  record - new text style change record to be added



apply
public void apply(Context context)(Code)



changeFont
public void changeFont(Font old_font, Font new_font)(Code)
Updates records' font.

Changes one specified font into another in all records. In text records also updates indexes.
Parameters:
  old_font - old font
Parameters:
  new_font - new font




collectDeps
public void collectDeps(DepsCollector dc)(Code)



collectFonts
public void collectFonts(FontsCollector fc)(Code)



copyInto
protected FlashItem copyInto(FlashItem item, ScriptCopier copier)(Code)



createText
public Text createText()(Code)
if x == 0 && prevX was at the end then append if x == 0 && prevX was NOT at the end then new item if x != 0 then check if rest of x != 0 then if they are equal it's 'center'



getAllTextRecords1
public IVVector getAllTextRecords1()(Code)
Returns vector of all text records of this text. vector of TextRecord or/and TextStyleChangeRecord



getBounds
public Rectangle2D getBounds()(Code)



getCopy
public FlashItem getCopy(ScriptCopier copier)(Code)



getMatrix
public AffineTransform getMatrix()(Code)



getTag
public int getTag()(Code)



getTextRecords
public IVVector getTextRecords(Font font)(Code)
Returns vector of TextRecord s from this text of specified font.
Parameters:
  font - font of text records to be returned text records of specified font



layout
public void layout()(Code)
Layouts this text.

Does nothing, because the text is already laid out.




parse
public static LazyText parse(Parser p, boolean withAlpha)(Code)



printContent
public void printContent(PrintStream out, String indent)(Code)



setAllTextRecords
public void setAllTextRecords(IVVector records)(Code)
Sets new vector of text records for this text.
Parameters:
  records - new vector of TextItem or/and TextStyleChangeRecord



setBounds
public void setBounds(Rectangle2D bounds)(Code)



setMatrix
public void setMatrix(AffineTransform matrix)(Code)



write
public void write(FlashOutput fob)(Code)



Methods inherited from org.openlaszlo.iv.flash.api.FlashDef
protected FlashItem copyInto(FlashItem item, ScriptCopier copier)(Code)(Java Doc)
public int getID()(Code)(Java Doc)
public String getName()(Code)(Java Doc)
public void setID(int id)(Code)(Java Doc)
public void setName(String name)(Code)(Java Doc)

Methods inherited from org.openlaszlo.iv.flash.api.FlashObject
protected boolean _isConstant()(Code)(Java Doc)
public void apply(Context context)(Code)(Java Doc)
public void collectDeps(DepsCollector dc)(Code)(Java Doc)
public void collectFonts(FontsCollector fc)(Code)(Java Doc)
protected FlashItem copyInto(FlashItem item, ScriptCopier copier)(Code)(Java Doc)
public void generate(FlashOutput fob, DepsCollector dc)(Code)(Java Doc)
public Rectangle2D getBounds()(Code)(Java Doc)
abstract public int getTag()(Code)(Java Doc)
public boolean isConstant()(Code)(Java Doc)
public boolean isProcessed()(Code)(Java Doc)
public void printContent(PrintStream out, String indent)(Code)(Java Doc)
public void process(FlashFile file, Context context) throws IVException(Code)(Java Doc)
protected void setConstant(boolean is_const)(Code)(Java Doc)
public void setProcessed()(Code)(Java Doc)

Methods inherited from org.openlaszlo.iv.flash.api.FlashItem
protected FlashItem copyInto(FlashItem item, ScriptCopier copier)(Code)(Java Doc)
public FlashItem getCopy(ScriptCopier copier)(Code)(Java Doc)
abstract public void printContent(PrintStream out, String indent)(Code)(Java Doc)
public String toString()(Code)(Java Doc)
abstract public void write(FlashOutput fob)(Code)(Java Doc)

Methods inherited from java.lang.Object
native protected Object clone() throws CloneNotSupportedException(Code)(Java Doc)
public boolean equals(Object obj)(Code)(Java Doc)
protected void finalize() throws Throwable(Code)(Java Doc)
final native public Class getClass()(Code)(Java Doc)
native public int hashCode()(Code)(Java Doc)
final native public void notify()(Code)(Java Doc)
final native public void notifyAll()(Code)(Java Doc)
public String toString()(Code)(Java Doc)
final native public void wait(long timeout) throws InterruptedException(Code)(Java Doc)
final public void wait(long timeout, int nanos) throws InterruptedException(Code)(Java Doc)
final public void wait() throws InterruptedException(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.