Download Forte for Java (Community Edition) User's Guide
Transcript
Contents Generating Bean Info.......................................................................................................................103 Bean Info node ....................................................................................................................................... Properties and Event Sources nodes ................................................................................................... Subnodes of the Properties and Event Sources nodes ..................................................................... Editing BeanInfo source........................................................................................................................ Regenerating BeanInfo .......................................................................................................................... 104 105 105 106 106 Customizing JavaBeans components.............................................................................. 106 Adding JavaBeans components to the IDE .................................................................... 107 Is Container property .......................................................................................................................108 Adding JavaBeans from a JAR or local directory ........................................................................109 Adding JavaBeans using the beans directory ................................................................................110 Chapter 6: Designing Visual Classes with the Form Editor ............................ 111 Opening the Form Editor................................................................................................ 111 Creating a new form ........................................................................................................ 113 Working with components .............................................................................................. 114 Adding new components.................................................................................................................114 Selecting components.......................................................................................................................115 Connection mode .............................................................................................................................115 Moving components to a different container...............................................................................116 Copying components .......................................................................................................................116 Reordering components within the same container....................................................................117 Property Sheet pane in the Component Inspector .......................................................... 117 Custom property editors for component properties ...................................................................118 Reverting to the default value for a property ...............................................................................119 Working with layouts ....................................................................................................... 119 Setting and changing layout managers...........................................................................................120 Setting layout properties and constraints ......................................................................................120 Layout properties.................................................................................................................................... 121 Constraints properties............................................................................................................................ 121 Standard layout managers ................................................................................................................122 Border Layout ......................................................................................................................................... Flow Layout............................................................................................................................................. Grid Layout ............................................................................................................................................. Card Layout ............................................................................................................................................. GridBag Layout....................................................................................................................................... Box Layout .............................................................................................................................................. Absolute Layout...................................................................................................................................... Null Layout.............................................................................................................................................. 122 122 123 123 123 124 124 125 Using the GridBag customizer........................................................................................................125 Support for custom layout managers.............................................................................................127 Working with source code ............................................................................................... 128 Guarded text......................................................................................................................................128 Modifying generated code for components..................................................................................128 6