Java Doc for STitledBorder.java in  » Swing-Library » wings3 » org » wings » border » 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 » wings3 » org.wings.border 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   org.wings.border.SAbstractBorder
      org.wings.border.STitledBorder

STitledBorder
public class STitledBorder extends SAbstractBorder (Code)
Adds a border with a title to a component.


Field Summary
final public static  intABOVE_BOTTOM
     Position the title above the border's bottom line.
final public static  intABOVE_TOP
     Position the title above the border's top line.
final public static  intBELOW_BOTTOM
     Position the title below the border's bottom line.
final public static  intBELOW_TOP
     Position the title below the border's top line.
final public static  intBOTTOM
     Position the title in the middle of the border's bottom line.
final public static  intCENTER
     Position title text in the center of the border line.
final public static  intDEFAULT_JUSTIFICATION
     Use the default justification for the title text.
final public static  intDEFAULT_POSITION
     Use the default vertical orientation for the title text.
final protected static  intEDGE_SPACING
    
final public static  intLEADING
     Position title text at the left side of the border line for left to right orientation, at the right side of the border line for right to left orientation.
final public static  intLEFT
     Position title text at the left side of the border line.
final public static  intRIGHT
     Position title text at the right side of the border line.
final public static  SelectorSELECTOR_FIELDSET
    
final public static  SelectorSELECTOR_LEGEND
    
final protected static  intTEXT_INSET_H
    
final protected static  intTEXT_SPACING
    
final public static  intTOP
     Position the title in the middle of the border's top line.
final public static  intTRAILING
     Position title text at the right side of the border line for left to right orientation, at the left side of the border line for right to left orientation.
protected  MapdynamicStyles
     Map of Selector to CSS Style s currently assigned to this component.

Constructor Summary
public  STitledBorder(SBorder border)
     Constructor for STitledBorder.
public  STitledBorder(String title)
     Constructor for STitledBorder.
public  STitledBorder(SBorder border, String title)
     Constructor for STitledBorder.
public  STitledBorder(SBorder border, String title, int titleJustification, int titlePosition)
     Constructor for STitledBorder Creates a STitledBorder instance with the specified border, title, title-justification, and title-position.
public  STitledBorder(SBorder border, String title, int titleJustification, int titlePosition, SFont titleFont)
     Constructor for STitledBorder Creates a STitledBorder instance with the specified border, title, title-justification, title-position, and title-font.
public  STitledBorder(SBorder border, String title, int titleJustification, int titlePosition, SFont titleFont, Color titleColor)
     Constructor for STitledBorder Creates a TitledBorder instance with the specified border, title, title-justification, title-position, title-font, and title-color.

Method Summary
public  SBordergetBorder()
     Gets the border.
public  StringgetTitle()
     Gets the title.
public  ColorgetTitleColor()
     Returns the title-color of the titled border.
public  SFontgetTitleFont()
     Returns the title-font of the titled border.
public  intgetTitleJustification()
     Returns the title-justification of the titled border.
protected static  booleanisDifferent(Object oldObject, Object newObject)
     use this method for changing a variable.
public  voidsetBorder(SBorder border)
     Sets the border.
public  voidsetTitle(String title)
     Sets the title.
public  voidsetTitleColor(Color titleColor)
     Sets the title-color of the titled border.
public  voidsetTitleFont(SFont titleFont)
     Sets the title-font of the titled border.
public  voidsetTitleJustification(int titleJustification)
     Sets the title-justification of the titled border.

Field Detail
ABOVE_BOTTOM
final public static int ABOVE_BOTTOM(Code)
Position the title above the border's bottom line.



ABOVE_TOP
final public static int ABOVE_TOP(Code)
Position the title above the border's top line.



BELOW_BOTTOM
final public static int BELOW_BOTTOM(Code)
Position the title below the border's bottom line.



BELOW_TOP
final public static int BELOW_TOP(Code)
Position the title below the border's top line.



BOTTOM
final public static int BOTTOM(Code)
Position the title in the middle of the border's bottom line.



CENTER
final public static int CENTER(Code)
Position title text in the center of the border line.



DEFAULT_JUSTIFICATION
final public static int DEFAULT_JUSTIFICATION(Code)
Use the default justification for the title text.



DEFAULT_POSITION
final public static int DEFAULT_POSITION(Code)
Use the default vertical orientation for the title text.



EDGE_SPACING
final protected static int EDGE_SPACING(Code)



LEADING
final public static int LEADING(Code)
Position title text at the left side of the border line for left to right orientation, at the right side of the border line for right to left orientation.



LEFT
final public static int LEFT(Code)
Position title text at the left side of the border line.



RIGHT
final public static int RIGHT(Code)
Position title text at the right side of the border line.



SELECTOR_FIELDSET
final public static Selector SELECTOR_FIELDSET(Code)
Two different selectoren, one for fieldset and one for legend



SELECTOR_LEGEND
final public static Selector SELECTOR_LEGEND(Code)



