public class TabButtonGroupForJsp extends MustInputField
comment, focus, name, placeholder, toolTipText
Constructor and Description |
---|
TabButtonGroupForJsp(java.lang.String[] unanimatedTabImages)
Constructs a simple new tab button group without different images for active
and inactive state.
|
TabButtonGroupForJsp(java.lang.String[] activeTabImages,
java.lang.String[] inactiveTabImages)
Constructs a new tab button group with different images for active in
inactive state.
|
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.
|
int |
getSelectedIndex()
Returns the selected index.
|
void |
setSelectedIndex(int selectedIndex)
Sets the selected Index.
|
void |
setToolTipText(int index,
java.lang.String newToolTipText)
Sets a tool tip text for tab icon as specified.
|
void |
setToolTipText(java.lang.String newToolTipText)
Sets the component's tool tip text.
|
boolean |
wasUsed()
Returns true if user input was switching to any other tabbed pane.
|
getName, setComment, setFocus, setPlaceHolder, toString
public TabButtonGroupForJsp(java.lang.String[] unanimatedTabImages)
unanimatedTabImages
- array of images to be used when item become activepublic TabButtonGroupForJsp(java.lang.String[] activeTabImages, java.lang.String[] inactiveTabImages)
activeTabImages
- array of images to be used when item become activeinactiveTabImages
- array of images to be used when item are inactivepublic void setToolTipText(java.lang.String newToolTipText)
MustInputField
setToolTipText
in interface Markupable
setToolTipText
in class MustInputField
newToolTipText
- the component's tool tip textpublic void setToolTipText(int index, java.lang.String newToolTipText)
index
- the index of the tab to be describednewToolTipText
- the new tool tip text for the tabpublic void setSelectedIndex(int selectedIndex)
selectedIndex
- the new index to selectpublic int getSelectedIndex()
public java.lang.String getCreationTag()
Markupable
public void fetchYourValueFromRequest(GeneralizedRequest request)
ValueFetcher
fetchYourValueFromRequest
in interface ValueFetcher
fetchYourValueFromRequest
in class MustInputField
request
- the current requestpublic boolean wasUsed()
public void destroy()
Markupable
destroy
in interface Markupable
destroy
in class MustInputField
Copyright 1998-2023 Christoph Mueller, Kaerntner Str. 56, D-70469 Stuttgart, Germany, https://www.perpus.de