public class ImageViewer extends MustInputField
Modifier and Type | Field and Description |
---|---|
protected java.lang.String |
additionalTagFragments |
protected java.lang.String |
className |
protected java.lang.String |
imageDirectory |
protected java.lang.String |
imageToDisplay |
protected SessionData |
sessionData |
comment, focus, name, placeholder, toolTipText
Constructor and Description |
---|
ImageViewer(SessionData sessionData,
java.lang.String imageDirectory) |
Modifier and Type | Method and Description |
---|---|
void |
destroy()
Destroys the markupable.
|
void |
fetchYourValueFromRequest(GeneralizedRequest request)
Causes the component to read user input by calling request.getParameter and
update the internal mirrored value.
|
java.lang.String |
getCreationTag()
Returns the tag sequence that's needed to show this object in the user
interface.
|
void |
setImageToDisplay(java.lang.String newImageToDisplay) |
getName, setComment, setFocus, setPlaceHolder, setToolTipText, toString
protected SessionData sessionData
protected java.lang.String className
protected java.lang.String additionalTagFragments
protected java.lang.String imageDirectory
protected java.lang.String imageToDisplay
public ImageViewer(SessionData sessionData, java.lang.String imageDirectory)
public void setImageToDisplay(java.lang.String newImageToDisplay)
public java.lang.String getCreationTag()
public void fetchYourValueFromRequest(GeneralizedRequest request)
ValueFetcher
fetchYourValueFromRequest
in interface ValueFetcher
fetchYourValueFromRequest
in class MustInputField
request
- the current requestde.must.markup.Markupable#fetchYourValueFromRequest(GeneralizedRequest)
public void destroy()
Markupable
destroy
in interface Markupable
destroy
in class MustInputField
Markupable.destroy()
Copyright 1998-2023 Christoph Mueller, Kaerntner Str. 56, D-70469 Stuttgart, Germany, https://www.perpus.de