Package snap.view

Class BrowserCol<T>

All Implemented Interfaces:
PropChange.DoChange, Selectable<T>, XMLArchiver.Archivable

public class BrowserCol<T> extends ListView<T>
A ListView subclass to act as a BrowserView column.
  • Field Details

    • _index

      protected int _index
  • Constructor Details

    • BrowserCol

      public BrowserCol(BrowserView<T> aBrsr)
      Creates new BrowserCol for given BrowserView.
  • Method Details

    • getBrowser

      public BrowserView<T> getBrowser()
      Returns the browser.
    • getIndex

      public int getIndex()
      Returns the column index.
    • listAreaMouseReleased

      protected void listAreaMouseReleased()
      Called before ListArea.MousePress.
    • fireActionEvent

      protected void fireActionEvent(ViewEvent anEvent)
      Override to suppress ListArea and fire Browser.
      Overrides:
      fireActionEvent in class View
    • getPrefWidthImpl

      protected double getPrefWidthImpl(double aH)
      Override to return Browser.PrefColWidth.
      Overrides:
      getPrefWidthImpl in class ListView<T>