class Column
All Implemented Interfaces:
Deprecated. Use jsx3.gui.Matrix.Column instead.
Provides a way to generate a column of data for a
jsx3.gui.List instance (or compatible subclass).
It allows the developer to specify custom XSLT for more-complex output, custom edit masks for editable grids, sort
types and sort paths and other series-related activities.
See Also:
| Field Summary |
|---|
| static String | jsx30column_c3
|
| static String | jsx30column_c1
|
| static int | 100
|
| static int | 0 |
| static int | 1 (default) |
| static void | Deprecated. Renamed to RESIZABLE.
|
| static String | number |
| static String | text (default) |
| static String | middle
|
| static String | top (default)
|
| Constructor Summary |
|---|
| void | instance initializer |
| Method Summary |
|---|
| int | Returns whether the parent list/grid can be sorted on this column |
| String | Returns the data type for this column of data (affects sorting if this column is used for sorting the data); valid types include: jsx3.gui.Column.TYPETEXT and jsx3.gui.Column.TYPENUMBER |
| String | Returns name of JSX GUI object to use as the edit mask |
| String | Returns the selection path for this column of data. |
| int | Returns flag (jsx3.gui.Column.RESIZABLE or jsx3.gui.Column.FIXED) denoting whether or not the given column can be resized. |
| void | Deprecated. Renamed to getResizable. |
| String | Returns the selection path to use to sort this column. |
| String | Gets the vertical alignment for the header cell text. |
| static String | |
| int | Gets whether or not the header cell for this column should wrap its text when the column is too narrow to display truncate with an ellipsis. |
| String | Returns XSLT fragment for any custom template to render the cells for this column. |
| String | Returns the DHTML, used for this object's on-screen VIEW |
| String | updates the on-screen VIEW for the object. |
| jsx3.gui.Column | Sets whether the parnet list/grid can be sorted on this column. |
| jsx3.gui.Column | Sets the data type for this column of data (affects sorting if this column is used for sorting the data); returns ref to self |
| jsx3.gui.Column | Sets name of JSX GUI object to use as the edit mask; can also can be the system-generated id assigned at object initialization; returns ref to self |
| jsx3.gui.Column | Sets the selection path for this column of data. |
| jsx3.gui.Column | Sets flag (jsx3.gui.Column.RESIZABLE or jsx3.gui.Column.FIXED) denoting whether or not the given column can be resized. |
| void | Deprecated. Renamed to setResizable. |
| jsx3.gui.Column | Sets the selection path to use to sort this column. |
| jsx3.gui.Column | Sets the vertical alignment for the header cell text. |
| jsx3.gui.Column | Sets whether or not the header cell for this column should wrap its text when the column is too narrow to display truncate with an ellipsis. |
| jsx3.gui.Column | binds an XSL document fragment (as string) as a property on the object, so that when the object is serialized
the XSL is contained within. |
| Methods Inherited From jsx3.gui.Block |
|---|
| getBackground, getBackgroundColor, getBorder, getCDFAttribute, getCDFId, getCSSOverride, getClassName, getColor, getCursor, getDimensions, getDisplay, getFontName, getFontSize, getFontWeight, getHeight, getIndex, getLeft, getMargin, getOverflow, getPadding, getRelativePosition, getTagName, getText, getTextAlign, getTip, getTop, getVisibility, getWidth, getZIndex, hideMask, setBackground, setBackgroundColor, setBorder, setCDFAttribute, setCDFId, setCSSOverride, setClassName, setColor, setCursor, setDimensions, setDisplay, setFontName, setFontSize, setFontWeight, setHeight, setIndex, setLeft, setMargin, setOverflow, setPadding, setRelativePosition, setTagName, setText, setTextAlign, setTip, setTop, setVisibility, setWidth, setZIndex, showMask |
| Methods Inherited From jsx3.gui.Interactive |
|---|
| doEvent, getCanDrag, getCanDrop, getCanMove, getCanSpy, getEvent, getEvents, getMenu, hasEvent, registerHotKey, removeEvent, removeEvents, setCanDrag, setCanDrop, setCanMove, setCanSpy, setEvent, setMenu, setSpyStyles, showSpy |
| Methods Inherited From jsx3.gui.Painted |
|---|
| focus, getAbsolutePosition, getAttribute, getAttributes, getDynamicProperty, getRendered, insertHTML, onAfterPaint, onAfterRestoreView, paintChild, paintChildren, recalcBox, removeAttribute, removeAttributes, setAttribute, setDynamicProperty |
| Methods Inherited From jsx3.app.Model |
|---|
| adoptChild, doClone, findAncestor, findDescendants, getAncestorOfName, getAncestorOfType, getChild, getChildIndex, getChildren, getDescendantOfName, getDescendantsOfType, getFirstChild, getFirstChildOfType, getHelpId, getId, getLastChild, getLoadType, getMetaValue, getNS, getName, getNextSibling, getParent, getPersistence, getPreviousSibling, getServer, getUriResolver, insertBefore, load, loadAndCache, loadXML, onAfterAssemble, onAfterAttach, onBeforeAssemble, onChangeServer, onDestroy, onRemoveChild, onSetChild, onSetParent, removeChild, removeChildren, setChild, setHelpId, setLoadType, setMetaValue, setName, setPersistence, toString, toXML, toXMLDoc |
| Methods Inherited From jsx3.lang.Object |
|---|
| clone, equals, eval, getClass, getInstanceOf, getInstanceOfClass, getInstanceOfPackage, instanceOf, isInstanceOf, isSubclassOf, jsxmix, jsxsuper, jsxsupermix, setInstanceOf |
static
String DEFAULTCELLCLASSGRID
static
String DEFAULTCELLCLASSLIST
static final
int RESIZABLE
static ? RESIZEABLE
Deprecated. Renamed to RESIZABLE.
static final
String TYPENUMBER
instance initializer
Parameters:
strName – unique name distinguishing this object from all other JSX GUI objects in the JSX application
strText – label to appear in column header; can be valid DHTML
intWidth – width (in pixels) of the object;
strPath – the selection path for this column of data. Typically this is simply the name of the attribute preceded by '@' (i.e., @jsxtext, @social, @phone, etc);
Returns whether the parent list/grid can be sorted on this column
Returns:
one of: jsx3.Boolean.TRUE or jsx3.Boolean.FALSE
Returns the data type for this column of data (affects sorting if this column is used for sorting the data); valid types include: jsx3.gui.Column.TYPETEXT and jsx3.gui.Column.TYPENUMBER
Returns:
data type for this column's data
Returns name of JSX GUI object to use as the edit mask
Returns:
name of the control
Returns the selection path for this column of data. Typically this is simply the name of the attribute preceded by '@' (i.e., @jsxtext, @social, @phone, etc); returns '@jsxid' if no path specified
Returns:
selection path (xpath / xsl query)
Returns flag (jsx3.gui.Column.RESIZABLE or jsx3.gui.Column.FIXED) denoting whether or not the given column can be resized. Default: jsx3.gui.Column.RESIZABLE
Returns:
void getResizeable()
Deprecated. Renamed to getResizable.
Returns the selection path to use to sort this column. If the sort path has not been set explicitly, this method
returns the value of this.getPath().
Returns:
See Also:
Gets the vertical alignment for the header cell text. Default: jsx3.gui.Column.VALIGNTOP;
Returns:
one of: jsx3.gui.Column.VALIGNTOP or jsx3.gui.Column.VALIGNMIDDLE
Deprecated.
Returns the release/build for the class (i.e., "2.2.00")
Returns:
Gets whether or not the header cell for this column should wrap its text when the column is too narrow to display truncate with an ellipsis. Default: jsx3.Boolean.FALSE
Returns:
one of: jsx3.Boolean.TRUE or jsx3.Boolean.FALSE
String getXSLString(strXSL
: ?)
Returns XSLT fragment for any custom template to render the cells for this column.
Parameters:
Returns:
valid XSLT document fragment to be inserted into the overall XSLT document for the list/grid parent
Returns the DHTML, used for this object's on-screen VIEW
Parameters:
bBufferColumn – false if null; if true, the default xsl template for a buffer column cell is returned
SORT_DIRECTION – one of: jsx3.gui.List.SORTASCENDING or jsx3.gui.List.SORTDESCENDING
Returns:
DHTML
Overrides:
updates the on-screen VIEW for the object. repaints both the head and body for the list/grid containing the column (colunns are composed of HTML TD elements that cannot be repainted individually)
Returns:
DHTML
Overrides:
Sets whether the parnet list/grid can be sorted on this column. Default: jsx3.Boolean.TRUE
Parameters:
SORT – one of: jsx3.Boolean.TRUE or jsx3.Boolean.FALSE
Returns:
this object
Sets the data type for this column of data (affects sorting if this column is used for sorting the data); returns ref to self
Parameters:
DATATYPE – data type for this column's data; ; valid types include: jsx3.gui.Column.TYPETEXT and jsx3.gui.Column.TYPENUMBER
Returns:
this object
Sets name of JSX GUI object to use as the edit mask; can also can be the system-generated id assigned at object initialization; returns ref to self
Parameters:
strJSXName – JSX name property for the control to use as the edit/input mask; also can be the system-generated id assigned at object initialization
Returns:
this object
Sets the selection path for this column of data. Typically this is simply the name of the attribute preceded by '@' (i.e., @jsxtext, @social, @phone, etc);
returns a ref to self;
Parameters:
strPath – selection path (xpath / xsl query)
Returns:
this object
Sets flag (jsx3.gui.Column.RESIZABLE or jsx3.gui.Column.FIXED) denoting whether or not the given column can be resized. Default: jsx3.gui.Column.RESIZABLE
Parameters:
RESIZE – one of: jsx3.gui.Column.RESIZABLE or jsx3.gui.Column.FIXED
Returns:
this object
void setResizeable()
Deprecated. Renamed to setResizable.
Sets the selection path to use to sort this column. By setting the sort path property, a column may cause its
list to be sorted according to data that is not necessarily the string displayed in the column.
Parameters:
Returns:
Sets the vertical alignment for the header cell text. This does not affect the vertical alignment for the data rows.
Parameters:
VALIGN – one of: jsx3.gui.Column.VALIGNTOP or jsx3.gui.Column.VALIGNMIDDLE
Returns:
this object
Sets whether or not the header cell for this column should wrap its text when the column is too narrow to display truncate with an ellipsis.
Parameters:
WRAP – one of: jsx3.Boolean.TRUE or jsx3.Boolean.FALSE
Returns:
this object
binds an XSL document fragment (as string) as a property on the object, so that when the object is serialized
the XSL is contained within. When this object is live, the XSL will be parsed and used to generate the on-screen VIEW for the object
Parameters:
strXSL – if null or empty string is passed, any existing value is removed. Otherwise, must be XSLT fragment that will generate the content for a given TD (cell)
Returns:
this object
Copyright © 2001-2008, TIBCO Software Inc.