## org.das2.dasml.FormBase

This class displays a Java form that is generated from an XML Document that is provided as input.

## FormBase( java.net.URL url, org.xml.sax.ErrorHandler eh, boolean editable )

Creates a FormBase object

## FormBase( java.io.InputStream in, org.xml.sax.ErrorHandler eh, boolean editable )

## FormBase( java.io.Reader reader, org.xml.sax.ErrorHandler eh, boolean editable )

## FormBase( boolean editable )

## addForm

addForm( org.das2.dasml.FormTab form ) → void

### Parameters

form - a FormTab

### Returns:

void (returns nothing)
[search for examples] [view on GitHub] [view on old javadoc] [view source]

## addWindow

addWindow( org.das2.dasml.FormWindow window ) → void

### Parameters

window - a FormWindow

### Returns:

void (returns nothing)
[search for examples] [view on GitHub] [view on old javadoc] [view source]

## checkValue

checkValue( String name, java.lang.Class type, String tag ) → Object

### Parameters

name - a String
type - a java.lang.Class
tag - a String

### Returns:

java.lang.Object
[search for examples] [view on GitHub] [view on old javadoc] [view source]

## deregisterComponent

deregisterComponent( ) → void

### Returns:

void (returns nothing)
[search for examples] [view on GitHub] [view on old javadoc] [view source]

## getDOMElement

getDOMElement( org.w3c.dom.Document document ) → org.w3c.dom.Element

### Parameters

document - a Document

### Returns:

org.w3c.dom.Element
[search for examples] [view on GitHub] [view on old javadoc] [view source]

## getDasApplication

getDasApplication( ) → org.das2.DasApplication

### Returns:

org.das2.DasApplication
[search for examples] [view on GitHub] [view on old javadoc] [view source]

## getDasName

getDasName( ) → String

### Returns:

java.lang.String
[search for examples] [view on GitHub] [view on old javadoc] [view source]

## getDnDSupport

getDnDSupport( ) → org.das2.util.DnDSupport

### Returns:

org.das2.util.DnDSupport
[search for examples] [view on GitHub] [view on old javadoc] [view source]

## getEditingMode

getEditingMode( ) → boolean

### Returns:

boolean
[search for examples] [view on GitHub] [view on old javadoc] [view source]

## getForm

getForm( ) → org.das2.dasml.FormBase

### Returns:

org.das2.dasml.FormBase
[search for examples] [view on GitHub] [view on old javadoc] [view source]

## getWindowList

getWindowList( ) → java.util.List

### Returns:

java.util.List
[search for examples] [view on GitHub] [view on old javadoc] [view source]

## invoke

invoke( String name, String[] args ) → Object

### Parameters

name - a String
args - a java.lang.String[]

### Returns:

java.lang.Object
[search for examples] [view on GitHub] [view on old javadoc] [view source]

## registerComponent

registerComponent( ) → void

### Returns:

void (returns nothing)
[search for examples] [view on GitHub] [view on old javadoc] [view source]

## removeWindow

removeWindow( org.das2.dasml.FormWindow window ) → void

### Parameters

window - a FormWindow

### Returns:

void (returns nothing)
[search for examples] [view on GitHub] [view on old javadoc] [view source]

## serialize

serialize( java.io.OutputStream out ) → void

Writes the XML representation of this form to the specified byte stream

### Parameters

out - the specified byte stream

### Returns:

void (returns nothing)
[search for examples] [view on GitHub] [view on old javadoc] [view source]

## setDasName

setDasName( String name ) → void

### Parameters

name - a String

### Returns:

void (returns nothing)
[search for examples] [view on GitHub] [view on old javadoc] [view source]

## setEditingMode

setEditingMode( boolean b ) → void

### Parameters

b - a boolean

### Returns:

void (returns nothing)
[search for examples] [view on GitHub] [view on old javadoc] [view source]

## startDrag

startDrag( int x, int y, int action, java.awt.event.MouseEvent evt ) → boolean

### Parameters

x - an int
y - an int
action - an int
evt - a MouseEvent

### Returns:

boolean
[search for examples] [view on GitHub] [view on old javadoc] [view source]