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 classFieldImage.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 StringgetFileTypeFolder()StringgetFileURL(ContentContext ctx)protected StringgetPreviewCode(ContentContext ctx, boolean title)StringgetPreviewURL(ContentContext ctx, String filter)protected StringgetPreviewZoneId()protected StringgetRelativeFileDirectory(ContentContext ctx)StringgetType()StringgetViewXHTMLCode(ContentContext ctx)protected StringgetViewXHTMLCode(ContentContext ctx, String filter)protected booleanisDisplayLabel()protected booleanisFromShared(ContentContext ctx, String filename)protected booleanisWithLink()protected Field.FieldBeannewFieldBean(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:
getFileTypeFolderin classFieldFile
-
isWithLink
protected boolean isWithLink()
- Overrides:
isWithLinkin classFieldFile
-
getViewXHTMLCode
public String getViewXHTMLCode(ContentContext ctx) throws Exception
- Overrides:
getViewXHTMLCodein 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:
newFieldBeanin classFieldFile
-
getPreviewZoneId
protected String getPreviewZoneId()
-
isFromShared
protected boolean isFromShared(ContentContext ctx, String filename)
-
getRelativeFileDirectory
protected String getRelativeFileDirectory(ContentContext ctx)
- Overrides:
getRelativeFileDirectoryin classFieldFile
-
getPreviewCode
protected String getPreviewCode(ContentContext ctx, boolean title) throws Exception
- Overrides:
getPreviewCodein classFieldFile- Throws:
Exception
-
-