Interface ImageView.Builder
- All Superinterfaces:
ComponentBuilder<ImageView, ImageView.Builder>, ComponentValueBuilder<ImageView, byte[], ImageView.Builder>, Supplier<ImageView>
- Enclosing class:
ImageView
public static interface ImageView.Builder
extends ComponentValueBuilder<ImageView, byte[], ImageView.Builder>
Builds an
ImageView, its ComponentValue the image bytes, not copied.-
Field Summary
Fields inherited from interface ComponentValueBuilder
COMPONENT_VALUE -
Method Summary
Methods inherited from interface ComponentBuilder
ancestorListener, background, border, build, build, clientProperty, componentListener, componentOrientation, enabled, enabled, focusable, focusable, focusCycleRoot, focusListener, font, font, foreground, get, hierarchyListener, keyEvent, keyListener, label, label, label, maximumHeight, maximumSize, maximumWidth, minimumHeight, minimumSize, minimumWidth, mouseListener, mouseMotionListener, mouseWheelListener, name, onBuild, onSetVisible, opaque, popupControl, popupControls, popupControls, popupMenu, preferredHeight, preferredSize, preferredWidth, propertyChangeListener, propertyChangeListener, scrollPane, toolTipText, toolTipText, transferFocusOnEnter, transferFocusOnEnter, transferHandler, visible, visibleMethods inherited from interface ComponentValueBuilder
buildValue, buildValue, changeConsumer, changeListener, consumer, link, link, listener, modified, modifiedIndicator, onBuildValue, valid, valid, validationIndicator, validator, value, warned, weakChangeConsumer, weakChangeListener, weakConsumer, weakListener, when, when, when, when
-
Method Details
-
enlarge
Default false.- Parameters:
enlarge- true if an image smaller than the view should be enlarged to fit it, false to display it at its own size- Returns:
- this builder
-
orient
Whether an image, a JPEG's, is displayed turned as its EXIF orientation says, as a camera records a photo taken with the camera turned, whichImageIOignores. For display only: the bytes are left as they are.- Parameters:
orient- true if an image should be displayed as its EXIF orientation says- Returns:
- this builder
- See Also:
-