Name

tabelement

Synopsis

LZX: tabelement
JavaScript: lz.tabelement
Type: Class
Access: public
Topic: Components.Laszlo Components
Declared in: lps/components/lz/tabelement.lzx

Superclass Chain

node (LzNode) » view (LzView) » basecomponent » basevaluecomponent » baselistitem » basetabelement » tabelement

Known Subclasses

Details

Properties (14)

bgcolor
<attribute name="bgcolor" />
public var bgcolor;
The background color for the tabelement.
_bgcolor
<attribute name="_bgcolor" value="null" />
private var _bgcolor;
contentopacity
<attribute name="contentopacity" value="0.5" />
private var contentopacity;
This is not being used.
defaultplacement
<attribute name="defaultplacement" type="string" value="content" />
public var defaultplacement : String;
Default placement for views placed in tabelement is 'content'.
headerpadding
<attribute name="headerpadding" value="0" />
public var headerpadding;
Insets the header art on the x-axis. Default is 0.
inset_bottom
<attribute name="inset_bottom" value="${parent.inset_bottom}" />
public var inset_bottom;
The bottom inset for content appearing within a tabelement. Default is the containing tabslider's inset_bottom value.
inset_left
<attribute name="inset_left" value="${parent.inset_left}" />
public var inset_left;
The left inset for content appearing within a tabelement. Default is the containing tabslider's inset_left value.
inset_right
<attribute name="inset_right" value="${parent.inset_right}" />
public var inset_right;
The right inset for content appearing within a tabelement. Default is the containing tabslider's inset_right value.
inset_top
<attribute name="inset_top" value="${parent.inset_top}" />
public var inset_top;
The top inset for content appearing within a tabelement. Default is the containing tabslider's inset_top value.
_mdoffset
<attribute name="_mdoffset" value="2" />
private var _mdoffset;
The offset to shift header contents when the mouse is down.
shadowheight
<attribute name="shadowheight" value="4" />
public var shadowheight;
The height of the shadow. Default is 4.
shadowvisible
<attribute name="shadowvisible" value="true" />
public var shadowvisible;
Boolean to set the shadow of this tabelement. Default is true.
text_x
<attribute name="text_x" value="4" />
public var text_x;
The x position of the text field in the header area. Default is 4.
text_y
<attribute name="text_y" value="${this.top.header.height/2 - this.top.header.txt.height/2}" />
public var text_y;
The y position of the text field in the header area. Default is centered.

Methods (5)

_applystyle()
<method name="_applystyle" args="s" />
private function _applystyle(s);
doSpaceDown()
<method name="doSpaceDown" />
private function doSpaceDown();
doSpaceUp()
<method name="doSpaceUp" />
private function doSpaceUp();
_setBGColor()
<method name="_setBGColor" args="color" />
private function _setBGColor(color);
setHilite()
<method name="setHilite" args="dohilite" />
public function setHilite(dohilite : boolean);
Overrides baselistitem's setHilite.

LZX Synopsis

<class name="lz.tabelement" extends=" lz.basetabelement ">
  <attribute name=" bgcolor " />
  <attribute name=" _bgcolor " value="null" />
  <attribute name=" contentopacity " value="0.5" />
  <attribute name=" defaultplacement " type="string" value="content" />
  <attribute name=" headerpadding " value="0" />
  <attribute name=" inset_bottom " value="${parent.inset_bottom}" />
  <attribute name=" inset_left " value="${parent.inset_left}" />
  <attribute name=" inset_right " value="${parent.inset_right}" />
  <attribute name=" inset_top " value="${parent.inset_top}" />
  <attribute name=" _mdoffset " value="2" />
  <attribute name=" shadowheight " value="4" />
  <attribute name=" shadowvisible " value="true" />
  <attribute name=" text_x " value="4" />
  <attribute name=" text_y " value="${this.top.header.height/2 - this.top.header.txt.height/2}" />
  <method name=" _applystyle " args="s" />
  <method name=" doSpaceDown " />
  <method name=" doSpaceUp " />
  <method name=" _setBGColor " args="color" />
  <method name=" setHilite " args="dohilite" />
</class>

JavaScript Synopsis

public lz.tabelement extends  lz.basetabelement  {
  public var bgcolor ;
  private var _bgcolor ;
  private var contentopacity ;
  public var defaultplacement  : String;
  public var headerpadding ;
  public var inset_bottom ;
  public var inset_left ;
  public var inset_right ;
  public var inset_top ;
  private var _mdoffset ;
  public var shadowheight ;
  public var shadowvisible ;
  public var text_x ;
  public var text_y ;
  prototype private function _applystyle (s);
  prototype private function doSpaceDown ();
  prototype private function doSpaceUp ();
  prototype private function _setBGColor (color);
  prototype public function setHilite (dohilite : boolean);
}