this.n = [];
this.idel = new LzDelegate( this , "dispatch" );
this.make = true;
if ( this.running ){
this.idel.register( lz.Idle, 'onidle' );
} else {
this.idel.unregisterAll();
}
if ( this.make ){
this.makeIt();
} else {
this.deleteIt();
}
this.make = !this.make;
some text
some text
some text
some text
some text
some text
some text
some text
some text
some text
if (cat==undefined || cat=="") return (0xC6CEDC); //default
else var catColor = category_colors[cat];
setAttribute('hiColor',gColorTable[catColor].bright);
setAttribute('bkgndColor',gColorTable[catColor].bkgnd);
return (gColorTable[catColor].dim);
if ( o ){
this.timeArea.setVisible( false );
this.smalltitletext.setX( 10 );
this.timekgnd.setBgColor(this.bkgndColor);
} else {
this.timeArea.setVisible( true );
this.smalltitletext.setX( 25 );
this.setX( 0 );
this.setHeight(22);
this.parent.closedlayout.update(true);
}
if (h < 22) return 22;
else return h;
this.setBGColor( this.hiColor );
this.setBGColor( this.normalColor );
this.mouseIsDown = true;
calgrid.daySelectionMgr.select(this.classroot);
eventselector.selectData( this );
this.mouseIsDown = false;
eventselector.domouseup();
if (cat==undefined || cat=="") return (0xC6CEDC); //default
else var catColor = category_colors[cat];
setAttribute('hiColor',gColorTable[catColor].bright);
setAttribute('bkgndColor',gColorTable[catColor].bkgnd);
return (gColorTable[catColor].dim);
// When a event is current it's selected node attribute is 'true'
// This is the only way that an event becomes the current event,
// which in turn selects the event selector bar
this.selected = this.datapath.getNodeAttribute('selected') == true;
if (this.selected)
eventselector.setSelectedEvent( this ,this.mouseIsDown );
12) sh-=12;
else if ( sh==0 ) sh='12';
this.setText( sh+ap );
//if (classroot.classroot.opened)
// classroot.parent.closedlayout.setAttribute('enabled',true);
// classroot.parent.closedlayout.update(true);
]]>
if ( o ){
this.timeArea.setVisible( false );
this.smalltitletext.setX( 10 );
this.timekgnd.setBgColor(this.bkgndColor);
} else {
this.timeArea.setVisible( true );
this.smalltitletext.setX( 25 );
this.setX( 0 );
this.setHeight(22);
this.parent.closedlayout.update(true);
}
if (h < 22) return 22;
else return h;
this.setBGColor( this.hiColor );
this.setBGColor( this.normalColor );
this.mouseIsDown = true;
calgrid.daySelectionMgr.select(this.classroot);
eventselector.selectData( this );
this.mouseIsDown = false;
eventselector.domouseup();
var offset = Math.floor( this.getMouse( 'x' ) ) - 0.5;
this.dragc = new LzMouseConstraint( this ,
{ prop : 'x', offset:-offset } );
lz.Cursor.lock();
this.dragc.release();
lz.Cursor.unlock();
if (typeof(el) != "undefined") {
var ellist = el.split( ';' );
this.setText( ellist[0] );
} else {
this.setText( "" );
}
if ( amselected ) {
var txtColor = 0xFFFFFF;
var bgcolor = 0x0A246A;
} else {
var txtColor = 0x000000;
var bgcolor = 0xFFFFFF;
}
this.setBGColor( bgcolor );
this.col1.setColor( txtColor );
this.col2.setColor( txtColor );
this.col3.setColor( txtColor );
this.col4.setColor( txtColor );
this.selected = amselected;