org.tbee.swing.connector
Class ConnectorFactory

java.lang.Object
  extended by org.tbee.swing.connector.ConnectorFactory

public class ConnectorFactory
extends java.lang.Object

Version:
$Revision: 1.6 $

Field Summary
static java.lang.String SOURCECODE_VERSION
          Standard variable for determining version of a class file.
 
Constructor Summary
ConnectorFactory()
           
 
Method Summary
 Connector connect(java.awt.Component component, java.lang.Object model)
          create a connector
 Connector connect(java.awt.Component component, java.lang.String name, java.lang.Object model)
          create a connector
static ConnectorFactory getInstance()
          return the factory
static void main(java.lang.String[] args)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

SOURCECODE_VERSION

public static final java.lang.String SOURCECODE_VERSION
Standard variable for determining version of a class file.

See Also:
Constant Field Values
Constructor Detail

ConnectorFactory

public ConnectorFactory()
Method Detail

getInstance

public static ConnectorFactory getInstance()
return the factory

Returns:
ConnectorFactory

connect

public Connector connect(java.awt.Component component,
                         java.lang.Object model)
create a connector

Parameters:
component - the component to connect
model - the model that contains the value of the component
Returns:
a swing connector

connect

public Connector connect(java.awt.Component component,
                         java.lang.String name,
                         java.lang.Object model)
create a connector

Parameters:
component - the component to connect
name - the name of the component and the property
model - the model that contains the value of the component
Returns:
a swing connector

main

public static void main(java.lang.String[] args)


Copyright © 2010. All Rights Reserved.