org.openmdx.portal.servlet.control
Class GridControl

java.lang.Object
  extended by org.openmdx.portal.servlet.control.Control
      extended by org.openmdx.portal.servlet.control.GridControl
All Implemented Interfaces:
Serializable

public class GridControl
extends Control
implements Serializable

See Also:
Serialized Form

Field Summary
static String PROPERTY_DEFAULT_FILTER
           
static String PROPERTY_PAGE_SIZE
           
 
Fields inherited from class org.openmdx.portal.servlet.control.Control
controlFactory, id, locale, localeAsIndex
 
Constructor Summary
GridControl(String id, String locale, int localeAsIndex, ControlFactory controlFactory, ObjectContainer objectContainer, AttributeValueFactory valueFactory, String containerClass, int paneIndex)
           
 
Method Summary
 Action[] getColumnFilterAddActions()
           
 Action[] getColumnFilterSetActions()
           
 int[] getColumnTypes()
           
 String getContainerClass()
           
 String getContainerId()
           
 Map getInitialColumnSortOrders()
           
 ObjectContainer getObjectContainer()
           
 int getPaneIndex()
           
 String getQualifiedReferenceName()
           
 int getShowMaxMember()
           
static boolean getShowRowSelectors(String lookupType, org.openmdx.model1.accessor.basic.cci.ModelElement_1_0 referencedType, org.openmdx.model1.accessor.basic.cci.Model_1_0 model)
           
 boolean inPlaceEditable()
           
 void paint(HtmlPage p, String frame, boolean forEditing)
           
 
Methods inherited from class org.openmdx.portal.servlet.control.Control
getControlFactory, getCurrentLocale, getId, getPropertyName, getTexts, paint, setId
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

PROPERTY_DEFAULT_FILTER

public static final String PROPERTY_DEFAULT_FILTER
See Also:
Constant Field Values

PROPERTY_PAGE_SIZE

public static final String PROPERTY_PAGE_SIZE
See Also:
Constant Field Values
Constructor Detail

GridControl

public GridControl(String id,
                   String locale,
                   int localeAsIndex,
                   ControlFactory controlFactory,
                   ObjectContainer objectContainer,
                   AttributeValueFactory valueFactory,
                   String containerClass,
                   int paneIndex)
Method Detail

getShowRowSelectors

public static boolean getShowRowSelectors(String lookupType,
                                          org.openmdx.model1.accessor.basic.cci.ModelElement_1_0 referencedType,
                                          org.openmdx.model1.accessor.basic.cci.Model_1_0 model)

getColumnFilterAddActions

public Action[] getColumnFilterAddActions()
Returns:
Returns the columnFilterAddActions.

getColumnFilterSetActions

public Action[] getColumnFilterSetActions()
Returns:
Returns the columnFilterSetActions.

getInitialColumnSortOrders

public Map getInitialColumnSortOrders()
Returns:
Returns the initialColumnSortOrders

getColumnTypes

public int[] getColumnTypes()
Returns:
Returns the columnTypes.

getObjectContainer

public ObjectContainer getObjectContainer()
Returns:
Returns the objectContainer.

getPaneIndex

public int getPaneIndex()
Returns:
Returns the paneIndex.

inPlaceEditable

public boolean inPlaceEditable()
Returns:
Returns true if grid supports in place editing.

getShowMaxMember

public int getShowMaxMember()

getQualifiedReferenceName

public String getQualifiedReferenceName()

getContainerClass

public String getContainerClass()

getContainerId

public String getContainerId()

paint

public void paint(HtmlPage p,
                  String frame,
                  boolean forEditing)
           throws org.openmdx.base.exception.ServiceException
Specified by:
paint in class Control
Throws:
org.openmdx.base.exception.ServiceException


This software is published under the BSD license. Copyright © 2006-2007, OMEX AG, Switzerland, All rights reserved. Use is subject to license terms.