Java Doc for BorderFactory.java in  » IDE-Netbeans » api » org » netbeans » api » visual » 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 » IDE Netbeans » api » org.netbeans.api.visual.border 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   org.netbeans.api.visual.border.BorderFactory

BorderFactory
final public class BorderFactory (Code)
This class is a factory of all built-in implementation of borders. Instances of built-in borders can be shared by multiple widgets.
author:
   David Kaspar




Method Summary
public static  BordercreateBevelBorder(boolean raised)
     Creates a bevel border.
public static  BordercreateBevelBorder(boolean raised, Color color)
     Creates a bevel border.
public static  BordercreateCompositeBorder(Border... borders)
     Creates a composite border that consists of a list of specified borders - one embedded to another.
public static  BordercreateDashedBorder(Color color, int width, int height)
     Creates a resize border rendered with dashed stroke.
public static  BordercreateDashedBorder(Color color, int width, int height, boolean squares)
     Creates a resize border rendered with dashed stroke.
public static  BordercreateEmptyBorder()
     Creates an default empty border with 0px layout.
public static  BordercreateEmptyBorder(int thickness)
     Creates an empty border with specific thickness.
public static  BordercreateEmptyBorder(int horizontal, int vertical)
     Creates an empty border with specific thickness.
public static  BordercreateEmptyBorder(int top, int left, int bottom, int right)
     Creates an empty border with specific thickness.
public static  BordercreateFancyDashedBorder(Color color, int width, int height)
     Creates a resize border rendered with fancy dashed stroke.
public static  BordercreateImageBorder(Insets insets, Image image)
     Creates an image layout.
public static  BordercreateImageBorder(Insets borderInsets, Insets imageInsets, Image image)
     Creates an image layout.
public static  BordercreateLineBorder()
     Creates a line border with default style.
public static  BordercreateLineBorder(int thickness)
     Creates a line border with specific thickness.
public static  BordercreateLineBorder(int thickness, Color color)
     Creates a line border with specific thickness and color.
public static  BordercreateLineBorder(int top, int left, int bottom, int right, Color color)
     Creates a line border with specific insets and color.
public static  BordercreateOpaqueBorder(int top, int left, int bottom, int right)
     Creates an opaque border with specific thickness.
public static  BordercreateResizeBorder(int thickness)
     Creates a resize border.
public static  BordercreateResizeBorder(int thickness, Color color, boolean outer)
     Creates a resize border.
public static  BordercreateRoundedBorder(int arcWidth, int arcHeight, Color fillColor, Color drawColor)
     Creates an rounded-rectangle border with a specified style.
public static  BordercreateRoundedBorder(int arcWidth, int arcHeight, int insetWidth, int insetHeight, Color fillColor, Color drawColor)
     Creates an rounded-rectangle border with a specified style.
public static  BordercreateSwingBorder(Scene scene, javax.swing.border.Border border)
     Creates a layout from a Swing border.



Method Detail
createBevelBorder
public static Border createBevelBorder(boolean raised)(Code)
Creates a bevel border. The instance can be shared by multiple widgets.
Parameters:
  raised - if true, then it is a raised-bevel border; if false, then it is a lowered-bevel layout the bevel border



createBevelBorder
public static Border createBevelBorder(boolean raised, Color color)(Code)
Creates a bevel border. The instance can be shared by multiple widgets.
Parameters:
  raised - if true, then it is a raised-bevel layout; if false, then it is a lowered-bevel border
Parameters:
  color - the border color the bevel border



createCompositeBorder
public static Border createCompositeBorder(Border... borders)(Code)
Creates a composite border that consists of a list of specified borders - one embedded to another. The instance can be shared by multiple widgets.
Parameters:
  borders - the list of borders the composite border



createDashedBorder
public static Border createDashedBorder(Color color, int width, int height)(Code)
Creates a resize border rendered with dashed stroke. The instance can be shared by multiple widgets.
Parameters:
  color - the border color
Parameters:
  width - the inset width
Parameters:
  height - the inset height the dashed border



createDashedBorder
public static Border createDashedBorder(Color color, int width, int height, boolean squares)(Code)
Creates a resize border rendered with dashed stroke. The instance can be shared by multiple widgets.
Parameters:
  color - the border color
Parameters:
  width - the inset width
Parameters:
  height - the inset height
Parameters:
  squares - the the dashed border



createEmptyBorder
public static Border createEmptyBorder()(Code)
Creates an default empty border with 0px layout. The instance can be shared by multiple widgets. the empty border



createEmptyBorder
public static Border createEmptyBorder(int thickness)(Code)
Creates an empty border with specific thickness. The instance can be shared by multiple widgets.
Parameters:
  thickness - the border thickness the empty border



createEmptyBorder
public static Border createEmptyBorder(int horizontal, int vertical)(Code)
Creates an empty border with specific thickness. The instance can be shared by multiple widgets.
Parameters:
  horizontal - the horizontal thickness
Parameters:
  vertical - the vertical thickness the empty border



