| org.netbeans.modules.xml.xam.ui.column.ColumnView
All known Subclasses: org.netbeans.modules.xml.wsdl.ui.netbeans.module.WSDLColumnsView, org.netbeans.modules.xml.schema.ui.basic.SchemaColumnsView, org.netbeans.modules.xml.xam.ui.column.BasicColumnView,
ColumnView | public interface ColumnView (Code) | | A ColumnView contains one or more Column instances, and manages their
display in terms of providing a scrollable view.
author: Nathan Fiedler |
appendColumn | void appendColumn(Column column)(Code) | | Appends the given column to the end of the column list.
Parameters: column - Column to be added to view. |
appendColumns | void appendColumns(Column[] columns)(Code) | | Appends the array of columns to the end of the column list.
Any scrolling will be done once, making the last column visible.
Parameters: columns - array of columns to be added to view. |
clearColumns | void clearColumns()(Code) | | Remove all of the columns from the view.
|
getColumnCount | int getColumnCount()(Code) | | Returns the number of columns contained in this view.
column count. |
getColumnIndex | int getColumnIndex(Column column)(Code) | | Get the index into the list for the given column.
Parameters: column - Column to locate in view. index of the column, or -1 if not found. |
getFirstColumn | Column getFirstColumn()(Code) | | Retrieves the first column in the view.
first Column, or null if no columns exist. |
getNextColumn | Column getNextColumn(Column column)(Code) | | Retrieves the column following the one given.
Parameters: column - Column for which to find sibling. next Column, or null if none. |
removeColumnsAfter | void removeColumnsAfter(Column column)(Code) | | Removes the columns after the one given.
Parameters: column - Column that will be the new right-most column. |
scrollToColumn | void scrollToColumn(Column column, boolean synchronous)(Code) | | Scrolls the viewport to make the specified column visible. If the
synchronous parameter is false, this method will return before the
viewport has finished scrolling. If the synchronous parameter is
true, this method will scroll the viewport on the event thread
(if the invoking thread is not the event thread, this method will
block on the event thread until the scrolling is complete).
Parameters: column - Column to make visible. Parameters: synchronous - true to scroll now, on event thread, false toscroll some time later, on event thread. |
|
|