Java Doc for TextPanelSettings.java in  » Internationalization-Localization » icu4j » com » ibm » richtext » textpanel » 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 » Internationalization Localization » icu4j » com.ibm.richtext.textpanel 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   com.ibm.richtext.textpanel.TextPanelSettings

TextPanelSettings
final public class TextPanelSettings implements Cloneable,Serializable(Code)
This class contains settings used when constructing an MTextPanel. The settings controled by this class include:
  • whether the text in the MTextPanel can be scrolled
  • whether scroll bars in the MTextPanel are visible
  • whether the text in the MTextPanel can be selected
  • whether the text in the MTextPanel can be edited
  • whether lines of text wrap to the MTextPanel's width, or only end at paragraph separators
  • the default values for unspecified styles
Some settings are dependent on others. Scroll bars are visible only if the text is scrollable. Also, text which is not editable if it is not selectable.


See Also:   MTextPanel



Field Summary
final static  StringCOPYRIGHT
    
final static  longserialVersionUID
    

Constructor Summary
public  TextPanelSettings()
     Create a TextPanelSettings instance with all settings set to true.

Method Summary
public  voidaddDefaultValues(AttributeMap map)
     Add the key-value pairs in the given AttributeMap to the default values.
public  Objectclone()
     Return a new TextPanelSettings instance with the same settings as this.
public  booleanequals(Object rhs)
     Compare this to another Object.
public  AttributeMapgetDefaultValues()
     Return the AttributeMap of default values for certain keys.
public  booleangetEditable()
     Return the editable setting, which determines whether text in an MTextPanel can be edited.
public  booleangetScrollBarsVisible()
     Return the scrollBarsVisible setting, which determines whether scroll bars in an MTextPanel are visible.
public  booleangetScrollable()
     Return the scrollable setting, which determines whether text in an MTextPanel can be scrolled.
public  booleangetSelectable()
     Return the selectable setting, which determines whether text in an MTextPanel can be selected.
public  booleangetWraps()
     Return the wraps setting, which determines whether lines of text wrap to the length of the MTextPanel, or only at paragraph separators.
public  inthashCode()
     Return the hash code for this Object.
public  voidsetEditable(boolean editable)
     Set the editable setting.
Parameters:
  editable - the editable setting.
public  voidsetScrollBarsVisible(boolean vis)
     Set the scrollBarsVisible setting.
Parameters:
  vis - the scrollBarsVisible setting.
public  voidsetScrollable(boolean scrollable)
     Set the scrollable setting.
Parameters:
  scrollable - the scrollable setting.
public  voidsetSelectable(boolean selectable)
     Set the selectable setting.
Parameters:
  selectable - the selectable setting.
public  voidsetWraps(boolean wraps)
     Set the wraps setting.

Field Detail
COPYRIGHT
final static String COPYRIGHT(Code)



serialVersionUID
final static long serialVersionUID(Code)




Constructor Detail
TextPanelSettings
public TextPanelSettings()(Code)
Create a TextPanelSettings instance with all settings set to true.




Method Detail
addDefaultValues
public void addDefaultValues(AttributeMap map)(Code)
Add the key-value pairs in the given AttributeMap to the default values. If a key does not appear in the given AttributeMap, its value in the default value map is unchanged.
Parameters:
  map - an AttributeMap containing new default values



clone
public Object clone()(Code)
Return a new TextPanelSettings instance with the same settings as this. a new TextPanelSettings instance



equals
public boolean equals(Object rhs)(Code)
Compare this to another Object. This is equal to another Object if the other Object is a TextPanelSettings instance with the same settings as this one.
Parameters:
  rhs - the Object to compare to



getDefaultValues
public AttributeMap getDefaultValues()(Code)
Return the AttributeMap of default values for certain keys. When a key in this AttributeMap is not specified, its value is taken from this AttributeMap. the AttributeMap of default values
See Also:   MTextPanel.getDefaultValues



getEditable
public boolean getEditable()(Code)
Return the editable setting, which determines whether text in an MTextPanel can be edited. the editable setting



getScrollBarsVisible
public boolean getScrollBarsVisible()(Code)
Return the scrollBarsVisible setting, which determines whether scroll bars in an MTextPanel are visible. the scrollBarsVisible setting



getScrollable
public boolean getScrollable()(Code)
Return the scrollable setting, which determines whether text in an MTextPanel can be scrolled. the scrollable setting



getSelectable
public boolean getSelectable()(Code)
Return the selectable setting, which determines whether text in an MTextPanel can be selected. the selectable setting



getWraps
public boolean getWraps()(Code)
Return the wraps setting, which determines whether lines of text wrap to the length of the MTextPanel, or only at paragraph separators. the wraps setting



hashCode
public int hashCode()(Code)
Return the hash code for this Object. the hash code for this Object



setEditable
public void setEditable(boolean editable)(Code)
Set the editable setting.
Parameters:
  editable - the editable setting. If true,the selectable setting is also set to true.



setScrollBarsVisible
public void setScrollBarsVisible(boolean vis)(Code)
Set the scrollBarsVisible setting.
Parameters:
  vis - the scrollBarsVisible setting. If true,the scrollable setting is also set to true.



setScrollable
public void setScrollable(boolean scrollable)(Code)
Set the scrollable setting.
Parameters:
  scrollable - the scrollable setting. If false,the scrollBarsVisible setting is also set to false.



setSelectable
public void setSelectable(boolean selectable)(Code)
Set the selectable setting.
Parameters:
  selectable - the selectable setting. If false,the editable setting is also set to false.



setWraps
public void setWraps(boolean wraps)(Code)
Set the wraps setting.
Parameters:
  wraps - the wraps setting



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.