org.progeeks.meta.swing
Class MultiColumnPanelUI

java.lang.Object
  extended by org.progeeks.meta.swing.AbstractMetaObjectUI
      extended by org.progeeks.meta.swing.MultiColumnPanelUI
All Implemented Interfaces:
MetaObjectUI, MetaPropertyEditor, MetaPropertyRenderer, MetaPropertyUI

public class MultiColumnPanelUI
extends AbstractMetaObjectUI

A component that uses a multi-column panel to render or edit a specific type of MetaObject.

Version:
$Revision: 1.14 $
Author:
Paul Speed

Constructor Summary
MultiColumnPanelUI()
           
MultiColumnPanelUI(MetaForm form)
           
 
Method Summary
 void flushEdits()
          Causes any edits in progress to be flushed to the mutator if possible.
 void initializeView(MetaPropertyContext viewContext)
          Initializes this MetaPropertyUI as a participant in the specified MetaPropertyContext's hierarchy.
protected  void setComponentObject(java.awt.Component component, MetaObject object)
          Called to set the value currently displayed in the component.
 
Methods inherited from class org.progeeks.meta.swing.AbstractMetaObjectUI
getFactories, getUIComponent, getViewContext, isEditable, isLabeled, isSingleColumn, propertyChanged, release, setComponent, setMetaObject, setObject, setPropertyMutator, terminateView
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MultiColumnPanelUI

public MultiColumnPanelUI()

MultiColumnPanelUI

public MultiColumnPanelUI(MetaForm form)
Method Detail

initializeView

public void initializeView(MetaPropertyContext viewContext)
Description copied from class: AbstractMetaObjectUI
Initializes this MetaPropertyUI as a participant in the specified MetaPropertyContext's hierarchy. The default implementation just sets the internal MetaPropertyContext reference. Subclasses should rememeber to call the super.initializeView() method.

Specified by:
initializeView in interface MetaObjectUI
Specified by:
initializeView in interface MetaPropertyUI
Overrides:
initializeView in class AbstractMetaObjectUI

setComponentObject

protected void setComponentObject(java.awt.Component component,
                                  MetaObject object)
Called to set the value currently displayed in the component.

Specified by:
setComponentObject in class AbstractMetaObjectUI

flushEdits

public void flushEdits()
Causes any edits in progress to be flushed to the mutator if possible.

Specified by:
flushEdits in interface MetaPropertyEditor
Overrides:
flushEdits in class AbstractMetaObjectUI


Copyright © 2002-2003 Paul Speed. All Rights Reserved.