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.
|
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,
integer xOffset)
Load widget(button or image) image from specified file name.
|
logical |
loadImage(character name,
integer xOffset,
integer yOffset)
Load widget(button or image) image from specified file name.
|
logical |
loadImage(character name,
integer xOffset,
integer yOffset,
integer width)
Load widget(button or image) image from specified file name.
|
logical |
loadImage(character name,
integer xOffset,
integer yOffset,
integer width,
integer height)
Load widget(button or image) image from specified file name.
|
logical |
loadImage(java.lang.String name)
Load button image from specified file name.
|
logical |
loadImage(java.lang.String name,
int xOffset)
Load widget(button or image) image from specified file name.
|
logical |
loadImage(java.lang.String name,
int xOffset,
int yOffset)
Load widget(button or image) image from specified file name.
|
logical |
loadImage(java.lang.String name,
int xOffset,
int yOffset,
int width)
Load widget(button or image) image from specified file name.
|
logical |
loadImage(java.lang.String name,
int xOffset,
int yOffset,
int width,
int 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,
integer xOffset)
Load button image for normal state from specified file name.
|
logical |
loadImageDown(character name,
integer xOffset,
integer yOffset)
Load button image for normal state from specified file name.
|
logical |
loadImageDown(character name,
integer xOffset,
integer yOffset,
integer width)
Load button image for normal state from specified file name.
|
logical |
loadImageDown(character name,
integer xOffset,
integer yOffset,
integer width,
integer height)
Load button image for normal state from specified file name.
|
logical |
loadImageDown(java.lang.String name)
Load button image for pushed state from specified file name.
|
logical |
loadImageDown(java.lang.String name,
int xOffset)
Load button image for normal state from specified file name.
|
logical |
loadImageDown(java.lang.String name,
int xOffset,
int yOffset)
Load button image for normal state from specified file name.
|
logical |
loadImageDown(java.lang.String name,
int xOffset,
int yOffset,
int width)
Load button image for normal state from specified file name.
|
logical |
loadImageDown(java.lang.String name,
int xOffset,
int yOffset,
int width,
int height)
Load button image for normal state from specified file name.
|
logical |
loadImageInsensitive(character name)
Load button image for disabled state from specified file name.
|
logical |
loadImageInsensitive(character name,
integer xOffset)
Load button image for normal state from specified file name.
|
logical |
loadImageInsensitive(character name,
integer xOffset,
integer yOffset)
Load button image for normal state from specified file name.
|
logical |
loadImageInsensitive(character name,
integer xOffset,
integer yOffset,
integer width)
Load button image for normal state from specified file name.
|
logical |
loadImageInsensitive(character name,
integer xOffset,
integer yOffset,
integer width,
integer height)
Load button image for normal state from specified file name.
|
logical |
loadImageInsensitive(java.lang.String name)
Load button image for disabled state from specified file name.
|
logical |
loadImageInsensitive(java.lang.String name,
int xOffset)
Load button image for normal state from specified file name.
|
logical |
loadImageInsensitive(java.lang.String name,
int xOffset,
int yOffset)
Load button image for normal state from specified file name.
|
logical |
loadImageInsensitive(java.lang.String name,
int xOffset,
int yOffset,
int width)
Load button image for normal state from specified file name.
|
logical |
loadImageInsensitive(java.lang.String name,
int xOffset,
int yOffset,
int width,
int height)
Load button image for normal state from specified file name.
|
private boolean |
loadImageInt(java.lang.String imageSrc,
int type)
Load image for button.
|
logical |
loadImageUp(character name)
Load button image for normal state from specified file name.
|
logical |
loadImageUp(character name,
integer xOffset)
Load button image for normal state from specified file name.
|
logical |
loadImageUp(character name,
integer xOffset,
integer yOffset)
Load button image for normal state from specified file name.
|
logical |
loadImageUp(character name,
integer xOffset,
integer yOffset,
integer width)
Load button image for normal state from specified file name.
|
logical |
loadImageUp(character name,
integer xOffset,
integer yOffset,
integer width,
integer height)
Load button image for normal state from specified file name.
|
logical |
loadImageUp(java.lang.String name)
Load button image for normal state from specified file name.
|
logical |
loadImageUp(java.lang.String name,
int xOffset)
Load button image for normal state from specified file name.
|
logical |
loadImageUp(java.lang.String name,
int xOffset,
int yOffset)
Load button image for normal state from specified file name.
|
logical |
loadImageUp(java.lang.String name,
int xOffset,
int yOffset,
int width)
Load button image for normal state from specified file name.
|
logical |
loadImageUp(java.lang.String name,
int xOffset,
int yOffset,
int width,
int height)
Load button image for normal state 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, getColon, getDataClass, getDataType, getIndex, getNextTabItem, getSideLabelHandle, getTitle, hasSideLabelHandle, isAutoResize, isDropTarget, isModified, 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
canSetPixelPositionInChui, getBgColor, getColumn, getDColor, getFgColor, getFont, getFrameColumn, getFrameRow, getFrameX, getFrameY, getHeightChars, getHeightPixels, getNextSibling, getParent, getParent, getPfColor, getPrevSibling, getRow, getTooltip, getValidParentTypes, getWidthChars, getWidthPixels, getX, getY, isMovable, isResizable, isSelected, isTabStop, prepareSizeChars, prepareSizePixels, setAlign, setBgColor, setBgColor, setBgColor, setColon, setColon, setColumn, setColumn, setColumnOrRow, setColumnOrRowWorker, setDColor, setDColor, setDColor, setFgColor, setFgColor, setFgColor, 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, 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, disable, dynamic, enable, finishConfigProcessing, finishSetup, getColumnFont, getColumnLabel, getContextHelpId, getCursorOffset, getDbName, getFirstTabItem, getFormat, getFrame, getFrameHandle, getHelp, getHWND, getId, getLabel, getLabelFont, getLabelStr, getMaxHeightChars, getMaxWidthChars, getMenuKey, getMenuMouse, getMousePointer, getMousePosition, getNumColumns, getNumSelectedRows, getParentHandle, getPopupMenu, getPreviousTabItem, getQuery, getRetainShape, getScreenValue, getScreenValue, getStretchToFit, getTable, getTitleFont, getTransparent, getVirtHeight, getVirtHeightPixels, getVirtWidth, getVirtWidthPixels, getWidgetId, getWindow, hasNameReadOnly, hasParent, hide, hide, implicitDeletion, inputValue, isChained, isChecked, isEntered, isFocusedRowSelected, isHidden, isKeepFrameZOrder, isManualHighlight, isMultiple, isNotEntered, isReadOnly, isScrollable, isSelectable, isSelected, isSelected, isSensitive, isTextSelected, isThreeD, isValidatable, isVisible, loadMousePointer, loadMousePointer, moveAfterTab, moveAfterTab, moveBeforeTabItem, moveBeforeTabItem, moveToBottom, moveToTop, moveToWorker, name, notQueryable, notSettable, notWorker, preRealizeCheck, pushScreenDefinition, readOnlyError, realize, refresh, resourceDelete, selectAll, selectFocusedRow, setAtFormatLength, setAutoReturn, setBlank, setChecked, setChecked, setColumnFont, setColumnFont, setContextHelpId, setContextHelpId, setCursorOffset, setCursorOffset, setDbname, setDeblank, setDisableAutoZap, setFirstTabItem, 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, setReadOnly, 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, validateLayout, view, widgetName
delete, firstResource, firstResource, getHead, getNextSibling, getPrevSibling, getPrivateData, getTail, hasName, hasNextSibling, hasPrevSibling, hasPrivateData, interlink, lastResource, lastResource, 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
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()
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 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 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 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 logical loadImage(java.lang.String name)
loadImage
in interface ImageSupport
loadImage
in class GenericWidget<ButtonConfig>
name
- Image file name.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(java.lang.String name, int 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(java.lang.String name, int xOffset, int 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(java.lang.String name, int xOffset, int yOffset, int 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(java.lang.String name, int xOffset, int yOffset, int width, int 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, integer 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, integer xOffset, integer 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, integer xOffset, integer yOffset, integer 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, integer xOffset, integer yOffset, integer width, integer 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 loadImageUp(java.lang.String name)
loadImageUp
in interface ButtonInterface
name
- Image file name.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(java.lang.String name, int 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(java.lang.String name, int xOffset, int 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(java.lang.String name, int xOffset, int yOffset, int 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(java.lang.String name, int xOffset, int yOffset, int width, int 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, integer 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, integer xOffset, integer 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, integer xOffset, integer yOffset, integer 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, integer xOffset, integer yOffset, integer width, integer 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 loadImageDown(java.lang.String name)
loadImageDown
in interface ButtonInterface
name
- Image file name.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(java.lang.String name, int 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(java.lang.String name, int xOffset, int 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(java.lang.String name, int xOffset, int yOffset, int 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(java.lang.String name, int xOffset, int yOffset, int width, int 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, integer 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, integer xOffset, integer 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, integer xOffset, integer yOffset, integer 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, integer xOffset, integer yOffset, integer width, integer 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 loadImageInsensitive(java.lang.String name)
loadImageInsensitive
in interface ButtonInterface
name
- Image file name.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(java.lang.String name, int 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(java.lang.String name, int xOffset, int 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(java.lang.String name, int xOffset, int yOffset, int 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(java.lang.String name, int xOffset, int yOffset, int width, int 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, integer 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, integer xOffset, integer 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, integer xOffset, integer yOffset, integer 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, integer xOffset, integer yOffset, integer width, integer 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 boolean loadImageInt(java.lang.String imageSrc, int type)
imageSrc
- Image file name to load.type
- Image type to load. Up, Down or Insensitive.true
if operation was successful.