Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

screengen.gui
Class BuildBean  view BuildBean download BuildBean.java

java.lang.Object
  extended byscreengen.gui.BuildComponentBase
      extended byscreengen.gui.BuildBean
All Implemented Interfaces:
java.io.Serializable

class BuildBean
extends BuildComponentBase


Field Summary
(package private)  java.util.Hashtable oAttributeItems
           
(package private)  javax.swing.JComponent oComponent
           
(package private)  java.awt.GridBagConstraints oConstraint
           
(package private) static java.lang.Object oLoadObject
           
(package private) static BuildTreeModel oLoadTreeModel
           
(package private)  ComponentAttributeBase oParentAttribute
           
(package private)  BuildPanelBase oParentContainer
           
(package private)  java.util.Hashtable oSetProperties
           
(package private)  ToolBarBean oToolBarBean
           
(package private)  java.lang.String sClassName
           
(package private) static java.lang.String sIndent
           
(package private) static java.lang.String sIndent2
           
(package private)  java.lang.String sName
           
 
Constructor Summary
(package private) BuildBean(ToolBarBean oNewBean, ComponentAttributeBase oNewParentAttribute)
           
 
Method Summary
 void add(java.lang.String sAttribute, BuildComponentBase oNew)
           
(package private) static BuildComponentBase BuildBean(ToolBarBean oBean, ComponentAttributeBase oParent)
           
(package private) static BuildComponentBase BuildContainerBean(ToolBarBean oBean, ComponentAttributeBase oParent)
           
(package private) static BuildComponentBase BuildFrameBean(ToolBarBean oBean)
           
(package private) static BuildComponentBase BuildPanelFrameBean(ToolBarBean oBean)
           
(package private)  void CreateComponent()
           
(package private) static java.lang.Object createObject(java.lang.String className)
           
static javax.swing.tree.DefaultMutableTreeNode FindInTree(java.lang.Object oParent)
           
(package private)  java.util.Hashtable getAttributeItems()
           
static java.lang.String getClassNameWithoutPackage(java.lang.String sName)
           
 javax.swing.JComponent getComponent()
           
 java.awt.GridBagConstraints getConstraints()
           
(package private)  ComponentAttributeBase getDefaultAddAttribute()
           
static java.lang.String getLoadFieldName(ToolBarBean oBean, java.lang.Object oObj)
           
 java.lang.String getName()
           
(package private)  java.lang.Object getPropertyValue(java.lang.String sKey)
           
 java.lang.String getShortClassName()
           
 ToolBarBean getToolBarBean()
           
static javax.swing.tree.DefaultMutableTreeNode insertIntoTree(javax.swing.tree.DefaultMutableTreeNode oParentNode, BuildComponentBase oNew)
           
static javax.swing.tree.DefaultMutableTreeNode InsertIntoTree(java.lang.Object oParent, BuildComponentBase oNew)
           
static javax.swing.tree.DefaultMutableTreeNode loadFromClassFile(java.lang.String sClassFile)
           
 void loadFromInstance(java.lang.Object oObject)
           
private  void readObject(java.io.ObjectInputStream in)
           
 void setComponent(javax.swing.JComponent oNew)
           
 void setConstraints(java.awt.GridBagConstraints oNew)
           
protected  void setConstraintsAfterLoad()
           
static void SetLoadTreeNode(BuildTreeModel oNewLoadTreeModel)
           
 void setName(java.lang.String sNew)
           
(package private)  void setObjectProperties()
           
(package private)  void setPropertyValue(java.lang.String sKey, java.lang.Object oValue)
           
(package private)  void showFieldValues()
           
 java.lang.String toString()
          Convert this Object to a human-readable String.
private  void writeObject(java.io.ObjectOutputStream out)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

oToolBarBean

transient ToolBarBean oToolBarBean

sIndent

static final java.lang.String sIndent
See Also:
Constant Field Values

sIndent2

static final java.lang.String sIndent2
See Also:
Constant Field Values

oComponent

transient javax.swing.JComponent oComponent

oConstraint

java.awt.GridBagConstraints oConstraint

oParentContainer

BuildPanelBase oParentContainer

oParentAttribute

ComponentAttributeBase oParentAttribute

oSetProperties

java.util.Hashtable oSetProperties

sName

java.lang.String sName

sClassName

java.lang.String sClassName

oAttributeItems

java.util.Hashtable oAttributeItems

oLoadTreeModel

static BuildTreeModel oLoadTreeModel

oLoadObject

static java.lang.Object oLoadObject
Constructor Detail

