org.das2.dasml.FormContainer

A subclass of JPanel to override the default Beans properties of a JPanel


deregisterComponent

deregisterComponent( ) → void

Returns:

void (returns nothing)

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


getBorderTitle

getBorderTitle( ) → String

Returns the title that is displayed along the top of this panels border (if it has one).

Returns:

java.lang.String

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


getDasApplication

getDasApplication( ) → 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]


getDirection

getDirection( ) → Orientation

Returns:

org.das2.dasml.Orientation

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


getEditingMode

getEditingMode( ) → boolean

Returns true if this component is in an editing state.

Returns:

true if this component is in an editing state.

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


getForm

getForm( ) → FormBase

Returns the FormBase object this component is associated with, or null

Returns:

org.das2.dasml.FormBase

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


getMaximumSize

getMaximumSize( ) → Dimension

Returns:

java.awt.Dimension

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


getMinimumSize

getMinimumSize( ) → Dimension

Returns:

java.awt.Dimension

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


getPreferredSize

getPreferredSize( ) → Dimension

Returns:

java.awt.Dimension

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


hasBorder

hasBorder( ) → boolean

Returns true if this panel has a border

Returns:

boolean

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


paint

paint( java.awt.Graphics g ) → void

Parameters

g - a Graphics

Returns:

void (returns nothing)

[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]


remove

remove( int index ) → void

Parameters

index - an int

Returns:

void (returns nothing)

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

remove( java.awt.Component c ) → void

removeAll

removeAll( ) → void

Returns:

void (returns nothing)

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


setBorderTitle

setBorderTitle( String s ) → void

Set the title that is displayed along the top of this panels border (if it has one) to the given String.

Parameters

s - a String

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]


setDirection

setDirection( org.das2.dasml.Orientation direction ) → void

Parameters

direction - an Orientation

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]


setHasBorder

setHasBorder( boolean b ) → void

If the given boolean is true then the panel will be given a border, if is does not already have one. If the given boolean is false then the panel's border will be removed, if it has one.

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]