net.sf.doolin.gui.field
Class FieldSeparator<V>

java.lang.Object
  extended by net.sf.doolin.bus.bean.Bean
      extended by net.sf.doolin.gui.field.AbstractFieldDescriptor<V>
          extended by net.sf.doolin.gui.field.FieldSeparator<V>
Type Parameters:
V - Type of data for the view
All Implemented Interfaces:
Serializable, IBean, FieldDescriptor<V>

public class FieldSeparator<V>
extends AbstractFieldDescriptor<V>

Descriptor for a separator.

Author:
Damien Coraboeuf
See Also:
Serialized Form

Constructor Summary
FieldSeparator()
           
 
Method Summary
 Field<V> createField(GUIView<V> view)
          Creates a field.
 String getAlignment()
          Gets the alignment.
 com.jgoodies.forms.factories.ComponentFactory getComponentFactory()
          Gets the component factory.
 String getTitleExpression()
          Gets the title expression.
 void setAlignment(String alignment)
          Alignment of the title in the separator
 void setComponentFactory(com.jgoodies.forms.factories.ComponentFactory componentFactory)
          Factory for the components
 void setTitleExpression(String titleExpression)
          Expression for the title
 
Methods inherited from class net.sf.doolin.gui.field.AbstractFieldDescriptor
getActionFactory, getConstraint, getDisplayStateHandler, getIconService, getName, getStyle, getTransferHandler, onInit, onShow, setActionFactory, setConstraint, setDisplayState, setDisplayStateHandler, setIconService, setName, setStyle, setTransferHandler
 
Methods inherited from class net.sf.doolin.bus.bean.Bean
getBeanNotificationSupport, getParentBean, notify, setParentBean
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FieldSeparator

public FieldSeparator()
Method Detail

createField

public Field<V> createField(GUIView<V> view)
Description copied from interface: FieldDescriptor
Creates a field.

Parameters:
view - Owning view
Returns:
Created field

getAlignment

public String getAlignment()
Gets the alignment.

Returns:
the alignment

getComponentFactory

public com.jgoodies.forms.factories.ComponentFactory getComponentFactory()
Gets the component factory.

Returns:
the component factory

getTitleExpression

public String getTitleExpression()
Gets the title expression.

Returns:
the title expression

setAlignment

public void setAlignment(String alignment)
Alignment of the title in the separator

Parameters:
alignment - the new alignment

setComponentFactory

public void setComponentFactory(com.jgoodies.forms.factories.ComponentFactory componentFactory)
Factory for the components

Parameters:
componentFactory - the new component factory

setTitleExpression

public void setTitleExpression(String titleExpression)
Expression for the title

Parameters:
titleExpression - the new title expression


Copyright © 2011. All Rights Reserved.