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.String
getCanvasHeight()
Canvas height.java.lang.String
getCanvasWidth()
Canvas width.void
setCanvasHeight(java.lang.String imageHeight)
Sets the canvas height.void
setCanvasWidth(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, setAriaRole
Methods inherited from interface com.ebasetech.xi.api.controls.BackgroundStyleProperties
getBackgroundColor, getBackgroundImage, getBackgroundImagePosition, getBackgroundImageRepeat, setBackgroundColor, setBackgroundImage, setBackgroundImagePosition, setBackgroundImageRepeat
Methods inherited from interface com.ebasetech.xi.api.controls.BorderStyleProperties
getBorderColor, getBorderRadius, getBorderStyle, getBorderWidth, getBottomBorderWidth, getLeftBorderWidth, getRightBorderWidth, getTopBorderWidth, setBorderColor, setBorderRadius, setBorderStyle, setBorderWidth, setBottomBorderWidth, setLeftBorderWidth, setRightBorderWidth, setTopBorderWidth
Methods 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, show
Methods inherited from interface com.ebasetech.xi.api.Element
getElementName, getElementType
Methods inherited from interface com.ebasetech.xi.api.controls.MarginStyleProperties
getAllMargin, getBottomMargin, getLeftMargin, getRightMargin, getTopMargin, setAllMargin, setBottomMargin, setLeftMargin, setRightMargin, setTopMargin
Methods 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, existWarningMessages
Methods 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
-