Class Uploader
- All Implemented Interfaces:
FluentMutableMultiTokenHolder<IUploader>, FluentMutableOptionalIdHolder<IUploader>, MultiTokenHolder, OptionalIdHolder, Resettable, ControlComponent<Control<?,?>>, GuiComponent<IWebGui<?>>, LayerComponent<ILayer>, TypeRequestable, IUploader, AttributesRepresentable, Element, SpecificationRepresentable, MutableElement, StylableElement<IUploader>, PresenceSettable<IUploader>, SizeAdjustableRectangle<IUploader>, HtmlGetter, Control<IUploader, IUploaderStyle>, IUserInputCell<IUploader>, PresenceRequestable
- Author:
- Silvan Wyss
-
Field Summary
Fields inherited from class AbstractControl
DEFAULT_CURSOR_ICON, DEFAULT_PRESENCE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbyte[]getFile()ExtendedIterable<Control<?, ?>> ExtendedIterable<Control<?, ?>> booleanhasFile()booleanvoidinternalSetFile(byte[] file) voidvoidrunHtmlEvent(String htmlEvent) setUserInput(String userInput) Methods inherited from class AbstractControl
belongsToControl, belongsToGui, belongsToLayer, editStyle, getCssRules, getCursorIcon, getHtml, getInternalId, getMaxHeight, getMaxWidth, getMinHeight, getMinWidth, getOptionalStoredChildControlByInternalId, getPresence, getStoredChildStylableElements, getStoredParentControl, getStoredParentGui, getStoredParentLayer, getStoredStyle, hasInternalId, hasMaxHeight, hasMaxWidth, hasMinHeight, hasMinWidth, internalRemoveControlParent, internalSetControlParent, isCollapsed, isInvisible, isVisible, removeMaxHeight, removeMaxWidth, removeMinHeight, removeMinWidth, removeParentLayerFromGui, setCollapsed, setCursorIcon, setInvisible, setMaxHeight, setMaxHeightInPercentOfViewAreaHeight, setMaxWidth, setMaxWidthInPercentOfViewAreaWidth, setMinHeight, setMinHeightInPercentOfViewAreaHeight, setMinWidth, setMinWidthInPercentOfViewAreaWidth, setVisibility, setVisibleMethods inherited from class AbstractStylableElement
addToken, getId, getTokens, hasId, removeId, removeToken, removeTokens, reset, resetStyleRecursively, setIdMethods inherited from class AbstractMutableElementWithProperties
addOrChangeAttribute, addOrChangeAttribute, equals, getAttributes, getSpecification, hashCode, toStringMethods inherited from interface AttributesRepresentable
getAttributesMethods inherited from interface Control
editStyle, getCssRules, getCursorIcon, getInternalId, getOptionalStoredChildControlByInternalId, getStoredStyle, hasInternalId, internalRemoveControlParent, internalSetControlParent, removeParentLayerFromGui, setCursorIconMethods inherited from interface ControlComponent
belongsToControl, getStoredParentControlMethods inherited from interface FluentMutableMultiTokenHolder
addToken, removeToken, removeTokensMethods inherited from interface FluentMutableOptionalIdHolder
removeId, setIdMethods inherited from interface GuiComponent
belongsToGui, getStoredParentGuiMethods inherited from interface HtmlGetter
getHtmlMethods inherited from interface LayerComponent
belongsToLayer, getStoredParentLayerMethods inherited from interface MultiTokenHolder
getTokensMethods inherited from interface MutableElement
addOrChangeAttribute, addOrChangeAttribute, addOrChangeAttributes, resetFromAttributes, resetFromSpecificationMethods inherited from interface OptionalIdHolder
getId, getIdInSingleQuotes, hasId, hasIdMethods inherited from interface PresenceRequestable
getPresence, isCollapsed, isInvisible, isVisibleMethods inherited from interface PresenceSettable
setCollapsed, setInvisible, setVisibility, setVisibleMethods inherited from interface Resettable
resetMethods inherited from interface SizeAdjustableRectangle
getMaxHeight, getMaxWidth, getMinHeight, getMinWidth, hasMaxHeight, hasMaxWidth, hasMinHeight, hasMinWidth, removeMaxHeight, removeMaxWidth, removeMinHeight, removeMinWidth, setMaxHeight, setMaxHeightInPercentOfViewAreaHeight, setMaxWidth, setMaxWidthInPercentOfViewAreaWidth, setMinHeight, setMinHeightInPercentOfViewAreaHeight, setMinWidth, setMinWidthInPercentOfViewAreaWidthMethods inherited from interface SpecificationRepresentable
getSpecification, hasEqualSpecificationAsElement, toFormatedStringMethods inherited from interface StylableElement
getStoredChildStylableElements, resetStyleRecursivelyMethods inherited from interface TypeRequestable
getType, isOfConcreteType, isOfConcreteType, isOfType, isOfType
-
Constructor Details
-
Uploader
public Uploader()
-
-
Method Details
-
getFile
-
getOptionalJavaScriptUserInputFunction
- Specified by:
getOptionalJavaScriptUserInputFunctionin interfaceControl<IUploader, IUploaderStyle>
-
getStoredChildControls
- Specified by:
getStoredChildControlsin interfaceControl<IUploader, IUploaderStyle>
-
getStoredStructureControls
- Specified by:
getStoredStructureControlsin interfaceControl<IUploader, IUploaderStyle>
-
getUserInput
- Specified by:
getUserInputin interfaceIUserInputCell<IUploader>
-
hasFile
-
hasRole
- Specified by:
hasRolein interfaceStylableElement<IUploader>- Parameters:
role-- Returns:
- true if the current
StylableElementhas the given role, false otherwise
-
internalSetFile
public void internalSetFile(byte[] file) - Specified by:
internalSetFilein interfaceIUploader
-
registerHtmlElementEventsAt
- Specified by:
registerHtmlElementEventsAtin interfaceControl<IUploader, IUploaderStyle>
-
runHtmlEvent
- Specified by:
runHtmlEventin interfaceControl<IUploader, IUploaderStyle>
-
setUserInput
- Specified by:
setUserInputin interfaceIUserInputCell<IUploader>
-