diff options
-rw-r--r-- | src/swing/scala/swing/ListView.scala | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/swing/scala/swing/ListView.scala b/src/swing/scala/swing/ListView.scala index c5a50752ea..9525efefa1 100644 --- a/src/swing/scala/swing/ListView.scala +++ b/src/swing/scala/swing/ListView.scala @@ -239,6 +239,11 @@ class ListView[A] extends Component { def prototypeCellValue: A = peer.getPrototypeCellValue.asInstanceOf[A] def prototypeCellValue_=(a: A) { peer.setPrototypeCellValue(a) } + def visibleRowCount = peer.getVisibleRowCount + def visibleRowCount_=(n: Int) = peer.setVisibleRowCount(n) + + def ensureIndexIsVisible(idx: Int) = peer.ensureIndexIsVisible(idx) + def selectionForeground: Color = peer.getSelectionForeground def selectionForeground_=(c: Color) = peer.setSelectionForeground(c) def selectionBackground: Color = peer.getSelectionBackground |