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: 41137 $ ($Author: gjoseph $)
Author:
Philipp Bracher

Method Summary
 void addChild(Control control)
           
 Control getChild(java.lang.String name)
           
 java.lang.String getName()
           
 Control getParent()
           
 RenderKit getRenderKit()
           
 java.lang.String getRenderType()
           
 java.lang.String render()
           
 void setName(java.lang.String name)
           
 void setParent(Control parent)
           
 void setRenderKit(RenderKit renderKit)
           
 void setRenderType(java.lang.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(java.lang.String name)

getName

java.lang.String getName()
Returns:
Returns the name.

setName

void setName(java.lang.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

java.lang.String render()

getRenderType

java.lang.String getRenderType()
Returns:
Returns the renderType.

setRenderType

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


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