public class PaneEntity<T extends PaneConfig> extends BaseEntity<T> implements Droppable, DirectManipulation
BaseEntity.CharsPixels
group
config, deleted, frame
name, nextSibling, prevSibling
instProc
Constructor and Description |
---|
PaneEntity(boolean dynamic,
T paneConfig)
Constructor.
|
PaneEntity(boolean dynamic,
T paneConfig,
PaneEntity<T> before,
boolean firstAsLast)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
integer |
getGridFactorHorizontal()
Gets GRID-FACTOR-HORIZONTAL attribute.
|
integer |
getGridFactorVertical()
Gets GRID-FACTOR-VERTICAL attribute.
|
decimal |
getGridUnitHeightChars()
Gets GRID-UNIT-HEIGHT-CHARS attribute.
|
integer |
getGridUnitHeightPixels()
Gets GRID-UNIT-HEIGHT-PIXELS attribute.
|
decimal |
getGridUnitWidthChars()
Gets GRID-UNIT-WIDTH-CHARS attribute.
|
integer |
getGridUnitWidthPixels()
Gets GRID-UNIT-WIDTH-PIXELS attribute.
|
integer |
getNumSelectedWidgets()
Gets NUM-SELECTED-WIDGETS attribute.
|
protected void |
getSizeAttrs(java.util.List<java.lang.String> names,
java.util.List<java.lang.Object> vals)
Collect the size-related attributes which can be assigned by this widget.
|
decimal |
getVirtHeight()
Get VIRTUAL-HEIGHT-CHARS attribute.
|
integer |
getVirtHeightPixels()
Get VIRTUAL-HEIGHT-PIXELS attribute.
|
decimal |
getVirtWidth()
Get VIRTUAL-WIDTH-CHARS attribute.
|
integer |
getVirtWidthPixels()
Get VIRTUAL-WIDTH-PIXELS attribute.
|
logical |
isBoxSelectable()
Gets BOX-SELECTABLE attribute.
|
logical |
isDropTarget()
Gets DROP-TARGET attribute.
|
logical |
isGridSnap()
Gets GRID-SNAP attribute.
|
logical |
isGridVisible()
Gets GRID-VISIBLE attribute.
|
logical |
isThreeD()
Check if window has THREE-D option set.
|
void |
setBoxSelectable(boolean flag)
Sets BOX-SELECTABLE attribute.
|
void |
setDropTarget(boolean flag)
Sets DROP-TARGET attribute.
|
void |
setGridFactorHorizontal(int value)
Sets GRID-FACTOR-HORIZONTAL attribute.
|
void |
setGridFactorVertical(int value)
Sets GRID-FACTOR-VERTICAL attribute.
|
void |
setGridSnap(boolean flag)
Sets GRID-SNAP attribute.
|
void |
setGridUnitHeightChars(double value)
Sets GRID-UNIT-HEIGHT-CHARS attribute.
|
void |
setGridUnitHeightPixels(int value)
Sets GRID-UNIT-HEIGHT-PIXELS attribute.
|
void |
setGridUnitWidthChars(double value)
Sets GRID-UNIT-WIDTH-CHARS attribute.
|
void |
setGridUnitWidthPixels(int value)
Sets GRID-UNIT-WIDTH-PIXELS attribute.
|
void |
setGridVisible(boolean flag)
Sets GRID-VISIBLE attribute.
|
void |
setThreeD(boolean threeD)
Enable/disable 3D look.
|
void |
setThreeD(logical threeD)
Enable/disable 3D look.
|
void |
setVirtHeight(NumberType height)
Set VIRTUAL-HEIGHT-CHARS attribute.
|
protected void |
setVirtHeightCharsWorker(double height)
Sets the value for the attribute VIRTUAL-HEIGHT-CHARS.
|
void |
setVirtHeightPixels(NumberType height)
Set VIRTUAL-HEIGHT-PIXELS attribute.
|
protected void |
setVirtHeightPixelsWorker(int height)
Sets the value for the attribute VIRTUAL-HEIGHT-PIXELS.
|
void |
setVirtWidth(NumberType width)
Set VIRTUAL-WIDTH-CHARS attribute.
|
protected void |
setVirtWidthCharsWorker(double width)
Sets the value for the attribute VIRTUAL-WIDTH-CHARS.
|
void |
setVirtWidthPixels(NumberType width)
Set VIRTUAL-WIDTH-PIXELS attribute.
|
protected void |
setVirtWidthPixelsWorker(int width)
Sets the value for the attribute VIRTUAL-WIDTH-PIXELS.
|
_getHeightChars, _getHeightPixels, _getWidthChars, _getWidthPixels, canSetPixelPositionInChui, changeFontWorker, getBgColor, getBgColorRgb, getColumn, getDColor, getFgColor, getFgColorRgb, getFont, getFrameColumn, getFrameRow, getFrameX, getFrameY, getHeightChars, getHeightPixels, getNextSibling, getParent, getParent, getPfColor, getPrevSibling, getRow, getTitle, getTooltip, getValidParentTypes, getWidthChars, getWidthPixels, getX, getY, isMovable, isResizable, isSelected, isTabStop, prepareSizeChars, prepareSizePixels, pushLocAttrs, pushSizeAttrs, resetAutoResize, setAlign, setBgColor, setBgColor, setBgColor, setBgColorRgb, setBgColorRgb, setBgColorRgb, setColon, setColon, setColumn, setColumn, setColumnOrRow, setColumnOrRowWorker, setDColor, setDColor, setDColor, setFgColor, setFgColor, setFgColor, setFgColorRgb, setFgColorRgb, setFgColorRgb, setFont, setGroup, setHeightChars, setHeightChars, setHeightCharsWorker, setHeightPixels, setHeightPixels, setHeightPixelsWorker, setMaxHeightCharsWorker, setMaxHeightPixelsWorker, setMaxWidthCharsWorker, setMaxWidthPixelsWorker, setMinHeightCharsWorker, setMinHeightPixelsWorker, setMinWidthCharsWorker, setMinWidthPixelsWorker, setMovable, setMovable, setParent, setPfColor, setPfColor, setPfColor, setResizable, setResizable, setRow, setRow, setSelected, setSelected, setSizeChars, setSizePixels, setTabStop, setTabStop, setTitle, setTitle, setTooltip, setTooltip, setWidthChars, setWidthChars, setWidthCharsWorker, setWidthPixels, setWidthPixels, setWidthPixelsWorker, setX, setX, setXorY, setXOrYWorker, setY, setY, useHandleChainSiblings, validateParent, validateSize, validColumnOrRow
_dynamic, _getDbName, _getFormat, _getTable, _isEntered, _isHidden, _isNotEntered, _isRealized, _isVisible, _setDynamic, _setVisible, afterConfigUpdate, apply, apply, apply, apply, asWidgetHandle, canAccess, canDelete, cleanup, colorDisplay, colorPrompt, config, deselectRows, detachMenu, disable, dynamic, enable, finishConfigProcessing, finishSetup, getColumnFont, getColumnLabel, getContextHelpId, getConvert3D, getCursorOffset, getDataType, getDbName, getFormat, getFrame, getFrameHandle, getHelp, getHWND, getId, getImage, getLabel, getLabelFont, getLabelStr, getMaxHeightChars, getMaxWidthChars, getMenuKey, getMenuMouse, getMousePointer, getMousePosition, getNextTabItem, getNumColumns, getNumSelectedRows, getParentHandle, getPopupMenu, getPreviousTabItem, getQuery, getRetainShape, getScreenValue, getScreenValue, getSideLabelHandle, getStretchToFit, getTable, getTabPosition, getTitleFont, getTransparent, getValidationExpression, getValidationMessage, getWidgetId, getWindow, getZOrderClass, hasFormat, hasNameReadOnly, hasParent, hide, hide, implicitDeletion, inputValue, isAutoResize, isAutoReturn, isChained, isChecked, isDisableRedraw, isEntered, isFocusedRowSelected, isHidden, isKeepFrameZOrder, isManualHighlight, isModified, isMultiple, isNotEntered, isScrollable, isSelectable, isSelected, isSelected, isSensitive, isTabWidget, isTextSelected, 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, preRealizeCheck, processSideLabel, pushScreenDefinition, pushWidgetAttr, pushWidgetAttr, readOnlyError, realize, refresh, resourceDelete, restoreSharedState, saveSharedState, selectAll, selectFocusedRow, setAtFormatLength, setAutoResize, setAutoResize, setAutoReturn, setAutoReturn, setBlank, setChecked, setChecked, setColumnFont, setColumnFont, setColumnLabel, setColumnLabel, setContextHelpId, setContextHelpId, setConvert3D, setConvert3D, setCursorOffset, setCursorOffset, setDataType, setDataType, setDbname, setDeblank, setDisableAutoZap, setDisableRedraw, setFont, setFormat, setFormat, setFrame, setFrame, setFrame, setFrameHandle, setFrameHandle, setFrameHandle, setHeader, setHelp, setHelp, setHelpDefault, setHelpStatic, setHidden, setHidden, setId, setKeepFrameZOrder, setKeepFrameZOrder, setLabel, setLabel, setLabelFont, setLabelFont, setLabelInt, setManualHighlight, setManualHighlight, setMaxHeightChars, setMaxWidthChars, setMenuKey, setMenuKey, setMenuMouse, setMenuMouse, setModified, setModified, setMultiple, setMultiple, setNextTabItem, setNoAutoValidate, setNumSelectedRows, setParentHandle, setParentHandle, setPopupMenu, setPopupMenu, setQuery, setRetainShape, setRetainShape, setScreenLock, setScreenValue, setScreenValue, setScrollable, setScrollable, setSelectable, setSelectable, setSensitive, setSensitive, setSensitive, setSensitive, setSideLabelHandle, setStretchToFit, setStretchToFit, setTable, setTitleFont, setTitleFont, setTransparent, setTransparent, setValidation, setValidation, setVertical, setVisible, setVisible, setWidgetId, setWidgetId, truncatePixelSize, underline, underline, valid, validate, validateFields, validateFields, validateFields, validateFields, view, widgetName
delete, firstResource, firstResource, getHead, getNextSibling, getPrevSibling, getPrivateData, getTail, hasName, hasNextSibling, hasPrevSibling, hasPrivateData, interlink, lastResource, lastResource, moveInChain, name, name, setHead, setNextSibling, setNextSibling, setPrevSibling, setPrevSibling, setPrivateData, setPrivateData, setPrivateData
getResourceType, id, id, instantiatingProcedure, invalidAttribute, setInstantiatingProcedure, type, unknown
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
endFileDrop, getDroppedFile, getDroppedFile, getNumDroppedFiles, setDropTarget
setBoxSelectable, setGridFactorHorizontal, setGridFactorVertical, setGridSnap, setGridUnitHeightChars, setGridUnitHeightPixels, setGridUnitWidthChars, setGridUnitWidthPixels, setGridVisible
setScreenValue
getPrivateData, setPrivateData, setPrivateData
getResourceType
id, id, unknown
setDisableRedraw
public PaneEntity(boolean dynamic, T paneConfig)
dynamic
- Flag indicating if this is a static or dynamic resource.paneConfig
- The container for all state to be transferred to the client.public PaneEntity(boolean dynamic, T paneConfig, PaneEntity<T> before, boolean firstAsLast)
dynamic
- Flag indicating if this is a static or dynamic resource.paneConfig
- The container for all state to be transferred to the client.before
- The right neighbor of the BaseEntity been created or null if new BaseEntity
will be the last in the chain. If before is the first element in the chain
the new BaseEntity will become the new first element in the chain.firstAsLast
- The flag indicating that this new entity must be inserted as last element
in the chain in the case when before - is the first element of the chain.
When before is the first element of the chain, default behavior (expected
from the name of this parameter is to insert new element as the first.
This flag allows to change the expected behavior of before parameter when
it needs and makes sense only if before is the first element.public logical isThreeD()
isThreeD
in interface CommonWidget
isThreeD
in class GenericWidget<T extends PaneConfig>
true
if window has THREE-D option set.public void setThreeD(logical threeD)
setThreeD
in interface CommonWidget
setThreeD
in class GenericWidget<T extends PaneConfig>
threeD
- New flag value.public void setThreeD(boolean threeD)
setThreeD
in interface CommonWidget
setThreeD
in class GenericWidget<T extends PaneConfig>
threeD
- New flag value.public decimal getVirtHeight()
getVirtHeight
in interface CommonWidget
getVirtHeight
in class GenericWidget<T extends PaneConfig>
public void setVirtHeight(NumberType height)
setVirtHeight
in interface CommonWidget
setVirtHeight
in class GenericWidget<T extends PaneConfig>
height
- VIRTUAL-HEIGHT-CHARS valuepublic decimal getVirtWidth()
getVirtWidth
in interface CommonWidget
getVirtWidth
in class GenericWidget<T extends PaneConfig>
public void setVirtWidth(NumberType width)
setVirtWidth
in interface CommonWidget
setVirtWidth
in class GenericWidget<T extends PaneConfig>
width
- VIRTUAL-WIDTH-CHAR valuepublic integer getVirtHeightPixels()
getVirtHeightPixels
in interface CommonWidget
getVirtHeightPixels
in class GenericWidget<T extends PaneConfig>
public void setVirtHeightPixels(NumberType height)
setVirtHeightPixels
in interface CommonWidget
setVirtHeightPixels
in class GenericWidget<T extends PaneConfig>
height
- VIRTUAL-HEIGHT-PIXELS valuepublic integer getVirtWidthPixels()
getVirtWidthPixels
in interface CommonWidget
getVirtWidthPixels
in class GenericWidget<T extends PaneConfig>
public void setVirtWidthPixels(NumberType width)
setVirtWidthPixels
in interface CommonWidget
setVirtWidthPixels
in class GenericWidget<T extends PaneConfig>
width
- VIRTUAL-WIDTH-PIXELS valuepublic logical isBoxSelectable()
isBoxSelectable
in interface DirectManipulation
public void setBoxSelectable(boolean flag)
setBoxSelectable
in interface DirectManipulation
flag
- New value for the attribute.public integer getNumSelectedWidgets()
getNumSelectedWidgets
in interface DirectManipulation
public integer getGridFactorHorizontal()
getGridFactorHorizontal
in interface DirectManipulation
public void setGridFactorHorizontal(int value)
setGridFactorHorizontal
in interface DirectManipulation
value
- New value for the attribute.public integer getGridFactorVertical()
getGridFactorVertical
in interface DirectManipulation
public void setGridFactorVertical(int value)
setGridFactorVertical
in interface DirectManipulation
value
- New value for the attribute.public logical isGridSnap()
isGridSnap
in interface DirectManipulation
public void setGridSnap(boolean flag)
setGridSnap
in interface DirectManipulation
flag
- New value for the attribute.public decimal getGridUnitHeightChars()
getGridUnitHeightChars
in interface DirectManipulation
public void setGridUnitHeightChars(double value)
setGridUnitHeightChars
in interface DirectManipulation
value
- New value for the attribute.public integer getGridUnitHeightPixels()
getGridUnitHeightPixels
in interface DirectManipulation
public void setGridUnitHeightPixels(int value)
setGridUnitHeightPixels
in interface DirectManipulation
value
- New value for the attribute.public decimal getGridUnitWidthChars()
getGridUnitWidthChars
in interface DirectManipulation
public void setGridUnitWidthChars(double value)
setGridUnitWidthChars
in interface DirectManipulation
value
- New value for the attribute.public integer getGridUnitWidthPixels()
getGridUnitWidthPixels
in interface DirectManipulation
public void setGridUnitWidthPixels(int value)
setGridUnitWidthPixels
in interface DirectManipulation
value
- New value for the attribute.public logical isGridVisible()
isGridVisible
in interface DirectManipulation
public void setGridVisible(boolean flag)
setGridVisible
in interface DirectManipulation
flag
- New value for the attribute.public logical isDropTarget()
isDropTarget
in interface Droppable
public void setDropTarget(boolean flag)
setDropTarget
in interface Droppable
flag
- New value for the attribute.protected void setVirtWidthCharsWorker(double width)
setVirtWidthCharsWorker
in class BaseEntity<T extends PaneConfig>
width
- Valid width value.protected void setVirtHeightCharsWorker(double height)
setVirtHeightCharsWorker
in class BaseEntity<T extends PaneConfig>
height
- Valid height value.protected void setVirtWidthPixelsWorker(int width)
setVirtWidthPixelsWorker
in class BaseEntity<T extends PaneConfig>
width
- Valid width value.protected void setVirtHeightPixelsWorker(int height)
setVirtHeightPixelsWorker
in class BaseEntity<T extends PaneConfig>
height
- Valid height value.protected void getSizeAttrs(java.util.List<java.lang.String> names, java.util.List<java.lang.Object> vals)
getSizeAttrs
in class BaseEntity<T extends PaneConfig>
names
- The collection where to add the field names.vals
- The collection where to add the field values.