Java Doc for ScrollBarsProperty.java in  » Swing-Library » abeille-forms-designer » com » jeta » forms » store » properties » 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 » Swing Library » abeille forms designer » com.jeta.forms.store.properties 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


com.jeta.forms.store.properties.JETAProperty
   com.jeta.forms.store.properties.ScrollBarsProperty

ScrollBarsProperty
public class ScrollBarsProperty extends JETAProperty (Code)
A custom property for scrollable Swing components such as lists, tables, and text areas. We provide a scroll bars property for these components instead of requiring the user to create a separate JScrollPane in the designer. This property will automatically create a JScrollPane and add the Java bean during runtime.
author:
   Jeff Tassin


Field Summary
final public static  StringPROPERTY_ID
    
final public static  intVERSION
    
final static  longserialVersionUID
    

Constructor Summary
public  ScrollBarsProperty()
     Creates a ScrollBarsProperty instances with the default horizontal and vertical scroll bar policies (AS_NEEDED).
public  ScrollBarsProperty(int vertpolicy, int horzpolicy)
     Creates a ScrollBarsProperty instances with the specified horizontal and vertical scroll bar policies.

Method Summary
public  CompoundBorderPropertygetBorderProperty()
     Returns the property that defines the border to apply to the scroll pane.
public  intgetHorizontalScrollBarPolicy()
     Returns the horizontal scroll bar policy value.
public  StringgetScrollName()
     Returns the name of the JScrollPane component.
public  intgetVerticalScrollBarPolicy()
     Returns the vertical scroll bar policy value.
public  booleanisScrollable()
     Returns true if both the vertical and horizontal policies are NOT equal to NEVER.
public  voidread(JETAObjectInput in)
    
public  voidsetBorderProperty(CompoundBorderProperty prop)
     Sets the property that defines the border to apply to the scroll pane.
public  voidsetHorizontalScrollBarPolicy(int policy)
     Sets the horizontal scrollbar policy.
public  voidsetScrollName(String scrollName)
     Sets the name for the JScrollPane component.
public  voidsetValue(Object prop)
     Sets this property to that of another ScrollBarsProperty.
public  voidsetVerticalScrollBarPolicy(int policy)
     Sets the vertical scrollbar policy.
public  voidupdateBean(JETABean bean)
     JETAProperty implementation.
public  voidwrite(JETAObjectOutput out)
    

Field Detail
PROPERTY_ID
final public static String PROPERTY_ID(Code)



VERSION
final public static int VERSION(Code)
version number for this class



serialVersionUID
final static long serialVersionUID(Code)




Constructor Detail
ScrollBarsProperty
public ScrollBarsProperty()(Code)
Creates a ScrollBarsProperty instances with the default horizontal and vertical scroll bar policies (AS_NEEDED).



ScrollBarsProperty
public ScrollBarsProperty(int vertpolicy, int horzpolicy)(Code)
Creates a ScrollBarsProperty instances with the specified horizontal and vertical scroll bar policies.
Parameters:
  vertpolicy - the vertical scroll bar policy.
Parameters:
  horzpolicy - the horizontal scroll bar policy.




Method Detail
getBorderProperty
public CompoundBorderProperty getBorderProperty()(Code)
Returns the property that defines the border to apply to the scroll pane. the scroll pane border attributes.



getHorizontalScrollBarPolicy
public int getHorizontalScrollBarPolicy()(Code)
Returns the horizontal scroll bar policy value. the horizontalScrollBarPolicy property
See Also:   ScrollBarsProperty.setHorizontalScrollBarPolicy



getScrollName
public String getScrollName()(Code)
Returns the name of the JScrollPane component. the name of the JScrollPane.



getVerticalScrollBarPolicy
public int getVerticalScrollBarPolicy()(Code)
Returns the vertical scroll bar policy value. the verticalScrollBarPolicy property
See Also:   ScrollBarsProperty.setVerticalScrollBarPolicy



isScrollable
public boolean isScrollable()(Code)
Returns true if both the vertical and horizontal policies are NOT equal to NEVER. If a property is scrollable then a JScrollPane will be created. If this property is not scrollabe, a JScrollPane instance will not be created. true if both the vertical and horizontal policies are NOT equalto NEVER



read
public void read(JETAObjectInput in) throws ClassNotFoundException, IOException(Code)
JETAPersistable Implementation



setBorderProperty
public void setBorderProperty(CompoundBorderProperty prop)(Code)
Sets the property that defines the border to apply to the scroll pane. the scroll pane border attributes.



setHorizontalScrollBarPolicy
public void setHorizontalScrollBarPolicy(int policy)(Code)
Sets the horizontal scrollbar policy. The options are:JScrollPane HORIZONTAL_SCROLLBAR_AS_NEEDED HORIZONTAL_SCROLLBAR_NEVER HORIZONTAL_SCROLLBAR_ALWAYS
Parameters:
  policy - the horizontal scroll bar policy



setScrollName
public void setScrollName(String scrollName)(Code)
Sets the name for the JScrollPane component.



setValue
public void setValue(Object prop)(Code)
Sets this property to that of another ScrollBarsProperty.



setVerticalScrollBarPolicy
public void setVerticalScrollBarPolicy(int policy)(Code)
Sets the vertical scrollbar policy. The options are:JScrollPane VERTICAL_SCROLLBAR_AS_NEEDED VERTICAL_SCROLLBAR_NEVER VERTICAL_SCROLLBAR_ALWAYS
Parameters:
  policy - the vertical scroll bar policy



updateBean
public void updateBean(JETABean bean)(Code)
JETAProperty implementation. Removes the Java bean from the form and adds it to a JScrollPane. The JScrollPane is then added to the form in place of the Java bean.



write
public void write(JETAObjectOutput out) throws IOException(Code)
JETAPersistable Implementation



Fields inherited from com.jeta.forms.store.properties.JETAProperty
final public static int VERSION(Code)(Java Doc)
final static long serialVersionUID(Code)(Java Doc)

Methods inherited from com.jeta.forms.store.properties.JETAProperty
public boolean equals(Object object)(Code)(Java Doc)
public String getName()(Code)(Java Doc)
protected static boolean isCollectionsEqual(Collection c1, Collection c2)(Code)(Java Doc)
protected static boolean isEqual(Object o1, Object o2)(Code)(Java Doc)
public boolean isPreferred()(Code)(Java Doc)
public boolean isTransient()(Code)(Java Doc)
public void postInitialize(FormPanel panel, JETABean jbean)(Code)(Java Doc)
public void read(JETAObjectInput in) throws ClassNotFoundException, IOException(Code)(Java Doc)
public void setPreferred(boolean pref)(Code)(Java Doc)
abstract public void setValue(Object obj)(Code)(Java Doc)
abstract public void updateBean(JETABean jbean)(Code)(Java Doc)
public void write(JETAObjectOutput out) throws IOException(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.