org.openmdx.portal.servlet.control
Class Control

java.lang.Object
  extended by org.openmdx.portal.servlet.control.Control
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
CalendarControl, ContainerControl, FieldGroupControl, GridControl, InspectorControl, ObjectTitleControl, PageEpilogControl, PagePrologControl, PaneControl, ReportControl, RootObjectControl, SessionInfoControl, ShowErrorsControl, TabControl, WizardControl

public abstract class Control
extends Object
implements Serializable

See Also:
Serialized Form

Field Summary
protected  ControlFactory controlFactory
           
protected  String id
           
protected  String locale
           
protected  int localeAsIndex
           
 
Constructor Summary
Control(String id, String locale, int localeAsIndex, ControlFactory controlFactory)
           
 
Method Summary
 ControlFactory getControlFactory()
           
protected  Locale getCurrentLocale()
           
 String getId()
           
 String getPropertyName(String featureName, String type)
           
 Texts_1_0 getTexts()
           
 void paint(HtmlPage p, boolean forEditing)
           
abstract  void paint(HtmlPage p, String frame, boolean forEditing)
           
 void setId(String id)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

id

protected String id

locale

protected String locale

localeAsIndex

protected int localeAsIndex

controlFactory

protected final ControlFactory controlFactory
Constructor Detail

Control

public Control(String id,
               String locale,
               int localeAsIndex,
               ControlFactory controlFactory)
Method Detail

getCurrentLocale

protected Locale getCurrentLocale()

setId

public void setId(String id)

getId

public String getId()

getPropertyName

public String getPropertyName(String featureName,
                              String type)

getTexts

public Texts_1_0 getTexts()

paint

public abstract void paint(HtmlPage p,
                           String frame,
                           boolean forEditing)
                    throws org.openmdx.base.exception.ServiceException
Throws:
org.openmdx.base.exception.ServiceException

paint

public void paint(HtmlPage p,
                  boolean forEditing)
           throws org.openmdx.base.exception.ServiceException
Throws:
org.openmdx.base.exception.ServiceException

getControlFactory

public ControlFactory getControlFactory()


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