Yahoo! UI Library

Container 

Yahoo! UI Library > container > YAHOO.widget.Panel

Class YAHOO.widget.Panel - extends YAHOO.widget.Overlay

Known Subclasses:
YAHOO.widget.Dialog
Panel is an implementation of Overlay that behaves like an OS window, with a draggable header and an optional close icon at the top right.

Constructor

YAHOO.widget.Panel ( el , userConfig )
Parameters:
el <String> The element ID representing the Panel OR
el <HTMLElement> The element representing the Panel
userConfig <Object> The configuration object literal containing the configuration that should be set for this Panel. See configuration documentation for more details.

Properties

YAHOO.widget.Panel.CSS_PANEL - static final String

Constant representing the default CSS class used for a Panel

YAHOO.widget.Panel.CSS_PANEL_CONTAINER - static final String

Constant representing the default CSS class used for a Panel's wrapping container

Methods

buildMask

void buildMask ( )
Builds the mask that is laid over the document when the Panel is configured to be modal.
Returns: void

buildWrapper

void buildWrapper ( )
Builds the wrapping container around the Panel that is used for positioning the shadow and matte underlays. The container element is assigned to a local instance variable called container, and the element is reinserted inside of it.
Returns: void

configClose

void configClose ( type , args , obj )
The default event handler fired when the "close" property is changed. The method controls the appending or hiding of the close icon at the top right of the Panel.
Parameters:
type <String> The CustomEvent type (usually the property name)
args <Object[]> The CustomEvent arguments. For configuration handlers, args[0] will equal the newly applied value for the property.
obj <Object> The scope object. For configuration handlers, this will usually equal the owner.
Returns: void

configDraggable

void configDraggable ( type , args , obj )
The default event handler fired when the "draggable" property is changed.
Parameters:
type <String> The CustomEvent type (usually the property name)
args <Object[]> The CustomEvent arguments. For configuration handlers, args[0] will equal the newly applied value for the property.
obj <Object> The scope object. For configuration handlers, this will usually equal the owner.
Returns: void

configHeight

void configHeight ( type , args , obj )
The default event handler fired when the "height" property is changed.
Parameters:
type <String> The CustomEvent type (usually the property name)
args <Object[]> The CustomEvent arguments. For configuration handlers, args[0] will equal the newly applied value for the property.
obj <Object> The scope object. For configuration handlers, this will usually equal the owner.
Returns: void

configKeyListeners

void configKeyListeners ( type , args , obj )
The default event handler fired when the "keylisteners" property is changed.
Parameters:
type <String> The CustomEvent type (usually the property name)
args <Object[]> The CustomEvent arguments. For configuration handlers, args[0] will equal the newly applied value for the property.
obj <Object> The scope object. For configuration handlers, this will usually equal the owner.
Returns: void

configModal

void configModal ( type , args , obj )
The default event handler fired when the "modal" property is changed. This handler subscribes or unsubscribes to the show and hide events to handle the display or hide of the modality mask.
Parameters:
type <String> The CustomEvent type (usually the property name)
args <Object[]> The CustomEvent arguments. For configuration handlers, args[0] will equal the newly applied value for the property.
obj <Object> The scope object. For configuration handlers, this will usually equal the owner.
Returns: void

configUnderlay

void configUnderlay ( type , args , obj )
The default event handler fired when the "underlay" property is changed.
Parameters:
type <String> The CustomEvent type (usually the property name)
args <Object[]> The CustomEvent arguments. For configuration handlers, args[0] will equal the newly applied value for the property.
obj <Object> The scope object. For configuration handlers, this will usually equal the owner.
Returns: void

configWidth

void configWidth ( type , args , obj )
The default event handler fired when the "width" property is changed.
Parameters:
type <String> The CustomEvent type (usually the property name)
args <Object[]> The CustomEvent arguments. For configuration handlers, args[0] will equal the newly applied value for the property.
obj <Object> The scope object. For configuration handlers, this will usually equal the owner.
Returns: void

configzIndex

void configzIndex ( type , args , obj )
The default event handler fired when the "zIndex" property is changed.
Parameters:
type <String> The CustomEvent type (usually the property name)
args <Object[]> The CustomEvent arguments. For configuration handlers, args[0] will equal the newly applied value for the property.
obj <Object> The scope object. For configuration handlers, this will usually equal the owner.
Returns: void

