lib-flex-book-com-rubenswieringa-book-Page.ax (swf ) [ flash ] flex
Dispatched when this @ax-lib-flex-book-com-rubenswieringa-book-Page its index changes (triggered by change in the pages property of the accompanying @fileManager). @eventType com.rubenswieringa.book.@ax-lib-flex-book-com-rubenswieringa-book-Page.INDEX_CHANGED @see @ax-lib-flex-book-com-rubenswieringa-book-Page#INDEX_CHANGED @see @ax-lib-flex-book-com-rubenswieringa-book-Page#index @see @fileManager#pages @private
A container class that stores contents of a page in the Book class. @author Ruben Swieringa ruben.swieringa@gmail.com www.rubenswieringa.com www.rubenswieringa.com/blog @version 1.0.0 @see Book Book @internal edit 4 View code documentation at: http://www.rubenswieringa.com/code/as3/flex/Book/docs/ * Copyright (c) 2005 Ruben Swieringa. All rights reserved. This class is part of the Book component, which is licensed under the CREATIVE COMMONS Attribution 3.0 Unported. You may not use this file except in compliance with the License. You may obtain a copy of the License at: http://creativecommons.org/licenses/by/3.0/deed.en *
@private
@private
@see @ax-lib-flex-book-com-rubenswieringa-book-Page#tearable @private
@see @ax-lib-flex-book-com-rubenswieringa-book-Page#hard @private
@see @ax-lib-flex-book-com-rubenswieringa-book-Page#gradients @private
@see @ax-lib-flex-book-com-rubenswieringa-book-Page#book @private
@private
@see @ax-lib-flex-book-com-rubenswieringa-book-Page#liveBitmapping @private
@see @ax-lib-flex-book-com-rubenswieringa-book-Page#index @private
If true, this @ax-lib-flex-book-com-rubenswieringa-book-Page can not be flipped over. @default false
@private
Constructor
Static style initializer. Sets default style settings for all @ax-lib-flex-book-com-rubenswieringa-book-Page instances. Executed only once. @see http://livedocs.adobe.com/flex/201/html/skinstyle_149_8.html * @see @ax-lib-flex-book-com-rubenswieringa-book-Page#classConstructed @see @ax-lib-flex-book-com-rubenswieringa-book-Page#DEFAULT_STYLES @private
Adds additional children @private
Draws itself on a BitmapData instance and returns it. @return BitmapData
Draws a gradient on the folding-side of the page.
Erases the gradient on the folding-side of the page.
Hides fold-gradient.
Shows fold-gradient.
Erase or draw fold gradient for this @ax-lib-flex-book-com-rubenswieringa-book-Page and the @ax-lib-flex-book-com-rubenswieringa-book-Page on the flipside (if includeFlipSide is true). @param includeFlipSide Boolean indicating whether or not to draw the fold-gradient for this @ax-lib-flex-book-com-rubenswieringa-book-Page its flipside.
Tears this @ax-lib-flex-book-com-rubenswieringa-book-Page instance out of its corresponding Book.When called, this method will be executed regardless of the tearable property its value. @param fromTop If true, the @ax-lib-flex-book-com-rubenswieringa-book-Page will be torn out by its upper outer corner, if false by its lower outer corner. @see Book#tear@ax-lib-flex-book-com-rubenswieringa-book-Page() @see @ax-lib-flex-book-com-rubenswieringa-book-Page#tearable @throws BookError Gets thrown when page is an index-value and out of bounds. @see BookError#OUT_OF_BOUNDS
Returns the @ax-lib-flex-book-com-rubenswieringa-book-Page instance that is displayed on the other side of this @ax-lib-flex-book-com-rubenswieringa-book-Page. @return @ax-lib-flex-book-com-rubenswieringa-book-Page
Returns true if this is the first @ax-lib-flex-book-com-rubenswieringa-book-Page in the Book it belongs to, false otherwise. @return Boolean indicating whether or not the @ax-lib-flex-book-com-rubenswieringa-book-Page is the first in line
Returns true if this is the last @ax-lib-flex-book-com-rubenswieringa-book-Page in the Book it belongs to, false otherwise. @return Boolean indicating whether or not the @ax-lib-flex-book-com-rubenswieringa-book-Page is the last in line
Re-calculates the internal for the index property of this @ax-lib-flex-book-com-rubenswieringa-book-Page instance. Typically this method is used as a listener for the contentChanged Event of the accompanying @fileManager. @see BookEvent#CONTENT_CHANGED @see @ax-lib-flex-book-com-rubenswieringa-book-Page#index @private
Gradients instance associated with this @ax-lib-flex-book-com-rubenswieringa-book-Page. @see Gradients @private
Book instance with which this @ax-lib-flex-book-com-rubenswieringa-book-Page is associated. Can only be set once. @see Book
Sets the internal for the book property. @see @ax-lib-flex-book-com-rubenswieringa-book-Page#book @private
Indicates whether or not this @ax-lib-flex-book-com-rubenswieringa-book-Page should be hard (true) or flexible (false). Defaults to false. Returns true if either this @ax-lib-flex-book-com-rubenswieringa-book-Page or the flipside @ax-lib-flex-book-com-rubenswieringa-book-Page has is hard.. @default false @see @ax-lib-flex-book-com-rubenswieringa-book-Page#explicitHard
Returns the hard option for this @ax-lib-flex-book-com-rubenswieringa-book-Page only, where the hard property returns true if either this @ax-lib-flex-book-com-rubenswieringa-book-Page or its flipside is hard. Unless you're modifying this class you will most likely not need to use this property. @default false @see @ax-lib-flex-book-com-rubenswieringa-book-Page#hard
Index of this @ax-lib-flex-book-com-rubenswieringa-book-Page within the pages property of the containing Book instance. @see Book#pages
Indicates whether or not this @ax-lib-flex-book-com-rubenswieringa-book-Page plays animation while being flipped. Note that enabling liveBitmapping may result in decreased performance. @default false @see Book#lifeBitmapping
int indicating on which side the @ax-lib-flex-book-com-rubenswieringa-book-Page is displayed (0=left, 1=right). @see @ax-lib-flex-book-com-rubenswieringa-book-Page#LEFT @see @ax-lib-flex-book-com-rubenswieringa-book-Page#RIGHT
Indicates whether or not this @ax-lib-flex-book-com-rubenswieringa-book-Page should be allowed to be be torn from its Book, false if not. Defaults to false. Returns true if either this @ax-lib-flex-book-com-rubenswieringa-book-Page or its flipside @ax-lib-flex-book-com-rubenswieringa-book-Page has is tearable, or if the Book associated with this @ax-lib-flex-book-com-rubenswieringa-book-Page has its tearable property set to true. Note that even if a @ax-lib-flex-book-com-rubenswieringa-book-Page has its tearable property set to false, it can still be torn out of its Book with the tear() or tear@ax-lib-flex-book-com-rubenswieringa-book-Page() methods. This property merely indicates whether or not tearing can be achieved by dragging the page-corner manually. @default false @see Book#tear@ax-lib-flex-book-com-rubenswieringa-book-Page() @see @ax-lib-flex-book-com-rubenswieringa-book-Page#tear() @see @ax-lib-flex-book-com-rubenswieringa-book-Page#explicitTearable
Returns the tearable option for this @ax-lib-flex-book-com-rubenswieringa-book-Page only, where the tearable property returns true if either this @ax-lib-flex-book-com-rubenswieringa-book-Page or its flipside is tearable. Unless you're modifying this class you will most likely not need to use this property. @default false @see @ax-lib-flex-book-com-rubenswieringa-book-Page#tearable
Disable scrolling to force this @ax-lib-flex-book-com-rubenswieringa-book-Page its fold-gradient to remain in place. Both scroll-policies have already been turned off in the constructor. This is an issue that may be addressed in future versions. @see @ax-lib-flex-book-com-rubenswieringa-book-Page#verticalScrollPolicy @private
Disable scrolling to force this @ax-lib-flex-book-com-rubenswieringa-book-Page its fold-gradient to remain in place. Both scroll-policies have already been turned off in the constructor. This is an issue that may be addressed in future versions. @see @ax-lib-flex-book-com-rubenswieringa-book-Page#horizontalScrollPolicy @private
(C) Æliens 18/6/2009
You may not copy or print any of this material without explicit permission of the author or the publisher. In case of other copyright issues, contact the author.