net.simplace.pipe.util.FWFormPanel

form panel automatically shows components customized in XML Layout provider Special Layout provider is used.


public class FWFormPanel extends net.simplace.ui.panel.FWDefaultPanel
implements java.awt.event.ActionListener, FWFormComponentFactory {
// Public Constructors
public FWFormPanel(Element aFormElement, FormFunctionality aFunctionality);
public FWFormPanel(Element aFormElement, FWObservable aObservable);


// Class Methods
public static void addComponentFactory(FWFormComponentFactory aFactory);


// Public Instance Methods
public void checkRequired() throws RequiredFieldEmptyException;

as result of the FormPanel all values are requested from the objects and set to
public FWAbstractFormComponent createFormComponent(Element aElement, boolean
aShowLabel);


returns
public FWAbstractFormComponent createFormComponent(Element aElement, String
aID, String aFormID, FWObservable aObservable, boolean aShowLabel, int
aDetachibility); // From FWFormComponentFactory


returns
public int parseDetachability(Element aElement);


returns int representing the detachability
public void fillGroupComponent(List aComponentList, FWGroupFormComponent
aGroupPanel);

public FWObservable getObservable();


returns FWObservable
public Document getDocument(int aType, String aFile);


returns Document

// Protected Instance Methods
protected void go(); // Overrides net.simplace.ui.panel.FWDefaultPanel

method go to go on with process to nextFunction
protected void back(); // Overrides net.simplace.ui.panel.FWDefaultPanel

method go to go on with process to previousFunction
protected void reset(); // Overrides net.simplace.ui.panel.FWDefaultPanel

called from action performed - you can overwrite it in extended class or use this
protected void cancel(); // Overrides net.simplace.ui.panel.FWDefaultPanel

method cancel to stop process
protected String getLocaleValue(String aKey); // Overrides
net.simplace.ui.panel.FWDefaultPanel


This method limits the coding for reading values from the locale.


}



Hierarchy: java.lang.Object - java.awt.Component (java.awt.image.ImageObserver, java.awt.MenuContainer, java.io.Serializable) - java.awt.Container - javax.swing.JComponent (java.io.Serializable, javax.swing.TransferHandler.HasGetTransferHandler) - javax.swing.JPanel (javax.accessibility.Accessible) - net.simplace.ui.panel.FWDefaultPanel (java.awt.event.ActionListener) - FWFormPanel (java.awt.event.ActionListener, FWFormComponentFactory)