-------------------------------------------------------------------------------- -- Title: LWFormHidden.lua -- Description: Like a square peg in a round hole -- Author: Raphaël Szwarc http://alt.textdrive.com/lua/ -- Creation Date: February 1, 2005 -- Legal: Copyright (C) 2005 Raphaël Szwarc -------------------------------------------------------------------------------- -- import dependencies local LWFormText = require( "LWFormText" ) local LWStyle = require( "LWStyle" ) local LUList = require( "LUList" ) -- define the class local super = LWFormText local self = super() function self:type() return "hidden" end -- method for string representation function self:toString() local aBuffer = LUList() local aStyle = LWStyle:styleWithComponent( self ) aBuffer:add( "" ) return aBuffer:join( "" ) end return self