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_RIGHTgroupconfig, deleted, frame, internalScreenValueUsage, realizeOnAttributeAccessname, nextSibling, prevSibling, wainstProc, pm| 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, _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, 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, isReadOnly, isScrollable, isSelectable, isSelected, isSelected, isSensitive, isTabWidget, isTextSelected, isThreeD, isValidatable, isVisible, labelSizeCheck, loadImage, loadImage, loadImage, loadImage, loadImage, loadImage, loadImage, loadImage, loadImage, loadImage, 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, setConvert3D, setConvert3D, 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, 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, unknownsetDisableRedrawsetReadOnlyallowDeleteprotected 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 Enabledenabled - The new state whether a form or control can respond to user-generated eventspublic void setEnabled(boolean enabled)
setEnabled in interface Enabledenabled - The new state whether a form or control can respond to user-generated eventspublic integer getMousePointerNum()
getMousePointerNum in interface WidgetExtensionpublic void setMousePointerNum(integer value)
setMousePointerNum in interface WidgetExtensionvalue - new mouse pointerpublic void setMousePointerNum(int value)
setMousePointerNum in interface WidgetExtensionvalue - new mouse pointerpublic character getMouseIcon()
getMouseIcon in interface WidgetExtensionpublic void setMouseIcon(character value)
setMouseIcon in interface WidgetExtensionvalue - The user defined mouse iconpublic void setMouseIcon(java.lang.String value)
setMouseIcon in interface WidgetExtensionvalue - The user defined mouse iconpublic void refreshUI()
refreshUI in interface WidgetExtensionpublic integer getOleDragMode()
getOleDragMode in interface OcxDragDroppublic void setOleDragMode(int value)
value - The OLE drag modepublic void setOleDragMode(integer value)
setOleDragMode in interface OcxDragDropvalue - The OLE drag modepublic integer getOleDropMode()
getOleDropMode in interface OcxDragDroppublic void setOleDropMode(integer value)
setOleDropMode in interface OcxDragDropvalue - The OLE drop modepublic void setOleDropMode(int value)
value - The OLE drop modepublic void oleDrag()
oleDrag in interface OcxDragDroppublic integer getEffect()
getEffect in interface OcxDragDroppublic void setEffect(integer value)
setEffect in interface OcxDragDropvalue - The drag and drop mouse effectpublic void setEffect(int value)
value - The drag and drop mouse effectpublic decimal getOleX()
getOleX in interface OcxDragDroppublic void setOleX(decimal value)
setOleX in interface OcxDragDropvalue - The OLE X coordinatepublic void setOleX(double value)
value - The OLE X coordinatepublic decimal getOleY()
getOleY in interface OcxDragDroppublic void setOleY(decimal value)
setOleY in interface OcxDragDropvalue - The OLE Y coordinatepublic void setOleY(double value)
value - The OLE Y coordinatepublic integer getState()
getState in interface OcxDragDroppublic void setState(integer value)
setState in interface OcxDragDropvalue - The OLE statepublic void setState(int value)
value - The OLE statepublic logical isDefaultCursors()
isDefaultCursors in interface OcxDragDroppublic void setDefaultCursors(logical value)
setDefaultCursors in interface OcxDragDropvalue - The default cursors flagpublic void setDefaultCursors(boolean value)
value - The default cursors flagpublic integer getDataFormat()
getDataFormat in interface OcxDragDroppublic void setDataFormat(integer value)
setDataFormat in interface OcxDragDropvalue - The data format.public void setDataFormat(int value)
value - The data format.public integer getAllowedEffects()
getAllowedEffects in interface OcxDragDroppublic void setAllowedEffects(integer value)
setAllowedEffects in interface OcxDragDropvalue - The allowed effectspublic void setAllowedEffects(int value)
value - The allowed effectspublic integer getMouseButton()
getMouseButton in interface OcxMousepublic integer getMouseShift()
getMouseShift in interface OcxMousepublic integer getMouseX()
public integer getMouseY()
public void setComData(comhandle value)
setComData in interface ComDatavalue - The COM datapublic comhandle getComData()
getComData in interface ComData