org.zkoss.zul.api
Interface Borderlayout

All Superinterfaces:
java.lang.Cloneable, Component, HtmlBasedComponent, Scope, java.io.Serializable
All Known Subinterfaces:
Borderlayout
All Known Implementing Classes:
Borderlayout, Borderlayout

public interface Borderlayout
extends HtmlBasedComponent

A border layout lays out a container, arranging and resizing its components to fit in five regions: north, south, east, west, and center. Each region may contain no more than one component, and is identified by a corresponding constant: NORTH, SOUTH, EAST, WEST, and CENTER. When adding a component to a container with a border layout, use one of these five constants, for example:

  <borderlayout>
  <north margins="1,5,1,1" size="20%" splittable="true" collapsible="true" minsize="100" maxsize="400">
  <div>
  North
  </div>
  </north>
  <west size="25%" splittable="true" autoscroll="true">
  <div>
  West
  </div>
  </west>
  <center flex="true">
  <div>
  Center
  </div>
  </center>
  <east size="25%" collapsible="true" onOpen='alert(self.id + " is open :" +event.open)'>
  <div>
  East
  </div>
  </east>
  <south size="50%" splittable="true">
  <div>
  south
  </div>
  </south>
  </borderlayout>
 
 

Default Borderlayout.getZclass(): z-borderlayout. (since 3.5.0)

Since:
5.0.0
Author:
jumperchen

Field Summary
 
Fields inherited from interface org.zkoss.zk.ui.Component
APPLICATION_SCOPE, COMPONENT_SCOPE, DESKTOP_SCOPE, PAGE_SCOPE, REQUEST_SCOPE, SESSION_SCOPE, SPACE_SCOPE
 
Method Summary
 Center getCenterApi()
           
 East getEastApi()
           
 North getNorthApi()
           
 South getSouthApi()
           
 West getWestApi()
           
 void resize()
          Re-size this layout component.
 
Methods inherited from interface org.zkoss.zk.ui.api.HtmlBasedComponent
focus, getHeight, getLeft, getSclass, getStyle, getTooltiptext, getTop, getWidth, getZclass, getZindex, getZIndex, setDraggable, setDroppable, setFocus, setHeight, setLeft, setSclass, setStyle, setTooltiptext, setTop, setWidth, setZclass, setZindex, setZIndex
 
Methods inherited from interface org.zkoss.zk.ui.Component
addEventListener, addForward, addForward, addForward, addForward, appendChild, applyProperties, clone, containsVariable, detach, getAttribute, getAttribute, getAttributeOrFellow, getAttributes, getAttributes, getAuService, getChildren, getDefinition, getDesktop, getFellow, getFellow, getFellowIfAny, getFellowIfAny, getFellows, getFirstChild, getId, getLastChild, getListenerIterator, getMold, getNamespace, getNextSibling, getPage, getParent, getPreviousSibling, getRoot, getSpaceOwner, getUuid, getVariable, getWidgetClass, getWidgetListener, getWidgetListenerNames, getWidgetOverride, getWidgetOverrideNames, hasAttribute, hasAttribute, hasAttributeOrFellow, hasFellow, hasFellow, insertBefore, invalidate, isInvalidated, isListenerAvailable, isVisible, removeAttribute, removeAttribute, removeChild, removeEventListener, removeForward, removeForward, setAttribute, setAttribute, setAuService, setId, setMold, setPage, setPageBefore, setParent, setVariable, setVisible, setWidgetListener, setWidgetOverride, unsetVariable
 
Methods inherited from interface org.zkoss.zk.ui.ext.Scope
addScopeListener, getAttribute, hasAttribute, removeAttribute, removeScopeListener, setAttribute
 

Method Detail

getNorthApi

North getNorthApi()

getSouthApi

South getSouthApi()

getWestApi

West getWestApi()

getEastApi

East getEastApi()

getCenterApi

Center getCenterApi()

resize

void resize()
Re-size this layout component.



Copyright © 2005-2009 Potix Corporation. All Rights Reserved. SourceForge.net Logo