NAME

Solstice::View::FormInput::TextArea - A view of an html <textarea> element

SYNOPSIS

use Solstice::View::FormInput::TextArea;

my $content = 'A string containing <i>content</i>.';

my $view = Solstice::View::FormInput::TextArea->new($content);
$view->setName('mytextbox');
$view->setWidth('90%');  # a percentage or an integer representing pixels
$view->setHeight(450);   # a percentage or an integer representing pixels
$view->setIsResizable(1);

DESCRIPTION

Superclass

Solstice::View::FormInput

Export

No symbols exported.

Methods

setWidth($int)
getWidth()
setHeight($int)
getHeight()
setIsResizable($bool)
getIsResizable()
setFocusEditor($bool)
getFocusEditor()
setConfigPath($str)
getConfigPath()
setSkinPath($str)
getSkinPath()
setPluginsPath($str)
getPluginsPath()
setToolbarSet($str)
getToolbarSet()
generateParams()
generateRTESwitchParams()

Generate params for buttons to allow switching between plain text and RTE text areas. This is used by subclasses that support a RTE.

isRichTextEnabled()

Determines if user is seeing plaintext or rte editor, depending on an application-level preference.

Modules Used

Solstice::View.

AUTHOR

Solstice Group, <catalyst@u.washington.edu>

VERSION

$Revision: 63 $

SEE ALSO

perl.

COPYRIGHT

Copyright 1998-2007 Office of Learning Technologies, University of Washington

Licensed under the Educational Community License, Version 1.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at: http://www.opensource.org/licenses/ecl1.php

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.