org.netbeans.api.visual.widget

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.widget 
org.netbeans.api.visual.widget

This package contains Widget class. Widget is a small reusable piece of a scene. This defines appearance. Widgets can also has widget-actions assigned. This defines behaviour.

The package contains a set of low-level widgets. E.g.:

  • Widget - base/abstract widget - similar to JComponent in Swing
  • Scene - widget which represents and holds whole scene - similar to JFrame in Swing
  • LayerWidget - special transparent widget used for overlays - similar JGlassPane in Swing
  • ConnectionWidget - specific widget which represents path defined by control-points
  • LabelWidget - widget with a single-line text - similar to simple version of JLabel in Swing
  • ImageWidget - widget with an image - similar to simple version of JLabel in Swing
  • ScrollWidget - widget with scrollable viewport - similar to simple version of JScrollPane in Swing
  • SwingScrollWidget - widget with scroolable viewport which is using JScrollBars
  • ComponentWidget - widget used for integration of Swing component into a scene

Java Source File NameTypeComment
BirdViewController.javaClass This class controls a bird view created for a specific scene.
ComponentWidget.javaClass This widget allows to use an AWT/Swing component in the scene.
ConnectionWidget.javaClass This class represents a connection between two location.
ConvolveWidget.javaClass The widget which applies a convolve filter to a graphics rendered by the children.

Children are painted to an offscreen buffer which is later painted with a convolve filter applied to it.

Because of the offscreen buffer, be careful about the size of the widget.

EventProcessingType.javaenum The enum represents allowed types of event processing the is used to process the Swing event coming from a view component and that should be delegated to widgets on the scene.
FreeConnectionWidget.javaClass This class is an extension of the ConnectionWidget.
ImageWidget.javaClass A widget representing image.
LabelWidget.javaClass A widget representing a text.
LayerWidget.javaClass The layer widget represents a transparent widget which functionality is similar to JGlassPane. The layer widget is used for speed optimalization too since it is not repainted when the widget is re-layout.

It can be used widgets organization.

LevelOfDetailsWidget.javaClass This is a widget with a level-of-details feature.
Scene.javaClass The scene is a widget which also controls and represents whole rendered area.

After all changes in a scene is done, the validate method have to be called for validating changed and calculating new locations and boundaries of all modified widgets.

The scene allows to create a view JComponent which can be used anywhere in Swing based application.

SceneComponent.javaClass
ScrollWidget.javaClass This a scroll widget similar to JScrollPane.
SeparatorWidget.javaClass This is a separator widget.
SwingScrollWidget.javaClass This is a scroll widget similar to JScrollPane.
Widget.javaClass A scene is a tree of small building blocks called widgets and represented by this class.

Each widget has a origin location specified relatively to the location its parent widget and placement is specified be its boundary.

The widget is also responsible for rendering the region.

www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.