Package org.javlo.fields
Class FieldImage
- java.lang.Object
-
- org.javlo.fields.Field
-
- org.javlo.fields.FieldFile
-
- org.javlo.fields.FieldImage
-
- All Implemented Interfaces:
Cloneable
,Comparable<Field>
,IRestItem
,IStaticContainer
public class FieldImage extends FieldFile
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description class
FieldImage.ImageBean
-
Nested classes/interfaces inherited from class org.javlo.fields.FieldFile
FieldFile.StaticFileBean
-
Nested classes/interfaces inherited from class org.javlo.fields.Field
Field.FieldBean
-
-
Field Summary
-
Fields inherited from class org.javlo.fields.Field
comp, DEFAULT_SEARCH_TYPE, globalContext, i18nAccess, LABEL_CSS, MESSAGE_ERROR, MESSAGE_INFO, properties, SMALL_PART_SIZE, SMALL_VALUE_SIZE, staticConfig, VALUE_SIZE
-
-
Constructor Summary
Constructors Constructor Description FieldImage()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected String
getFileTypeFolder()
String
getFileURL(ContentContext ctx)
protected String
getPreviewCode(ContentContext ctx, boolean title)
String
getPreviewURL(ContentContext ctx, String filter)
protected String
getPreviewZoneId()
protected String
getRelativeFileDirectory(ContentContext ctx)
String
getType()
String
getViewXHTMLCode(ContentContext ctx)
protected String
getViewXHTMLCode(ContentContext ctx, String filter)
protected boolean
isDisplayLabel()
protected boolean
isFromShared(ContentContext ctx, String filename)
protected boolean
isWithLink()
protected Field.FieldBean
newFieldBean(ContentContext ctx)
-
Methods inherited from class org.javlo.fields.FieldFile
contains, getAddFileLabel, getAllResources, getAllResourcesLinks, getCreateFolderLabel, getCurrentFile, getCurrentFolder, getCurrentLabel, getCurrentLink, getDeleteLinkName, getDirSelected, getEditXHTMLCode, getFileDirectory, getFileLabel, getFileList, getFiles, getFileType, getFileURL, getFilter, getFolderLabel, getFolderListForSelection, getImportFolderPath, getInputAddFileName, getInputCreateFolderName, getInputFileName, getInputFileNameSelect, getInputFolderName, getInputLabelFileName, getInputLabelLinkName, getLabelLabel, getLinkLabel, getPopularity, getReferenceFieldView, getRessourceURL, getSearchEditXHTMLCode, getStaticInfo, getURL, getViewLabel, initContent, isCategoryRecursive, isLight, isPertinent, isValueTranslatable, process, renameResource, search, setCurrentFile, setCurrentFolder, setCurrentLabel, setDirSelected, transflateFrom
-
Methods inherited from class org.javlo.fields.Field
compareTo, createKey, defaultLabelDisplayed, fillRequest, getBean, getCloseRow, getContentAsMap, getCssClass, getCSSClass, getCurrentLocale, getDefaultLanguages, getDefaultPrefix, getDefaultSuffix, getDisplayValue, getEditLabelCode, getEditXHTMLCode, getFieldPrefix, getFieldSuffix, getForceModifFieldName, getFormatedValue, getGlobalContext, getHtml, getI18nAccess, getId, getInitValue, getInputLabelName, getInputName, getLabel, getLabel, getList, getMaxSize, getMessage, getMessageType, getMessageTypeCSSClass, getMetaData, getMetaData, getMinSize, getName, getOpenRow, getOrder, getPageDescription, getPlaceholder, getPropertyValue, getReference, getReferenceComponent, getReferenceFormatedValue, getReferenceValue, getRemplacementCode, getSearchLabel, getSearchType, getSize, getSpecialClass, getStaticConfig, getTag, getTranslation, getUnicName, getUnity, getUnity, getUserLabel, getUserLabel, getValue, getValue, getValues, getValues, getViewListXHTMLCode, getWidthEdit, getXHTMLValue, isContentCachable, isDiplayedInList, isFirst, isI18n, isLabelDisplayed, isLabelEditable, isLast, isNeeded, isNeedRefresh, isReadOnly, isRealContent, isSearch, isTitle, isValid, isViewDisplayed, isWrapped, main, newInstance, referenceEditCode, referenceViewCode, reload, renderSelect, setCurrentLocale, setFirst, setGlobalContext, setI18nAccess, setId, setLabel, setLabelValue, setLast, setMessage, setMessageType, setName, setNeedRefresh, setPlaceholder, setProperties, setReadOnly, setStaticConfig, setValue, setValue, setValues, toString, validate
-
-
-
-
Method Detail
-
isDisplayLabel
protected boolean isDisplayLabel()
-
getFileTypeFolder
protected String getFileTypeFolder()
- Overrides:
getFileTypeFolder
in classFieldFile
-
isWithLink
protected boolean isWithLink()
- Overrides:
isWithLink
in classFieldFile
-
getViewXHTMLCode
public String getViewXHTMLCode(ContentContext ctx) throws Exception
- Overrides:
getViewXHTMLCode
in classFieldFile
- Throws:
Exception
-
getViewXHTMLCode
protected String getViewXHTMLCode(ContentContext ctx, String filter) throws Exception
- Throws:
Exception
-
getPreviewURL
public String getPreviewURL(ContentContext ctx, String filter) throws Exception
- Throws:
Exception
-
getFileURL
public String getFileURL(ContentContext ctx)
-
newFieldBean
protected Field.FieldBean newFieldBean(ContentContext ctx)
- Overrides:
newFieldBean
in classFieldFile
-
getPreviewZoneId
protected String getPreviewZoneId()
-
isFromShared
protected boolean isFromShared(ContentContext ctx, String filename)
-
getRelativeFileDirectory
protected String getRelativeFileDirectory(ContentContext ctx)
- Overrides:
getRelativeFileDirectory
in classFieldFile
-
getPreviewCode
protected String getPreviewCode(ContentContext ctx, boolean title) throws Exception
- Overrides:
getPreviewCode
in classFieldFile
- Throws:
Exception
-
-