public interface CustomPromptEditor extends ViewerComponent
ReportViewer.setCustomPromptEditor(String, int, CustomPromptEditor)
.
When a prompt is requested with a name for which a CustomPromptEditor has been
registered, the editor is fetched via ViewerComponent.getComponent()
, its
default values are set via setValue(Object)
, and its value is then
requested via getValue()
.ReportViewer.setCustomPromptEditor(String, int, CustomPromptEditor)
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
getValue()
Returns the currently chosen value for the prompt for which this editor is
being used.
|
void |
setValue(java.lang.Object value)
Sets the currently set value of the prompt for which this editor is being
used.
|
getComponent
void setValue(java.lang.Object value)
value
- currently set value of the promptjava.lang.Object getValue()
NUMBER
: java.lang.Double
CURRENCY
: java.lang.Double
BOOLEAN
: java.lang.Boolean
DATE
: java.sql.Date
TIME
: java.sql.Time
DATETIME
: java.sql.Timestamp
STRING
: java.lang.String
RANGE
: Range
Vector
Copyright © 1999-2020 by i-net software GmbH