public class ImageView extends Component
Constructor and Description |
---|
ImageView()
Default constructor of image view.
|
ImageView(Image image)
Creates image view with specified image.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object o) |
Image |
getImage()
Returns image of image view.
|
int |
hashCode() |
void |
setImage(Image image)
Used to set image.
|
java.lang.String |
toString() |
add, addAll, clearChilds, containerIterator, contains, containsAll, count, forEach, getAbsolutePosition, getBackgroundColor, getBorder, getChilds, getCornerRadius, getFocusedStrokeColor, getIntersector, getListenerMap, getMetadata, getParent, getPosition, getSize, getTooltip, intersects, isEmpty, isEnabled, isFocused, isHovered, isPressed, isVisible, parallelStream, remove, removeAll, removeIf, setBackgroundColor, setBackgroundColor, setBorder, setCornerRadius, setEnabled, setFocused, setFocusedStrokeColor, setFocusedStrokeColor, setHovered, setIntersector, setListenerMap, setParent, setPosition, setPosition, setPressed, setSize, setSize, setTooltip, setVisible, stream
public ImageView(Image image)
image
- image to set.public ImageView()