Module wicket.bootstrap.extensions
Class FileInputConfig
java.lang.Object
de.agilecoders.wicket.jquery.CombinableConfig
de.agilecoders.wicket.jquery.AbstractConfig
de.agilecoders.wicket.extensions.markup.html.bootstrap.form.fileinput.FileInputConfig
- All Implemented Interfaces:
de.agilecoders.wicket.jquery.Config,Serializable,IClusterable
public class FileInputConfig
extends de.agilecoders.wicket.jquery.AbstractConfig
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final de.agilecoders.wicket.jquery.IKey<String>static final de.agilecoders.wicket.jquery.IKey<String>static final de.agilecoders.wicket.jquery.IKey<String>static final de.agilecoders.wicket.jquery.IKey<String>static final de.agilecoders.wicket.jquery.IKey<String>static final de.agilecoders.wicket.jquery.IKey<Boolean>static final de.agilecoders.wicket.jquery.IKey<String>static final de.agilecoders.wicket.jquery.IKey<String>static final de.agilecoders.wicket.jquery.IKey<String>static final de.agilecoders.wicket.jquery.IKey<String>static final de.agilecoders.wicket.jquery.IKey<String>static final de.agilecoders.wicket.jquery.IKey<Integer>static final de.agilecoders.wicket.jquery.IKey<Integer>static final de.agilecoders.wicket.jquery.IKey<Integer>static final de.agilecoders.wicket.jquery.IKey<Integer>static final de.agilecoders.wicket.jquery.IKey<String>static final de.agilecoders.wicket.jquery.IKey<String>static final de.agilecoders.wicket.jquery.IKey<String>static final de.agilecoders.wicket.jquery.IKey<String>static final de.agilecoders.wicket.jquery.IKey<Boolean>static final de.agilecoders.wicket.jquery.IKey<Boolean>static final de.agilecoders.wicket.jquery.IKey<Boolean>static final de.agilecoders.wicket.jquery.IKey<Boolean>static final de.agilecoders.wicket.jquery.IKey<String>static final de.agilecoders.wicket.jquery.IKey<String>static final de.agilecoders.wicket.jquery.IKey<Integer> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionallowedFileExtensions(List<String> allowedFileExtensions) allowedFileTypes(List<String> allowedFileTypes) browseClass(String browseClass) browseIcon(String browseIcon) cancelIcon(String cancelIcon) captionClass(String captionClass) booleaninitialCaption(String initialCaption) language()intmaxFileCount(int maxFileCount) maxFileSize(Bytes maxFileSize) Maximum file size for upload - or no restriction if 0 (default)intminFileCount(int minFileCount) minFileSize(Bytes minFileSize) Minimum file size for upload - or no restriction if 0 (default)previewClass(String previewClass) previewFileType(String previewFileType) removeClass(String removeClass) removeIcon(String removeIcon) booleanshowCaption(boolean showCaption) booleanshowPreview(boolean showPreview) booleanshowRemove(boolean showRemove) booleanshowUpload(boolean showUpload) uploadClass(String uploadClass) uploadIcon(String uploadIcon) withDropZoneClickTitle(String dropZoneClickTitle) withDropZoneEnabled(boolean dropZoneEnabled) withDropZoneTitle(String dropZoneTitle) withDropZoneTitleClass(String dropZoneTitleClass) withLocale(String language) Sets fileinput language.intwrapTextLength(int wrapTextLength) Methods inherited from class de.agilecoders.wicket.jquery.AbstractConfig
all, contains, get, getString, isEmpty, newKey, put, remove, toJsonString, wrapMethods inherited from class de.agilecoders.wicket.jquery.CombinableConfig
combine, withFallback
-
Field Details
-
ShowCaption
-
ShowPreview
-
ShowRemove
-
ShowUpload
-
CaptionClass
-
PreviewClass
-
MainClass
-
InitialCaption
-
BrowseClass
-
RemoveClass
-
UploadClass
-
WrapTextLength
-
MaxFileCount
-
MinFileCount
-
MaxFileSize
-
MinFileSize
-
BrowseIcon
-
RemoveIcon
-
UploadIcon
-
CancelIcon
-
PreviewFileType
-
AllowedFileExtensions
-
AllowedFileTypes
-
Language
-
DropZoneEnabled
-
DropZoneTitle
-
DropZoneTitleClass
-
DropZoneClickTitle
-
-
Constructor Details
-
FileInputConfig
public FileInputConfig()
-
-
Method Details
-
showCaption
-
showPreview
-
showRemove
-
showUpload
-
captionClass
-
mainClass
-
initialCaption
-
browseClass
-
previewClass
-
removeClass
-
uploadClass
-
wrapTextLength
-
minFileCount
-
maxFileCount
-
maxFileSize
Maximum file size for upload - or no restriction if 0 (default) -
minFileSize
Minimum file size for upload - or no restriction if 0 (default) -
browseIcon
-
cancelIcon
-
removeIcon
-
uploadIcon
-
previewFileType
-
allowedFileExtensions
-
allowedFileTypes
-
withLocale
Sets fileinput language. Check res/js/locales folder for available locales -
withDropZoneEnabled
-
withDropZoneTitle
-
withDropZoneTitleClass
-
withDropZoneClickTitle
-
allowedFileTypes
-
allowedFileExtensions
-
showCaption
public boolean showCaption() -
showPreview
public boolean showPreview() -
showRemove
public boolean showRemove() -
showUpload
public boolean showUpload() -
captionClass
-
previewClass
-
mainClass
-
initialCaption
-
browseClass
-
removeClass
-
uploadClass
-
wrapTextLength
public int wrapTextLength() -
maxFileCount
public int maxFileCount() -
minFileCount
public int minFileCount() -
maxFileSize
-
minFileSize
-
browseIcon
-
removeIcon
-
uploadIcon
-
cancelIcon
-
previewFileType
-
language
-
dropZoneEnabled
public boolean dropZoneEnabled() -
dropZoneTitle
-
dropZoneTitleClass
-
dropZoneClickTitle
-