com.guiseframework.component
Class Table.CellComponentState

java.lang.Object
  extended by com.guiseframework.component.AbstractCompositeStateComponent.ComponentState
      extended by com.guiseframework.component.Table.CellComponentState
Enclosing class:
Table

protected static class Table.CellComponentState
extends AbstractCompositeStateComponent.ComponentState

An encapsulation of a component for a cell along with other metadata, such as whether the component was editable when created.

Author:
Garret Wilson

Constructor Summary
Table.CellComponentState(Component component, boolean editable)
          Constructor
 
Method Summary
 boolean isEditable()
           
 
Methods inherited from class com.guiseframework.component.AbstractCompositeStateComponent.ComponentState
getComponent
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Table.CellComponentState

public Table.CellComponentState(Component component,
                                boolean editable)
Constructor

Parameters:
component - The component for a cell.
editable - Whether the component is for a cell that was editable when the component was created.
Throws:
java.lang.NullPointerException - if the given component is null.
Method Detail

isEditable

public boolean isEditable()
Returns:
Whether the component is for a cell that was editable when the component was created.


Copyright © 2005-2010 GlobalMentor, Inc. All Rights Reserved.