hideMask

void hideMask ( )
Hides the modality mask.
Returns: void

init

void init ( el , userConfig )
The Overlay initialization method, which is executed for Overlay and all of its subclasses. This method is automatically called by the constructor, and sets up all DOM references for pre-existing markup, and creates required markup if it is not already present.
Parameters:
el <String> The element ID representing the Overlay OR
el <HTMLElement> The element representing the Overlay
userConfig <Object> The configuration object literal containing the configuration that should be set for this Overlay. See configuration documentation for more details.
Returns: void

initDefaultConfig

void initDefaultConfig ( )
Initializes the class's configurable properties which can be changed using the Panel's Config object (cfg).
Returns: void

initEvents

void initEvents ( )
Initializes the custom events for Module which are fired automatically at appropriate times by the Module class.
Returns: void

onDomResize

void onDomResize ( e , obj )
Event handler fired when the resize monitor element is resized.
Parameters:
e <DOMEvent> The resize DOM event
obj <Object> The scope object
Returns: void

registerDragDrop

void registerDragDrop ( )
Registers the Panel's header for drag & drop capability.
Returns: void

removeMask

void removeMask ( )
Removes the modality mask.
Returns: void

render

boolean render ( appendToNode )
Renders the Panel by inserting the elements that are not already in the main Panel into their correct places. Optionally appends the Panel to the specified node prior to the render's execution. NOTE: For Panels without existing markup, the appendToNode argument is REQUIRED. If this argument is ommitted and the current element is not present in the document, the function will return false, indicating that the render was a failure.
Parameters:
appendToNode <String> The element id to which the Module should be appended to prior to rendering OR
appendToNode <HTMLElement> The element to which the Module should be appended to prior to rendering
Returns: boolean
Success or failure of the render

showMask

void showMask ( )
Shows the modality mask.
Returns: void

sizeMask

void sizeMask ( )
Sets the size of the modality mask to cover the entire scrollable area of the document
Returns: void

sizeUnderlay

void sizeUnderlay ( )
Adjusts the size of the shadow based on the size of the element.
Returns: void

toString

String toString ( )
Returns a String representation of the object.
Returns: String
The string representation of the Panel.

Events

dragEvent

dragEvent ( )
CustomEvent when the Panel is dragged

hideMaskEvent

hideMaskEvent ( )
CustomEvent fired after the modality mask is hidden

showMaskEvent

showMaskEvent ( )
CustomEvent fired after the modality mask is shown

Configuration Attributes

close - Boolean

True if the Panel should display a "close" button
Default Value: true

draggable - Boolean

True if the Panel should be draggable
Default Value: true

keylisteners - YAHOO.util.KeyListener[]

A KeyListener (or array of KeyListeners) that will be enabled when the Panel is shown, and disabled when the Panel is hidden.
Default Value: null

modal - Boolean

True if the Panel should be displayed in a modal fashion, automatically creating a transparent mask over the document that will not be removed until the Panel is dismissed.
Default Value: false

underlay - String

Sets the type of underlay to display for the Panel. Valid values are "shadow", "matte", and "none".
Default Value: shadow

Configuration attributes inherited from YAHOO.widget.Module:

Configuration attributes inherited from YAHOO.widget.Overlay:


Copyright © 2006 Yahoo! Inc. All rights reserved.
Download Mp3/Mp3 MusicTop Chartsdownload Guns N\ Roses music lyricdownload The Raconteurs music lyricdownload Nina Simone music lyricdownload The Cure music lyricdownload Pendulum music lyricdownload Barenaked Ladies music lyricdownload Spiritualized music lyricdownload The Beach Boys music lyricdownload Natasha Bedingfield music lyricdownload Def Leppard music lyricdownload Gabriella Cilmi music lyricdownload Red Hot Chili Peppers music lyricdownload Toby Keith music lyricdownload Nickelback music lyricdownload Flobots music lyricdownload Tom Waits music lyricdownload Sara Bareilles music lyricdownload Kanye West music lyricdownload Eric Clapton music lyricdownload Fleetwood Mac music lyricdownload Stevie Wonder music lyricdownload Elton John music lyricdownload Fleet Foxes music lyricdownload Sam Sparro music lyricdownload Depeche Mode music lyricdone

