T
- Data type that extends WidgetConfigExtpublic class ControlEntityExt<T extends WidgetConfigExt> extends ControlEntity<T> implements WidgetExtension, ComData, OcxMouse, OcxDragDrop, Enabled
BaseEntity.CharsPixels
Modifier and Type | Field and Description |
---|---|
protected comhandle |
comData
Com data
|
ALIGN_COLON, ALIGN_LEFT, ALIGN_RIGHT
group
config, deleted, frame, internalScreenValueUsage, realizeOnAttributeAccess
name, nextSibling, prevSibling
instProc
Constructor and Description |
---|
ControlEntityExt(boolean dynamic,
T ctrl)
Creates this instance
|
Modifier and Type | Method and Description |
---|---|
integer |
getAllowedEffects()
Get the allowed effects.
|
comhandle |
getComData()
Get COM data.
|
integer |
getDataFormat()
Get the data format.
|
integer |
getEffect()
Get the drag and drop mouse effect.
|
integer |
getMouseButton()
Get the mouse button number.
|
character |
getMouseIcon()
Gets a mouse icon for this control.
|
integer |
getMousePointerNum()
Gets the type of mouse pointer displayed when over part of an object.
|
integer |
getMouseShift()
Get the mouse shift.
|
integer |
getMouseX()
Get the mouse X position.
|
integer |
getMouseY()
Get the mouse Y position.
|
integer |
getOleDragMode()
Return whether the control can act as an OLE drag source, either automatically or
under program control.
|
integer |
getOleDropMode()
Return whether this control can act as an OLE drop target.
|
decimal |
getOleX()
Get the OLE X coordinate in character units.
|
decimal |
getOleY()
Get the OLE Y coordinate in character units.
|
integer |
getState()
Get the OLE state.
|
logical |
isDefaultCursors()
Tests if the default cursors are used.
|
logical |
isEnabled()
Return a value that determines whether a form or control can respond to user-generated events.
|
void |
oleDrag()
Start an OLE drag/drop event with the given control as the source.
|
void |
refreshUI()
Forces a complete repaint of a form or control.
|
void |
setAllowedEffects(int value)
Set the allowed effects.
|
void |
setAllowedEffects(integer value)
Set the allowed effects.
|
void |
setComData(comhandle value)
Set the COM data.
|
void |
setDataFormat(int value)
Set the data format.
|
void |
setDataFormat(integer value)
Set the data format.
|
void |
setDefaultCursors(boolean value)
Set the default cursors flag.
|
void |
setDefaultCursors(logical value)
Set the default cursors flag.
|
void |
setEffect(int value)
Set the drag and drop mouse effect.
|
void |
setEffect(integer value)
Set the drag and drop mouse effect.
|
void |
setEnabled(boolean enabled)
Sets a value that determines whether a form or control can respond to user-generated events.
|
void |
setEnabled(logical enabled)
Sets a value that determines whether a form or control can respond to user-generated events.
|
void |
setMouseIcon(character value)
Sets a custom mouse icon for this control.
|
void |
setMouseIcon(java.lang.String value)
Sets a custom mouse icon for this control.
|
void |
setMousePointerNum(int value)
Sets the type of mouse pointer displayed when over part of an object.
|
void |
setMousePointerNum(integer value)
Sets the type of mouse pointer displayed when over part of an object.
|
void |
setOleDragMode(int value)
Set whether the control can act as an OLE drag source, either automatically or under
program control.
|
void |
setOleDragMode(integer value)
Set whether the control can act as an OLE drag source, either automatically or under
program control.
|
void |
setOleDropMode(int value)
Set whether this control can act as an OLE drop target.
|
void |
setOleDropMode(integer value)
Set whether this control can act as an OLE drop target.
|
void |
setOleX(decimal value)
Set the OLE X coordinate in character units.
|
void |
setOleX(double value)
Set the OLE X coordinate in character units.
|
void |
setOleY(decimal value)
Set the OLE Y coordinate in character units.
|
void |
setOleY(double value)
Set the OLE Y coordinate in character units.
|
void |
setState(int value)
Set the OLE value state.
|
void |
setState(integer value)
Set the OLE value state.
|
changeFontWorker, delete, firstChild, getColon, getDataClass, getDataType, getIndex, getNextTabItem, getPreviousTabItem, getPrevSibling, getSideLabelHandleWorker, getSizeAttrs, getTitle, hasSideLabelHandle, isAutoResize, isDropTarget, isModified, lastChild, processSideLabel, resetAutoResize, 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, _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, getConvert3D, getCursorOffset, getDbName, getFormat, getFrame, getFrameHandle, getFrameName, getHeight, getHelp, getHWND, getId, getImage, 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, isScrollable, isSelectable, isSelected, isSelected, isSensitive, isTabWidget, isTextSelected, isThreeD, isValidatable, isVisible, labelSizeCheck, loadImage, loadImage, loadImage, loadImage, loadImage, loadImage, loadImage, loadImage, loadImage, loadImage, loadMousePointer, loadMousePointer, moveAfterTab, moveAfterTab, 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, setConvert3D, setConvert3D, setCursorOffset, setCursorOffset, setDbname, setDeblank, setDisableAutoZap, setDisableRedraw, setFont, setFormat, setFormat, setFrame, setFrame, setFrame, setFrameHandle, setFrameHandle, setFrameHandle, setHeader, setHeight, setHelp, setHelp, setHelpDefault, setHelpStatic, setHidden, setHidden, setId, setKeepFrameZOrder, setKeepFrameZOrder, setLabel, setLabel, setLabel, setLabelFont, setLabelFont, setLabelInt, setManualHighlight, setManualHighlight, setMaxHeightChars, setMaxWidthChars, setMenuKey, setMenuKey, setMenuMouse, setMenuMouse, setMultiple, setMultiple, setNextTabItem, setNoAutoValidate, setNumSelectedRows, setParentHandle, setParentHandle, setPopupMenu, setPopupMenu, setQuery, setReadOnly, setReadOnly, setRetainShape, setRetainShape, setScreenLock, 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, underline, underline, valid, validate, validateFields, validateFields, validateFields, validateLabelAssignment, view, warningAlreadyRealized, widgetName
firstResource, firstResource, getHead, getNextSibling, getPrevSibling, getPrivateData, getTail, hasName, hasNameConstraints, hasNextSibling, hasPrevSibling, hasPrivateData, interlink, lastResource, lastResource, moveInChain, name, name, setHead, setNextSibling, setNextSibling, setPrevSibling, setPrevSibling, setPrivateData, setPrivateData, setPrivateData, validateName
doDelete, getResourceType, id, id, incrementTrigger, instantiatingProcedure, invalidAttribute, processResource, registerResource, setInstantiatingProcedure, toString, type, unableToAssignUnknown, unknown
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
endFileDrop, getDroppedFile, getDroppedFile, getNumDroppedFiles, setDropTarget
getIdEx, getListItems, isEditCanUndo, setListItems, setListItems, setScreenValue
getPrivateData, setPrivateData, setPrivateData
getResourceType
id, id, unknown
setDisableRedraw
protected comhandle comData
public ControlEntityExt(boolean dynamic, T ctrl)
dynamic
- Indicates that widget is not staticctrl
- The given widget configurationpublic logical isEnabled()
public void setEnabled(logical enabled)
setEnabled
in interface Enabled
enabled
- The new state whether a form or control can respond to user-generated eventspublic void setEnabled(boolean enabled)
setEnabled
in interface Enabled
enabled
- The new state whether a form or control can respond to user-generated eventspublic integer getMousePointerNum()
getMousePointerNum
in interface WidgetExtension
public void setMousePointerNum(integer value)
setMousePointerNum
in interface WidgetExtension
value
- new mouse pointerpublic void setMousePointerNum(int value)
setMousePointerNum
in interface WidgetExtension
value
- new mouse pointerpublic character getMouseIcon()
getMouseIcon
in interface WidgetExtension
public void setMouseIcon(character value)
setMouseIcon
in interface WidgetExtension
value
- The user defined mouse iconpublic void setMouseIcon(java.lang.String value)
setMouseIcon
in interface WidgetExtension
value
- The user defined mouse iconpublic void refreshUI()
refreshUI
in interface WidgetExtension
public integer getOleDragMode()
getOleDragMode
in interface OcxDragDrop
public void setOleDragMode(int value)
value
- The OLE drag modepublic void setOleDragMode(integer value)
setOleDragMode
in interface OcxDragDrop
value
- The OLE drag modepublic integer getOleDropMode()
getOleDropMode
in interface OcxDragDrop
public void setOleDropMode(integer value)
setOleDropMode
in interface OcxDragDrop
value
- The OLE drop modepublic void setOleDropMode(int value)
value
- The OLE drop modepublic void oleDrag()
oleDrag
in interface OcxDragDrop
public integer getEffect()
getEffect
in interface OcxDragDrop
public void setEffect(integer value)
setEffect
in interface OcxDragDrop
value
- The drag and drop mouse effectpublic void setEffect(int value)
value
- The drag and drop mouse effectpublic decimal getOleX()
getOleX
in interface OcxDragDrop
public void setOleX(decimal value)
setOleX
in interface OcxDragDrop
value
- The OLE X coordinatepublic void setOleX(double value)
value
- The OLE X coordinatepublic decimal getOleY()
getOleY
in interface OcxDragDrop
public void setOleY(decimal value)
setOleY
in interface OcxDragDrop
value
- The OLE Y coordinatepublic void setOleY(double value)
value
- The OLE Y coordinatepublic integer getState()
getState
in interface OcxDragDrop
public void setState(integer value)
setState
in interface OcxDragDrop
value
- The OLE statepublic void setState(int value)
value
- The OLE statepublic logical isDefaultCursors()
isDefaultCursors
in interface OcxDragDrop
public void setDefaultCursors(logical value)
setDefaultCursors
in interface OcxDragDrop
value
- The default cursors flagpublic void setDefaultCursors(boolean value)
value
- The default cursors flagpublic integer getDataFormat()
getDataFormat
in interface OcxDragDrop
public void setDataFormat(integer value)
setDataFormat
in interface OcxDragDrop
value
- The data format.public void setDataFormat(int value)
value
- The data format.public integer getAllowedEffects()
getAllowedEffects
in interface OcxDragDrop
public void setAllowedEffects(integer value)
setAllowedEffects
in interface OcxDragDrop
value
- The allowed effectspublic void setAllowedEffects(int value)
value
- The allowed effectspublic integer getMouseButton()
getMouseButton
in interface OcxMouse
public integer getMouseShift()
getMouseShift
in interface OcxMouse
public integer getMouseX()
public integer getMouseY()
public void setComData(comhandle value)
setComData
in interface ComData
value
- The COM datapublic comhandle getComData()
getComData
in interface ComData