Package org.teamapps.dto
Class UiImageCropper
- java.lang.Object
-
- org.teamapps.dto.UiComponent
-
- org.teamapps.dto.UiImageCropper
-
- All Implemented Interfaces:
UiObject
public class UiImageCropper extends UiComponent implements UiObject
THIS IS GENERATED CODE! PLEASE DO NOT MODIFY - ALL YOUR WORK WOULD BE LOST!
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classUiImageCropper.SelectionChangedEventstatic classUiImageCropper.SetAspectRatioCommandstatic classUiImageCropper.SetImageUrlCommandstatic classUiImageCropper.SetSelectionCommandstatic classUiImageCropper.SetSelectionModeCommand-
Nested classes/interfaces inherited from class org.teamapps.dto.UiComponent
UiComponent.SetStyleCommand, UiComponent.SetVisibleCommand
-
-
Field Summary
Fields Modifier and Type Field Description protected floataspectRatioprotected java.lang.StringimageUrlprotected UiImageCropperSelectionselectionprotected UiImageCropperSelectionModeselectionMode-
Fields inherited from class org.teamapps.dto.UiComponent
id, stylesBySelector, visible
-
-
Constructor Summary
Constructors Constructor Description UiImageCropper()Deprecated.Only for Jackson deserialization.UiImageCropper(java.lang.String imageUrl, UiImageCropperSelectionMode selectionMode, float aspectRatio)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description floatgetAspectRatio()java.lang.StringgetImageUrl()UiImageCropperSelectiongetSelection()UiImageCropperSelectionModegetSelectionMode()UiObjectTypegetUiObjectType()UiImageCroppersetId(java.lang.String id)UiImageCroppersetSelection(UiImageCropperSelection selection)UiImageCroppersetStylesBySelector(java.util.Map<java.lang.String,java.util.Map<java.lang.String,java.lang.String>> stylesBySelector)UiImageCroppersetVisible(boolean visible)java.lang.StringtoString()-
Methods inherited from class org.teamapps.dto.UiComponent
getId, getStylesBySelector, getVisible
-
-
-
-
Field Detail
-
imageUrl
protected java.lang.String imageUrl
-
selectionMode
protected UiImageCropperSelectionMode selectionMode
-
aspectRatio
protected float aspectRatio
-
selection
protected UiImageCropperSelection selection
-
-
Constructor Detail
-
UiImageCropper
@Deprecated public UiImageCropper()
Deprecated.Only for Jackson deserialization. Use the other constructor instead.
-
UiImageCropper
public UiImageCropper(java.lang.String imageUrl, UiImageCropperSelectionMode selectionMode, float aspectRatio)
-
-
Method Detail
-
getUiObjectType
public UiObjectType getUiObjectType()
- Specified by:
getUiObjectTypein interfaceUiObject- Overrides:
getUiObjectTypein classUiComponent
-
toString
public java.lang.String toString()
- Overrides:
toStringin classUiComponent
-
getImageUrl
public java.lang.String getImageUrl()
-
getSelectionMode
public UiImageCropperSelectionMode getSelectionMode()
-
getAspectRatio
public float getAspectRatio()
-
getSelection
public UiImageCropperSelection getSelection()
-
setId
public UiImageCropper setId(java.lang.String id)
- Overrides:
setIdin classUiComponent
-
setVisible
public UiImageCropper setVisible(boolean visible)
- Overrides:
setVisiblein classUiComponent
-
setStylesBySelector
public UiImageCropper setStylesBySelector(java.util.Map<java.lang.String,java.util.Map<java.lang.String,java.lang.String>> stylesBySelector)
- Overrides:
setStylesBySelectorin classUiComponent
-
setSelection
public UiImageCropper setSelection(UiImageCropperSelection selection)
-
-