OrangeSkin
Extends: module:skins/DefaultSkin.DefaultSkin
Source: OrangeSkin.js:40
This is a variant of the default Skin used by JClic.js
It differs from DefaultSkin only in some colors
Constructor
new OrangeSkin(
ps: module:JClicPlayer.JClicPlayer,
name?: string,
options?: object,
): OrangeSkinOrangeSkin constructor
Parameters
ps(module:JClicPlayer.JClicPlayer) — The PlayStation (currently a JClicPlayer) used to load and
realize the media objects meeded tot build the Skin.name(string, optional, default: null) — The skin class nameoptions(object, optional) — Optional parameter with additional options
Instance Methods
_getStyleSheets(media: string): string
Overrides: module:skins/DefaultSkin.DefaultSkin#_getStyleSheets
Returns the CSS styles used by this skin. This method should be called only from
the Skin constructor, and overridded by subclasses if needed.
Parameters
media(string, default: "default") — A specific media size. Possible values are: 'default', 'half' and 'twoThirds'
Returns
string
doLayout()
Inherited from module:skins/DefaultSkin.DefaultSkin#doLayout
Main method used to build the content of the skin. Resizes and places internal objects.
enableMainButtons(status: boolean)
Inherited from module:skins/DefaultSkin.DefaultSkin#enableMainButtons
Overrides: module:skins/DefaultSkin.DefaultSkin#enableMainButtons
Enables or disables the tabindex attribute of the main buttons. Useful when a modal dialog
overlay is active, to avoid direct access to controls not related with the dialog.
Parameters
status(boolean) —trueto make main controls navigable,falseotherwise
attach(player: module:JClicPlayer.JClicPlayer)
Inherited from module:skins/Skin.Skin#attach
Overrides: module:skins/DefaultSkin.DefaultSkin#attach
Attaches a JClicPlayer object to this Skin
Parameters
player(module:JClicPlayer.JClicPlayer)
setSkinSizes(full: boolean)
Inherited from module:skins/Skin.Skin#setSkinSizes
Overrides: module:skins/DefaultSkin.DefaultSkin#setSkinSizes
Sets the 'size' CSS values (max, min and compulsory) to the main div of this skin
Parameters
full(boolean) —truewhen the skin is in full screen mode
detach()
Inherited from module:skins/Skin.Skin#detach
Overrides: module:skins/DefaultSkin.DefaultSkin#detach
Detaches the player element from this Skin
updateContent(dirtyRegion: module:AWT.Rectangle)
Inherited from module:skins/Skin.Skin#updateContent
Updates the graphic contents of this skin.
This method should be called from module:skins/Skin.Skin#update
Parameters
dirtyRegion(module:AWT.Rectangle) — Specifies the area to be updated. Whennull, it's the
whole panel.
resetAllCounters(bEnabled: boolean)
Inherited from module:skins/Skin.Skin#resetAllCounters
Overrides: module:skins/DefaultSkin.DefaultSkin#resetAllCounters
Resets all counters
Parameters
bEnabled(boolean) — Leave it enabled/disabled
setWaitCursor(status: boolean)
Inherited from module:skins/Skin.Skin#setWaitCursor
Overrides: module:skins/DefaultSkin.DefaultSkin#setWaitCursor
Sets/unsets the 'wait' state
Parameters
status(boolean) — Whether to set or unset the wait status. Whenundefined, the
waitCursorCountmember is evaluated to decide if the wait state should be activated or deactivated.
setProgress(val: number, max?: number)
Inherited from module:skins/Skin.Skin#setProgress
Overrides: module:skins/DefaultSkin.DefaultSkin#setProgress
Sets the current value of the progress bar
Parameters
val(number) — The current value. Should be less or equal thanmax. When -1, the progress bar will be hidden.max(number, optional) — Optional parameter representing the maximum value. When passed, the progress bar will be displayed.
incProgress(val?: number)
Inherited from module:skins/Skin.Skin#incProgress
Overrides: module:skins/DefaultSkin.DefaultSkin#incProgress
Increments the progress bar value by the specified amount, only when the progress bar is running.
Parameters
val(number, optional) — The amount to increment. When not defined, it's 1.
showHelp(_$hlpComponent: external:jQuery)
Inherited from module:skins/Skin.Skin#showHelp
Overrides: module:skins/DefaultSkin.DefaultSkin#showHelp
Shows a window with clues or help for the current activity
Parameters
_$hlpComponent(external:jQuery) — A JQuery DOM element with the information to be shown.
It can be a string or number. Whennull, the help window (if any) must be closed.
showDlg(modal: boolean, options: object): external:Promise
Inherited from module:skins/Skin.Skin#showDlg
Overrides: module:skins/DefaultSkin.DefaultSkin#showDlg
Shows a "dialog" panel, useful for displaying information or prompt something to users
Parameters
modal(boolean) — Whentrue, the dialog should be closed by any click outside the main paneloptions(object) — This object should have two components:mainandbottom, both
containing a jQuery HTML element (or array of elements) to be placed on the main and bottom panels
of the dialog.
Returns
_closeDlg()
Inherited from module:skins/Skin.Skin#_closeDlg
Overrides: module:skins/DefaultSkin.DefaultSkin#_closeDlg
Called when the dialog must be closed, usually only by Skin members.
This method is re-defined on each call to showDlg, so the resolve and reject
functions can be safely called.
showReports(
reporter: module:report/Reporter.Reporter,
): external:Promise
Inherited from module:skins/Skin.Skin#showReports
Overrides: module:skins/DefaultSkin.DefaultSkin#showReports
Displays a dialog with a report of the current results achieved by the user.
Parameters
reporter(module:report/Reporter.Reporter) — The reporter system currently in use
Returns
$printReport(
reporter: module:report/Reporter.Reporter,
): Array.<external:jQuery>
Inherited from module:skins/Skin.Skin#$printReport
Overrides: module:skins/DefaultSkin.DefaultSkin#$printReport
Formats the current report in a DOM tree, ready to be placed in $reportsPanel
Parameters
reporter(module:report/Reporter.Reporter) — The reporter system currently in use
Returns
Array.<external:jQuery>
enableCounter(counter: string, bEnabled: boolean)
Inherited from module:skins/Skin.Skin#enableCounter
Overrides: module:skins/DefaultSkin.DefaultSkin#enableCounter
Enables or disables a specific counter
Parameters
counter(string) — Which counterbEnabled(boolean) — Whentrue, the counter will be enabled.
fit(): module:AWT.Dimension
Inherited from module:skins/Skin.Skin#fit
Overrides: module:skins/DefaultSkin.DefaultSkin#fit
adjusts the skin to the dimension of its $div container
Returns
module:AWT.Dimension— the new dimension of the skin
setScreenFull(status: boolean): boolean
Inherited from module:skins/Skin.Skin#setScreenFull
Overrides: module:skins/DefaultSkin.DefaultSkin#setScreenFull
Sets or unsets the player in fullscreen mode, when allowed, using the
screenfull.js library.
Parameters
status(boolean) — Whether to set or unset the player in fullscreen mode. Whennull
orundefined, the status toggles between fullscreen and windowed modes.
Returns
boolean—trueif the request was successful,falseotherwise.
actionStatusChanged(_action: module:AWT.Action)
Inherited from module:skins/Skin.Skin#actionStatusChanged
Overrides: module:skins/DefaultSkin.DefaultSkin#actionStatusChanged
Method used to notify this skin that a specific action has changed its enabled/disabled status
Parameters
_action(module:AWT.Action) — The action originating the change event
setEnabled($object: external:jQuery, enabled: boolean)
Inherited from module:skins/Skin.Skin#setEnabled
Enables or disables an object
Parameters
$object(external:jQuery) — A JQuery DOM elementenabled(boolean)
equals(skin: module:skins/Skin.Skin): boolean
Inherited from module:skins/Skin.Skin#equals
Overrides: module:skins/DefaultSkin.DefaultSkin#equals
Compares two Skin objects
Parameters
skin(module:skins/Skin.Skin) — The Skin to compare against this
Returns
boolean
getMsgBox(): module:boxes/ActiveBox.ActiveBox
Inherited from module:skins/Skin.Skin#getMsgBox
Overrides: module:skins/DefaultSkin.DefaultSkin#getMsgBox
Gets the ActiveBox used to display the main messages of activities
Returns
invalidate(rect: module:AWT.Rectangle)
Inherited from module:AWT.Container#invalidate
Overrides: module:skins/DefaultSkin.DefaultSkin#invalidate
Adds the provided rectangle to the invalidated area.
Parameters
rect(module:AWT.Rectangle)
update()
Inherited from module:AWT.Container#update
Overrides: module:skins/DefaultSkin.DefaultSkin#update
Updates the invalidated area
getBounds(): module:AWT.Rectangle
Inherited from module:AWT.Rectangle#getBounds
Overrides: module:skins/DefaultSkin.DefaultSkin#getBounds
Gets the enclosing Rectangle of this Shape.
Returns
setBounds(rect: module:AWT.Rectangle): module:AWT.Rectangle
Inherited from module:AWT.Rectangle#setBounds
Overrides: module:skins/DefaultSkin.DefaultSkin#setBounds
Sets this Rectangle the position and dimension of another one
Parameters
rect(module:AWT.Rectangle)
Returns
clone(): module:AWT.Rectangle
Inherited from module:AWT.Rectangle#clone
Overrides: module:skins/DefaultSkin.DefaultSkin#clone
Clones this Rectangle
Returns
scaleBy(delta: Point | Dimension): module:AWT.Rectangle
Inherited from module:AWT.Rectangle#scaleBy
Overrides: module:skins/DefaultSkin.DefaultSkin#scaleBy
Multiplies the dimension of the Shape by the specified delta amount.
Parameters
Returns
grow(dx: number, dy: number): module:AWT.Rectangle
Inherited from module:AWT.Rectangle#grow
Overrides: module:skins/DefaultSkin.DefaultSkin#grow
Expands the boundaries of this shape. This affects the current position and dimension.
Parameters
dx(number) — The amount to grow (or decrease) in horizontal directiondy(number) — The amount to grow (or decrease) in vertical direction
Returns
getOppositeVertex(): module:AWT.Point
Inherited from module:AWT.Rectangle#getOppositeVertex
Overrides: module:skins/DefaultSkin.DefaultSkin#getOppositeVertex
Gets the module:AWT.Point corresponding to the lower-right vertex of the Rectangle.
Returns
add(shape: module:AWT.Shape): module:AWT.Rectangle
Inherited from module:AWT.Rectangle#add
Overrides: module:skins/DefaultSkin.DefaultSkin#add
Adds the boundaries of another shape to the current one
Parameters
shape(module:AWT.Shape) — The module:AWT.Shape to be added
Returns
getCoords(): string
Inherited from module:AWT.Rectangle#getCoords
Overrides: module:skins/DefaultSkin.DefaultSkin#getCoords
Gets a string with the co-ordinates of the upper-left and lower-right vertexs of this rectangle,
(with values rounded to int)
Returns
string
getAttributes(): object
Inherited from module:AWT.Rectangle#getAttributes
Overrides: module:skins/DefaultSkin.DefaultSkin#getAttributes
Gets a object with the basic attributes needed to rebuild this instance excluding functions,
parent references, constants and also attributes retaining the default value.
The resulting object is commonly usued to serialize elements in JSON format.
Returns
object
setAttributes(data: object): module:AWT.Rectangle
Inherited from module:AWT.Rectangle#setAttributes
Overrides: module:skins/DefaultSkin.DefaultSkin#setAttributes
Reads the properties of this Rectangle from a data object
Parameters
data(object) — The data object to be parsed
Returns
moveBy(delta: Point | Dimension): module:AWT.Shape
Inherited from module:AWT.Shape#moveBy
Overrides: module:skins/DefaultSkin.DefaultSkin#moveBy
Shifts the shape a specified amount in horizontal and vertical directions
Parameters
Returns
moveTo(newPos: module:AWT.Point): module:AWT.Shape
Inherited from module:AWT.Shape#moveTo
Overrides: module:skins/DefaultSkin.DefaultSkin#moveTo
Moves this shape to a new position
Parameters
newPos(module:AWT.Point) — The new position of the shape
Returns
getShape(rect: module:AWT.Rectangle): module:AWT.Shape
Inherited from module:AWT.Shape#getShape
Overrides: module:skins/DefaultSkin.DefaultSkin#getShape
Gets a clone of this shape moved to the pos component of the rectangle and scaled
by its dim value.
Parameters
rect(module:AWT.Rectangle) — The rectangle to be taken as a base for moving and scaling
this shape.
Returns
contains(_p: module:AWT.Point): boolean
Inherited from module:AWT.Shape#contains
Overrides: module:skins/DefaultSkin.DefaultSkin#contains
Checks if the provided module:AWT.Point is inside this shape.
Parameters
_p(module:AWT.Point) — The point to check
Returns
boolean
intersects(_r: module:AWT.Rectangle): boolean
Inherited from module:AWT.Shape#intersects
Overrides: module:skins/DefaultSkin.DefaultSkin#intersects
Checks if the provided Rectangle r intersects with this shape.
Parameters
_r(module:AWT.Rectangle)
Returns
boolean
fill(
ctx: external:CanvasRenderingContext2D,
dirtyRegion?: module:AWT.Rectangle,
): external:CanvasRenderingContext2D
Inherited from module:AWT.Shape#fill
Overrides: module:skins/DefaultSkin.DefaultSkin#fill
Fills the Shape with the current style in the provided HTML canvas context
Parameters
ctx(external:CanvasRenderingContext2D) — The canvas 2D rendering context where to fill this shape.dirtyRegion(module:AWT.Rectangle, optional) — The context region to be updated. Used as clipping
region when drawing.
Returns
stroke(
ctx: external:CanvasRenderingContext2D,
): external:CanvasRenderingContext2D
Inherited from module:AWT.Shape#stroke
Overrides: module:skins/DefaultSkin.DefaultSkin#stroke
Draws this shape in the provided HTML canvas 2D rendering context.
Parameters
ctx(external:CanvasRenderingContext2D) — The canvas 2D rendering context where to draw the shape.
Returns
preparePath(
ctx: external:CanvasRenderingContext2D,
): external:CanvasRenderingContext2D
Inherited from module:AWT.Shape#preparePath
Overrides: module:skins/DefaultSkin.DefaultSkin#preparePath
Prepares an HTML canvas 2D rendering context with a path that can be used to stroke a line,
to fill a surface or to define a clipping region.
Parameters
Returns
clip(
ctx: external:CanvasRenderingContext2D,
fillRule?: string,
): external:CanvasRenderingContext2D
Inherited from module:AWT.Shape#clip
Overrides: module:skins/DefaultSkin.DefaultSkin#clip
Creates a clipping region on the specified HTML canvas 2D rendering context
Parameters
ctx(external:CanvasRenderingContext2D) — The rendering contextfillRule(string, optional, default: "'nonzero'") — Can be 'nonzero' (default when not set) or 'evenodd'
Returns
isRect(): boolean
Inherited from module:AWT.Shape#isRect
Overrides: module:skins/DefaultSkin.DefaultSkin#isRect
Shorthand method for determining if a Shape is an Rectangle
Returns
boolean
toString(): string
Inherited from module:AWT.Shape#toString
Overrides: module:skins/DefaultSkin.DefaultSkin#toString
Overwrites the original 'Object.toString' method with a more descriptive text
Returns
string
doLayout()
Inherited from module:skins/DefaultSkin.DefaultSkin#doLayout
Main method used to build the content of the skin. Resizes and places internal objects.
updateContent(dirtyRegion: module:AWT.Rectangle)
Inherited from module:skins/Skin.Skin#updateContent
Updates the graphic contents of this skin.
This method should be called from module:skins/Skin.Skin#update
Parameters
dirtyRegion(module:AWT.Rectangle) — Specifies the area to be updated. Whennull, it's the
whole panel.
setEnabled($object: external:jQuery, enabled: boolean)
Inherited from module:skins/Skin.Skin#setEnabled
Enables or disables an object
Parameters
$object(external:jQuery) — A JQuery DOM elementenabled(boolean)
Static Methods
registerClass(
skinName: string,
skinClass: function,
): module:skins/Skin.Skin
Inherited from module:skins/Skin.Skin
Registers a new type of skin
Parameters
skinName(string) — The name used to identify this skinskinClass(function) — The skin class, usually extending Skin
Returns
registerStyleSheet(
skinId: string,
ps?: module:JClicPlayer.JClicPlayer,
): boolean
Inherited from module:skins/Skin.Skin
Checks if the provided stylesheet ID is already registered in the root node where the current player is placed
Parameters
skinId(string) — The unique identifier of the skin to checkps(module:JClicPlayer.JClicPlayer, optional) — An optionalPlayStation(currently a JClicPlayer) used as a base to find the root node
Returns
boolean
getSkin(
skinName: string,
ps: module:JClicPlayer.JClicPlayer,
options?: object,
): module:skins/Skin.Skin
Inherited from module:skins/Skin.Skin
Gets the specified Skin from skinStack, or creates a new one if not found.
This function should be used only through Skin.getSkin
Parameters
skinName(string, default: "default") — The name of the searched skinps(module:JClicPlayer.JClicPlayer) — The PlayStation (usually a JClicPlayer) used to build the new skin.options(object, optional) — Optional parameter with additional options
Returns
buildShape(data: object): module:AWT.Shape
Inherited from module:AWT.Shape
Builds a shape based on the provided data object.
Data should contain a 'type' member, specifying the type of shape requested ('rect', 'ellipse', 'rectangle' or 'path')
Parameters
data(object) — Specific data for this shape
Returns
Instance Fields
skinId: string
Class name of this skin. It will be used as a base selector in the definition of all CSS styles.
skinCSS: string
Styles used in this skin
skinId: string
Inherited from module:skins/OrangeSkin.OrangeSkin#skinId
Overrides: module:skins/DefaultSkin.DefaultSkin#skinId
Class name of this skin. It will be used as a base selector in the definition of all CSS styles.
$ctrlCnt: external:jQuery
Inherited from module:skins/DefaultSkin.DefaultSkin#$ctrlCnt
Overrides: module:skins/DefaultSkin.DefaultSkin#$ctrlCnt
The HTML div where buttons, counters and message box are placed
margin: number
Inherited from module:skins/DefaultSkin.DefaultSkin#margin
Overrides: module:skins/DefaultSkin.DefaultSkin#margin
Space (pixels) between the components of this Skin
msgBoxHeight: number
Inherited from module:skins/DefaultSkin.DefaultSkin#msgBoxHeight
Overrides: module:skins/DefaultSkin.DefaultSkin#msgBoxHeight
Height of msgBox
countersWidth: number
Inherited from module:skins/DefaultSkin.DefaultSkin#countersWidth
Overrides: module:skins/DefaultSkin.DefaultSkin#countersWidth
Width of counters, in pixels
countersHeight: number
Inherited from module:skins/DefaultSkin.DefaultSkin#countersHeight
Overrides: module:skins/DefaultSkin.DefaultSkin#countersHeight
Height of counters, in pixels
mainCSS: string
Inherited from module:skins/DefaultSkin.DefaultSkin#mainCSS
Overrides: module:skins/DefaultSkin.DefaultSkin#mainCSS
Styles used in this skin
mainCSSHalf: string
Inherited from module:skins/DefaultSkin.DefaultSkin#mainCSSHalf
Overrides: module:skins/DefaultSkin.DefaultSkin#mainCSSHalf
Styles used in this skin, sized to half its regular size
mainCSSTwoThirds: string
Inherited from module:skins/DefaultSkin.DefaultSkin#mainCSSTwoThirds
Overrides: module:skins/DefaultSkin.DefaultSkin#mainCSSTwoThirds
Styles used in this skin, sized to two thirds of its regular size
cssFonts: Array.<string>
Inherited from module:skins/DefaultSkin.DefaultSkin#cssFonts
Overrides: module:skins/DefaultSkin.DefaultSkin#cssFonts
Fonts used in this skin
iconWidth: number
Inherited from module:skins/DefaultSkin.DefaultSkin#iconWidth
Overrides: module:skins/DefaultSkin.DefaultSkin#iconWidth
Icon width
iconHeight: number
Inherited from module:skins/DefaultSkin.DefaultSkin#iconHeight
Overrides: module:skins/DefaultSkin.DefaultSkin#iconHeight
Icon height
iconFill: string
Inherited from module:skins/DefaultSkin.DefaultSkin#iconFill
Overrides: module:skins/DefaultSkin.DefaultSkin#iconFill
Fill color for icons
prevIcon: string
Inherited from module:skins/DefaultSkin.DefaultSkin#prevIcon
Overrides: module:skins/DefaultSkin.DefaultSkin#prevIcon
Icon for 'previous activity' button
nextIcon: string
Inherited from module:skins/DefaultSkin.DefaultSkin#nextIcon
Overrides: module:skins/DefaultSkin.DefaultSkin#nextIcon
Icon for 'next activity' button
fullScreenIcon: string
Inherited from module:skins/DefaultSkin.DefaultSkin#fullScreenIcon
Overrides: module:skins/DefaultSkin.DefaultSkin#fullScreenIcon
Full screen on icon
fullScreenExitIcon: string
Inherited from module:skins/DefaultSkin.DefaultSkin#fullScreenExitIcon
Overrides: module:skins/DefaultSkin.DefaultSkin#fullScreenExitIcon
Full screen off icon
closeIcon: string
Inherited from module:skins/DefaultSkin.DefaultSkin#closeIcon
Overrides: module:skins/DefaultSkin.DefaultSkin#closeIcon
Close button
infoIcon: string
Inherited from module:skins/DefaultSkin.DefaultSkin#infoIcon
Overrides: module:skins/DefaultSkin.DefaultSkin#infoIcon
Info button
reportsIcon: string
Inherited from module:skins/DefaultSkin.DefaultSkin#reportsIcon
Overrides: module:skins/DefaultSkin.DefaultSkin#reportsIcon
Reports button
counterIconWidth: number
Inherited from module:skins/DefaultSkin.DefaultSkin#counterIconWidth
Overrides: module:skins/DefaultSkin.DefaultSkin#counterIconWidth
Counter icon width
counterIconHeight: number
Inherited from module:skins/DefaultSkin.DefaultSkin#counterIconHeight
Overrides: module:skins/DefaultSkin.DefaultSkin#counterIconHeight
Counter icon height
counterIconFill: string
Inherited from module:skins/DefaultSkin.DefaultSkin#counterIconFill
Overrides: module:skins/DefaultSkin.DefaultSkin#counterIconFill
Counter icon fill color
timeIcon: string
Inherited from module:skins/DefaultSkin.DefaultSkin#timeIcon
Overrides: module:skins/DefaultSkin.DefaultSkin#timeIcon
Time icon
scoreIcon: string
Inherited from module:skins/DefaultSkin.DefaultSkin#scoreIcon
Overrides: module:skins/DefaultSkin.DefaultSkin#scoreIcon
Score icon
actionsIcon: string
Inherited from module:skins/DefaultSkin.DefaultSkin#actionsIcon
Overrides: module:skins/DefaultSkin.DefaultSkin#actionsIcon
Actions icon
$div: external:jQuery
Inherited from module:skins/Skin.Skin#$div
Overrides: module:skins/DefaultSkin.DefaultSkin#$div
The HTML div object used by this Skin
$playerCnt: external:jQuery
Inherited from module:skins/Skin.Skin#$playerCnt
Overrides: module:skins/DefaultSkin.DefaultSkin#$playerCnt
The HTML div where JClic Player will be placed
name: string
Inherited from module:skins/Skin.Skin#name
Overrides: module:skins/DefaultSkin.DefaultSkin#name
Current name of the skin.
options: object
Inherited from module:skins/Skin.Skin#options
Overrides: module:skins/DefaultSkin.DefaultSkin#options
Specific options of this skin
$waitPanel: external:jQuery
Inherited from module:skins/Skin.Skin#$waitPanel
Overrides: module:skins/DefaultSkin.DefaultSkin#$waitPanel
Waiting panel, displayed while loading resources.
$progress: external:jQuery
Inherited from module:skins/Skin.Skin#$progress
Overrides: module:skins/DefaultSkin.DefaultSkin#$progress
Graphic indicator of loading progress
currentProgress: number
Inherited from module:skins/Skin.Skin#currentProgress
Overrides: module:skins/DefaultSkin.DefaultSkin#currentProgress
Current value of the progress bar
maxProgress: number
Inherited from module:skins/Skin.Skin#maxProgress
Overrides: module:skins/DefaultSkin.DefaultSkin#maxProgress
Max value of the progress bar
$dlgOverlay: external:jQuery
Inherited from module:skins/Skin.Skin#$dlgOverlay
Overrides: module:skins/DefaultSkin.DefaultSkin#$dlgOverlay
Main panel used to display modal and non-modal dialogs
$dlgMainPanel: external:jQuery
Inherited from module:skins/Skin.Skin#$dlgMainPanel
Overrides: module:skins/DefaultSkin.DefaultSkin#$dlgMainPanel
Main panel of dialogs, where relevant information must be placed
$dlgBottomPanel: external:jQuery
Inherited from module:skins/Skin.Skin#$dlgBottomPanel
Overrides: module:skins/DefaultSkin.DefaultSkin#$dlgBottomPanel
Bottom panel of dialogs, used for action buttons
infoHead: external:jQuery
Inherited from module:skins/Skin.Skin#infoHead
Overrides: module:skins/DefaultSkin.DefaultSkin#infoHead
Element usually used as header in dialogs, with JClic logo, name and version
$copyBtn: external:jQuery
Inherited from module:skins/Skin.Skin#$copyBtn
Overrides: module:skins/DefaultSkin.DefaultSkin#$copyBtn
Iconic button used to copy content to clipboard
$closeDlgBtn: external:jQuery
Inherited from module:skins/Skin.Skin#$closeDlgBtn
Overrides: module:skins/DefaultSkin.DefaultSkin#$closeDlgBtn
Iconic button used to close the dialog
$okDlgBtn: external:jQuery
Inherited from module:skins/Skin.Skin#$okDlgBtn
Overrides: module:skins/DefaultSkin.DefaultSkin#$okDlgBtn
OK dialog button
$cancelDlgBtn: external:jQuery
Inherited from module:skins/Skin.Skin#$cancelDlgBtn
Overrides: module:skins/DefaultSkin.DefaultSkin#$cancelDlgBtn
Cancel dialog button
_dlgOkValue: object
Inherited from module:skins/Skin.Skin#_dlgOkValue
Overrides: module:skins/DefaultSkin.DefaultSkin#_dlgOkValue
Value to be returned by the dialog promise when the presented task is fulfilled
_dlgCancelValue: object
Inherited from module:skins/Skin.Skin#_dlgCancelValue
Overrides: module:skins/DefaultSkin.DefaultSkin#_dlgCancelValue
Value to be returned in user-canceled dialogs
_isModalDlg: boolean
Inherited from module:skins/Skin.Skin#_isModalDlg
Overrides: module:skins/DefaultSkin.DefaultSkin#_isModalDlg
Flag indicating if the current dialog is modal or not
$reportsPanel: external:jQuery
Inherited from module:skins/Skin.Skin#$reportsPanel
Overrides: module:skins/DefaultSkin.DefaultSkin#$reportsPanel
Div inside $dlgOverlay where JClicPlayer will place the information to be shown
buttons: object
Inherited from module:skins/Skin.Skin#buttons
Overrides: module:skins/DefaultSkin.DefaultSkin#buttons
The basic collection of buttons that most skins implement
counters: object
Inherited from module:skins/Skin.Skin#counters
Overrides: module:skins/DefaultSkin.DefaultSkin#counters
The collection of counters
msgArea: object
Inherited from module:skins/Skin.Skin#msgArea
Overrides: module:skins/DefaultSkin.DefaultSkin#msgArea
The collection of message areas
player: module:JClicPlayer.JClicPlayer
Inherited from module:skins/Skin.Skin#player
Overrides: module:skins/DefaultSkin.DefaultSkin#player
The JClicPlayer object associated to this skin
ps: module:JClicPlayer.JClicPlayer
Inherited from module:skins/Skin.Skin#ps
Overrides: module:skins/DefaultSkin.DefaultSkin#ps
The PlayStation
used by this Skin. Usually, the same as player
waitCursorCount: number
Inherited from module:skins/Skin.Skin#waitCursorCount
Overrides: module:skins/DefaultSkin.DefaultSkin#waitCursorCount
Counter to be incremented or decremented as waitCursor is requested or released.
basicCSS: string
Inherited from module:skins/Skin.Skin#basicCSS
Overrides: module:skins/DefaultSkin.DefaultSkin#basicCSS
Main styles
waitAnimCSS: string
Inherited from module:skins/Skin.Skin#waitAnimCSS
Overrides: module:skins/DefaultSkin.DefaultSkin#waitAnimCSS
Waiting screen styles
waitImgBig: string
Inherited from module:skins/Skin.Skin#waitImgBig
Overrides: module:skins/DefaultSkin.DefaultSkin#waitImgBig
Animated image displayed while loading resources
Based on Ryan Allen's svg-spinner
waitImgSmall: string
Inherited from module:skins/Skin.Skin#waitImgSmall
Overrides: module:skins/DefaultSkin.DefaultSkin#waitImgSmall
Animated image displayed while loading resources (small)
reportsCSS: string
Inherited from module:skins/Skin.Skin#reportsCSS
Overrides: module:skins/DefaultSkin.DefaultSkin#reportsCSS
Reports screen styles
closeDialogIcon: string
Inherited from module:skins/Skin.Skin#closeDialogIcon
Overrides: module:skins/DefaultSkin.DefaultSkin#closeDialogIcon
Icon for 'close dialog' button
okDialogIcon: string
Inherited from module:skins/Skin.Skin#okDialogIcon
Overrides: module:skins/DefaultSkin.DefaultSkin#okDialogIcon
Icon for 'ok' button
copyIcon: string
Inherited from module:skins/Skin.Skin#copyIcon
Overrides: module:skins/DefaultSkin.DefaultSkin#copyIcon
Icon for 'copy' button
appLogo: string
Inherited from module:skins/Skin.Skin#appLogo
Overrides: module:skins/DefaultSkin.DefaultSkin#appLogo
JClic logo
invalidatedRect: module:AWT.Rectangle
Inherited from module:AWT.Container#invalidatedRect
Overrides: module:skins/DefaultSkin.DefaultSkin#invalidatedRect
The currently "invalidated" area
type: string
Inherited from module:AWT.Rectangle#type
Overrides: module:skins/DefaultSkin.DefaultSkin#type
Shape type id
dim: module:AWT.Dimension
Inherited from module:AWT.Rectangle#dim
Overrides: module:skins/DefaultSkin.DefaultSkin#dim
The Dimension of the Rectangle
pos: module:AWT.Point
Inherited from module:AWT.Shape#pos
Overrides: module:skins/DefaultSkin.DefaultSkin#pos
The current position of the shape
skinId: string
Inherited from module:skins/OrangeSkin.OrangeSkin#skinId
Overrides: module:skins/DefaultSkin.DefaultSkin#skinId
Class name of this skin. It will be used as a base selector in the definition of all CSS styles.
Static Fields
skinStack: Array.<module:skins/Skin.Skin>
Inherited from module:skins/Skin.Skin
Collection of realized Skin objects.
rootStyles: object
Inherited from module:skins/Skin.Skin
Collection of skin style sheets already registered on the current document
lastId: number
Inherited from module:skins/Skin.Skin
Counter used to label root nodes with unique IDs
CLASSES: object
Inherited from module:skins/Skin.Skin
List of classes derived from Skin. It should be filled by real skin classes at declaration time.