scala.swing

object Component

[source: scala/swing/Component.scala]

object Component
extends AnyRef
Method Summary
def wrap (c : javax.swing.JComponent) : Component
Wraps a given Java Swing Component into a new wrapper.
protected[swing] def wrapperFor [C <: Component](c : javax.swing.JComponent) : C
Returns the wrapper for a given peer, null if there is no wrapper for the given component.
Methods inherited from AnyRef
getClass, hashCode, equals, clone, toString, notify, notifyAll, wait, wait, wait, finalize, ==, !=, eq, ne, synchronized
Methods inherited from Any
==, !=, isInstanceOf, asInstanceOf
Method Details
protected[swing] def wrapperFor[C <: Component](c : javax.swing.JComponent) : C
Returns the wrapper for a given peer, null if there is no wrapper for the given component.

def wrap(c : javax.swing.JComponent) : Component
Wraps a given Java Swing Component into a new wrapper.