Schnittstelle CustomPromptEditor
- Alle Superschnittstellen:
ViewerComponent
CustomPromptEditors are used to display custom editors for specific prompts.
They are registered using the method
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().- Seit:
- 7.8
- Siehe auch:
-
Methodenübersicht
Von Schnittstelle geerbte Methoden ViewerComponent
getComponent
-
Methodendetails
-
setValue
Sets the currently set value of the prompt for which this editor is being used.- Parameter:
value- currently set value of the prompt- Seit:
- 7.8
-
getValue
Object getValue()Returns the currently chosen value for the prompt for which this editor is being used. Note that the object returned depends on the value type of the prompt:NUMBER:java.lang.DoubleCURRENCY:java.lang.DoubleBOOLEAN:java.lang.BooleanDATE:java.sql.DateTIME:java.sql.TimeDATETIME:java.sql.TimestampSTRING:java.lang.StringRANGE:Range- If the return value is to be multiple values, return a Vector.
- Gibt zurück:
- the currently chosen value for the prompt.
- Seit:
- 7.8
- Siehe auch:
-