public interface ImageSelect extends NiftyControl
Modifier and Type | Method and Description |
---|---|
void |
addImage(NiftyImage image)
Add another image to the possible selection.
|
void |
backClick()
Select the previous image (if possible).
|
void |
forwardClick()
Select the next image (if possible).
|
int |
getImageCount()
Number of images
|
int |
getSelectedImageIndex()
Get the current selected image index.
|
void |
removeImage(NiftyImage image)
Remove Image.
|
void |
setSelectedImageIndex(int imageIndex)
Set the current image index which will select this image.
|
disable, enable, getElement, getHeight, getId, getStyle, getWidth, hasFocus, isBound, isEnabled, layoutCallback, setEnabled, setFocus, setFocusable, setHeight, setId, setStyle, setWidth
void backClick()
void forwardClick()
void addImage(NiftyImage image)
image
- the imageint getSelectedImageIndex()
void setSelectedImageIndex(int imageIndex)
imageIndex
- image indexvoid removeImage(NiftyImage image)
image
- imageint getImageCount()
Copyright © 2013. All Rights Reserved.