All Packages  Class Hierarchy  This Package  Previous  Next  Index

Interface jclass.bwt.JCMultiColumnInterface

public interface JCMultiColumnInterface
An interface which defines the API for components which have a multiple-column behavior.

See Also:
JCOutliner, JCMultiColumnList, JCMultiColumnWindow

Method Index

 o calcWidth(int)
Calculates the width of a column.
 o getColumnAlignment(int)
Gets a column's alignment (default: BWTEnum.MIDDLELEFT).
 o getColumnAlignments()
Gets the column alignments.
 o getColumnLeftMargin(int)
Gets the column's left margin value (pixels).
 o getColumnPosition(int)
Gets the physical position of the left boundary of the column (accounting for horizontal scrolling).
 o getColumnRightMargin(int)
Gets the column's right margin value (pixels).
 o getColumnWidth(int)
Gets the current width of a column, or 0 if the column does not exist.
 o getColumnWidths()
Gets a list of column widths.
 o getMultiColumnData()
Gets the component's JCMultiColumnData instance.
 o getNumColumns()
Gets the current number of columns.
 o setColumnAlignment(int, int)
Sets a column's alignment.
 o setColumnAlignments(int[])
Sets the column's alignments.
 o setColumnButtons(JCVector)
Sets a header for the window with buttons created from the specified labels.
 o setColumnLabels(JCVector)
Sets a header for the window with the specified labels.
 o setColumnLeftMargin(int, int)
Sets the column's left margin value (pixels).
 o setColumnRightMargin(int, int)
Sets the column's right margin value (pixels).
 o setColumnWidth(int, int)
Sets the width of a column.
 o setColumnWidths(int[])
Sets the list of column widths.
 o setNumColumns(int)
Sets the current number of columns.

Methods

 o setColumnLabels
  public abstract void setColumnLabels(JCVector labels)
Sets a header for the window with the specified labels.

 o setColumnButtons
  public abstract void setColumnButtons(JCVector labels)
Sets a header for the window with buttons created from the specified labels.

 o getColumnWidths
  public abstract int[] getColumnWidths()
Gets a list of column widths.

 o setColumnWidths
  public abstract void setColumnWidths(int widths[])
Sets the list of column widths. If a column's value is set to BWTEnum.VARIABLE, the width is set to the widest value in the column.

 o getColumnWidth
  public abstract int getColumnWidth(int col)
Gets the current width of a column, or 0 if the column does not exist.

 o getColumnPosition
  public abstract int getColumnPosition(int col)
Gets the physical position of the left boundary of the column (accounting for horizontal scrolling).

 o setColumnWidth
  public abstract void setColumnWidth(int col,
                                      int width)
Sets the width of a column. If the value is set to BWTEnum.VARIABLE, the width is set to the widest value in the column.

 o getNumColumns
  public abstract int getNumColumns()
Gets the current number of columns.

 o setNumColumns
  public abstract void setNumColumns(int v)
Sets the current number of columns.

 o getColumnLeftMargin
  public abstract int getColumnLeftMargin(int col)
Gets the column's left margin value (pixels).

 o setColumnLeftMargin
  public abstract void setColumnLeftMargin(int col,
                                           int value)
Sets the column's left margin value (pixels).

 o getColumnRightMargin
  public abstract int getColumnRightMargin(int col)
Gets the column's right margin value (pixels).

 o setColumnRightMargin
  public abstract void setColumnRightMargin(int col,
                                            int value)
Sets the column's right margin value (pixels).

 o getColumnAlignments
  public abstract int[] getColumnAlignments()
Gets the column alignments.

 o getColumnAlignment
  public abstract int getColumnAlignment(int col)
Gets a column's alignment (default: BWTEnum.MIDDLELEFT).

 o setColumnAlignment
  public abstract void setColumnAlignment(int col,
                                          int align)
Sets a column's alignment.

Parameters:
alignment - one of: BWTEnum.TOPLEFT, TOPCENTER, TOPRIGHT, MIDDLELEFT, MIDDLECENTER, MIDDLERIGHT, BOTTOMLEFT, BOTTOMCENTER and BOTTOMRIGHT
 o setColumnAlignments
  public abstract void setColumnAlignments(int align[])
Sets the column's alignments.

Parameters:
align - one of: BWTEnum.TOPLEFT, TOPCENTER, TOPRIGHT, MIDDLELEFT, MIDDLECENTER, MIDDLERIGHT, BOTTOMLEFT, BOTTOMCENTER and BOTTOMRIGHT
 o calcWidth
  public abstract int calcWidth(int col)
Calculates the width of a column.

 o getMultiColumnData
  public abstract JCMultiColumnData getMultiColumnData()
Gets the component's JCMultiColumnData instance.


All Packages  Class Hierarchy  This Package  Previous  Next  Index