BuildBean

BuildBean(ToolBarBean oNewBean,
          ComponentAttributeBase oNewParentAttribute)
    throws java.lang.InstantiationException,
           java.lang.IllegalAccessException
Method Detail

getToolBarBean

public ToolBarBean getToolBarBean()
Overrides:
getToolBarBean in class BuildComponentBase

getShortClassName

public java.lang.String getShortClassName()
Overrides:
getShortClassName in class BuildComponentBase

CreateComponent

void CreateComponent()
               throws java.lang.InstantiationException,
                      java.lang.IllegalAccessException

loadFromInstance

public void loadFromInstance(java.lang.Object oObject)
Overrides:
loadFromInstance in class BuildComponentBase

setObjectProperties

void setObjectProperties()

showFieldValues

void showFieldValues()
Overrides:
showFieldValues in class BuildComponentBase

writeObject

private void writeObject(java.io.ObjectOutputStream out)
                  throws java.io.IOException

readObject

private void readObject(java.io.ObjectInputStream in)
                 throws java.io.IOException,
                        java.lang.ClassNotFoundException

getAttributeItems

java.util.Hashtable getAttributeItems()

BuildBean

static BuildComponentBase BuildBean(ToolBarBean oBean,
                                    ComponentAttributeBase oParent)
                             throws java.lang.InstantiationException,
                                    java.lang.IllegalAccessException

BuildContainerBean

static BuildComponentBase BuildContainerBean(ToolBarBean oBean,
                                             ComponentAttributeBase oParent)
                                      throws java.lang.InstantiationException,
                                             java.lang.IllegalAccessException

BuildFrameBean

static BuildComponentBase BuildFrameBean(ToolBarBean oBean)
                                  throws java.lang.InstantiationException,
                                         java.lang.IllegalAccessException

BuildPanelFrameBean

static BuildComponentBase BuildPanelFrameBean(ToolBarBean oBean)
                                       throws java.lang.InstantiationException,
                                              java.lang.IllegalAccessException

createObject

static java.lang.Object createObject(java.lang.String className)

FindInTree

public static javax.swing.tree.DefaultMutableTreeNode FindInTree(java.lang.Object oParent)

InsertIntoTree

public static javax.swing.tree.DefaultMutableTreeNode InsertIntoTree(java.lang.Object oParent,
                                                                     BuildComponentBase oNew)

insertIntoTree

public static javax.swing.tree.DefaultMutableTreeNode insertIntoTree(javax.swing.tree.DefaultMutableTreeNode oParentNode,
                                                                     BuildComponentBase oNew)

SetLoadTreeNode

public static void SetLoadTreeNode(BuildTreeModel oNewLoadTreeModel)

getLoadFieldName

public static java.lang.String getLoadFieldName(ToolBarBean oBean,
                                                java.lang.Object oObj)

loadFromClassFile

public static javax.swing.tree.DefaultMutableTreeNode loadFromClassFile(java.lang.String sClassFile)
                                                                 throws java.lang.InstantiationException,
                                                                        java.lang.IllegalAccessException

getDefaultAddAttribute

ComponentAttributeBase getDefaultAddAttribute()

add

public void add(java.lang.String sAttribute,
                BuildComponentBase oNew)
         throws java.lang.InstantiationException

setPropertyValue

void setPropertyValue(java.lang.String sKey,
                      java.lang.Object oValue)

getPropertyValue

java.lang.Object getPropertyValue(java.lang.String sKey)

setName

public void setName(java.lang.String sNew)

getName

public java.lang.String getName()

toString

public java.lang.String toString()
Description copied from class: java.lang.Object
Convert this Object to a human-readable String. There are no limits placed on how long this String should be or what it should contain. We suggest you make it as intuitive as possible to be able to place it into System.out.println() 55 and such.

It is typical, but not required, to ensure that this method never completes abruptly with a java.lang.RuntimeException.

This method will be called when performing string concatenation with this object. If the result is null, string concatenation will instead use "null".

The default implementation returns getClass().getName() + "@" + Integer.toHexString(hashCode()).


getComponent

public javax.swing.JComponent getComponent()

getConstraints

public java.awt.GridBagConstraints getConstraints()

setComponent

public void setComponent(javax.swing.JComponent oNew)

setConstraints

public void setConstraints(java.awt.GridBagConstraints oNew)

setConstraintsAfterLoad

protected void setConstraintsAfterLoad()

getClassNameWithoutPackage

public static java.lang.String getClassNameWithoutPackage(java.lang.String sName)