java.lang.Object
org.autogui.swing.GuiSwingViewImagePane
- All Implemented Interfaces:
GuiSwingElement
,GuiSwingView
a swing view for
GuiReprValueImagePane
swing-value
GuiSwingViewImagePane.PropertyImagePane.getSwingViewValue()
:
latest set image as Image
updating is caused by GuiSwingViewImagePane.PropertyImagePane.setImage(Image)
history-value
supported.string-transfer
unsupported. but it can directly handle an image-data, or a file in a file-list.-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
static class
static class
action for clearing the imagestatic class
static class
static class
a base image-pane for rendering an image objectstatic class
static class
open the preview-windowstatic class
static interface
static class
static class
static class
static class
static class
static class
static class
static class
static class
static class
Nested classes/interfaces inherited from interface org.autogui.swing.GuiSwingView
GuiSwingView.ContextRefreshAction, GuiSwingView.SettingsWindowClient, GuiSwingView.SpecifierManager, GuiSwingView.SpecifierManagerDefault, GuiSwingView.ToStringCopyAction, GuiSwingView.ValuePane<ValueType>
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final int
the max size of image-scalingstatic final int
the max size of image-scaling -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreateView
(GuiMappingContext context, Supplier<GuiReprValue.ObjectSpecifier> parentSpecifier) boolean
isComponentResizable
(GuiMappingContext context)
-
Field Details
-
SCALE_MAX_WIDTH
public static final int SCALE_MAX_WIDTHthe max size of image-scaling- Since:
- 1.2
- See Also:
-
SCALE_MAX_HEIGHT
public static final int SCALE_MAX_HEIGHTthe max size of image-scaling- Since:
- 1.2
- See Also:
-
-
Constructor Details
-
GuiSwingViewImagePane
public GuiSwingViewImagePane()
-
-
Method Details
-
createView
public JComponent createView(GuiMappingContext context, Supplier<GuiReprValue.ObjectSpecifier> parentSpecifier) - Specified by:
createView
in interfaceGuiSwingView
-
isComponentResizable
- Specified by:
isComponentResizable
in interfaceGuiSwingView
-