FileDocCategorySizeDatePackage
CLayerElement.javaAPI DocphoneME MR2 API (J2ME)2308Wed May 02 18:00:20 BST 2007com.sun.midp.chameleon

CLayerElement

public class CLayerElement extends Object
The element of the layer list with forward and backward links

Fields Summary
protected CLayer
layer
The layer instance
protected CLayerElement
upper
The next upper layer in the layers list
protected CLayerElement
lower
The previous lower layer in the layers list
Constructors Summary
CLayerElement(CLayer layer, CLayerElement lower, CLayerElement upper)
Construct layer element with specified content and links

param
layer element conten
param
lower reference to the previous lower layer element
param
upper reference to the next upper layer element

       this.layer = layer;
       this.upper = upper;
       this.lower = lower;
   
Methods Summary
CLayergetLayer()
Get layer instance stored by list element

return

       return layer;
   
com.sun.midp.chameleon.CLayerElementgetLower()
Get list element with previous lower layer

return
list element with lower layer inside, null if none

       return lower;
   
com.sun.midp.chameleon.CLayerElementgetUpper()
Get list element with next uppper layer

return
list element with upper layer inside, null if none

       return upper;