org.das2.components.DatumRangeEditor

DatumRangeEditor( )

Creates a new instance of DatumEditor


PROP_ALLOWZEROWIDTH


addActionListener

addActionListener( java.awt.event.ActionListener al ) → void

Parameters

al - an ActionListener

Returns:

void (returns nothing)

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


addCellEditorListener

addCellEditorListener( javax.swing.event.CellEditorListener l ) → void

Parameters

l - a CellEditorListener

Returns:

void (returns nothing)

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


cancelCellEditing

cancelCellEditing( ) → void

Returns:

void (returns nothing)

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


getAsText

getAsText( ) → String

Returns:

java.lang.String

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


getCellEditorValue

getCellEditorValue( ) → Object

Returns the value stored in this editor.

Returns:

the current value being edited

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


getCustomEditor

getCustomEditor( ) → java.awt.Component

Returns:

this

See Also:

java.beans.PropertyEditor#getCustomEditor()


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


getDatumRange

getDatumRange( ) → DatumRange

attempt to read the datum range in the TextField. If it is not parseable, then display an error message and return to the old value.

Returns:

a DatumRange

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


getJavaInitializationString

getJavaInitializationString( ) → String

This PropertyEditor implementation does not support generating java code.

Returns:

The string "???"

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


getTableCellEditorComponent

getTableCellEditorComponent( javax.swing.JTable table, Object value, boolean isSelected, int row, int column ) → java.awt.Component

Parameters

table - a JTable
value - an Object
isSelected - a boolean
row - an int
column - an int

Returns:

java.awt.Component

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


getTags

getTags( ) → String[]

This PropertyEditor implementation does not support enumerated values.

Returns:

null

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


getToolTipText

getToolTipText( java.awt.event.MouseEvent event ) → String

Parameters

event - a MouseEvent

Returns:

java.lang.String

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


getUnits

getUnits( ) → Units

Returns:

org.das2.datum.Units

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


getValue

getValue( ) → Object

Returns:

java.lang.Object

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


isAllowZeroWidth

isAllowZeroWidth( ) → boolean

Returns:

boolean

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


isCellEditable

isCellEditable( java.util.EventObject anEvent ) → boolean

Parameters

anEvent - an EventObject

Returns:

true

See Also:

javax.swing.CellEditor#isCellEditable(java.util.EventObject)


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


isPaintable

isPaintable( ) → boolean

Returns:

false

See Also:

java.beans.PropertyEditor#isPaintable()


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


paintValue

paintValue( java.awt.Graphics g, java.awt.Rectangle r ) → void

Does nothing.

Parameters

g - a Graphics
r - a Rectangle

Returns:

void (returns nothing)

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


removeActionListener

removeActionListener( java.awt.event.ActionListener al ) → void

Parameters

al - an ActionListener

Returns:

void (returns nothing)

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


removeCellEditorListener

removeCellEditorListener( javax.swing.event.CellEditorListener l ) → void

Parameters

l - a CellEditorListener

Returns:

void (returns nothing)

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


setAllowZeroWidth

setAllowZeroWidth( boolean allowZeroWidth ) → void

Parameters

allowZeroWidth - a boolean

Returns:

void (returns nothing)

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


setAsText

setAsText( String text ) → void

Parameters

text - a String

Returns:

void (returns nothing)

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


setColumns

setColumns( int columns ) → void

Parameters

columns - an int

Returns:

void (returns nothing)

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


setUnits

setUnits( Units units ) → void

Parameters

units - an Units

Returns:

void (returns nothing)

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


setValue

setValue( Object value ) → void

Parameters

value - the DatumRange to be editted.

Returns:

void (returns nothing)

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


shouldSelectCell

shouldSelectCell( java.util.EventObject anEvent ) → boolean

Parameters

anEvent - an EventObject

Returns:

true

See Also:

javax.swing.CellEditor#shouldSelectCell(java.util.EventObject)


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


stopCellEditing

stopCellEditing( ) → boolean

Returns:

boolean

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


supportsCustomEditor

supportsCustomEditor( ) → boolean

Returns:

true

See Also:

java.beans.PropertyEditor#supportsCustomEditor()


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