corelib.services.web.components
Class SplitPane

java.lang.Object
  extended by corelib.services.web.components.WebComponent
      extended by corelib.services.web.components.VisualComponent
          extended by corelib.services.web.components.SplitPane

public class SplitPane
extends VisualComponent

Since:
0.3
Author:
Dominique Liard

Nested Class Summary
static class SplitPane.Alignment
          Supported alignments for SplitPane components.
 
Field Summary
 
Fields inherited from class corelib.services.web.components.VisualComponent
cssClass, cssStyle, toolTipText, visible
 
Fields inherited from class corelib.services.web.components.WebComponent
dataBindings, webPage, xmlNode
 
Constructor Summary
SplitPane()
           
 
Method Summary
 void component_load(WebPageEvent event)
          Fired when the web page is fully initialized.
 void component_preRender(WebPageEvent webPageEvent)
           
 void component_renderBegin(WebPageEvent webPageEvent)
           
 void component_renderEnd(WebPageEvent webPageEvent)
           
 SplitPane.Alignment getAlignment()
          Returns the used alignment for this SplitPane component.
 int getDividerPosition()
          Get the size (in pixels) for the first component of the SplitPane.
 void setAlignment(SplitPane.Alignment alignment)
          Fixed the orientation for the displayed components.
 void setDividerPosition(int dividerPosition)
          Set the size (in pixels) for the first component of the SplitPane.
 
Methods inherited from class corelib.services.web.components.VisualComponent
component_postRender, component_renderChildren, component_renderJavascriptLocalisation, encodeAttributeValue, getCssClass, getCssStyle, getOnClickListener, getSharedAttributesHtmlEncoding, getToolTipText, isVisible, renderElement, setCssClass, setCssStyle, setOnClickListener, setToolTipText, setVisible
 
Methods inherited from class corelib.services.web.components.WebComponent
addBindingExpression, addChildComponent, component_init, component_preRepeaterDuplications, getChildComponents, getDataBinding, getElementsByTagName, getId, getWebPage, getXmlNode, setId, setWebPage, setXmlNode
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SplitPane

public SplitPane()
Method Detail

getAlignment

public SplitPane.Alignment getAlignment()
Returns the used alignment for this SplitPane component.

Returns:
The used alignment.

setAlignment

public void setAlignment(SplitPane.Alignment alignment)
Fixed the orientation for the displayed components.

Parameters:
alignment - The two values autorized are HORIZONTAL (SplitPane.Alignment.HORIZONTAL) or VERTICAL (SplitPane.Alignment.VERTICAL).

getDividerPosition

public int getDividerPosition()
Get the size (in pixels) for the first component of the SplitPane.

Returns:
The size exprimed in pixels.

setDividerPosition

public void setDividerPosition(int dividerPosition)
Set the size (in pixels) for the first component of the SplitPane.

Parameters:
dividerPosition - The size, exprimed in pixels. Caution: the value must be positive, otherwise a RuntimeException is thrown.

component_load

public void component_load(WebPageEvent event)
Description copied from class: WebComponent
Fired when the web page is fully initialized.

Overrides:
component_load in class WebComponent
Parameters:
event - Qualify the current web page event.

component_preRender

public void component_preRender(WebPageEvent webPageEvent)
Overrides:
component_preRender in class VisualComponent

component_renderBegin

public void component_renderBegin(WebPageEvent webPageEvent)
Overrides:
component_renderBegin in class VisualComponent

component_renderEnd

public void component_renderEnd(WebPageEvent webPageEvent)
Overrides:
component_renderEnd in class VisualComponent


CAUTION: Ellipse is proposed to you in BETA version to allow evaluation of this framework. Infini Software is released from any responsibility for the use of Ellipse Framework.

Copyright 2012 Infini Software - All Rights Reserved.