com.miginfocom.calendar.layout
Class ActivityLayoutEditor

java.lang.Object
  extended by java.beans.PropertyEditorSupport
      extended by com.miginfocom.themeeditor.editors.AbstractPropertyEditor
          extended by com.miginfocom.calendar.layout.ActivityLayoutEditor
All Implemented Interfaces:
com.miginfocom.themeeditor.PropertyEditorFactory, java.beans.PropertyEditor

public class ActivityLayoutEditor
extends com.miginfocom.themeeditor.editors.AbstractPropertyEditor

A bean editor that handles all types of ActivityLayout objects. It uses more specific editors, such as TimeBoundsLayoutEditor to do the actual editing.


Constructor Summary
ActivityLayoutEditor()
           
 
Method Summary
protected  com.miginfocom.themeeditor.editors.AbstractEditorComponent createEditorComponent()
          Constructs the editor component.
 java.lang.String getJavaInitializationString()
           
 boolean isPaintable()
           
 void paintValue(java.awt.Graphics g, java.awt.Rectangle rect)
           
 
Methods inherited from class com.miginfocom.themeeditor.editors.AbstractPropertyEditor
commitFromComponent, getAsText, getCustomEditor, getEditorInstance, getFriendlyName, getPropertyCapabilities, getTags, isNullable, setAsText, setNullable, setPropertyCapabilities, setValue, supportsCustomEditor, toString, transferValueToComponent
 
Methods inherited from class java.beans.PropertyEditorSupport
addPropertyChangeListener, firePropertyChange, getSource, getValue, removePropertyChangeListener, setSource
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ActivityLayoutEditor

public ActivityLayoutEditor()
Method Detail

createEditorComponent

protected com.miginfocom.themeeditor.editors.AbstractEditorComponent createEditorComponent()
Description copied from class: com.miginfocom.themeeditor.editors.AbstractPropertyEditor
Constructs the editor component.

Specified by:
createEditorComponent in class com.miginfocom.themeeditor.editors.AbstractPropertyEditor
Returns:
The editor component.

getJavaInitializationString

public java.lang.String getJavaInitializationString()
Specified by:
getJavaInitializationString in interface java.beans.PropertyEditor
Overrides:
getJavaInitializationString in class com.miginfocom.themeeditor.editors.AbstractPropertyEditor

paintValue

public void paintValue(java.awt.Graphics g,
                       java.awt.Rectangle rect)
Specified by:
paintValue in interface java.beans.PropertyEditor
Overrides:
paintValue in class java.beans.PropertyEditorSupport

isPaintable

public boolean isPaintable()
Specified by:
isPaintable in interface java.beans.PropertyEditor
Overrides:
isPaintable in class java.beans.PropertyEditorSupport


Copyright © 2009 MiG InfoCom AB. All Rights Reserved.