## org.das2.components.propertyeditor.ColorEditor

## ColorEditor( )

Creates a new instance of ColorEditor

## ColorEditor( java.awt.Color init )

create the editor configured with the default.

## addColor

addColor( java.awt.Color c, String name ) → void

allow clients to add additional colors.

### Parameters

c - a Color
name - a String

### Returns:

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

## addPropertyChangeListener

addPropertyChangeListener( java.beans.PropertyChangeListener l ) → void

### Parameters

l - a PropertyChangeListener

### 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:

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

## getCustomEditor

getCustomEditor( ) → java.awt.Component

### Returns:

java.awt.Component
[search for examples] [view on GitHub] [view on old javadoc] [view source]

## getJavaInitializationString

getJavaInitializationString( ) → String

### Returns:

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

## getSmallEditor

getSmallEditor( ) → java.awt.Component

### Returns:

java.awt.Component
[search for examples] [view on GitHub] [view on old javadoc] [view source]

## getTableCellEditorComponent

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

### Parameters

table - a JTable
value - an Object
selected - 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[]

### Returns:

java.lang.String[]
[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]

## isPaintable

isPaintable( ) → boolean

### Returns:

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

## paintValue

paintValue( java.awt.Graphics graphics, java.awt.Rectangle rectangle ) → void

### Parameters

graphics - a Graphics
rectangle - a Rectangle

### Returns:

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

## removePropertyChangeListener

removePropertyChangeListener( java.beans.PropertyChangeListener l ) → void

### Parameters

l - a PropertyChangeListener

### Returns:

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

## setAsText

setAsText( String str ) → void

### Parameters

str - a String

### Returns:

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

## setValue

setValue( Object obj ) → void

### Parameters

obj - an Object

### Returns:

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

## supportsCustomEditor

supportsCustomEditor( ) → boolean

### Returns:

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