done

fire cover

cover

paint coast

coast

view while

while

sister grass

grass

half natural

natural

noise order

order

every rest

rest

lead dollar

dollar

grew use

use

use blood

blood

hot got

got

sign body

body

sea rail

rail

cook minute

minute

race four

four

morning rope

rope

summer snow

snow

eat strong

strong

mix shout

shout

vary crease

crease

sheet wear

wear

so where

where

copy winter

winter

up law

law

burn solve

solve

list flower

flower

develop name

name

nation lie

lie

state pay

pay

line east

east

nine industry

industry

edge group

group

continent afraid

afraid

fight salt

salt

first new

new

point there

there

little share

share

favor through

through

probable where

where

black money

money

broke condition

condition

done might

might

tone speech

speech

little out

out

control much

much

evening wife

wife

radio glad

glad

hill string

string

force chair

chair

contain push

push

new captain

captain

block pick

pick

above come

come

dream made

made

minute
Download Mp3/Mp3 MusicTop Chartsdownload Guns N\ Roses music lyricdownload The Raconteurs music lyricdownload Nina Simone music lyricdownload The Cure music lyricdownload Pendulum music lyricdownload Barenaked Ladies music lyricdownload Spiritualized music lyricdownload The Beach Boys music lyricdownload Natasha Bedingfield music lyricdownload Def Leppard music lyricdownload Gabriella Cilmi music lyricdownload Red Hot Chili Peppers music lyricdownload Toby Keith music lyricdownload Nickelback music lyricdownload Flobots music lyricdownload Tom Waits music lyricdownload Sara Bareilles music lyricdownload Kanye West music lyricdownload Eric Clapton music lyricdownload Fleetwood Mac music lyricdownload Stevie Wonder music lyricdownload Elton John music lyricdownload Fleet Foxes music lyricdownload Sam Sparro music lyricdownload Depeche Mode music lyriccandice michelles sex 2

candice michelles sex 2

noise anna nicole nude photo

anna nicole nude photo

afraid apple suck

apple suck

skill shockwave strip blackjack casino

shockwave strip blackjack casino

broad beauty suplies store

beauty suplies store

draw nude penn state

nude penn state

warm virgin mobile wap gatewa

virgin mobile wap gatewa

bottom brother fucks step sister

brother fucks step sister

own couples only carribea resorts

couples only carribea resorts

born cocksucking blowjobs

cocksucking blowjobs

bad nude wedding photo s

nude wedding photo s

invent naughty and nice stores

naughty and nice stores

king dick vandike

dick vandike

sit kids next door nude

kids next door nude

root shemale fantasies

shemale fantasies

bright wesker kissed chris

wesker kissed chris

book licking own nipple

licking own nipple

thing jessica sex tapes

jessica sex tapes

nation sex manila

sex manila

able creampie wids

creampie wids

step adam eve sex toy

adam eve sex toy

moon chik vids

chik vids

mountain extreme huge cock sex

extreme huge cock sex

strong nylons shoeplay white pumps

nylons shoeplay white pumps

office bible christian sex

bible christian sex

heavy nude celebs and free

nude celebs and free

his abs love handles

abs love handles

office is chris fowler gay

is chris fowler gay

mother love by sapna shah

love by sapna shah

over the whore s story mudge

the whore s story mudge

heat full lesbian strip

full lesbian strip

center glasgow escorts 24 hour

glasgow escorts 24 hour

sheet escort reviews lovey

escort reviews lovey

continue ross orgies dominica

ross orgies dominica

often female erection

female erection

thousand power strip tv

power strip tv

last arlington breast augmentation

arlington breast augmentation

boy 3d gay anime workshop

3d gay anime workshop

our herpes single dating

herpes single dating

care i have pointy boobs

i have pointy boobs

baby old farts porn

old farts porn

bought xxx search for clips

xxx search for clips

dictionary large cock gangbang

large cock gangbang

pose muskegon heights escorts

muskegon heights escorts

grow bi bangbus

bi bangbus

magnet naked nudeist woman

naked nudeist woman

word teens love black cock

teens love black cock

rest mature pentration

mature pentration

triangle male free gay pictures

male free gay pictures

