Package com.ebasetech.xi.api.controls
Interface CanvasControl
- All Superinterfaces:
AriaControlProperties,BackgroundStyleProperties,BorderStyleProperties,Control,Element,EventOwner,MarginStyleProperties,MessageContainer,PaddingStyleProperties,java.io.Serializable,WebFormEventOwner
public interface CanvasControl extends Control, BackgroundStyleProperties, MarginStyleProperties, PaddingStyleProperties, BorderStyleProperties, AriaControlProperties
A Canvas Control represents an HTML <canvas> tag.
-
Method Summary
Modifier and Type Method Description java.lang.StringgetCanvasHeight()Canvas height.java.lang.StringgetCanvasWidth()Canvas width.voidsetCanvasHeight(java.lang.String imageHeight)Sets the canvas height.voidsetCanvasWidth(java.lang.String imageWidth)Sets the canvas width.Methods inherited from interface com.ebasetech.xi.api.controls.AriaControlProperties
addAriaCustomAttribute, getAriaCustomAttributes, getAriaDescribedBy, getAriaLabelledBy, getAriaLabelText, getAriaRole, removeAriaCustomAttribute, setAriaCustomAttributes, setAriaRoleMethods inherited from interface com.ebasetech.xi.api.controls.BackgroundStyleProperties
getBackgroundColor, getBackgroundImage, getBackgroundImagePosition, getBackgroundImageRepeat, setBackgroundColor, setBackgroundImage, setBackgroundImagePosition, setBackgroundImageRepeatMethods inherited from interface com.ebasetech.xi.api.controls.BorderStyleProperties
getBorderColor, getBorderRadius, getBorderStyle, getBorderWidth, getBottomBorderWidth, getLeftBorderWidth, getRightBorderWidth, getTopBorderWidth, setBorderColor, setBorderRadius, setBorderStyle, setBorderWidth, setBottomBorderWidth, setLeftBorderWidth, setRightBorderWidth, setTopBorderWidthMethods inherited from interface com.ebasetech.xi.api.controls.Control
addCssClass, getAll, getCssClass, getErrorMsgClass, getErrorMsgStyle, getInfoMsgClass, getInfoMsgStyle, getLayoutCell, getNextSiblingControl, getPage, getParentControl, getPreviousSiblingControl, getRootHtmlElementProperties, getStyle, getWarningMsgClass, getWarningMsgStyle, hasModifier, hide, isContainer, isDisplayOnly, isDisplayOnlyIncludingParents, isEventField, isHidden, isInheritMsg, isLocalMsg, isNewLine, isShowing, refresh, removeCssClass, requestFocus, setCssClass, setDisplayOnly, setErrorMsgClass, setErrorMsgStyle, setHidden, setInfoMsgClass, setInfoMsgStyle, setNewLine, setStyle, setWarningMsgClass, setWarningMsgStyle, showMethods inherited from interface com.ebasetech.xi.api.Element
getElementName, getElementTypeMethods inherited from interface com.ebasetech.xi.api.controls.MarginStyleProperties
getAllMargin, getBottomMargin, getLeftMargin, getRightMargin, getTopMargin, setAllMargin, setBottomMargin, setLeftMargin, setRightMargin, setTopMarginMethods inherited from interface com.ebasetech.xi.api.MessageContainer
addErrorMessage, addErrorMessage, addErrorMessage, addErrorMessage, addErrorMessage, addErrorMessageText, addErrorMessageText, addErrorMessageText, addInfoMessage, addInfoMessage, addInfoMessageText, addInfoMessageText, addInfoMessageText, addWarningMessage, addWarningMessage, addWarningMessage, addWarningMessage, addWarningMessage, addWarningMessageText, addWarningMessageText, addWarningMessageText, existErrorMessages, existInfoMessages, existMessages, existWarningMessagesMethods inherited from interface com.ebasetech.xi.api.controls.PaddingStyleProperties
getAllPadding, getBottomPadding, getLeftPadding, getRightPadding, getTopPadding, setAllPadding, setBottomPadding, setLeftPadding, setRightPadding, setTopPadding
-
Method Details
-
getCanvasWidth
java.lang.String getCanvasWidth()Canvas width. SeesetCanvasWidth(String)for details of supported values when setting this property.- Since:
- V5.5
-
setCanvasWidth
void setCanvasWidth(java.lang.String imageWidth)Sets the canvas width.Any valid value for the CSS width property can be specified e.g. 300px
- Since:
- V5.5
-
getCanvasHeight
java.lang.String getCanvasHeight()Canvas height. SeesetCanvasHeight(String)for details of supported values when setting this property.- Since:
- V5.5
-
setCanvasHeight
void setCanvasHeight(java.lang.String imageHeight)Sets the canvas height.Any valid value for the CSS height property can be specified e.g. 300px
- Since:
- V5.5
-