Package org.javlo.fields
Class FieldSound
- java.lang.Object
-
- org.javlo.fields.Field
-
- org.javlo.fields.FieldFile
-
- org.javlo.fields.FieldSound
-
- All Implemented Interfaces:
Cloneable
,Comparable<Field>
,IRestItem
,IStaticContainer
public class FieldSound extends FieldFile
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description class
FieldSound.SoundBean
-
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 FieldSound()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getDisplayValue(ContentContext ctx, Locale locale)
return the value "displayable"String
getFileURL(ContentContext ctx)
protected String
getFilter()
protected String
getPreviewCode(ContentContext ctx, boolean title)
String
getType()
protected boolean
isDisplayLabel()
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, getFileTypeFolder, getFileURL, getFolderLabel, getFolderListForSelection, getImportFolderPath, getInputAddFileName, getInputCreateFolderName, getInputFileName, getInputFileNameSelect, getInputFolderName, getInputLabelFileName, getInputLabelLinkName, getLabelLabel, getLinkLabel, getPopularity, getReferenceFieldView, getRelativeFileDirectory, getRessourceURL, getSearchEditXHTMLCode, getStaticInfo, getURL, getViewLabel, getViewXHTMLCode, 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, 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()
-
isWithLink
protected boolean isWithLink()
- Overrides:
isWithLink
in classFieldFile
-
getDisplayValue
public String getDisplayValue(ContentContext ctx, Locale locale) throws Exception
Description copied from class:Field
return the value "displayable"- Overrides:
getDisplayValue
in classField
- Returns:
- Throws:
Exception
-
getPreviewCode
protected String getPreviewCode(ContentContext ctx, boolean title) throws Exception
- Overrides:
getPreviewCode
in classFieldFile
- Throws:
Exception
-
getFileURL
public String getFileURL(ContentContext ctx)
-
newFieldBean
protected Field.FieldBean newFieldBean(ContentContext ctx)
- Overrides:
newFieldBean
in classFieldFile
-
-