info.magnolia.cms.gui.controlx
Interface Control

All Known Implementing Classes:
AbstractControl, DateSearchControl, ListColumn, ListControl, SearchControl

public interface Control

A general control to build a component tree. A control has a render type to tell the RenderKit how this control should get rendered.

Version:
$Revision: 32667 $ ($Author: gjoseph $)
Author:
Philipp Bracher

Method Summary
 void addChild(Control control)
           
 Control getChild(String name)
           
 String getName()
           
 Control getParent()
           
 RenderKit getRenderKit()
           
 String getRenderType()
           
 String render()
           
 void setName(String name)
           
 void setParent(Control parent)
           
 void setRenderKit(RenderKit renderKit)
           
 void setRenderType(String renderType)
           
 

Method Detail

getParent

Control getParent()
Returns:
Returns the parent.

setParent

void setParent(Control parent)
Parameters:
parent - The parent to set.

addChild

void addChild(Control control)

getChild

Control getChild(String name)

getName

String getName()
Returns:
Returns the name.

setName

void setName(String name)
Parameters:
name - The name to set.

getRenderKit

RenderKit getRenderKit()
Returns:
Returns the renderKit.

setRenderKit

void setRenderKit(RenderKit renderKit)
Parameters:
renderKit - The renderKit to set.

render

String render()

getRenderType

String getRenderType()
Returns:
Returns the renderType.

setRenderType

void setRenderType(String renderType)
Parameters:
renderType - The renderType to set.


Copyright © 2003-2010 Magnolia International Ltd.. All Rights Reserved.