#include <CEGUIInterfaces.h>
Inherits DigitalSpaces::DIObjectBase.
Public Member Functions | |
| unsigned int | getColumnCount () |
| Return the number of columns or segments attached to the header. | |
| DICEGUIListHeaderSegment * | getSegmentFromColumn (unsigned int column) |
| Return the ListHeaderSegment object for the specified column. | |
| DICEGUIListHeaderSegment * | getSegmentFromID (unsigned int id) |
| Return the ListHeaderSegment object with the specified ID. | |
| DICEGUIListHeaderSegment * | getSortSegment () |
| Return the ListHeaderSegment that is marked as being the 'sort key' segment. There must be at least one segment to successfully call this method. | |
| unsigned int | getColumnFromSegment (DICEGUIListHeaderSegment *segment) |
| Return the zero based column index of the specified segment. | |
| unsigned int | getColumnFromID (unsigned int id) |
| Return the zero based column index of the segment with the specified ID. | |
| unsigned int | getSortColumn () |
| Return the zero based index of the current sort column. There must be at least one segment/column to successfully call this method. | |
| unsigned int | getColumnWithText (const char *text) |
| Return the zero based column index of the segment with the specified text. | |
| float | getPixelOffsetToSegment (DICEGUIListHeaderSegment *segment) |
| Return the pixel offset to the given ListHeaderSegment. | |
| float | getPixelOffsetToColumn (unsigned int column) |
| Return the pixel offset to the ListHeaderSegment at the given zero based column index. | |
| float | getTotalSegmentsPixelExtent () |
| Return the total pixel width of all attached segments. | |
| void | getColumnWidth (unsigned int column, out_Pairf *width) |
| Return the width of the specified column. | |
| CEGUIListHeaderSegmentSortDirection | getSortDirection () |
| Return the currently set sort direction. | |
| bool | isSortingEnabled () |
| Return whether user manipulation of the sort column & direction are enabled. | |
| bool | isColumnSizingEnabled () |
| Return whether the user may size column segments. | |
| bool | isColumnDraggingEnabled () |
| Return whether the user may modify the order of the segments. | |
| float | getSegmentOffset () |
| Return the current segment offset value. This value is used to implement scrolling of the header segments within the ListHeader area. | |
| void | setSortingEnabled (bool setting) |
| Set whether user manipulation of the sort column and direction is enabled. | |
| void | setSortDirection (CEGUIListHeaderSegmentSortDirection direction) |
| Set the current sort direction. | |
| void | setSortSegment (DICEGUIListHeaderSegment *segment) |
| Set the column segment to be used as the sort column. | |
| void | setSortColumn (unsigned int column) |
| Set the column to be used as the sort column. | |
| void | setSortColumnFromID (unsigned int id) |
| Set the column to to be used for sorting via its ID code. | |
| void | setColumnSizingEnabled (bool setting) |
| Set whether columns may be sized by the user. | |
| void | setColumnDraggingEnabled (bool setting) |
| Set whether columns may be reordered by the user via drag and drop. | |
| void | addColumn (const char *text, unsigned int id, in_Pairf *width) |
| Add a new column segment to the end of the header. | |
| void | insertColumn (const char *text, unsigned int id, in_Pairf *width, unsigned int position) |
| Insert a new column segment at the specified position. | |
| void | insertColumn (const char *text, unsigned int id, in_Pairf *width, DICEGUIListHeaderSegment *position) |
| Insert a new column segment at the specified position. | |
| void | removeColumn (unsigned int column) |
| Removes a column segment from the ListHeader. | |
| void | removeSegment (DICEGUIListHeaderSegment *segment) |
| Remove the specified segment from the ListHeader. | |
| void | moveColumn (unsigned int column, unsigned int position) |
| Moves a column segment into a new position. | |
| void | moveColumn (unsigned int column, DICEGUIListHeaderSegment *position) |
| Move a column segment to a new position. | |
| void | moveSegment (DICEGUIListHeaderSegment *segment, unsigned int position) |
| Moves a segment into a new position. | |
| void | moveSegment (DICEGUIListHeaderSegment *segment, DICEGUIListHeaderSegment *position) |
| Move a segment to a new position. | |
| void | setSegmentOffset (float offset) |
| Set the current base segment offset. (This implements scrolling of the header segments within the header area). | |
| void | setColumnWidth (unsigned int column, in_Pairf *width) |
| Set the width of the specified column. | |
| unsigned int DigitalSpaces::DICEGUIListHeader::getColumnCount | ( | ) |
Return the number of columns or segments attached to the header.
| DICEGUIListHeaderSegment* DigitalSpaces::DICEGUIListHeader::getSegmentFromColumn | ( | unsigned int | column | ) |
Return the ListHeaderSegment object for the specified column.
| column | zero based column index of the ListHeaderSegment to be returned. |
| InvalidRequestException | thrown if column is out of range. |
| DICEGUIListHeaderSegment* DigitalSpaces::DICEGUIListHeader::getSegmentFromID | ( | unsigned int | id | ) |
Return the ListHeaderSegment object with the specified ID.
| id | id code of the ListHeaderSegment to be returned. |
| InvalidRequestException | thrown if no segment with the requested ID is attached. |
| DICEGUIListHeaderSegment* DigitalSpaces::DICEGUIListHeader::getSortSegment | ( | ) |
Return the ListHeaderSegment that is marked as being the 'sort key' segment. There must be at least one segment to successfully call this method.
| InvalidRequestException | thrown if no segments are attached to the ListHeader. |
| unsigned int DigitalSpaces::DICEGUIListHeader::getColumnFromSegment | ( | DICEGUIListHeaderSegment * | segment | ) |
Return the zero based column index of the specified segment.
| segment | ListHeaderSegment whos zero based index is to be returned. |
| InvalidRequestException | thrown if segment is not attached to this ListHeader. |
| unsigned int DigitalSpaces::DICEGUIListHeader::getColumnFromID | ( | unsigned int | id | ) |
Return the zero based column index of the segment with the specified ID.
| id | ID code of the segment whos column index is to be returned. |
| InvalidRequestException | thrown if no attached segment has the requested ID. |
| unsigned int DigitalSpaces::DICEGUIListHeader::getSortColumn | ( | ) |
Return the zero based index of the current sort column. There must be at least one segment/column to successfully call this method.
| InvalidRequestException | thrown if there are no segments / columns in this ListHeader. |
| unsigned int DigitalSpaces::DICEGUIListHeader::getColumnWithText | ( | const char * | text | ) |
Return the zero based column index of the segment with the specified text.
| text | String object containing the text to be searched for. |
| InvalidRequestException | thrown if no attached segments have the requested text. |
| float DigitalSpaces::DICEGUIListHeader::getPixelOffsetToSegment | ( | DICEGUIListHeaderSegment * | segment | ) |
Return the pixel offset to the given ListHeaderSegment.
| segment | ListHeaderSegment object that the offset to is to be returned. |
| InvalidRequestException | thrown if segment is not attached to the ListHeader. |
| float DigitalSpaces::DICEGUIListHeader::getPixelOffsetToColumn | ( | unsigned int | column | ) |
Return the pixel offset to the ListHeaderSegment at the given zero based column index.
| column | Zero based column index of the ListHeaderSegment whos pixel offset it to be returned. |
| InvalidRequestException | thrown if column is out of range. |
| float DigitalSpaces::DICEGUIListHeader::getTotalSegmentsPixelExtent | ( | ) |
Return the total pixel width of all attached segments.
| void DigitalSpaces::DICEGUIListHeader::getColumnWidth | ( | unsigned int | column, | |
| out_Pairf * | width | |||
| ) |
Return the width of the specified column.
| column | Zero based column index of the segment whose width is to be returned. |
| InvalidRequestException | thrown if column is out of range. |
| CEGUIListHeaderSegmentSortDirection DigitalSpaces::DICEGUIListHeader::getSortDirection | ( | ) |
Return the currently set sort direction.
| bool DigitalSpaces::DICEGUIListHeader::isSortingEnabled | ( | ) |
Return whether user manipulation of the sort column & direction are enabled.
| bool DigitalSpaces::DICEGUIListHeader::isColumnSizingEnabled | ( | ) |
Return whether the user may size column segments.
| bool DigitalSpaces::DICEGUIListHeader::isColumnDraggingEnabled | ( | ) |
Return whether the user may modify the order of the segments.
| float DigitalSpaces::DICEGUIListHeader::getSegmentOffset | ( | ) |
Return the current segment offset value. This value is used to implement scrolling of the header segments within the ListHeader area.
| void DigitalSpaces::DICEGUIListHeader::setSortingEnabled | ( | bool | setting | ) |
Set whether user manipulation of the sort column and direction is enabled.
| setting |
|
| void DigitalSpaces::DICEGUIListHeader::setSortDirection | ( | CEGUIListHeaderSegmentSortDirection | direction | ) |
Set the current sort direction.
| direction | One of the ListHeaderSegment::SortDirection enumerated values indicating the sort direction to be used. |
| void DigitalSpaces::DICEGUIListHeader::setSortSegment | ( | DICEGUIListHeaderSegment * | segment | ) |
Set the column segment to be used as the sort column.
| segment | ListHeaderSegment object indicating the column to be sorted. |
| InvalidRequestException | thrown if segment is not attached to this ListHeader. |
| void DigitalSpaces::DICEGUIListHeader::setSortColumn | ( | unsigned int | column | ) |
Set the column to be used as the sort column.
| column | Zero based column index indicating the column to be sorted. |
| InvalidRequestException | thrown if column is out of range for this ListHeader. |
| void DigitalSpaces::DICEGUIListHeader::setSortColumnFromID | ( | unsigned int | id | ) |
Set the column to to be used for sorting via its ID code.
| id | ID code of the column segment that is to be used as the sort column. |
| InvalidRequestException | thrown if no segment with ID id is attached to the ListHeader. |
| void DigitalSpaces::DICEGUIListHeader::setColumnSizingEnabled | ( | bool | setting | ) |
Set whether columns may be sized by the user.
| setting |
|
| void DigitalSpaces::DICEGUIListHeader::setColumnDraggingEnabled | ( | bool | setting | ) |
Set whether columns may be reordered by the user via drag and drop.
| setting |
|
| void DigitalSpaces::DICEGUIListHeader::addColumn | ( | const char * | text, | |
| unsigned int | id, | |||
| in_Pairf * | width | |||
| ) |
Add a new column segment to the end of the header.
| text | String object holding the initial text for the new segment | |
| id | Client specified ID code to be assigned to the new segment. | |
| width | UDim describing the initial width of the new segment. |
| void DigitalSpaces::DICEGUIListHeader::insertColumn | ( | const char * | text, | |
| unsigned int | id, | |||
| in_Pairf * | width, | |||
| unsigned int | position | |||
| ) |
Insert a new column segment at the specified position.
| text | String object holding the initial text for the new segment | |
| id | Client specified ID code to be assigned to the new segment. | |
| width | UDim describing the initial width of the new segment. | |
| position | Zero based column index indicating the desired position for the new column. If this is greater than the current number of columns, the new segment is added to the end if the header. |
| void DigitalSpaces::DICEGUIListHeader::insertColumn | ( | const char * | text, | |
| unsigned int | id, | |||
| in_Pairf * | width, | |||
| DICEGUIListHeaderSegment * | position | |||
| ) |
Insert a new column segment at the specified position.
| text | String object holding the initial text for the new segment | |
| id | Client specified ID code to be assigned to the new segment. | |
| width | UDim describing the initial width of the new segment. | |
| position | ListHeaderSegment object indicating the insert position for the new segment. The new segment will be inserted before the segment indicated by position. |
| InvalidRequestException | thrown if ListHeaderSegment position is not attached to the ListHeader. |
| void DigitalSpaces::DICEGUIListHeader::removeColumn | ( | unsigned int | column | ) |
Removes a column segment from the ListHeader.
| column | Zero based column index indicating the segment to be removed. |
| InvalidRequestException | thrown if column is out of range. |
| void DigitalSpaces::DICEGUIListHeader::removeSegment | ( | DICEGUIListHeaderSegment * | segment | ) |
Remove the specified segment from the ListHeader.
| segment | ListHeaderSegment object that is to be removed from the ListHeader. |
| InvalidRequestException | thrown if segment is not attached to this ListHeader. |
| void DigitalSpaces::DICEGUIListHeader::moveColumn | ( | unsigned int | column, | |
| unsigned int | position | |||
| ) |
Moves a column segment into a new position.
| column | Zero based column index indicating the column segment to be moved. | |
| position | Zero based column index indicating the new position for the segment. If this is greater than the current number of segments, the segment is moved to the end of the header. |
| InvalidRequestException | thrown if column is out of range for this ListHeader. |
| void DigitalSpaces::DICEGUIListHeader::moveColumn | ( | unsigned int | column, | |
| DICEGUIListHeaderSegment * | position | |||
| ) |
Move a column segment to a new position.
| column | Zero based column index indicating the column segment to be moved. | |
| position | ListHeaderSegment object indicating the new position for the segment. The segment at column will be moved behind segment position (that is, segment column will appear to the right of segment position). |
| InvalidRequestException | thrown if column is out of range for this ListHeader, or if position is not attached to this ListHeader. |
| void DigitalSpaces::DICEGUIListHeader::moveSegment | ( | DICEGUIListHeaderSegment * | segment, | |
| unsigned int | position | |||
| ) |
Moves a segment into a new position.
| segment | ListHeaderSegment object that is to be moved. | |
| position | Zero based column index indicating the new position for the segment. If this is greater than the current number of segments, the segment is moved to the end of the header. |
| InvalidRequestException | thrown if segment is not attached to this ListHeader. |
| void DigitalSpaces::DICEGUIListHeader::moveSegment | ( | DICEGUIListHeaderSegment * | segment, | |
| DICEGUIListHeaderSegment * | position | |||
| ) |
Move a segment to a new position.
| segment | ListHeaderSegment object that is to be moved. | |
| position | ListHeaderSegment object indicating the new position for the segment. The segment segment will be moved behind segment position (that is, segment segment will appear to the right of segment position). |
| InvalidRequestException | thrown if either segment or position are not attached to this ListHeader. |
| void DigitalSpaces::DICEGUIListHeader::setSegmentOffset | ( | float | offset | ) |
Set the current base segment offset. (This implements scrolling of the header segments within the header area).
| offset | New base offset for the first segment. The segments will of offset to the left by the amount specified. offset should be specified using the active metrics system for the ListHeader. |
| void DigitalSpaces::DICEGUIListHeader::setColumnWidth | ( | unsigned int | column, | |
| in_Pairf * | width | |||
| ) |
Set the width of the specified column.
| column | Zero based column index of the segment whose width is to be set. | |
| width | UDim value specifying the new width to set for the ListHeaderSegment at the zero based column index specified by column. |
| InvalidRequestException | thrown if column is out of range. |
1.5.6