Class IMAGESHAKERBinding
java.lang.Object
org.eclnt.jsfserver.elements.impl.IMAGESHAKERBinding
- All Implemented Interfaces:
Serializable
,IDynamicContentBindingObject
public class IMAGESHAKERBinding
extends Object
implements Serializable, IDynamicContentBindingObject
- See Also:
-
Nested Class Summary
Modifier and TypeClassDescriptionclass
class
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Adds an image - the image being represented by a normal image link (e.g.void
Extended method to add an image and a tooltip that is shown on top of the image.protected String
buildBgpaintForSelectedTab
(String image) protected String
protected String
protected String
void
Clears all image items so that the component is "empty".protected Rectangle
getBounds
(int index) int
Internal use only.protected int
getHeight
(int index) Internally used.int
int
int
Index of currently selected image item.Internally used.protected int
getWidth
(int index) boolean
protected int
getZIndex
(int index) void
onNext
(javax.faces.event.ActionEvent event) Internal use only.void
onPrevious
(javax.faces.event.ActionEvent event) Internal use only.protected void
reactOnImageSelect
(int selectedIndex) This is the method to be overridden for reacting on the selection of an image.protected void
selectIndex
(int index) protected void
selectIndex
(int index, boolean withApplicationCallBack) void
setImageheight
(int imageheight) void
setImagewidth
(int imagewidth) void
setOffsetX
(int offsetX) This is the x-offset that is used when drawing the items.void
setOffsetY
(int offsetY) This is the y-offset that is used when drawing the items.void
setSelectedIndex
(int index, boolean withApplicationCallback) void
setSelectionBorderColor
(String value) void
setWithShearing
(boolean withShearing) If set to true, then non-selected components will be automatically sheared.protected void
-
Constructor Details
-
IMAGESHAKERBinding
public IMAGESHAKERBinding()
-
-
Method Details
-
setSelectionBorderColor
-
getSelectionBorderColor
-
getOffsetX
public int getOffsetX() -
setOffsetX
public void setOffsetX(int offsetX) This is the x-offset that is used when drawing the items. -
getOffsetY
public int getOffsetY() -
setOffsetY
public void setOffsetY(int offsetY) This is the y-offset that is used when drawing the items. -
getImageInfoMap
-
getTrigger
-
getWithShearing
public boolean getWithShearing() -
setWithShearing
public void setWithShearing(boolean withShearing) If set to true, then non-selected components will be automatically sheared. Result: you can opticall arrange more items within the component, and things look nice... -
getImages
Internally used. Do not directly manipulate the list of images! -
getTooltips
Internally used. Do not directly manipulate the list of tooltips! -
setImagewidth
public void setImagewidth(int imagewidth) -
setImageheight
public void setImageheight(int imageheight) -
clearImages
public void clearImages()Clears all image items so that the component is "empty". -
addImage
Adds an image - the image being represented by a normal image link (e.g. /images/xyz.png) that points to an image within the current web application. -
addImage
Extended method to add an image and a tooltip that is shown on top of the image. -
getChangeIndex
public int getChangeIndex()Internal use only. -
onNext
public void onNext(javax.faces.event.ActionEvent event) Internal use only. -
onPrevious
public void onPrevious(javax.faces.event.ActionEvent event) Internal use only. -
getSelectedIndex
public int getSelectedIndex()Index of currently selected image item. -
setSelectedIndex
public void setSelectedIndex(int index, boolean withApplicationCallback) - Parameters:
index
- Image to be selected.withApplicationCallback
- Flag if to call the "reactOnImageSelection" method or not.
-
reactOnImageSelect
protected void reactOnImageSelect(int selectedIndex) This is the method to be overridden for reacting on the selection of an image. -
getBounds
-
getZIndex
protected int getZIndex(int index) -
selectIndex
protected void selectIndex(int index) -
selectIndex
protected void selectIndex(int index, boolean withApplicationCallBack) -
getWidth
protected int getWidth(int index) -
getHeight
protected int getHeight(int index) -
updateChangeIndex
protected void updateChangeIndex() -
buildBgpaintForSelectedTab
-
buildBgpaintForUnselectedTab
-
buildBgpaintForUnselectedTabWithShearingLeftSide
-
buildBgpaintForUnselectedTabWithShearingRightSide
-