TEXT_INSET_H
final protected static int TEXT_INSET_H(Code)



TEXT_SPACING
final protected static int TEXT_SPACING(Code)



TOP
final public static int TOP(Code)
Position the title in the middle of the border's top line.



TRAILING
final public static int TRAILING(Code)
Position title text at the right side of the border line for left to right orientation, at the left side of the border line for right to left orientation.



dynamicStyles
protected Map dynamicStyles(Code)
Map of Selector to CSS Style s currently assigned to this component.




Constructor Detail
STitledBorder
public STitledBorder(SBorder border)(Code)
Constructor for STitledBorder.



STitledBorder
public STitledBorder(String title)(Code)
Constructor for STitledBorder. Default border type is SEtchedBorder , thickness 2



STitledBorder
public STitledBorder(SBorder border, String title)(Code)
Constructor for STitledBorder.
Parameters:
  border - the border to use
Parameters:
  title - the title to display



STitledBorder
public STitledBorder(SBorder border, String title, int titleJustification, int titlePosition)(Code)
Constructor for STitledBorder Creates a STitledBorder instance with the specified border, title, title-justification, and title-position.
Parameters:
  border - the border to use
Parameters:
  title - the title to display
Parameters:
  titleJustification - (not used)
Parameters:
  titlePosition - (not used)



STitledBorder
public STitledBorder(SBorder border, String title, int titleJustification, int titlePosition, SFont titleFont)(Code)
Constructor for STitledBorder Creates a STitledBorder instance with the specified border, title, title-justification, title-position, and title-font.
Parameters:
  border - the border to use
Parameters:
  title - the title to display
Parameters:
  titleJustification -
Parameters:
  titlePosition - (not used)
Parameters:
  titleFont - the font to used



STitledBorder
public STitledBorder(SBorder border, String title, int titleJustification, int titlePosition, SFont titleFont, Color titleColor)(Code)
Constructor for STitledBorder Creates a TitledBorder instance with the specified border, title, title-justification, title-position, title-font, and title-color.
Parameters:
  border - the border to use
Parameters:
  title - the title to display
Parameters:
  titleJustification -
Parameters:
  titlePosition - (not used)
Parameters:
  titleFont - the font to use
Parameters:
  titleColor - the color to use




Method Detail
getBorder
public SBorder getBorder()(Code)
Gets the border. Returns a SBorder



getTitle
public String getTitle()(Code)
Gets the title. Returns a String



getTitleColor
public Color getTitleColor()(Code)
Returns the title-color of the titled border.



getTitleFont
public SFont getTitleFont()(Code)
Returns the title-font of the titled border.



getTitleJustification
public int getTitleJustification()(Code)
Returns the title-justification of the titled border.



isDifferent
protected static boolean isDifferent(Object oldObject, Object newObject)(Code)
use this method for changing a variable. if a new value is different from the old value set the new one and notify e.g. the reloadmanager...



setBorder
public void setBorder(SBorder border)(Code)
Sets the border.
Parameters:
  border - The border to set



setTitle
public void setTitle(String title)(Code)
Sets the title.
Parameters:
  title - The title to set



setTitleColor
public void setTitleColor(Color titleColor)(Code)
Sets the title-color of the titled border.
Parameters:
  titleColor - - the color for the border title



setTitleFont
public void setTitleFont(SFont titleFont)(Code)
Sets the title-font of the titled border.
Parameters:
  titleFont - - the font for the border title



setTitleJustification
public void setTitleJustification(int titleJustification)(Code)
Sets the title-justification of the titled border. titleJustification, Default, Center, Right, Left



Fields inherited from org.wings.border.SAbstractBorder
protected SComponent component(Code)(Java Doc)
protected Insets insets(Code)(Java Doc)
protected BorderSpec[] specs(Code)(Java Doc)

Methods inherited from org.wings.border.SAbstractBorder
public Object clone()(Code)(Java Doc)
public CSSAttributeSet getAttributes()(Code)(Java Doc)
public BorderCG getCG()(Code)(Java Doc)
public Color getColor()(Code)(Java Doc)
public Color getColor(int position)(Code)(Java Doc)
final public Insets getInsets()(Code)(Java Doc)
final public String getStyle()(Code)(Java Doc)
public String getStyle(int position)(Code)(Java Doc)
final public int getThickness()(Code)(Java Doc)
public int getThickness(int position)(Code)(Java Doc)
protected void setCG(BorderCG borderCG)(Code)(Java Doc)
public void setColor(Color color)(Code)(Java Doc)
public void setColor(Color color, int position)(Code)(Java Doc)
public void setComponent(SComponent newComponent)(Code)(Java Doc)
public void setInsets(Insets insets)(Code)(Java Doc)
public void setStyle(String style)(Code)(Java Doc)
public void setStyle(String style, int position)(Code)(Java Doc)
public void setThickness(int thickness)(Code)(Java Doc)
public void setThickness(int thickness, int position)(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.