org.yablona.lib.view.swing.factories
Class EmptyBorderComponentFactory

java.lang.Object
  extended byorg.yablona.lib.view.swing.factories.AbstractComponentFactory
      extended byorg.yablona.lib.view.swing.factories.AbstractContainerFactory
          extended byorg.yablona.lib.view.swing.factories.EmptyBorderComponentFactory
All Implemented Interfaces:
ComponentFactory, ComponentValueSetterGetter

public class EmptyBorderComponentFactory
extends AbstractContainerFactory

Creates a panel with an empty border

Author:
Peter

Field Summary
static java.lang.String ATTR_BOTTOM
           
static java.lang.String ATTR_LEFT
           
static java.lang.String ATTR_NAME
           
static java.lang.String ATTR_RIGHT
           
static java.lang.String ATTR_TOP
           
static java.lang.String NAME
           
 
Fields inherited from class org.yablona.lib.view.swing.factories.AbstractComponentFactory
 
Constructor Summary
EmptyBorderComponentFactory(Industry industry)
           
 
Method Summary
 java.lang.Object create(java.lang.Object parentComponent, Context context, org.jdom.Element jDomElement)
          Creates the component based on the jDomElement defintion
 java.lang.Object getValue(java.lang.Object component)
          Returns the component's value
 void setValue(java.lang.Object component, java.lang.Object value)
          Sets the component's value
 
Methods inherited from class org.yablona.lib.view.swing.factories.AbstractComponentFactory
checkElementName, getIndustry, getInt, getName, isNotEmpty, nonNullString, setNameAndRegister
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

NAME

public static final java.lang.String NAME
See Also:
Constant Field Values

ATTR_NAME

public static final java.lang.String ATTR_NAME
See Also:
Constant Field Values

ATTR_TOP

public static final java.lang.String ATTR_TOP
See Also:
Constant Field Values

ATTR_LEFT

public static final java.lang.String ATTR_LEFT
See Also:
Constant Field Values

ATTR_BOTTOM

public static final java.lang.String ATTR_BOTTOM
See Also:
Constant Field Values

ATTR_RIGHT

public static final java.lang.String ATTR_RIGHT
See Also:
Constant Field Values
Constructor Detail

EmptyBorderComponentFactory

public EmptyBorderComponentFactory(Industry industry)
Method Detail

create

public java.lang.Object create(java.lang.Object parentComponent,
                               Context context,
                               org.jdom.Element jDomElement)
Description copied from interface: ComponentFactory
Creates the component based on the jDomElement defintion


setValue

public void setValue(java.lang.Object component,
                     java.lang.Object value)
Description copied from interface: ComponentValueSetterGetter
Sets the component's value


getValue

public java.lang.Object getValue(java.lang.Object component)
Description copied from interface: ComponentValueSetterGetter
Returns the component's value