createEmptyBorder
public static Border createEmptyBorder(int top, int left, int bottom, int right)(Code)
Creates an empty border with specific thickness. The instance can be shared by multiple widgets.
Parameters:
  top - the top inset
Parameters:
  left - the left inset
Parameters:
  bottom - the bottom inset
Parameters:
  right - the right inset the empty border



createFancyDashedBorder
public static Border createFancyDashedBorder(Color color, int width, int height)(Code)
Creates a resize border rendered with fancy dashed stroke. The instance can be shared by multiple widgets.
Parameters:
  color - the border color
Parameters:
  width - the inset width
Parameters:
  height - the inset height the fancy dashed border



createImageBorder
public static Border createImageBorder(Insets insets, Image image)(Code)
Creates an image layout. The border is painted using a supplied Image. The image is split into 3x3 regions defined by insets. The middle regions are tiled for supplying variable width and height of border. Central region is not painted. The instance can be shared by multiple widgets.
Parameters:
  insets - the border insets
Parameters:
  image - the border image the image border



createImageBorder
public static Border createImageBorder(Insets borderInsets, Insets imageInsets, Image image)(Code)
Creates an image layout. The border is painted using a supplied Image. The image is split into 3x3 regions defined by imageInsets. The middle regions are tiled for supplying variable width and height of border. Central region is not painted. The insets of the border is specified by borderInsets. The instance can be shared by multiple widgets.
Parameters:
  borderInsets - the border insets
Parameters:
  imageInsets - the image insets
Parameters:
  image - the border image the image border



createLineBorder
public static Border createLineBorder()(Code)
Creates a line border with default style. The instance can be shared by multiple widgets. the line border



createLineBorder
public static Border createLineBorder(int thickness)(Code)
Creates a line border with specific thickness. The line is still one pixel but the layout insets are calculated from thickness. The instance can be shared by multiple widgets.
Parameters:
  thickness - the border thickness the line border



createLineBorder
public static Border createLineBorder(int thickness, Color color)(Code)
Creates a line border with specific thickness and color. The line is still one pixel but the layout insets are calculated from thickness. The instance can be shared by multiple widgets.
Parameters:
  thickness - the border thickness
Parameters:
  color - the line color the line border



createLineBorder
public static Border createLineBorder(int top, int left, int bottom, int right, Color color)(Code)
Creates a line border with specific insets and color. The line is still one pixel but the layout insets are specified. The instance can be shared by multiple widgets.
Parameters:
  top - the top inset
Parameters:
  left - the left inset
Parameters:
  bottom - the bottom inset
Parameters:
  right - the right inset
Parameters:
  color - the line color the line border



createOpaqueBorder
public static Border createOpaqueBorder(int top, int left, int bottom, int right)(Code)
Creates an opaque border with specific thickness. The instance can be shared by multiple widgets.
Parameters:
  top - the top inset
Parameters:
  left - the left inset
Parameters:
  bottom - the bottom inset
Parameters:
  right - the right inset the empty border



createResizeBorder
public static Border createResizeBorder(int thickness)(Code)
Creates a resize border. Usually used as resizing handles for ResizeAction. It renders a bounding rectangle with 8-direction squares. The instance can be shared by multiple widgets.
Parameters:
  thickness - the thickness of the border the resize border



createResizeBorder
public static Border createResizeBorder(int thickness, Color color, boolean outer)(Code)
Creates a resize border. Usually used as resizing handles for ResizeAction. It renders a bounding rectangle with 8-direction squares. The instance can be shared by multiple widgets.
Parameters:
  thickness - the thickness of the border
Parameters:
  color - the border color
Parameters:
  outer - if true, then the rectangle encapsulate the squares too; if false, then the rectangle encapsulates the widget client area only the resize border



createRoundedBorder
public static Border createRoundedBorder(int arcWidth, int arcHeight, Color fillColor, Color drawColor)(Code)
Creates an rounded-rectangle border with a specified style. Insets are calculated from arcWidth and arcHeight. The instance can be shared by multiple widgets.
Parameters:
  arcWidth - the arc width
Parameters:
  arcHeight - the arc height
Parameters:
  fillColor - the fill color
Parameters:
  drawColor - the draw color the rounded border



createRoundedBorder
public static Border createRoundedBorder(int arcWidth, int arcHeight, int insetWidth, int insetHeight, Color fillColor, Color drawColor)(Code)
Creates an rounded-rectangle border with a specified style. The instance can be shared by multiple widgets.
Parameters:
  arcWidth - the arc width
Parameters:
  arcHeight - the arc height
Parameters:
  insetWidth - the inset width
Parameters:
  insetHeight - the inset height
Parameters:
  fillColor - the fill color
Parameters:
  drawColor - the draw color the rounded border



createSwingBorder
public static Border createSwingBorder(Scene scene, javax.swing.border.Border border)(Code)
Creates a layout from a Swing border. The instance can be shared by multiple widgets but cannot be used in multiple scenes.
Parameters:
  scene - the scene where the border is used.
Parameters:
  border - the Swing border the border



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.