Name

tabelement

Synopsis

LZX: tabelement
JavaScript: 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 (11)

bgcolor
<attribute name="bgcolor" />
public var bgcolor;
The background color for the tabelement.
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.
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 (1)

setHilite()
<method name="setHilite" args="dohilite" />
public function setHilite(dohilite : boolean);
Overrides baselistitem's setHilite.

LZX Synopsis

<class name="tabelement" extends=" basetabelement ">
  <attribute name=" bgcolor " />
  <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=" 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=" setHilite " args="dohilite" />
</class>

JavaScript Synopsis

public tabelement extends  basetabelement  {
  public var bgcolor ;
  public var defaultplacement  : String;
  public var headerpadding ;
  public var inset_bottom ;
  public var inset_left ;
  public var inset_right ;
  public var inset_top ;
  public var shadowheight ;
  public var shadowvisible ;
  public var text_x ;
  public var text_y ;
  prototype public function setHilite (dohilite : boolean);
}