public class ButtonWidget extends ControlEntity<ButtonConfig> implements ButtonInterface, Hoverable
BaseEntity.CharsPixelsALIGN_COLON, ALIGN_LEFT, ALIGN_RIGHTgroupconfig, deleted, frame, internalScreenValueUsage, realizeOnAttributeAccessname, nextSibling, prevSibling, wainstProc, pm| 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.
|
boolean |
isTabWidget()
Tests if this button can be a tab item of its field-group widget.
|
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, delete, firstChild, getColon, getDataClass, getDataType, getIndex, getNextTabItem, getPreviousTabItem, getPrevSibling, getSideLabelHandleWorker, 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, setSideLabelHandleWorker, setTitle, setTitle, setTo, setTo, setWidthCharsWorker, setWidthPixelsWorker, validateFields_getHeightChars, _getHeightPixels, _getWidthChars, _getWidthPixels, canSetPixelPositionInChui, emit4084Warning, emitUnableToAssignUnknownAttributeWarning, getBgColor, getBgColorRgb, getColumn, getDColor, getFgColor, getFgColorRgb, getFont, getFontInfo, getFontName, getFontSize, getFrameColumn, getFrameRow, getFrameX, getFrameY, getHeightChars, getHeightPixels, getNextSibling, getParent, getParent, getPfColor, getRow, getTooltip, getValidParentTypes, getWidthChars, getWidthPixels, getX, getY, isFontBold, isFontItalic, isFontUnderline, isMovable, isResizable, isSelected, isTabStop, prepareSizeChars, prepareSizePixels, pushLocAttrs, pushSizeAttrs, setAlign, setBgColor, setBgColor, setBgColor, setBgColorRgb, setBgColorRgb, setColon, setColon, setColumn, setColumn, setColumnOrRow, setColumnOrRowWorker, setDColor, setDColor, setDColor, setFgColor, setFgColor, setFgColor, setFgColorRgb, setFgColorRgb, setFont, setFontBold, setFontItalic, setFontName, setFontSize, setFontUnderline, setGroup, setHeightChars, setHeightChars, setHeightImpl, setHeightPixels, setHeightPixels, setMaxHeightCharsWorker, setMaxHeightPixelsWorker, setMaxWidthCharsWorker, setMaxWidthPixelsWorker, setMinHeightCharsWorker, setMinHeightPixelsWorker, setMinWidthCharsWorker, setMinWidthPixelsWorker, setMovable, setMovable, setParent, setPfColor, setPfColor, setPfColor, setResizable, setResizable, setRow, setRow, setSelected, setSelected, setSizeChars, setSizePixels, setSystemParent, setTabStop, setTabStop, setTooltip, setTooltip, setVirtHeightCharsWorker, setVirtHeightPixelsWorker, setVirtWidthCharsWorker, setVirtWidthPixelsWorker, setWidthChars, setWidthChars, setWidthImpl, setWidthPixels, setWidthPixels, setX, setX, setXorY, setXOrYWorker, setY, setY, useHandleChainSiblings, validateParent, validateSize, validColumnOrRow_dynamic, _getDbName, _getFormat, _getTable, _isEntered, _isHidden, _isNotEntered, _isRealized, _isVisible, _name, _setDynamic, _setVisible, afterConfigUpdate, apply, apply, apply, apply, asWidgetHandle, canAccess, canDelete, canPushWidgetAttr, cleanup, colorDisplay, colorPrompt, config, deselectRows, detachMenu, disable, dynamic, editUndo, enable, finishConfigProcessing, finishSetup, flushWidgetAttrs, genAssignUnknownWarning, getAttr, getAttr, getAttr, getAttr, getAttr, getAttr, getAttr, getAttr, getAttr, getAttr, getAttr, getAttr, getColumnFont, getColumnLabel, getContextHelpId, getCursorOffset, getDbName, getFormat, getFrame, getFrameHandle, getFrameName, getHeight, getHelp, getHWND, getId, getLabel, getLabelFont, getLabelStr, getLogicalTerminal, getMaxHeightChars, getMaxWidthChars, getMenuKey, getMenuMouse, getMousePointer, getMousePosition, getNumColumns, getNumSelectedRows, getParentHandle, getPopupMenu, getQuery, getRetainShape, getScreenValue, getScreenValue, getSideLabelHandle, getStretchToFit, getTable, getTabPosition, getTitleFont, getTransparent, getValidationExpression, getValidationMessage, getVirtHeight, getVirtHeightPixels, getVirtWidth, getVirtWidthPixels, getWidgetId, getWidth, getWindow, getZOrderClass, hasFormat, hasNameReadOnly, hasParent, hide, hide, implicitDeletion, inputValue, isAutoCompletion, isAutoReturn, isChained, isChecked, isDisableRedraw, isEntered, isExpandLabel, isFocusedRowSelected, isHidden, isKeepFrameZOrder, isManualHighlight, isMultiple, isNotEntered, isReadOnly, isScrollable, isSelectable, isSelected, isSelected, isSensitive, isTextSelected, isThreeD, isValidatable, isVisible, loadMousePointer, loadMousePointer, moveAfterTabItem, moveAfterTabItem, moveBeforeTabItem, moveBeforeTabItem, moveToBottom, moveToTop, moveToWorker, name, notQueryable, notQueryable, notSettable, notSettable, notWorker, openPopup, preRealizeCheck, pushScreenDefinition, pushWidgetAttr, pushWidgetAttr, readOnlyError, readOnlyError, realize, refresh, resourceDelete, restoreSharedState, saveSharedState, selectAll, selectFocusedRow, setAtFormatLength, setAttr, setAttr, setAttr, setAttr, setAttr, setAttr, setAttr, setAttr, setAttr, setAttrs, setAutoCompletion, setAutoCompletion, setAutoReturn, setAutoReturn, setBlank, setChecked, setChecked, setColumnFont, setColumnFont, setContextHelpId, setContextHelpId, setCursorOffset, setCursorOffset, setDbname, setDeblank, setDisableAutoZap, setDisableRedraw, setFont, setFormat, setFormat, setFrame, setFrame, setFrame, setFrameHandle, setFrameHandle, setFrameHandle, setFromOCX, setHeader, setHeight, setHelp, setHelp, setHelpDefault, setHelpStatic, setHidden, setHidden, setId, setKeepFrameZOrder, setKeepFrameZOrder, setLabel, setLabel, setLabelFont, setLabelFont, setLabelInt, setManualHighlight, setManualHighlight, setMaxHeightChars, setMaxWidthChars, setMenuKey, setMenuKey, setMenuMouse, setMenuMouse, setMultiple, setMultiple, setNextTabItem, setNoAutoValidate, setNumSelectedRows, setParentHandle, setParentHandle, setPopupMenu, setPopupMenu, setQuery, setReadOnly, setRetainShape, setRetainShape, setScreenLock, setScreenValue, setScreenValue, setScreenValue, setScreenValue, setScreenValueInt, setScreenValueNoErrorHandling, 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, setWidth, truncatePixelSize, type, underline, underline, valid, validate, validateFields, validateFields, validateFields, validateLabelAssignment, view, warningAlreadyRealized, widgetNamefirstResource, firstResource, getHead, getNextSibling, getPrevSibling, getPrivateData, getTail, hasName, hasNameConstraints, hasNextSibling, hasPrevSibling, hasPrivateData, interlink, lastResource, lastResource, moveInChain, name, name, resolveChainType, setHead, setNextSibling, setNextSibling, setPrevSibling, setPrevSibling, setPrivateData, setPrivateData, setPrivateData, validateName_instantiatingProcedure, addToPool, doDelete, equals, hashCode, id, id, incrementTrigger, instantiatingProcedure, invalidAttribute, processResource, registerResource, resourceType, setInstantiatingProcedure, toString, unableToAssignUnknown, unknownclone, finalize, getClass, notify, notifyAll, wait, wait, waitendFileDrop, getDroppedFile, getDroppedFile, getNumDroppedFiles, setDropTargetgetIdEx, getListItems, isEditCanUndo, setListItems, setListItems, setScreenValuegetPrivateData, setPrivateData, setPrivateDataresourceTypeid, id, unknownsetDisableRedrawsetReadOnlyallowDeletepublic ButtonWidget()
public ButtonWidget(boolean dynamic)
dynamic - Flag indicating if this is a static or dynamic resource.public void setDefault(boolean isDefault)
setDefault in interface ButtonInterfaceisDefault - true to make it default or false
to make it an ordinary button.public void setDefault(logical isDefault)
setDefault in interface ButtonInterfaceisDefault - true to make it default or false
to make it an ordinary button.public logical getDefault()
getDefault in interface ButtonInterfacepublic void setAutoGo(boolean autoGo)
setAutoGo in interface ButtonInterfaceautoGo - 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 ButtonInterfaceautoGo - The new value for the attribute.public logical isAutoGo()
isAutoGo in interface ButtonInterfacepublic void setAutoEndKey(boolean autoEndKey)
setAutoEndKey in interface ButtonInterfaceautoEndKey - 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 ButtonInterfaceautoEndKey - The new value for the attribute.public logical isAutoEndKey()
isAutoEndKey in interface ButtonInterfacepublic character getImage()
getImage in interface CommonWidgetgetImage 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 ButtonInterfacepublic 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 ButtonInterfacepublic 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 ButtonInterfacepublic 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 boolean isTabWidget()
isTabWidget in class GenericWidget<ButtonConfig>true unless NO-FOCUS option was specified.public logical getNoFocus()
getNoFocus in interface ButtonInterfacepublic void setNoFocus(boolean flag)
setNoFocus in interface ButtonInterfaceflag - New value for the option.public void setNoFocus(logical flag)
setNoFocus in interface ButtonInterfaceflag - New value for the option.public logical getFlatButton()
getFlatButton in interface ButtonInterfacepublic void setFlatButton(boolean flag)
setFlatButton in interface ButtonInterfaceflag - New value for the option.public void setFlatButton(logical flag)
setFlatButton in interface ButtonInterfaceflag - New value for the option.public void setNoConvert3D(boolean flag)
flag - New value for the option.public void setConvert3D(boolean flag)
setConvert3D in interface ImageSupportsetConvert3D in class GenericWidget<ButtonConfig>flag - New value for the option.public void setConvert3D(logical flag)
setConvert3D in interface ImageSupportsetConvert3D in class GenericWidget<ButtonConfig>flag - New value for the option.public logical getConvert3D()
getConvert3D in interface ImageSupportgetConvert3D in class GenericWidget<ButtonConfig>public void setLabel(java.lang.String label)
setLabel in interface CommonFieldsetLabel in class GenericWidget<ButtonConfig>label - The new label text.public boolean loadImage(java.lang.String name)
loadImage in interface ImageSupportloadImage 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 ImageSupportloadImage 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 ImageSupportloadImage 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 ImageSupportloadImage 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 ImageSupportloadImage 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 ImageSupportloadImage in class GenericWidget<ButtonConfig>name - Image file name.true if operation was successful.public logical loadImage(character name, int64 xOffset)
loadImage in interface ImageSupportloadImage 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 ImageSupportloadImage 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 ImageSupportloadImage 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 ImageSupportloadImage 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 ButtonInterfacename - Image file name.true if operation was successful.public boolean loadImageUp(java.lang.String name,
long xOffset)
loadImageUp in interface ButtonInterfacename - 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 ButtonInterfacename - 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 ButtonInterfacename - 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 ButtonInterfacename - 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 ButtonInterfacename - Image file name.true if operation was successful.public logical loadImageUp(character name, int64 xOffset)
loadImageUp in interface ButtonInterfacename - 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 ButtonInterfacename - 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 ButtonInterfacename - 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 ButtonInterfacename - 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 ButtonInterfacename - Image file name.true if operation was successful.public boolean loadImageDown(java.lang.String name,
long xOffset)
loadImageDown in interface ButtonInterfacename - 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 ButtonInterfacename - 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 ButtonInterfacename - 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 ButtonInterfacename - 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 ButtonInterfacename - Image file name.true if operation was successful.public logical loadImageDown(character name, int64 xOffset)
loadImageDown in interface ButtonInterfacename - 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 ButtonInterfacename - 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 ButtonInterfacename - 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 ButtonInterfacename - 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 ButtonInterfacename - Image file name.true if operation was successful.public boolean loadImageInsensitive(java.lang.String name,
long xOffset)
loadImageInsensitive in interface ButtonInterfacename - 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 ButtonInterfacename - 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 ButtonInterfacename - 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 ButtonInterfacename - 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 ButtonInterfacename - Image file name.true if operation was successful.public logical loadImageInsensitive(character name, int64 xOffset)
loadImageInsensitive in interface ButtonInterfacename - 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 ButtonInterfacename - 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 ButtonInterfacename - 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 ButtonInterfacename - 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 AutoResizableWidgetresetAutoResize in class ControlEntity<ButtonConfig>public void setMousePointerName(java.lang.String name)
setMousePointerName in interface Hoverablename - the attribute valuepublic java.lang.String getMousePointerImpl()
getMousePointerImpl in interface Hoverableprotected 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.