SMART datagrid v.1 > Classes

Back  Forward

DataLudi.GridStyles  class

当绘制网格单元格时,将会被参考的样式属性的集合。 

如同页眉页脚等,分别在包含单元格的各个区域,创建这个对象。 

Base Classes
EventAware > DLBase
Constructor
function GridStyles (owner: Object, name: String, source: Object, fireEvents: Boolean);
Properties
background
booleanFormat
border
borderBottom
borderBottomSize
borderLeft
borderLeftSize
borderRadius
borderRight
borderRightSize
borderTop
borderTopSize
celltipColor
celltipLocation
celltipSize
color
datetimeFormat
fontBold
fontItalic
fontName
fontSize
hoveredBackground
hoveredColor
iconAlignment
iconAlpha
iconIndex
iconLocation
iconOffset
iconPadding
inactiveBackground
inactiveColor
line
lineAlignment
name
numberFormat
paddingBottom
paddingLeft
paddingRight
paddingTop
parent
prefix
renderer
selectedBackground
selectedColor
shapeAlignment
shapeBorder
shapeColor
shapeColors
shapeHoveredBorder
shapeHoveredColor
shapeInactiveBorder
shapeInactiveColor
shapeLocation
shapeName
shapeOffset
shapePadding
shapeRotate
shapeSelectedBorder
shapeSelectedColor
shapeSize
suffix
sysDefault
textAlignment
textDecoration
textDecorationColor
textFormat
textShadow
textWrap
Methods
beginUpdate
clearValues
endUpdate
hasValue
Inherited Methods
EventAware.addListener
DLBase.assign
DLBase.getProperties
DLBase.getProperty
EventAware.removeListener
DLBase.setProperties
DLBase.setProperty
DLBase.toggle

 

See Also
样式概述
GridColumn.styles
VisualObject.styles
DataCellRenderer
Examples
列样式