public class ButtonWidget extends ControlEntity<ButtonConfig> implements ButtonInterface, AutoResizableWidget, Hoverable
BaseEntity.CharsPixels
ALIGN_COLON, ALIGN_LEFT, ALIGN_RIGHT
group
config, deleted, frame
name, nextSibling, prevSibling
instProc
Constructor and Description |
---|
ButtonWidget()
Default constructor.
|
ButtonWidget(boolean dynamic)
Default constructor.
|
Modifier and Type | Method and Description |
---|---|
logical |
getConvert3D()
Gets CONVERT-3D-COLORS option.
|
logical |
getDefault()
Gets DEFAULT attribute.
|
logical |
getFlatButton()
Gets FLAT-BUTTON attribute.
|
character |
getImage()
Returns the name of the image loaded by LOAD-IMAGE.
|
character |
getImageDown()
Get the Progress IMAGE-DOWN attribute
|
character |
getImageIns()
Get the Progress IMAGE-INSENSITIVE attribute
|
character |
getImageUp()
Get the Progress IMAGE-UP attribute
|
java.lang.String |
getMousePointerImpl()
Get the MOUSE-POINTER attribute
|
logical |
getNoFocus()
Gets NO-FOCUS attribute.
|
logical |
isAutoEndKey()
Gets AUTO-ENDKEY attribute.
|
logical |
isAutoGo()
Gets AUTO-GO attribute.
|
protected java.lang.String |
labelSizeCheck(java.lang.String label)
Check it the requested new label size is OK for button widget.
|
logical |
loadImage(character name)
Load button image from specified file name.
|
logical |
loadImage(character name,
int64 xOffset)
Load widget(button or image) image from specified file name.
|
logical |
loadImage(character name,
int64 xOffset,
int64 yOffset)
Load widget(button or image) image from specified file name.
|
logical |
loadImage(character name,
int64 xOffset,
int64 yOffset,
int64 width)
Load widget(button or image) image from specified file name.
|
logical |
loadImage(character name,
int64 xOffset,
int64 yOffset,
int64 width,
int64 height)
Load widget(button or image) image from specified file name.
|
boolean |
loadImage(java.lang.String name)
Load button image from specified file name.
|
boolean |
loadImage(java.lang.String name,
long xOffset)
Load widget(button or image) image from specified file name.
|
boolean |
loadImage(java.lang.String name,
long xOffset,
long yOffset)
Load widget(button or image) image from specified file name.
|
boolean |
loadImage(java.lang.String name,
long xOffset,
long yOffset,
long width)
Load widget(button or image) image from specified file name.
|
boolean |
loadImage(java.lang.String name,
long xOffset,
long yOffset,
long width,
long height)
Load widget(button or image) image from specified file name.
|
logical |
loadImageDown(character name)
Load button image for pushed state from specified file name.
|
logical |
loadImageDown(character name,
int64 xOffset)
Load button image for normal state from specified file name.
|
logical |
loadImageDown(character name,
int64 xOffset,
int64 yOffset)
Load button image for normal state from specified file name.
|
logical |
loadImageDown(character name,
int64 xOffset,
int64 yOffset,
int64 width)
Load button image for normal state from specified file name.
|
logical |
loadImageDown(character name,
int64 xOffset,
int64 yOffset,
int64 width,
int64 height)
Load button image for normal state from specified file name.
|
boolean |
loadImageDown(java.lang.String name)
Load button image for pushed state from specified file name.
|
boolean |
loadImageDown(java.lang.String name,
long xOffset)
Load button image for normal state from specified file name.
|
boolean |
loadImageDown(java.lang.String name,
long xOffset,
long yOffset)
Load button image for normal state from specified file name.
|
boolean |
loadImageDown(java.lang.String name,
long xOffset,
long yOffset,
long width)
Load button image for normal state from specified file name.
|
boolean |
loadImageDown(java.lang.String name,
long xOffset,
long yOffset,
long width,
long height)
Load button image for normal state from specified file name.
|
private logical |
loadImageDownInt(character name,
int64 xOffset,
int64 yOffset,
int64 width,
int64 height)
Load button image for pushed state from specified file name.
|
logical |
loadImageInsensitive(character name)
Load button image for disabled state from specified file name.
|
logical |
loadImageInsensitive(character name,
int64 xOffset)
Load button image for normal state from specified file name.
|
logical |
loadImageInsensitive(character name,
int64 xOffset,
int64 yOffset)
Load button image for normal state from specified file name.
|
logical |
loadImageInsensitive(character name,
int64 xOffset,
int64 yOffset,
int64 width)
Load button image for normal state from specified file name.
|
logical |
loadImageInsensitive(character name,
int64 xOffset,
int64 yOffset,
int64 width,
int64 height)
Load button image for normal state from specified file name.
|
boolean |
loadImageInsensitive(java.lang.String name)
Load button image for disabled state from specified file name.
|
boolean |
loadImageInsensitive(java.lang.String name,
long xOffset)
Load button image for normal state from specified file name.
|
boolean |
loadImageInsensitive(java.lang.String name,
long xOffset,
long yOffset)
Load button image for normal state from specified file name.
|
boolean |
loadImageInsensitive(java.lang.String name,
long xOffset,
long yOffset,
long width)
Load button image for normal state from specified file name.
|
boolean |
loadImageInsensitive(java.lang.String name,
long xOffset,
long yOffset,
long width,
long height)
Load button image for normal state from specified file name.
|
private logical |
loadImageInsensitiveInt(character name,
int64 xOffset,
int64 yOffset,
int64 width,
int64 height)
Load button image for normal state from specified file name.
|
private boolean |
loadImageInt(character imageSrc,
int type,
int64 xOffset,
int64 yOffset,
int64 width,
int64 height)
Load image for button.
|
logical |
loadImageUp(character name)
Load button image for normal state from specified file name.
|
logical |
loadImageUp(character name,
int64 xOffset)
Load button image for normal state from specified file name.
|
logical |
loadImageUp(character name,
int64 xOffset,
int64 yOffset)
Load button image for normal state from specified file name.
|
logical |
loadImageUp(character name,
int64 xOffset,
int64 yOffset,
int64 width)
Load button image for normal state from specified file name.
|
logical |
loadImageUp(character name,
int64 xOffset,
int64 yOffset,
int64 width,
int64 height)
Load button image for normal state from specified file name.
|
boolean |
loadImageUp(java.lang.String name)
Load button image for normal state from specified file name.
|
boolean |
loadImageUp(java.lang.String name,
long xOffset)
Load button image for normal state from specified file name.
|
boolean |
loadImageUp(java.lang.String name,
long xOffset,
long yOffset)
Load button image for normal state from specified file name.
|
boolean |
loadImageUp(java.lang.String name,
long xOffset,
long yOffset,
long width)
Load button image for normal state from specified file name.
|
boolean |
loadImageUp(java.lang.String name,
long xOffset,
long yOffset,
long width,
long height)
Load button image for normal state from specified file name.
|
private logical |
loadImageUpInt(character name,
int64 xOffset,
int64 yOffset,
int64 width,
int64 height)
Load button image from specified file name.
|
void |
resetAutoResize()
Set AUTO-RESIZE to false;
|
void |
setAutoEndKey(boolean autoEndKey)
Set the flag for the AUTO-ENDKEY attribute.
|
void |
setAutoEndKey(logical autoEndKey)
Set the flag for the AUTO-ENDKEY attribute.
|
void |
setAutoEndKeyOption(boolean autoEndKey)
This is the special version of the AUTO-ENDKEY attribute setter to be used inside
DEFINE BUTON statement.
|
void |
setAutoGo(boolean autoGo)
Set the flag for the AUTO-GO attribute.
|
void |
setAutoGo(logical autoGo)
Set the flag for the AUTO-GO attribute.
|
void |
setAutoGoOption(boolean autoGo)
This is the special version of the AUTO-GO attribute setter to be used inside DEFINE BUTON
statement.
|
void |
setConvert3D(boolean flag)
Set CONVERT-3D-COLORS attribute.
|
void |
setConvert3D(logical flag)
Set CONVERT-3D-COLORS attribute.
|
void |
setDefault(boolean isDefault)
Set the flag for whether or not this is a default button.
|
void |
setDefault(logical isDefault)
Set the flag for whether or not this is a default button.
|
void |
setFlatButton(boolean flag)
Set FLAT-BUTTON attribute.
|
void |
setFlatButton(logical flag)
Set FLAT-BUTTON attribute.
|
void |
setImage(java.lang.String name)
Set button image file name.
|
void |
setImageDown(java.lang.String name)
Set button down image file name.
|
void |
setImageDownHeightChars(double height)
Sets the height for down image used to draw button in character units.
|
void |
setImageDownHeightChars(NumberType height)
Sets the height for down image used to draw button in character units.
|
void |
setImageDownHeightPixels(int heightPixels)
Sets the height for down image used to draw button in pixel units.
|
void |
setImageDownHeightPixels(NumberType heightPixels)
Sets the height for down image used to draw button in pixel units.
|
void |
setImageDownOffsetColumn(double offset)
Sets new value of COLUMN-offset down image phrase option in character units.
|
void |
setImageDownOffsetColumn(NumberType offset)
Sets new value of COLUMN-offset down image phrase option in character units.
|
void |
setImageDownOffsetRow(double offset)
Sets new value of ROW-offset down image phrase option in character units.
|
void |
setImageDownOffsetRow(NumberType offset)
Sets new value of ROW-offset down image phrase option in character units.
|
void |
setImageDownOffsetX(int offset)
Sets new value of X-offset down image phrase option in pixel units.
|
void |
setImageDownOffsetX(NumberType offset)
Sets new value of X-offset down image phrase option in pixel units.
|
void |
setImageDownOffsetY(int offset)
Sets new value of Y-offset down image phrase option in pixel units.
|
void |
setImageDownOffsetY(NumberType offset)
Sets new value of Y-offset down image phrase option in pixel units.
|
void |
setImageDownWidthChars(double width)
Sets the width for down image used to draw button in character units.
|
void |
setImageDownWidthChars(NumberType width)
Sets the width for down image used to draw button in character units.
|
void |
setImageDownWidthPixels(int widthPixels)
Sets the width for down image used to draw button in pixel units.
|
void |
setImageDownWidthPixels(NumberType widthPixels)
Sets the width for down image used to draw button in pixel units.
|
void |
setImageHeightChars(double height)
Sets the height for image used to draw button in character units.
|
void |
setImageHeightChars(NumberType height)
Sets the height for image used to draw button in character units.
|
void |
setImageHeightPixels(int heightPixels)
Sets new value of HEIGHT-PIXELS attribute.
|
void |
setImageHeightPixels(NumberType heightPixels)
Sets the height for image used to draw button in pixel units.
|
void |
setImageIns(java.lang.String name)
Set button insensitive image file name.
|
void |
setImageInsHeightChars(double height)
Sets the height for insensitive image used to draw button in character units.
|
void |
setImageInsHeightChars(NumberType height)
Sets the height for insensitive image used to draw button in character units.
|
void |
setImageInsHeightPixels(int heightPixels)
Sets the height for insensitive image used to draw button in pixel units.
|
void |
setImageInsHeightPixels(NumberType heightPixels)
Sets the height for insensitive image used to draw button in pixel units.
|
void |
setImageInsOffsetColumn(double offset)
Sets new value of COLUMN-offset insensitive image phrase option in character units.
|
void |
setImageInsOffsetColumn(NumberType offset)
Sets new value of COLUMN-offset insensitive image phrase option in character units.
|
void |
setImageInsOffsetRow(double offset)
Sets new value of ROW-offset insensitive image phrase option in character units.
|
void |
setImageInsOffsetRow(NumberType offset)
Sets new value of ROW-offset insensitive image phrase option in character units.
|
void |
setImageInsOffsetX(int offset)
Sets new value of X-offset insensitive image phrase option in pixel units.
|
void |
setImageInsOffsetX(NumberType offset)
Sets new value of X-offset insensitive image phrase option in pixel units.
|
void |
setImageInsOffsetY(int offset)
Sets new value of Y-offset insensitive image phrase option in pixel units.
|
void |
setImageInsOffsetY(NumberType offset)
Sets new value of Y-offset insensitive image phrase option in pixel units.
|
void |
setImageInsWidthChars(double width)
Sets the width for insensitive image used to draw button in character units.
|
void |
setImageInsWidthChars(NumberType width)
Sets the width for insensitive image used to draw button in character units.
|
void |
setImageInsWidthPixels(int widthPixels)
Sets the width for insensitive image used to draw button in pixel units.
|
void |
setImageInsWidthPixels(NumberType widthPixels)
Sets the width for insensitive image used to draw button in pixel units.
|
void |
setImageOffsetColumn(double offset)
Sets new value of COLUMN-offset image phrase option in character units.
|
void |
setImageOffsetColumn(NumberType offset)
Sets new value of COLUMN-offset image phrase option in character units.
|
void |
setImageOffsetRow(double offset)
Sets new value of ROW-offset image phrase option in character units.
|
void |
setImageOffsetRow(NumberType offset)
Sets new value of ROW-offset image phrase option in character units.
|
void |
setImageOffsetX(int offset)
Sets new value of X-offset image phrase option in pixel units.
|
void |
setImageOffsetX(NumberType offset)
Sets new value of X-offset image phrase option in pixel units.
|
void |
setImageOffsetY(int offset)
Sets new value of Y-offset image phrase option in pixel units.
|
void |
setImageOffsetY(NumberType offset)
Sets new value of Y-offset image phrase option in pixel units.
|
void |
setImageUp(java.lang.String name)
Set button up image file name.
|
void |
setImageUpHeightChars(double height)
Sets the height for up image used to draw button in character units.
|
void |
setImageUpHeightChars(NumberType height)
Sets the height for up image used to draw button in character units.
|
void |
setImageUpHeightPixels(int heightPixels)
Sets the height for up image used to draw button in pixel units.
|
void |
setImageUpHeightPixels(NumberType heightPixels)
Sets the height for up image used to draw button in pixel units.
|
void |
setImageUpOffsetColumn(double offset)
Sets new value of COLUMN-offset up image phrase option in character units.
|
void |
setImageUpOffsetColumn(NumberType offset)
Sets new value of COLUMN-offset up image phrase option in character units.
|
void |
setImageUpOffsetRow(double offset)
Sets new value of ROW-offset up image phrase option in character units.
|
void |
setImageUpOffsetRow(NumberType offset)
Sets new value of ROW-offset up image phrase option in character units.
|
void |
setImageUpOffsetX(int offset)
Sets new value of X-offset up image phrase option in pixel units.
|
void |
setImageUpOffsetX(NumberType offset)
Sets new value of X-offset up image phrase option in pixel units.
|
void |
setImageUpOffsetY(int offset)
Sets new value of Y-offset up image phrase option in pixel units.
|
void |
setImageUpOffsetY(NumberType offset)
Sets new value of Y-offset up image phrase option in pixel units.
|
void |
setImageUpWidthChars(double width)
Sets the width for up image used to draw button in character units.
|
void |
setImageUpWidthChars(NumberType width)
Sets the width for up image used to draw button in character units.
|
void |
setImageUpWidthPixels(int widthPixels)
Sets the width for up image used to draw button in pixel units.
|
void |
setImageUpWidthPixels(NumberType widthPixels)
Sets the width for up image used to draw button in pixel units.
|
void |
setImageWidthChars(double width)
Sets the width for image used to draw button in character units.
|
void |
setImageWidthChars(NumberType width)
Sets the width for image used to draw button in character units.
|
void |
setImageWidthPixels(int widthPixels)
Sets the width for image used to draw button in pixel units.
|
void |
setImageWidthPixels(NumberType widthPixels)
Sets the width for image used to draw button in pixel units.
|
void |
setLabel(java.lang.String label)
Sets the label text, removing any '&' characters first (this is
an undocumented feature of Progress with labels).
|
void |
setMousePointerName(java.lang.String name)
Set the MOUSE-POINTER attribute
|
void |
setNoConvert3D(boolean flag)
Set NO-CONVERT-3D-COLORS option.
|
void |
setNoFocus(boolean flag)
Set NO-FOCUS option.
|
void |
setNoFocus(logical flag)
Set NO-FOCUS option.
|
changeFontWorker, firstChild, getColon, getDataClass, getDataType, getIndex, getNextTabItem, getPreviousTabItem, getPrevSibling, getSideLabelHandle, getSizeAttrs, getTitle, hasSideLabelHandle, isAutoResize, isDropTarget, isModified, lastChild, processSideLabel, setAttrSpace, setAutoResize, setAutoResize, setColumnLabel, setColumnLabel, setDataType, setDataType, setDropTarget, setForceLabel, setForceLabel, setHeightCharsWorker, setHeightPixelsWorker, setIndex, setIndex, setModified, setModified, setNoAttrSpace, setNoLabels, setTitle, setTitle, setTo, setTo, setWidthCharsWorker, setWidthPixelsWorker, validateFields
_getHeightChars, _getHeightPixels, _getWidthChars, _getWidthPixels, canSetPixelPositionInChui, getBgColor, getBgColorRgb, getColumn, getDColor, getFgColor, getFgColorRgb, getFont, getFrameColumn, getFrameRow, getFrameX, getFrameY, getHeightChars, getHeightPixels, getNextSibling, getParent, getParent, getPfColor, getRow, getTooltip, getValidParentTypes, getWidthChars, getWidthPixels, getX, getY, isMovable, isResizable, isSelected, isTabStop, prepareSizeChars, prepareSizePixels, pushLocAttrs, pushSizeAttrs, setAlign, setBgColor, setBgColor, setBgColor, setBgColorRgb, setBgColorRgb, setBgColorRgb, setColon, setColon, setColumn, setColumn, setColumnOrRow, setColumnOrRowWorker, setDColor, setDColor, setDColor, setFgColor, setFgColor, setFgColor, setFgColorRgb, setFgColorRgb, setFgColorRgb, setFont, setGroup, setHeightChars, setHeightChars, setHeightPixels, setHeightPixels, setMaxHeightCharsWorker, setMaxHeightPixelsWorker, setMaxWidthCharsWorker, setMaxWidthPixelsWorker, setMinHeightCharsWorker, setMinHeightPixelsWorker, setMinWidthCharsWorker, setMinWidthPixelsWorker, setMovable, setMovable, setParent, setPfColor, setPfColor, setPfColor, setResizable, setResizable, setRow, setRow, setSelected, setSelected, setSizeChars, setSizePixels, setTabStop, setTabStop, setTooltip, setTooltip, setVirtHeightCharsWorker, setVirtHeightPixelsWorker, setVirtWidthCharsWorker, setVirtWidthPixelsWorker, setWidthChars, setWidthChars, setWidthPixels, setWidthPixels, setX, setX, setXorY, setXOrYWorker, setY, setY, useHandleChainSiblings, validateParent, validateSize, validColumnOrRow
_dynamic, _getDbName, _getFormat, _getTable, _isEntered, _isHidden, _isNotEntered, _isRealized, _isVisible, _setDynamic, _setVisible, afterConfigUpdate, apply, apply, apply, apply, asWidgetHandle, canAccess, canDelete, cleanup, colorDisplay, colorPrompt, config, deselectRows, detachMenu, disable, dynamic, enable, finishConfigProcessing, finishSetup, getColumnFont, getColumnLabel, getContextHelpId, getCursorOffset, getDbName, getFormat, getFrame, getFrameHandle, getHelp, getHWND, getId, getLabel, getLabelFont, getLabelStr, getMaxHeightChars, getMaxWidthChars, getMenuKey, getMenuMouse, getMousePointer, getMousePosition, getNumColumns, getNumSelectedRows, getParentHandle, getPopupMenu, getQuery, getRetainShape, getScreenValue, getScreenValue, getStretchToFit, getTable, getTabPosition, getTitleFont, getTransparent, getValidationExpression, getValidationMessage, getVirtHeight, getVirtHeightPixels, getVirtWidth, getVirtWidthPixels, getWidgetId, getWindow, getZOrderClass, hasFormat, hasNameReadOnly, hasParent, hide, hide, implicitDeletion, inputValue, isAutoReturn, isChained, isChecked, isDisableRedraw, isEntered, isFocusedRowSelected, isHidden, isKeepFrameZOrder, isManualHighlight, isMultiple, isNotEntered, isScrollable, isSelectable, isSelected, isSelected, isSensitive, isTabWidget, isTextSelected, isThreeD, isValidatable, isVisible, loadMousePointer, loadMousePointer, moveAfterTab, moveAfterTab, moveBeforeTabItem, moveBeforeTabItem, moveToBottom, moveToTop, moveToWorker, name, notQueryable, notQueryable, notSettable, notSettable, notWorker, preRealizeCheck, pushScreenDefinition, pushWidgetAttr, pushWidgetAttr, readOnlyError, realize, refresh, resourceDelete, restoreSharedState, saveSharedState, selectAll, selectFocusedRow, setAtFormatLength, setAutoReturn, setAutoReturn, setBlank, setChecked, setChecked, setColumnFont, setColumnFont, setContextHelpId, setContextHelpId, setCursorOffset, setCursorOffset, setDbname, setDeblank, setDisableAutoZap, setDisableRedraw, setFont, setFormat, setFormat, setFrame, setFrame, setFrame, setFrameHandle, setFrameHandle, setFrameHandle, setHeader, setHelp, setHelp, setHelpDefault, setHelpStatic, setHidden, setHidden, setId, setKeepFrameZOrder, setKeepFrameZOrder, setLabel, setLabelFont, setLabelFont, setLabelInt, setManualHighlight, setManualHighlight, setMaxHeightChars, setMaxWidthChars, setMenuKey, setMenuKey, setMenuMouse, setMenuMouse, setMultiple, setMultiple, setNextTabItem, setNoAutoValidate, setNumSelectedRows, setParentHandle, setParentHandle, setPopupMenu, setPopupMenu, setQuery, setRetainShape, setRetainShape, setScreenLock, setScreenValue, setScreenValue, setScrollable, setScrollable, setSelectable, setSelectable, setSensitive, setSensitive, setSensitive, setSensitive, setSideLabelHandle, setStretchToFit, setStretchToFit, setTable, setThreeD, setThreeD, setTitleFont, setTitleFont, setTransparent, setTransparent, setValidation, setValidation, setVertical, setVirtHeight, setVirtHeightPixels, setVirtWidth, setVirtWidthPixels, setVisible, setVisible, setWidgetId, setWidgetId, truncatePixelSize, underline, underline, valid, validate, validateFields, validateFields, validateFields, view, widgetName
delete, firstResource, firstResource, getHead, getNextSibling, getPrevSibling, getPrivateData, getTail, hasName, hasNextSibling, hasPrevSibling, hasPrivateData, interlink, lastResource, lastResource, moveInChain, name, name, setHead, setNextSibling, setNextSibling, setPrevSibling, setPrevSibling, setPrivateData, setPrivateData, setPrivateData
getResourceType, id, id, instantiatingProcedure, invalidAttribute, setInstantiatingProcedure, type, unknown
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
endFileDrop, getDroppedFile, getDroppedFile, getNumDroppedFiles, setDropTarget
setScreenValue
getPrivateData, setPrivateData, setPrivateData
getResourceType
id, id, unknown
setDisableRedraw
public ButtonWidget()
public ButtonWidget(boolean dynamic)
dynamic
- Flag indicating if this is a static or dynamic resource.public void setDefault(boolean isDefault)
setDefault
in interface ButtonInterface
isDefault
- true
to make it default or false
to make it an ordinary button.public void setDefault(logical isDefault)
setDefault
in interface ButtonInterface
isDefault
- true
to make it default or false
to make it an ordinary button.public logical getDefault()
getDefault
in interface ButtonInterface
public void setAutoGo(boolean autoGo)
setAutoGo
in interface ButtonInterface
autoGo
- The new value for the attribute.public void setAutoGoOption(boolean autoGo)
autoGo
- The new value for the attribute.public void setAutoGo(logical autoGo)
setAutoGo
in interface ButtonInterface
autoGo
- The new value for the attribute.public logical isAutoGo()
isAutoGo
in interface ButtonInterface
public void setAutoEndKey(boolean autoEndKey)
setAutoEndKey
in interface ButtonInterface
autoEndKey
- The new value for the attribute.public void setAutoEndKeyOption(boolean autoEndKey)
autoEndKey
- The new value for the attribute.public void setAutoEndKey(logical autoEndKey)
setAutoEndKey
in interface ButtonInterface
autoEndKey
- The new value for the attribute.public logical isAutoEndKey()
isAutoEndKey
in interface ButtonInterface
public character getImage()
getImage
in interface CommonWidget
getImage
in class GenericWidget<ButtonConfig>
public void setImage(java.lang.String name)
name
- Image file name.public void setImageWidthChars(NumberType width)
width
- The new value for the image width in characters.public void setImageWidthChars(double width)
width
- The new value for the image width in characters.public void setImageHeightChars(NumberType height)
height
- The new value for the image height in characters.public void setImageHeightChars(double height)
height
- The new value for the image height in characters.public void setImageWidthPixels(NumberType widthPixels)
widthPixels
- The new value for the image width in pixels.public void setImageWidthPixels(int widthPixels)
widthPixels
- The new value for the image width in pixels.public void setImageHeightPixels(NumberType heightPixels)
heightPixels
- The new value for the image height in pixels.public void setImageHeightPixels(int heightPixels)
heightPixels
- The new value for the image height in pixels.public void setImageOffsetX(NumberType offset)
offset
- new value of X-offset in pixels.public void setImageOffsetX(int offset)
offset
- new value of X-offset in pixels.public void setImageOffsetY(NumberType offset)
offset
- new value of Y-offset in pixels.public void setImageOffsetY(int offset)
offset
- new value of Y-offset in pixels.public void setImageOffsetRow(NumberType offset)
offset
- new value of ROW-offset in characters.public void setImageOffsetRow(double offset)
offset
- new value of ROW-offset in characters.public void setImageOffsetColumn(NumberType offset)
offset
- new value of COLUMN-offset in characters.public void setImageOffsetColumn(double offset)
offset
- new value of COLUMN-offset in characters.public character getImageUp()
getImageUp
in interface ButtonInterface
public void setImageUp(java.lang.String name)
name
- Image file name.public void setImageUpWidthChars(NumberType width)
width
- The new value for the up image width in characters.public void setImageUpWidthChars(double width)
width
- The new value for the up image width in characters.public void setImageUpHeightChars(NumberType height)
height
- The new value for the up image height in characters.public void setImageUpHeightChars(double height)
height
- The new value for the up image height in characters.public void setImageUpWidthPixels(NumberType widthPixels)
widthPixels
- The new value for the up image width in pixels.public void setImageUpWidthPixels(int widthPixels)
widthPixels
- The new value for the up image width in pixels.public void setImageUpHeightPixels(NumberType heightPixels)
heightPixels
- The new value for the up image height in pixels.public void setImageUpHeightPixels(int heightPixels)
heightPixels
- The new value for the up image height in pixels.public void setImageUpOffsetX(NumberType offset)
offset
- new value of X-offset in pixels.public void setImageUpOffsetX(int offset)
offset
- new value of X-offset in pixels.public void setImageUpOffsetY(NumberType offset)
offset
- new value of Y-offset in pixels.public void setImageUpOffsetY(int offset)
offset
- new value of Y-offset in pixels.public void setImageUpOffsetRow(NumberType offset)
offset
- new value of ROW-offset in characters.public void setImageUpOffsetRow(double offset)
offset
- new value of ROW-offset in characters.public void setImageUpOffsetColumn(NumberType offset)
offset
- new value of COLUMN-offset in characters.public void setImageUpOffsetColumn(double offset)
offset
- new value of COLUMN-offset in characters.public character getImageDown()
getImageDown
in interface ButtonInterface
public void setImageDown(java.lang.String name)
name
- Image file name.public void setImageDownWidthChars(NumberType width)
width
- The new value for the down image width in characters.public void setImageDownWidthChars(double width)
width
- The new value for the down image width in characters.public void setImageDownHeightChars(NumberType height)
height
- The new value for the down image height in characters.public void setImageDownHeightChars(double height)
height
- The new value for the down image height in characters.public void setImageDownWidthPixels(NumberType widthPixels)
widthPixels
- The new value for the down image width in pixels.public void setImageDownWidthPixels(int widthPixels)
widthPixels
- The new value for the down image width in pixels.public void setImageDownHeightPixels(NumberType heightPixels)
heightPixels
- The new value for the down image height in pixels.public void setImageDownHeightPixels(int heightPixels)
heightPixels
- The new value for the down image height in pixels.public void setImageDownOffsetX(NumberType offset)
offset
- new value of X-offset in pixels.public void setImageDownOffsetX(int offset)
offset
- new value of X-offset in pixels.public void setImageDownOffsetY(NumberType offset)
offset
- new value of Y-offset in pixels.public void setImageDownOffsetY(int offset)
offset
- new value of Y-offset in pixels.public void setImageDownOffsetRow(NumberType offset)
offset
- new value of ROW-offset in characters.public void setImageDownOffsetRow(double offset)
offset
- new value of ROW-offset in characters.public void setImageDownOffsetColumn(NumberType offset)
offset
- new value of COLUMN-offset in characters.public void setImageDownOffsetColumn(double offset)
offset
- new value of COLUMN-offset in characters.public character getImageIns()
getImageIns
in interface ButtonInterface
public void setImageIns(java.lang.String name)
name
- Image file name.public void setImageInsWidthChars(NumberType width)
width
- The new value for the insensitive image width in characters.public void setImageInsWidthChars(double width)
width
- The new value for the insensitive image width in characters.public void setImageInsHeightChars(NumberType height)
height
- The new value for the insensitive image height in characters.public void setImageInsHeightChars(double height)
height
- The new value for the insensitive image height in characters.public void setImageInsWidthPixels(NumberType widthPixels)
widthPixels
- The new value for the insensitive image width in pixels.public void setImageInsWidthPixels(int widthPixels)
widthPixels
- The new value for the insensitive image width in pixels.public void setImageInsHeightPixels(NumberType heightPixels)
heightPixels
- The new value for the insensitive image height in pixels.public void setImageInsHeightPixels(int heightPixels)
heightPixels
- The new value for the insensitive image height in pixels.public void setImageInsOffsetX(NumberType offset)
offset
- new value of X-offset in pixels.public void setImageInsOffsetX(int offset)
offset
- new value of X-offset in pixels.public void setImageInsOffsetY(NumberType offset)
offset
- new value of Y-offset in pixels.public void setImageInsOffsetY(int offset)
offset
- new value of Y-offset in pixels.public void setImageInsOffsetRow(NumberType offset)
offset
- new value of ROW-offset in characters.public void setImageInsOffsetRow(double offset)
offset
- new value of ROW-offset in characters.public void setImageInsOffsetColumn(NumberType offset)
offset
- new value of COLUMN-offset in characters.public void setImageInsOffsetColumn(double offset)
offset
- new value of COLUMN-offset in characters.public logical getNoFocus()
getNoFocus
in interface ButtonInterface
public void setNoFocus(boolean flag)
setNoFocus
in interface ButtonInterface
flag
- New value for the option.public void setNoFocus(logical flag)
setNoFocus
in interface ButtonInterface
flag
- New value for the option.public logical getFlatButton()
getFlatButton
in interface ButtonInterface
public void setFlatButton(boolean flag)
setFlatButton
in interface ButtonInterface
flag
- New value for the option.public void setFlatButton(logical flag)
setFlatButton
in interface ButtonInterface
flag
- New value for the option.public void setNoConvert3D(boolean flag)
flag
- New value for the option.public void setConvert3D(boolean flag)
setConvert3D
in interface ImageSupport
setConvert3D
in class GenericWidget<ButtonConfig>
flag
- New value for the option.public void setConvert3D(logical flag)
setConvert3D
in interface ImageSupport
setConvert3D
in class GenericWidget<ButtonConfig>
flag
- New value for the option.public logical getConvert3D()
getConvert3D
in interface ImageSupport
getConvert3D
in class GenericWidget<ButtonConfig>
public void setLabel(java.lang.String label)
setLabel
in interface CommonField
setLabel
in class GenericWidget<ButtonConfig>
label
- The new label text.public boolean loadImage(java.lang.String name)
loadImage
in interface ImageSupport
loadImage
in class GenericWidget<ButtonConfig>
name
- Image file name.true
if operation was successful.public boolean loadImage(java.lang.String name, long xOffset)
loadImage
in interface ImageSupport
loadImage
in class GenericWidget<ButtonConfig>
name
- Image file name.xOffset
- An integer expression that specifies the pixel along the x-axis at which to begin
reading from the image file.true
if operation was successful.public boolean loadImage(java.lang.String name, long xOffset, long yOffset)
loadImage
in interface ImageSupport
loadImage
in class GenericWidget<ButtonConfig>
name
- Image file name.xOffset
- An integer expression that specifies the pixel along the x-axis at which to begin
reading from the image file.yOffset
- Specifies the pixel along the y-axis at which to begin reading from the image file.true
if operation was successful.public boolean loadImage(java.lang.String name, long xOffset, long yOffset, long width)
loadImage
in interface ImageSupport
loadImage
in class GenericWidget<ButtonConfig>
name
- Image file name.xOffset
- An integer expression that specifies the pixel along the x-axis at which to begin
reading from the image file.yOffset
- Specifies the pixel along the y-axis at which to begin reading from the image file.width
- Specifies the number of pixels along the x-axis to read from the image file.true
if operation was successful.public boolean loadImage(java.lang.String name, long xOffset, long yOffset, long width, long height)
loadImage
in interface ImageSupport
loadImage
in class GenericWidget<ButtonConfig>
name
- Image file name.xOffset
- An integer expression that specifies the pixel along the x-axis at which to begin
reading from the image file.yOffset
- Specifies the pixel along the y-axis at which to begin reading from the image file.width
- Specifies the number of pixels along the x-axis to read from the image file.height
- Specifies the number of pixels along the y-axis to read from the image file.true
if operation was successful.public logical loadImage(character name)
loadImage
in interface ImageSupport
loadImage
in class GenericWidget<ButtonConfig>
name
- Image file name.true
if operation was successful.public logical loadImage(character name, int64 xOffset)
loadImage
in interface ImageSupport
loadImage
in class GenericWidget<ButtonConfig>
name
- Image file name.xOffset
- An integer expression that specifies the pixel along the x-axis at which to begin
reading from the image file.true
if operation was successful.public logical loadImage(character name, int64 xOffset, int64 yOffset)
loadImage
in interface ImageSupport
loadImage
in class GenericWidget<ButtonConfig>
name
- Image file name.xOffset
- An integer expression that specifies the pixel along the x-axis at which to begin
reading from the image file.yOffset
- Specifies the pixel along the y-axis at which to begin reading from the image file.true
if operation was successful.public logical loadImage(character name, int64 xOffset, int64 yOffset, int64 width)
loadImage
in interface ImageSupport
loadImage
in class GenericWidget<ButtonConfig>
name
- Image file name.xOffset
- An integer expression that specifies the pixel along the x-axis at which to begin
reading from the image file.yOffset
- Specifies the pixel along the y-axis at which to begin reading from the image file.width
- Specifies the number of pixels along the x-axis to read from the image file.true
if operation was successful.public logical loadImage(character name, int64 xOffset, int64 yOffset, int64 width, int64 height)
loadImage
in interface ImageSupport
loadImage
in class GenericWidget<ButtonConfig>
name
- Image file name.xOffset
- An integer expression that specifies the pixel along the x-axis at which to begin
reading from the image file.yOffset
- Specifies the pixel along the y-axis at which to begin reading from the image file.width
- Specifies the number of pixels along the x-axis to read from the image file.height
- Specifies the number of pixels along the y-axis to read from the image file.true
if operation was successful.public boolean loadImageUp(java.lang.String name)
loadImageUp
in interface ButtonInterface
name
- Image file name.true
if operation was successful.public boolean loadImageUp(java.lang.String name, long xOffset)
loadImageUp
in interface ButtonInterface
name
- Image file name.xOffset
- An integer expression that specifies the pixel along the x-axis at which to begin
reading from the image file.true
if operation was successful.public boolean loadImageUp(java.lang.String name, long xOffset, long yOffset)
loadImageUp
in interface ButtonInterface
name
- Image file name.xOffset
- An integer expression that specifies the pixel along the x-axis at which to begin
reading from the image file.yOffset
- Specifies the pixel along the y-axis at which to begin reading from the image file.true
if operation was successful.public boolean loadImageUp(java.lang.String name, long xOffset, long yOffset, long width)
loadImageUp
in interface ButtonInterface
name
- Image file name.xOffset
- An integer expression that specifies the pixel along the x-axis at which to begin
reading from the image file.yOffset
- Specifies the pixel along the y-axis at which to begin reading from the image file.width
- Specifies the number of pixels along the x-axis to read from the image file.true
if operation was successful.public boolean loadImageUp(java.lang.String name, long xOffset, long yOffset, long width, long height)
loadImageUp
in interface ButtonInterface
name
- Image file name.xOffset
- An integer expression that specifies the pixel along the x-axis at which to begin
reading from the image file.yOffset
- Specifies the pixel along the y-axis at which to begin reading from the image file.width
- Specifies the number of pixels along the x-axis to read from the image file.height
- Specifies the number of pixels along the y-axis to read from the image file.true
if operation was successful.public logical loadImageUp(character name)
loadImageUp
in interface ButtonInterface
name
- Image file name.true
if operation was successful.public logical loadImageUp(character name, int64 xOffset)
loadImageUp
in interface ButtonInterface
name
- Image file name.xOffset
- An integer expression that specifies the pixel along the x-axis at which to begin
reading from the image file.true
if operation was successful.public logical loadImageUp(character name, int64 xOffset, int64 yOffset)
loadImageUp
in interface ButtonInterface
name
- Image file name.xOffset
- An integer expression that specifies the pixel along the x-axis at which to begin
reading from the image file.yOffset
- Specifies the pixel along the y-axis at which to begin reading from the image file.true
if operation was successful.public logical loadImageUp(character name, int64 xOffset, int64 yOffset, int64 width)
loadImageUp
in interface ButtonInterface
name
- Image file name.xOffset
- An integer expression that specifies the pixel along the x-axis at which to begin
reading from the image file.yOffset
- Specifies the pixel along the y-axis at which to begin reading from the image file.width
- Specifies the number of pixels along the x-axis to read from the image file.true
if operation was successful.public logical loadImageUp(character name, int64 xOffset, int64 yOffset, int64 width, int64 height)
loadImageUp
in interface ButtonInterface
name
- Image file name.xOffset
- An integer expression that specifies the pixel along the x-axis at which to begin
reading from the image file.yOffset
- Specifies the pixel along the y-axis at which to begin reading from the image file.width
- Specifies the number of pixels along the x-axis to read from the image file.height
- Specifies the number of pixels along the y-axis to read from the image file.true
if operation was successful.public boolean loadImageDown(java.lang.String name)
loadImageDown
in interface ButtonInterface
name
- Image file name.true
if operation was successful.public boolean loadImageDown(java.lang.String name, long xOffset)
loadImageDown
in interface ButtonInterface
name
- Image file name.xOffset
- An integer expression that specifies the pixel along the x-axis at which to begin
reading from the image file.true
if operation was successful.public boolean loadImageDown(java.lang.String name, long xOffset, long yOffset)
loadImageDown
in interface ButtonInterface
name
- Image file name.xOffset
- An integer expression that specifies the pixel along the x-axis at which to begin
reading from the image file.yOffset
- Specifies the pixel along the y-axis at which to begin reading from the image file.true
if operation was successful.public boolean loadImageDown(java.lang.String name, long xOffset, long yOffset, long width)
loadImageDown
in interface ButtonInterface
name
- Image file name.xOffset
- An integer expression that specifies the pixel along the x-axis at which to begin
reading from the image file.yOffset
- Specifies the pixel along the y-axis at which to begin reading from the image file.width
- Specifies the number of pixels along the x-axis to read from the image file.true
if operation was successful.public boolean loadImageDown(java.lang.String name, long xOffset, long yOffset, long width, long height)
loadImageDown
in interface ButtonInterface
name
- Image file name.xOffset
- An integer expression that specifies the pixel along the x-axis at which to begin
reading from the image file.yOffset
- Specifies the pixel along the y-axis at which to begin reading from the image file.width
- Specifies the number of pixels along the x-axis to read from the image file.height
- Specifies the number of pixels along the y-axis to read from the image file.true
if operation was successful.public logical loadImageDown(character name)
loadImageDown
in interface ButtonInterface
name
- Image file name.true
if operation was successful.public logical loadImageDown(character name, int64 xOffset)
loadImageDown
in interface ButtonInterface
name
- Image file name.xOffset
- An integer expression that specifies the pixel along the x-axis at which to begin
reading from the image file.true
if operation was successful.public logical loadImageDown(character name, int64 xOffset, int64 yOffset)
loadImageDown
in interface ButtonInterface
name
- Image file name.xOffset
- An integer expression that specifies the pixel along the x-axis at which to begin
reading from the image file.yOffset
- Specifies the pixel along the y-axis at which to begin reading from the image file.true
if operation was successful.public logical loadImageDown(character name, int64 xOffset, int64 yOffset, int64 width)
loadImageDown
in interface ButtonInterface
name
- Image file name.xOffset
- An integer expression that specifies the pixel along the x-axis at which to begin
reading from the image file.yOffset
- Specifies the pixel along the y-axis at which to begin reading from the image file.width
- Specifies the number of pixels along the x-axis to read from the image file.true
if operation was successful.public logical loadImageDown(character name, int64 xOffset, int64 yOffset, int64 width, int64 height)
loadImageDown
in interface ButtonInterface
name
- Image file name.xOffset
- An integer expression that specifies the pixel along the x-axis at which to begin
reading from the image file.yOffset
- Specifies the pixel along the y-axis at which to begin reading from the image file.width
- Specifies the number of pixels along the x-axis to read from the image file.height
- Specifies the number of pixels along the y-axis to read from the image file.true
if operation was successful.public boolean loadImageInsensitive(java.lang.String name)
loadImageInsensitive
in interface ButtonInterface
name
- Image file name.true
if operation was successful.public boolean loadImageInsensitive(java.lang.String name, long xOffset)
loadImageInsensitive
in interface ButtonInterface
name
- Image file name.xOffset
- An integer expression that specifies the pixel along the x-axis at which to begin reading
from the image file.true
if operation was successful.public boolean loadImageInsensitive(java.lang.String name, long xOffset, long yOffset)
loadImageInsensitive
in interface ButtonInterface
name
- Image file name.xOffset
- An integer expression that specifies the pixel along the x-axis at which to begin reading
from the image file.yOffset
- Specifies the pixel along the y-axis at which to begin reading from the image file.true
if operation was successful.public boolean loadImageInsensitive(java.lang.String name, long xOffset, long yOffset, long width)
loadImageInsensitive
in interface ButtonInterface
name
- Image file name.xOffset
- An integer expression that specifies the pixel along the x-axis at which to begin reading
from the image file.yOffset
- Specifies the pixel along the y-axis at which to begin reading from the image file.width
- Specifies the number of pixels along the x-axis to read from the image file.true
if operation was successful.public boolean loadImageInsensitive(java.lang.String name, long xOffset, long yOffset, long width, long height)
loadImageInsensitive
in interface ButtonInterface
name
- Image file name.xOffset
- An integer expression that specifies the pixel along the x-axis at which to begin reading
from the image file.yOffset
- Specifies the pixel along the y-axis at which to begin reading from the image file.width
- Specifies the number of pixels along the x-axis to read from the image file.height
- Specifies the number of pixels along the y-axis to read from the image file.true
if operation was successful.public logical loadImageInsensitive(character name)
loadImageInsensitive
in interface ButtonInterface
name
- Image file name.true
if operation was successful.public logical loadImageInsensitive(character name, int64 xOffset)
loadImageInsensitive
in interface ButtonInterface
name
- Image file name.xOffset
- An integer expression that specifies the pixel along the x-axis at which to begin reading
from the image file.true
if operation was successful.public logical loadImageInsensitive(character name, int64 xOffset, int64 yOffset)
loadImageInsensitive
in interface ButtonInterface
name
- Image file name.xOffset
- An integer expression that specifies the pixel along the x-axis at which to begin reading
from the image file.yOffset
- Specifies the pixel along the y-axis at which to begin reading from the image file.true
if operation was successful.public logical loadImageInsensitive(character name, int64 xOffset, int64 yOffset, int64 width)
loadImageInsensitive
in interface ButtonInterface
name
- Image file name.xOffset
- An integer expression that specifies the pixel along the x-axis at which to begin reading
from the image file.yOffset
- Specifies the pixel along the y-axis at which to begin reading from the image file.width
- Specifies the number of pixels along the x-axis to read from the image file.true
if operation was successful.public logical loadImageInsensitive(character name, int64 xOffset, int64 yOffset, int64 width, int64 height)
loadImageInsensitive
in interface ButtonInterface
name
- Image file name.xOffset
- An integer expression that specifies the pixel along the x-axis at which to begin reading
from the image file.yOffset
- Specifies the pixel along the y-axis at which to begin reading from the image file.width
- Specifies the number of pixels along the x-axis to read from the image file.height
- Specifies the number of pixels along the y-axis to read from the image file.true
if operation was successful.public void resetAutoResize()
resetAutoResize
in interface AutoResizableWidget
resetAutoResize
in class ControlEntity<ButtonConfig>
public void setMousePointerName(java.lang.String name)
setMousePointerName
in interface Hoverable
name
- the attribute valuepublic java.lang.String getMousePointerImpl()
getMousePointerImpl
in interface Hoverable
protected java.lang.String labelSizeCheck(java.lang.String label)
labelSizeCheck
in class GenericWidget<ButtonConfig>
label
- the new label to checkprivate logical loadImageUpInt(character name, int64 xOffset, int64 yOffset, int64 width, int64 height)
name
- Image file name.xOffset
- An integer expression that specifies the pixel along the x-axis at which to begin
reading from the image file.yOffset
- Specifies the pixel along the y-axis at which to begin reading from the image file.width
- Specifies the number of pixels along the x-axis to read from the image file.height
- Specifies the number of pixels along the y-axis to read from the image file.true
if operation was successful.private logical loadImageDownInt(character name, int64 xOffset, int64 yOffset, int64 width, int64 height)
name
- Image file name.xOffset
- Image load x-offset.yOffset
- Image load y-offset.width
- Image load width.height
- Image load height.true
if operation was successful.private logical loadImageInsensitiveInt(character name, int64 xOffset, int64 yOffset, int64 width, int64 height)
name
- Image file name.xOffset
- An integer expression that specifies the pixel along the x-axis at which
to begin reading from the image file.yOffset
- Specifies the pixel along the y-axis at which to begin reading from the
image file.width
- Specifies the number of pixels along the x-axis to read from the image file.height
- Specifies the number of pixels along the y-axis to read from the image file.true
if operation was successful.private boolean loadImageInt(character imageSrc, int type, int64 xOffset, int64 yOffset, int64 width, int64 height)
imageSrc
- Image file name to load.type
- Image type to load. Up, Down or Insensitive.xOffset
- Image load x-offset.yOffset
- Image load y-offset.width
- Image load width.height
- Image load height.true
if operation was successful.