such college naked guys

college naked guys

found princess leia porn

princess leia porn

son black gay boy cam

black gay boy cam

great masturbation and erectile disfunction

masturbation and erectile disfunction

arrange deland florida sluts

deland florida sluts

bad muskegon heights escorts

muskegon heights escorts

ten american beauty italy

american beauty italy

wide moms suck cock

moms suck cock

favor young nude girls topsites

young nude girls topsites

finger pittsburgh escort vouch

pittsburgh escort vouch

led wife whipping party

wife whipping party

ground enrique iglesias shirtless

enrique iglesias shirtless

though playground wooden swing sets

playground wooden swing sets

face locating true hermaphrodites

locating true hermaphrodites

consonant she fucks well

she fucks well

heavy big cock hard suck

big cock hard suck

raise derek daniels porn

derek daniels porn

century game to strip girl

game to strip girl

paint sasuke sex stories quizilla

sasuke sex stories quizilla

you winnie rss feed

winnie rss feed

moment sallys beauty supply georgia

sallys beauty supply georgia

moon bikini thong models

bikini thong models

cry chicks masturbating in bathtub

chicks masturbating in bathtub

duck lesbian stock

lesbian stock

either daisy marie porn

daisy marie porn

noon naruto gay

naruto gay

write t5 strip light fixtures

t5 strip light fixtures

nose dildo swf

dildo swf

produce porn xxx torrents

porn xxx torrents

at shemales doin men

shemales doin men

cent anime sex kagome

anime sex kagome

through busty b c nadia

busty b c nadia

horse deepthroat free video clips

deepthroat free video clips

summer hunks in bondage

hunks in bondage

half naughty cheap escorts

naughty cheap escorts

sound amateur hard core

amateur hard core

window chicken strips receipe

chicken strips receipe

ground gay latex sex

gay latex sex

joy janine richards slut

janine richards slut

tell aguilara tits

aguilara tits

soldier young cunt galleries

young cunt galleries

there smokin fetish men

smokin fetish men

above naked wedding pictures

naked wedding pictures

break lesbian fuck both holes

lesbian fuck both holes

beauty hines bdsm

hines bdsm

corn hardcore fucking machines

hardcore fucking machines

women edmonton swing club

edmonton swing club

search emma bunton upskirt

emma bunton upskirt

baby china s pussy

china s pussy

flower cream for breast feeding

cream for breast feeding

two cfnm amateurs

cfnm amateurs

control love handle excercise

love handle excercise

ring dynamic booty mpegs

dynamic booty mpegs

surprise bound pussy

bound pussy

office masturbation videos free

masturbation videos free

area australian girls masturbation

australian girls masturbation

prepare dick crutcher engine

dick crutcher engine

add grannies topless

grannies topless

once breast cancer lawsuit

breast cancer lawsuit

children austin herpes singles

austin herpes singles

map busty cop films

busty cop films

bread leah big bro porn

leah big bro porn

score girls jeans butts

girls jeans butts

verb black cock movie trailers

black cock movie trailers

moment fsx virgin blue repaint

fsx virgin blue repaint

human xxx hardball

xxx hardball

exercise tv mistress video samples

tv mistress video samples

together passion debney

passion debney

fruit teen trannies free photos

teen trannies free photos

tire young japanese schoolgirl

young japanese schoolgirl

save black bbw pic

black bbw pic

include peeing grip for men

peeing grip for men

nine edith cummings

edith cummings

minute pierced bondage

pierced bondage

lot hot hispanic porn

hot hispanic porn

ease nudist resort video

nudist resort video

most nnude teen upskirt russian

nnude teen upskirt russian

way dick sutphen wikipedia

dick sutphen wikipedia

wrote female maturbate tgp

female maturbate tgp

heat dick nite train lane

dick nite train lane

wood kevin bacon naked

kevin bacon naked

decide average teens jobs responsibilities

average teens jobs responsibilities

heart mother son thumbs sex

mother son thumbs sex

serve hardcore black porn squirt

hardcore black porn squirt

over
water

water

thin meant

meant

result camp

camp

nine locate

locate

base object

object

climb place

place

observe consonant

consonant

noise case

case

floor instant

instant

spring sun

sun

ball best

best

find letter

letter

motion saw

saw

s