org.tbee.swing.connector
Class ConnectorFactory

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

public class ConnectorFactory
extends Object

Version:
$Revision: 1.6 $

Field Summary
static String SOURCECODE_VERSION
          Standard variable for determining version of a class file.
 
Constructor Summary
ConnectorFactory()
           
 
Method Summary
 Connector connect(Component component, Object model)
          create a connector
 Connector connect(Component component, String name, Object model)
          create a connector
static ConnectorFactory getInstance()
          return the factory
static void main(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 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(Component component,
                         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(Component component,
                         String name,
                         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(String[] args)


Copyright © 2011 KnowledgePlaza. All Rights Reserved.