Download
Getting Started
Members
Projects
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
More
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
Toggle navigation
Bugzilla – Attachment 114286 Details for
Bug 225764
KeyEvents are missing
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
Terms of Use
|
Copyright Agent
Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read
this important communication.
[patch]
Patch that reflects the current development state
intermediate.patch (text/plain), 1.65 MB, created by
RĂ¼diger Herrmann
on 2008-10-06 04:55:57 EDT
(
hide
)
Description:
Patch that reflects the current development state
Filename:
MIME Type:
Creator:
RĂ¼diger Herrmann
Created:
2008-10-06 04:55:57 EDT
Size:
1.65 MB
patch
obsolete
>### Eclipse Workspace Patch 1.0 >#P org.eclipse.rap.rwt >Index: src/org/eclipse/rwt/internal/lifecycle/CurrentPhase.java >=================================================================== >RCS file: /cvsroot/technology/org.eclipse.rap/org.eclipse.rap.rwt/src/org/eclipse/rwt/internal/lifecycle/CurrentPhase.java,v >retrieving revision 1.3 >diff -u -r1.3 CurrentPhase.java >--- src/org/eclipse/rwt/internal/lifecycle/CurrentPhase.java 12 Jun 2008 13:12:18 -0000 1.3 >+++ src/org/eclipse/rwt/internal/lifecycle/CurrentPhase.java 6 Oct 2008 08:49:21 -0000 >@@ -8,7 +8,6 @@ > * Contributors: > * Innoopract Informationssysteme GmbH - initial API and implementation > ******************************************************************************/ >- > package org.eclipse.rwt.internal.lifecycle; > > import org.eclipse.rwt.internal.service.ContextProvider; >Index: src/org/eclipse/rwt/internal/lifecycle/JSConst.java >=================================================================== >RCS file: /cvsroot/technology/org.eclipse.rap/org.eclipse.rap.rwt/src/org/eclipse/rwt/internal/lifecycle/JSConst.java,v >retrieving revision 1.7 >diff -u -r1.7 JSConst.java >--- src/org/eclipse/rwt/internal/lifecycle/JSConst.java 1 Sep 2008 22:39:10 -0000 1.7 >+++ src/org/eclipse/rwt/internal/lifecycle/JSConst.java 6 Oct 2008 08:49:21 -0000 >@@ -8,7 +8,6 @@ > * Contributors: > * Innoopract Informationssysteme GmbH - initial API and implementation > ******************************************************************************/ >- > package org.eclipse.rwt.internal.lifecycle; > > import org.eclipse.rwt.lifecycle.JSVar; >@@ -58,6 +57,8 @@ > = "org.eclipse.swt.events.mouseDown"; > public static final String EVENT_MOUSE_DOUBLE_CLICK > = "org.eclipse.swt.events.mouseDoubleClick"; >+ public static final String EVENT_KEY_DOWN >+ = "org.eclipse.swt.events.keyDown"; > > > // Parameter names that specify further event details >@@ -87,10 +88,15 @@ > = "org.eclipse.swt.events.mouseDoubleClick.x"; > public static final String EVENT_MOUSE_DOUBLE_CLICK_Y > = "org.eclipse.swt.events.mouseDoubleClick.y"; >+ public static final String EVENT_KEY_DOWN_KEY_CODE >+ = "org.eclipse.swt.events.keyDown.keyCode"; >+ public static final String EVENT_KEY_DOWN_CHARACTER >+ = "org.eclipse.swt.events.keyDown.character"; >+ public static final String EVENT_KEY_DOWN_EVENT_ID >+ = "org.eclipse.swt.events.keyDown.eventId"; > >- /** >- * <p>Indicates that a shell was closed on the client side. The parameter >- * value holds the id of the shell that was closed.</p> */ >+ // Indicates that a shell was closed on the client side. The parameter >+ // value holds the id of the shell that was closed. > public static final String EVENT_SHELL_CLOSED > = "org.eclipse.swt.widgets.Shell_close"; > >Index: src/org/eclipse/swt/events/MouseEvent.java >=================================================================== >RCS file: /cvsroot/technology/org.eclipse.rap/org.eclipse.rap.rwt/src/org/eclipse/swt/events/MouseEvent.java,v >retrieving revision 1.1 >diff -u -r1.1 MouseEvent.java >--- src/org/eclipse/swt/events/MouseEvent.java 4 Apr 2008 15:36:30 -0000 1.1 >+++ src/org/eclipse/swt/events/MouseEvent.java 6 Oct 2008 08:49:21 -0000 >@@ -27,6 +27,12 @@ > * as the <code>SWT</code> mask constants <code>BUTTONx</code>. > * </p> > * >+ * <p><strong>IMPORTANT:</strong> All <code>public static</code> members of >+ * this class are <em>not</em> part of the RWT public API. They are marked >+ * public only so that they can be shared within the packages provided by RWT. >+ * They should never be accessed from application code. >+ * </p> >+ * > * @see MouseListener > * @see MouseMoveListener > * @see MouseTrackListener >@@ -133,7 +139,7 @@ > + "}"; > } > >- public static void addListener( final Adaptable adaptable, >+ public static void addListener( final Adaptable adaptable, > final MouseListener listener ) > { > addListener( adaptable, LISTENER, listener ); >Index: src/org/eclipse/swt/events/TypedEvent.java >=================================================================== >RCS file: /cvsroot/technology/org.eclipse.rap/org.eclipse.rap.rwt/src/org/eclipse/swt/events/TypedEvent.java,v >retrieving revision 1.19 >diff -u -r1.19 TypedEvent.java >--- src/org/eclipse/swt/events/TypedEvent.java 11 Sep 2008 19:25:35 -0000 1.19 >+++ src/org/eclipse/swt/events/TypedEvent.java 6 Oct 2008 08:49:21 -0000 >@@ -8,7 +8,6 @@ > * Contributors: > * Innoopract Informationssysteme GmbH - initial API and implementation > ******************************************************************************/ >- > package org.eclipse.swt.events; > > import java.util.ArrayList; >@@ -59,7 +58,8 @@ > SelectionEvent.class, > LocationEvent.class, > ShellEvent.class, >- MenuEvent.class >+ MenuEvent.class, >+ KeyEvent.class > }; > > /** >Index: src/org/eclipse/rwt/lifecycle/ControlLCAUtil.java >=================================================================== >RCS file: /cvsroot/technology/org.eclipse.rap/org.eclipse.rap.rwt/src/org/eclipse/rwt/lifecycle/ControlLCAUtil.java,v >retrieving revision 1.20 >diff -u -r1.20 ControlLCAUtil.java >--- src/org/eclipse/rwt/lifecycle/ControlLCAUtil.java 6 Oct 2008 08:34:15 -0000 1.20 >+++ src/org/eclipse/rwt/lifecycle/ControlLCAUtil.java 6 Oct 2008 08:49:21 -0000 >@@ -16,8 +16,10 @@ > > import javax.servlet.http.HttpServletRequest; > >+import org.eclipse.rwt.RWT; > import org.eclipse.rwt.internal.lifecycle.JSConst; > import org.eclipse.rwt.internal.service.ContextProvider; >+import org.eclipse.rwt.service.IServiceStore; > import org.eclipse.swt.SWT; > import org.eclipse.swt.custom.SashForm; > import org.eclipse.swt.events.*; >@@ -67,18 +69,29 @@ > private static final String JS_FUNC_REMOVE_ACTIVATE_LISTENER_WIDGET > = "removeActivateListenerWidget"; > >- private static final String PROP_CURSOR = "cursor"; >- > // Property names to preserve widget property values > private static final String PROP_ACTIVATE_LISTENER = "activateListener"; > private static final String PROP_FOCUS_LISTENER = "focusListener"; > private static final String PROP_MOUSE_LISTENER = "mouseListener"; >+ private static final String PROP_KEY_LISTENER = "keyListener"; > private static final String PROP_TAB_INDEX = "tabIndex"; >+ private static final String PROP_CURSOR = "cursor"; > private static final String PROP_BACKGROUND_IMAGE = "backgroundImage"; > >+ private static final String USER_DATA_KEY_LISTENER = "keyListener"; >+ private static final String ATT_CANCEL_KEY_EVENT >+ = ControlLCAUtil.class.getName() + "#cancelKeyEvent"; >+ static final String ATT_ACCEPT_KEY_EVENT >+ = ControlLCAUtil.class.getName() + "#acceptKeyEvent"; >+ static final String JSFUNC_CANCEL_EVENT >+ = "org.eclipse.rwt.KeyEventUtil.getInstance().cancelEvent"; >+ static final String JSFUNC_ACCEPT_EVENT >+ = "org.eclipse.rwt.KeyEventUtil.getInstance().acceptEvent"; >+ > static final int MAX_STATIC_ZORDER = 300; > > >+ > private ControlLCAUtil() { > // prevent instance creation > } >@@ -139,6 +152,8 @@ > adapter.preserve( PROP_FOCUS_LISTENER, > Boolean.valueOf( FocusEvent.hasListener( control ) ) ); > } >+ adapter.preserve( PROP_KEY_LISTENER, >+ Boolean.valueOf( KeyEvent.hasListener( control ) ) ); > } > > /** >@@ -321,6 +336,8 @@ > writeActivateListener( control ); > writeFocusListener( control ); > writeMouseListener( control ); >+ writeKeyListener( control ); >+ writeKeyEventResponse( control ); > } > > /** >@@ -736,6 +753,24 @@ > hasListener ); > } > >+ static void writeKeyListener( final Control control ) >+ throws IOException >+ { >+ String prop = PROP_KEY_LISTENER; >+ Boolean hasListener = Boolean.valueOf( KeyEvent.hasListener( control ) ); >+ Boolean defValue = Boolean.FALSE; >+ if( WidgetLCAUtil.hasChanged( control, prop, hasListener, defValue ) ) { >+ JSWriter writer = JSWriter.getWriterFor( control ); >+ if( hasListener.booleanValue() ) { >+ Object[] args = new Object[] { USER_DATA_KEY_LISTENER, hasListener }; >+ writer.call( "setUserData", args ); >+ } else { >+ Object[] args = new Object[] { USER_DATA_KEY_LISTENER, null }; >+ writer.call( "setUserData", args ); >+ } >+ } >+ } >+ > ////////// > // Z-Index > >@@ -750,7 +785,7 @@ > if( control.getParent() != null ) { > // TODO [rh] revise: determining the childrenCount by getting all the > // children might be bad performance-wise. This was done in order to >- // eliminate Composite#getChildrenCount() which no API in SWT >+ // eliminate Composite#getChildrenCount() which is no API in SWT > max = Math.max( control.getParent().getChildren().length, max ); > } > Object adapter = control.getAdapter( IControlAdapter.class ); >@@ -818,9 +853,6 @@ > return nextIndex; > } > >- /** >- * Determines the tab index to write for a given control. >- */ > private static int getTabIndex( final Control control ) { > int result = -1; > if( takesFocus( control ) ) { >@@ -831,6 +863,7 @@ > return result; > } > >+ // TODO [rh] Eliminate instance checks. Let the respective classes always return NO_FOCUS > private static boolean takesFocus( final Control control ) { > boolean result = true; > result &= ( control.getStyle() & SWT.NO_FOCUS ) == 0; >@@ -888,6 +921,150 @@ > SWT.NONE ); > } > >+ public static void processKeyEvents( final Control control ) { >+ if( WidgetLCAUtil.wasEventSent( control, JSConst.EVENT_KEY_DOWN ) ) { >+ final KeyEvent event = new KeyEvent( control, KeyEvent.KEY_PRESSED ); >+ int keyCode = readIntParam( JSConst.EVENT_KEY_DOWN_KEY_CODE ); >+ translateKeyCode( keyCode, event ); >+ ProcessActionRunner.add( new Runnable() { >+ public void run() { >+ event.processEvent(); >+ if( event.doit ) { >+ acceptKeyEvent( event ); >+ } else { >+ cancelKeyEvent( event ); >+ } >+ } >+ } ); >+ } >+ } >+ >+ private static void translateKeyCode( final int keyCode, >+ final KeyEvent event ) >+ { >+ switch( keyCode ) { >+ case 20: >+ event.keyCode = SWT.CAPS_LOCK; >+ break; >+ case 38: >+ event.keyCode = SWT.UP; >+ break; >+ case 37: >+ event.keyCode = SWT.LEFT; >+ break; >+ case 39: >+ event.keyCode = SWT.RIGHT; >+ break; >+ case 40: >+ event.keyCode = SWT.DOWN; >+ break; >+ case 33: >+ event.keyCode = SWT.PAGE_UP; >+ break; >+ case 34: >+ event.keyCode = SWT.PAGE_DOWN; >+ break; >+ case 35: >+ event.keyCode = SWT.END; >+ break; >+ case 36: >+ event.keyCode = SWT.HOME; >+ break; >+ case 45: >+ event.keyCode = SWT.INSERT; >+ break; >+ case 46: >+ event.keyCode = SWT.DEL; >+ break; >+ case 112: >+ event.keyCode = SWT.F1; >+ break; >+ case 113: >+ event.keyCode = SWT.F2; >+ break; >+ case 114: >+ event.keyCode = SWT.F3; >+ break; >+ case 115: >+ event.keyCode = SWT.F4; >+ break; >+ case 116: >+ event.keyCode = SWT.F5; >+ break; >+ case 117: >+ event.keyCode = SWT.F6; >+ break; >+ case 118: >+ event.keyCode = SWT.F7; >+ break; >+ case 119: >+ event.keyCode = SWT.F8; >+ break; >+ case 120: >+ event.keyCode = SWT.F9; >+ break; >+ case 121: >+ event.keyCode = SWT.F10; >+ break; >+ case 122: >+ event.keyCode = SWT.F11; >+ break; >+ case 123: >+ event.keyCode = SWT.F12; >+ break; >+ case 144: >+ event.keyCode = SWT.NUM_LOCK; >+ break; >+ case 44: >+ event.keyCode = SWT.PRINT_SCREEN; >+ break; >+ case 145: >+ event.keyCode = SWT.SCROLL_LOCK; >+ break; >+ case 19: >+ event.keyCode = SWT.PAUSE; >+ break; >+ default: >+ event.keyCode = keyCode; >+ event.character = toCharacter( keyCode ); >+ } >+ } >+ >+ private static void cancelKeyEvent( final KeyEvent event ) { >+ RWT.getServiceStore().setAttribute( ATT_CANCEL_KEY_EVENT, event.widget ); >+ } >+ >+ private static void acceptKeyEvent( final KeyEvent event ) { >+ RWT.getServiceStore().setAttribute( ATT_ACCEPT_KEY_EVENT, event.widget ); >+ } >+ >+ private static void writeKeyEventResponse( final Control control ) >+ throws IOException >+ { >+ String functionName = null; >+ IServiceStore serviceStore = RWT.getServiceStore(); >+ if( serviceStore.getAttribute( ATT_CANCEL_KEY_EVENT ) == control ) { >+ functionName = JSFUNC_CANCEL_EVENT; >+ } else if( serviceStore.getAttribute( ATT_ACCEPT_KEY_EVENT ) == control ) { >+ functionName = JSFUNC_ACCEPT_EVENT; >+ } >+ if( functionName != null ) { >+ JSWriter writer = JSWriter.getWriterFor( control ); >+ HttpServletRequest request = ContextProvider.getRequest(); >+ String value = request.getParameter( JSConst.EVENT_KEY_DOWN_EVENT_ID ); >+ Integer eventId = Integer.valueOf( value ); >+ writer.callStatic( functionName, new Object[] { eventId } ); >+ } >+ } >+ >+ private static char toCharacter( final int keyCode ) { >+ char result = ( char )0; >+ if( Character.isDefined( ( char )keyCode ) ) { >+ result = ( char )keyCode; >+ } >+ return result; >+ } >+ > public static void processMouseEvents( final Control control ) { > if( WidgetLCAUtil.wasEventSent( control, JSConst.EVENT_MOUSE_DOWN ) ) { > MouseEvent event = new MouseEvent( control, MouseEvent.MOUSE_DOWN ); >Index: src/org/eclipse/swt/internal/widgets/UntypedEventAdapter.java >=================================================================== >RCS file: /cvsroot/technology/org.eclipse.rap/org.eclipse.rap.rwt/src/org/eclipse/swt/internal/widgets/UntypedEventAdapter.java,v >retrieving revision 1.13 >diff -u -r1.13 UntypedEventAdapter.java >--- src/org/eclipse/swt/internal/widgets/UntypedEventAdapter.java 15 Aug 2008 09:08:40 -0000 1.13 >+++ src/org/eclipse/swt/internal/widgets/UntypedEventAdapter.java 6 Oct 2008 08:49:21 -0000 >@@ -30,7 +30,8 @@ > ModifyListener, > SetDataListener, > VerifyListener, >- MouseListener >+ MouseListener, >+ KeyListener > { > private ArrayList listeners = new ArrayList(); > >@@ -170,6 +171,17 @@ > dispatchEvent( SWT.MouseDoubleClick, event ); > } > >+ public void keyPressed( final KeyEvent typedEvent ) { >+ Event event = createEvent( SWT.KeyDown, typedEvent.getSource() ); >+ event.character = typedEvent.character; >+ event.keyCode = typedEvent.keyCode; >+ event.stateMask = typedEvent.stateMask; >+ event.doit = typedEvent.doit; >+ event.data = typedEvent.data; >+ dispatchEvent( SWT.KeyDown, event ); >+ typedEvent.doit = event.doit; >+ } >+ > public void addListener( final Widget widget, > final int eventType, > final Listener listener ) >@@ -218,6 +230,9 @@ > case SWT.MouseDoubleClick: > MouseEvent.addListener( widget, this ); > break; >+ case SWT.KeyDown: >+ KeyEvent.addListener( widget, this ); >+ break; > default: > String txt = "The untyped event ''{0}'' is not supported."; > Object[] param = new Object[] { new Integer( eventType ) }; >@@ -274,6 +289,9 @@ > case SWT.MouseDoubleClick: > MouseEvent.removeListener( widget, this ); > break; >+ case SWT.KeyDown: >+ KeyEvent.removeListener( widget, this ); >+ break; > default: > String txt = "The untyped event ''{0}'' is not supported."; > Object[] param = new Object[] { new Integer( eventType ) }; >Index: src/org/eclipse/swt/widgets/Control.java >=================================================================== >RCS file: /cvsroot/technology/org.eclipse.rap/org.eclipse.rap.rwt/src/org/eclipse/swt/widgets/Control.java,v >retrieving revision 1.42 >diff -u -r1.42 Control.java >--- src/org/eclipse/swt/widgets/Control.java 18 Sep 2008 19:18:52 -0000 1.42 >+++ src/org/eclipse/swt/widgets/Control.java 6 Oct 2008 08:49:21 -0000 >@@ -1485,6 +1485,68 @@ > > /** > * Adds the listener to the collection of listeners who will >+ * be notified when keys are pressed and released on the system keyboard, by sending >+ * it one of the messages defined in the <code>KeyListener</code> >+ * interface. >+ * <!-- >+ * TODO [rh] investigate whether this statements is true in RWT as well >+ * <p> >+ * When a key listener is added to a control, the control >+ * will take part in widget traversal. By default, all >+ * traversal keys (such as the tab key and so on) are >+ * delivered to the control. In order for a control to take >+ * part in traversal, it should listen for traversal events. >+ * Otherwise, the user can traverse into a control but not >+ * out. Note that native controls such as table and tree >+ * implement key traversal in the operating system. It is >+ * not necessary to add traversal listeners for these controls, >+ * unless you want to override the default traversal. >+ * </p> >+ * --> >+ * @param listener the listener which should be notified >+ * >+ * @exception IllegalArgumentException <ul> >+ * <li>ERROR_NULL_ARGUMENT - if the listener is null</li> >+ * </ul> >+ * @exception SWTException <ul> >+ * <li>ERROR_WIDGET_DISPOSED - if the receiver has been disposed</li> >+ * <li>ERROR_THREAD_INVALID_ACCESS - if not called from the thread that created the receiver</li> >+ * </ul> >+ * >+ * @see KeyListener >+ * @see #removeKeyListener >+ * >+ * @since 1.2 >+ */ >+ public void addKeyListener( final KeyListener listener ) { >+ KeyEvent.addListener( this, listener ); >+ } >+ >+ /** >+ * Removes the listener from the collection of listeners who will >+ * be notified when keys are pressed and released on the system keyboard. >+ * >+ * @param listener the listener which should no longer be notified >+ * >+ * @exception IllegalArgumentException <ul> >+ * <li>ERROR_NULL_ARGUMENT - if the listener is null</li> >+ * </ul> >+ * @exception SWTException <ul> >+ * <li>ERROR_WIDGET_DISPOSED - if the receiver has been disposed</li> >+ * <li>ERROR_THREAD_INVALID_ACCESS - if not called from the thread that created the receiver</li> >+ * </ul> >+ * >+ * @see KeyListener >+ * @see #addKeyListener >+ * >+ * @since 1.2 >+ */ >+ public void removeKeyListener( final KeyListener listener ) { >+ KeyEvent.removeListener( this, listener ); >+ } >+ >+ /** >+ * Adds the listener to the collection of listeners who will > * be notified when the control gains or loses focus, by sending > * it one of the messages defined in the <code>FocusListener</code> > * interface. >Index: src/org/eclipse/swt/SWT.java >=================================================================== >RCS file: /cvsroot/technology/org.eclipse.rap/org.eclipse.rap.rwt/src/org/eclipse/swt/SWT.java,v >retrieving revision 1.35 >diff -u -r1.35 SWT.java >--- src/org/eclipse/swt/SWT.java 18 Sep 2008 19:33:14 -0000 1.35 >+++ src/org/eclipse/swt/SWT.java 6 Oct 2008 08:49:21 -0000 >@@ -44,6 +44,20 @@ > public static final int None = 0; > > /** >+ * The key down event type (value is 1). >+ * >+ * @see org.eclipse.swt.widgets.Widget#addListener >+ * <!-- @see org.eclipse.swt.widgets.Display#addFilter --> >+ * @see org.eclipse.swt.widgets.Event >+ * >+ * @see org.eclipse.swt.widgets.Control#addKeyListener >+ * <!-- @see org.eclipse.swt.widgets.Tracker#addKeyListener --> >+ * @see org.eclipse.swt.events.KeyListener#keyPressed >+ * @see org.eclipse.swt.events.KeyEvent >+ */ >+ public static final int KeyDown = 1; >+ >+ /** > * The mouse down event type (value is 3). > * > * @see org.eclipse.swt.widgets.Widget#addListener >@@ -473,6 +487,14 @@ > public static final int FILL = 4; > > /** >+ * ASCII character convenience constant for the delete character >+ * (value is the <code>char</code> with value 127). >+ * >+ * @since 1.2 >+ */ >+ public static final char DEL = 0x7F; >+ >+ /** > * ASCII character convenience constant for the escape character > * (value is the <code>char</code> with value 27). > * >@@ -513,6 +535,51 @@ > public static final char TAB = '\t'; > > /** >+ * keyboard and/or mouse event mask indicating that the ALT key >+ * was pushed on the keyboard when the event was generated >+ * (value is 1<<16). >+ * >+ * @since 1.1 >+ */ >+ public static final int ALT = 1 << 16; >+ >+ /** >+ * Keyboard and/or mouse event mask indicating that the SHIFT key >+ * was pushed on the keyboard when the event was generated >+ * (value is 1<<17). >+ * >+ * @since 1.1 >+ */ >+ public static final int SHIFT = 1 << 17; >+ >+ /** >+ * Keyboard and/or mouse event mask indicating that the CTRL key >+ * was pushed on the keyboard when the event was generated >+ * (value is 1<<18). >+ * >+ * @since 1.1 >+ */ >+ public static final int CTRL = 1 << 18; >+ >+ /** >+ * Keyboard and/or mouse event mask indicating that the CTRL key >+ * was pushed on the keyboard when the event was generated. This >+ * is a synonym for CTRL (value is 1<<18). >+ * >+ * @since 1.1 >+ */ >+ public static final int CONTROL = CTRL; >+ >+ /** >+ * Keyboard and/or mouse event mask indicating that the COMMAND key >+ * was pushed on the keyboard when the event was generated >+ * (value is 1<<22). >+ * >+ * @since 1.1 >+ */ >+ public static final int COMMAND = 1 << 22; >+ >+ /** > * Accelerator constant used to differentiate a key code from a > * unicode character. > * >@@ -530,51 +597,416 @@ > * <code>((SWT.MOD3 | SWT.F2) & SWT.KEYCODE_BIT) != 0</code>. > * > * (value is (1<<24)) >+ * >+ * @since 1.1 > */ > public static final int KEYCODE_BIT = ( 1 << 24 ); > > /** >+ * Accelerator constant used to extract the key stroke portion of >+ * an accelerator. >+ * >+ * The key stroke may be a key code or a unicode >+ * value. If the key stroke is a key code <code>KEYCODE_BIT</code> >+ * will be set. >+ * >+ * @since 1.2 >+ */ >+ public static final int KEY_MASK = KEYCODE_BIT + 0xFFFF; >+ >+ /** >+ * Keyboard event constant representing the UP ARROW key >+ * (value is (1<<24)+1). >+ * >+ * @since 1.2 >+ */ >+ public static final int ARROW_UP = KEYCODE_BIT + 1; >+ >+ /** >+ * Keyboard event constant representing the DOWN ARROW key >+ * (value is (1<<24)+2). >+ * >+ * @since 1.2 >+ */ >+ public static final int ARROW_DOWN = KEYCODE_BIT + 2; >+ >+ /** >+ * Keyboard event constant representing the LEFT ARROW key >+ * (value is (1<<24)+3). >+ * >+ * @since 1.2 >+ */ >+ public static final int ARROW_LEFT = KEYCODE_BIT + 3; >+ >+ /** >+ * Keyboard event constant representing the RIGHT ARROW key >+ * (value is (1<<24)+4). >+ * >+ * @since 1.2 >+ */ >+ public static final int ARROW_RIGHT = KEYCODE_BIT + 4; >+ >+ /** >+ * Keyboard event constant representing the PAGE UP key >+ * (value is (1<<24)+5). >+ * >+ * @since 1.2 >+ */ >+ public static final int PAGE_UP = KEYCODE_BIT + 5; >+ >+ /** >+ * Keyboard event constant representing the PAGE DOWN key >+ * (value is (1<<24)+6). >+ * >+ * @since 1.2 >+ */ >+ public static final int PAGE_DOWN = KEYCODE_BIT + 6; >+ >+ /** >+ * Keyboard event constant representing the HOME key >+ * (value is (1<<24)+7). >+ * >+ * @since 1.2 >+ */ >+ public static final int HOME = KEYCODE_BIT + 7; >+ >+ /** > * Keyboard event constant representing the END key > * (value is (1<<24)+8). >+ * >+ * @since 1.1 > */ > public static final int END = KEYCODE_BIT + 8; > > /** >- * keyboard and/or mouse event mask indicating that the ALT key >- * was pushed on the keyboard when the event was generated >- * (value is 1<<16). >+ * Keyboard event constant representing the INSERT key >+ * (value is (1<<24)+9). >+ * >+ * @since 1.2 > */ >- public static final int ALT = 1 << 16; >+ public static final int INSERT = KEYCODE_BIT + 9; > > /** >- * Keyboard and/or mouse event mask indicating that the SHIFT key >- * was pushed on the keyboard when the event was generated >- * (value is 1<<17). >+ * Keyboard event constant representing the F1 key >+ * (value is (1<<24)+10). >+ * >+ * @since 1.2 > */ >- public static final int SHIFT = 1 << 17; >+ public static final int F1 = KEYCODE_BIT + 10; >+ >+ /** >+ * Keyboard event constant representing the F2 key >+ * (value is (1<<24)+11). >+ * >+ * @since 1.2 >+ */ >+ public static final int F2 = KEYCODE_BIT + 11; >+ >+ /** >+ * Keyboard event constant representing the F3 key >+ * (value is (1<<24)+12). >+ * >+ * @since 1.2 >+ */ >+ public static final int F3 = KEYCODE_BIT + 12; >+ >+ /** >+ * Keyboard event constant representing the F4 key >+ * (value is (1<<24)+13). >+ * >+ * @since 1.2 >+ */ >+ public static final int F4 = KEYCODE_BIT + 13; >+ >+ /** >+ * Keyboard event constant representing the F5 key >+ * (value is (1<<24)+14). >+ * >+ * @since 1.2 >+ */ >+ public static final int F5 = KEYCODE_BIT + 14; >+ >+ /** >+ * Keyboard event constant representing the F6 key >+ * (value is (1<<24)+15). >+ * >+ * @since 1.2 >+ */ >+ public static final int F6 = KEYCODE_BIT + 15; >+ >+ /** >+ * Keyboard event constant representing the F7 key >+ * (value is (1<<24)+16). >+ * >+ * @since 1.2 >+ */ >+ public static final int F7 = KEYCODE_BIT + 16; >+ >+ /** >+ * Keyboard event constant representing the F8 key >+ * (value is (1<<24)+17). >+ * >+ * @since 1.2 >+ */ >+ public static final int F8 = KEYCODE_BIT + 17; >+ >+ /** >+ * Keyboard event constant representing the F9 key >+ * (value is (1<<24)+18). >+ * >+ * @since 1.2 >+ */ >+ public static final int F9 = KEYCODE_BIT + 18; >+ >+ /** >+ * Keyboard event constant representing the F10 key >+ * (value is (1<<24)+19). >+ * >+ * @since 1.2 >+ */ >+ public static final int F10 = KEYCODE_BIT + 19; >+ >+ /** >+ * Keyboard event constant representing the F11 key >+ * (value is (1<<24)+20). >+ * >+ * @since 1.2 >+ */ >+ public static final int F11 = KEYCODE_BIT + 20; >+ >+ /** >+ * Keyboard event constant representing the F12 key >+ * (value is (1<<24)+21). >+ * >+ * @since 1.2 >+ */ >+ public static final int F12 = KEYCODE_BIT + 21; > >+// TODO [rh] find out how what client-side the key codes are for F13 - F15 >+// /** >+// * Keyboard event constant representing the F13 key >+// * (value is (1<<24)+22). >+// * >+// * @since 1.2 >+// */ >+// public static final int F13 = KEYCODE_BIT + 22; >+// >+// /** >+// * Keyboard event constant representing the F14 key >+// * (value is (1<<24)+23). >+// * >+// * @since 1.2 >+// */ >+// public static final int F14 = KEYCODE_BIT + 23; >+// >+// /** >+// * Keyboard event constant representing the F15 key >+// * (value is (1<<24)+24). >+// * >+// * @since 1.2 >+// */ >+// public static final int F15 = KEYCODE_BIT + 24; >+// > /** >- * Keyboard and/or mouse event mask indicating that the CTRL key >- * was pushed on the keyboard when the event was generated >- * (value is 1<<18). >+ * Keyboard event constant representing the numeric key >+ * pad multiply key (value is (1<<24)+42). >+ * >+ * @since 1.2 > */ >- public static final int CTRL = 1 << 18; >+ public static final int KEYPAD_MULTIPLY = KEYCODE_BIT + 42; >+ >+ /** >+ * Keyboard event constant representing the numeric key >+ * pad add key (value is (1<<24)+43). >+ * >+ * @since 1.2 >+ */ >+ public static final int KEYPAD_ADD = KEYCODE_BIT + 43; >+ >+ /** >+ * Keyboard event constant representing the numeric key >+ * pad subtract key (value is (1<<24)+45). >+ * >+ * @since 1.2 >+ */ >+ public static final int KEYPAD_SUBTRACT = KEYCODE_BIT + 45; > > /** >- * Keyboard and/or mouse event mask indicating that the CTRL key >- * was pushed on the keyboard when the event was generated. This >- * is a synonym for CTRL (value is 1<<18). >+ * Keyboard event constant representing the numeric key >+ * pad decimal key (value is (1<<24)+46). >+ * >+ * @since 1.2 > */ >- public static final int CONTROL = CTRL; >+ public static final int KEYPAD_DECIMAL = KEYCODE_BIT + 46; > > /** >- * Keyboard and/or mouse event mask indicating that the COMMAND key >- * was pushed on the keyboard when the event was generated >- * (value is 1<<22). >+ * Keyboard event constant representing the numeric key >+ * pad divide key (value is (1<<24)+47). >+ * >+ * @since 1.2 > */ >- public static final int COMMAND = 1 << 22; >+ public static final int KEYPAD_DIVIDE = KEYCODE_BIT + 47; >+ >+ /** >+ * Keyboard event constant representing the numeric key >+ * pad zero key (value is (1<<24)+48). >+ * >+ * @since 1.2 >+ */ >+ public static final int KEYPAD_0 = KEYCODE_BIT + 48; >+ >+ /** >+ * Keyboard event constant representing the numeric key >+ * pad one key (value is (1<<24)+49). >+ * >+ * @since 1.2 >+ */ >+ public static final int KEYPAD_1 = KEYCODE_BIT + 49; >+ >+ /** >+ * Keyboard event constant representing the numeric key >+ * pad two key (value is (1<<24)+50). >+ * >+ * @since 1.2 >+ */ >+ public static final int KEYPAD_2 = KEYCODE_BIT + 50; >+ >+ /** >+ * Keyboard event constant representing the numeric key >+ * pad three key (value is (1<<24)+51). >+ * >+ * @since 1.2 >+ */ >+ public static final int KEYPAD_3 = KEYCODE_BIT + 51; > > /** >+ * Keyboard event constant representing the numeric key >+ * pad four key (value is (1<<24)+52). >+ * >+ * @since 1.2 >+ */ >+ public static final int KEYPAD_4 = KEYCODE_BIT + 52; >+ >+ /** >+ * Keyboard event constant representing the numeric key >+ * pad five key (value is (1<<24)+53). >+ * >+ * @since 1.2 >+ */ >+ public static final int KEYPAD_5 = KEYCODE_BIT + 53; >+ >+ /** >+ * Keyboard event constant representing the numeric key >+ * pad six key (value is (1<<24)+54). >+ * >+ * @since 1.2 >+ */ >+ public static final int KEYPAD_6 = KEYCODE_BIT + 54; >+ >+ /** >+ * Keyboard event constant representing the numeric key >+ * pad seven key (value is (1<<24)+55). >+ * >+ * @since 1.2 >+ */ >+ public static final int KEYPAD_7 = KEYCODE_BIT + 55; >+ >+ /** >+ * Keyboard event constant representing the numeric key >+ * pad eight key (value is (1<<24)+56). >+ * >+ * @since 1.2 >+ */ >+ public static final int KEYPAD_8 = KEYCODE_BIT + 56; >+ >+ /** >+ * Keyboard event constant representing the numeric key >+ * pad nine key (value is (1<<24)+57). >+ * >+ * @since 1.2 >+ */ >+ public static final int KEYPAD_9 = KEYCODE_BIT + 57; >+ >+ /** >+ * Keyboard event constant representing the numeric key >+ * pad equal key (value is (1<<24)+61). >+ * >+ * @since 1.2 >+ */ >+ public static final int KEYPAD_EQUAL = KEYCODE_BIT + 61; >+ >+ /** >+ * Keyboard event constant representing the numeric key >+ * pad enter key (value is (1<<24)+80). >+ * >+ * @since 1.2 >+ */ >+ public static final int KEYPAD_CR = KEYCODE_BIT + 80; >+ >+ /** >+ * Keyboard event constant representing the help >+ * key (value is (1<<24)+81). >+ * >+ * NOTE: The HELP key maps to the key labeled "help", >+ * not "F1". If your keyboard does not have a HELP key, >+ * you will never see this key press. To listen for >+ * help on a control, use SWT.Help. >+ * >+ * @since 1.2 >+ * >+ * @see SWT#Help >+ */ >+ public static final int HELP = KEYCODE_BIT + 81; >+ >+ /** >+ * Keyboard event constant representing the caps >+ * lock key (value is (1<<24)+82). >+ * >+ * @since 1.2 >+ */ >+ public static final int CAPS_LOCK = KEYCODE_BIT + 82; >+ >+ /** >+ * Keyboard event constant representing the num >+ * lock key (value is (1<<24)+83). >+ * >+ * @since 1.2 >+ */ >+ public static final int NUM_LOCK = KEYCODE_BIT + 83; >+ >+ /** >+ * Keyboard event constant representing the scroll >+ * lock key (value is (1<<24)+84). >+ * >+ * @since 1.2 >+ */ >+ public static final int SCROLL_LOCK = KEYCODE_BIT + 84; >+ >+ /** >+ * Keyboard event constant representing the pause >+ * key (value is (1<<24)+85). >+ * >+ * @since 1.2 >+ */ >+ public static final int PAUSE = KEYCODE_BIT + 85; >+ >+ /** >+ * Keyboard event constant representing the break >+ * key (value is (1<<24)+86). >+ * >+ * @since 1.2 >+ */ >+ public static final int BREAK = KEYCODE_BIT + 86; >+ >+ /** >+ * Keyboard event constant representing the print screen >+ * key (value is (1<<24)+87). >+ * >+ * @since 1.2 >+ */ >+ public static final int PRINT_SCREEN = KEYCODE_BIT + 87; >+ >+ /** > * Style constant for line separator behavior (value is 1<<1). > * <p><b>Used By:</b><ul> > * <li><code>Label</code></li> >Index: src/org/eclipse/rwt/internal/engine/RWTDelegate.java >=================================================================== >RCS file: /cvsroot/technology/org.eclipse.rap/org.eclipse.rap.rwt/src/org/eclipse/rwt/internal/engine/RWTDelegate.java,v >retrieving revision 1.5 >diff -u -r1.5 RWTDelegate.java >--- src/org/eclipse/rwt/internal/engine/RWTDelegate.java 30 Jun 2008 14:38:24 -0000 1.5 >+++ src/org/eclipse/rwt/internal/engine/RWTDelegate.java 6 Oct 2008 08:49:21 -0000 >@@ -49,6 +49,7 @@ > final HttpServletResponse response ) > throws ServletException, IOException > { >+System.out.println( "hallo " ); > request.setCharacterEncoding( "UTF-8" ); > HttpServletRequest wrappedRequest = getWrappedRequest( request ); > try { >Index: src/org/eclipse/swt/events/KeyListener.java >=================================================================== >RCS file: src/org/eclipse/swt/events/KeyListener.java >diff -N src/org/eclipse/swt/events/KeyListener.java >--- /dev/null 1 Jan 1970 00:00:00 -0000 >+++ src/org/eclipse/swt/events/KeyListener.java 1 Jan 1970 00:00:00 -0000 >@@ -0,0 +1,50 @@ >+/******************************************************************************* >+ * Copyright (c) 2000, 2003 IBM Corporation and others. >+ * All rights reserved. This program and the accompanying materials >+ * are made available under the terms of the Eclipse Public License v1.0 >+ * which accompanies this distribution, and is available at >+ * http://www.eclipse.org/legal/epl-v10.html >+ * >+ * Contributors: >+ * IBM Corporation - initial API and implementation >+ *******************************************************************************/ >+package org.eclipse.swt.events; >+ >+ >+import org.eclipse.swt.internal.SWTEventListener; >+ >+/** >+ * Classes which implement this interface provide methods >+ * that deal with the events that are generated as keys >+ * are pressed on the system keyboard. >+ * <p> >+ * After creating an instance of a class that implements >+ * this interface it can be added to a control using the >+ * <code>addKeyListener</code> method and removed using >+ * the <code>removeKeyListener</code> method. When a >+ * key is pressed or released, the appropriate method will >+ * be invoked. >+ * </p> >+ * >+ * @see KeyAdapter >+ * @see KeyEvent >+ * >+ * @since 1.2 >+ */ >+public interface KeyListener extends SWTEventListener { >+ >+/** >+ * Sent when a key is pressed on the system keyboard. >+ * >+ * @param e an event containing information about the key press >+ */ >+public void keyPressed(KeyEvent e); >+ >+// [RAP] RWT currently only implements the keyPressed event >+///** >+// * Sent when a key is released on the system keyboard. >+// * >+// * @param e an event containing information about the key release >+// */ >+//public void keyReleased(KeyEvent e); >+} >Index: src/org/eclipse/swt/events/KeyEvent.java >=================================================================== >RCS file: src/org/eclipse/swt/events/KeyEvent.java >diff -N src/org/eclipse/swt/events/KeyEvent.java >--- /dev/null 1 Jan 1970 00:00:00 -0000 >+++ src/org/eclipse/swt/events/KeyEvent.java 1 Jan 1970 00:00:00 -0000 >@@ -0,0 +1,163 @@ >+/******************************************************************************* >+ * Copyright (c) 2008 Innoopract Informationssysteme GmbH. >+ * All rights reserved. This program and the accompanying materials >+ * are made available under the terms of the Eclipse Public License v1.0 >+ * which accompanies this distribution, and is available at >+ * http://www.eclipse.org/legal/epl-v10.html >+ * >+ * Contributors: >+ * Innoopract Informationssysteme GmbH - initial API and implementation >+ ******************************************************************************/ >+package org.eclipse.swt.events; >+ >+import org.eclipse.rwt.Adaptable; >+import org.eclipse.swt.SWT; >+import org.eclipse.swt.internal.widgets.EventUtil; >+import org.eclipse.swt.widgets.Control; >+import org.eclipse.swt.widgets.Event; >+ >+/** >+ * Instances of this class are sent as a result of keys being pressed and >+ * released on the keyboard. >+ * <p> >+ * When a key listener is added to a control, the control will take part in >+ * widget traversal. By default, all traversal keys (such as the tab key and so >+ * on) are delivered to the control. In order for a control to take part in >+ * traversal, it should listen for traversal events. Otherwise, the user can >+ * traverse into a control but not out. Note that native controls such as table >+ * and tree implement key traversal in the operating system. It is not necessary >+ * to add traversal listeners for these controls, unless you want to override >+ * the default traversal. >+ * </p> >+ * >+ * <p><strong>IMPORTANT:</strong> All <code>public static</code> members of >+ * this class are <em>not</em> part of the RWT public API. They are marked >+ * public only so that they can be shared within the packages provided by RWT. >+ * They should never be accessed from application code. >+ * </p> >+ * >+ * @see KeyListener >+ * @see TraverseListener >+ * >+ * @since 1.2 >+ */ >+public class KeyEvent extends TypedEvent { >+ >+ public static final int KEY_PRESSED = SWT.KeyDown; >+ >+ private static final Class LISTENER = KeyListener.class; >+ >+ /** >+ * the character represented by the key that was typed. This is the final >+ * character that results after all modifiers have been applied. For example, >+ * when the user types Ctrl+A, the character value is 0x01. It is important >+ * that applications do not attempt to modify the character value based on a >+ * stateMask (such as SWT.CTRL) or the resulting character will not be >+ * correct. >+ */ >+ public char character; >+ >+ /** >+ * the key code of the key that was typed, as defined by the key code >+ * constants in class <code>SWT</code>. When the character field of the event >+ * is ambiguous, this field contains the unicode value of the original >+ * character. For example, typing Ctrl+M or Return both result in the >+ * character '\r' but the keyCode field will also contain '\r' when Return was >+ * typed. >+ * >+ * @see org.eclipse.swt.SWT >+ */ >+ public int keyCode; >+ >+ /** >+ * the state of the keyboard modifier keys at the time the event was >+ * generated, as defined by the key code constants in class <code>SWT</code>. >+ * >+ * @see org.eclipse.swt.SWT >+ */ >+ public int stateMask; >+ >+ /** >+ * A flag indicating whether the operation should be allowed. Setting this >+ * field to <code>false</code> will cancel the operation. >+ */ >+ public boolean doit; >+ >+ /** >+ * Constructs a new instance of this class based on the information in the >+ * given untyped event. >+ * >+ * @param event the untyped event containing the information >+ */ >+ public KeyEvent( final Event event ) { >+ super( event.widget, event.type ); >+ this.character = event.character; >+ this.keyCode = event.keyCode; >+ this.stateMask = event.stateMask; >+ this.doit = event.doit; >+ } >+ >+ public KeyEvent( final Control source, final int id ) { >+ super( source, id ); >+ doit = true; >+ } >+ >+ protected void dispatchToObserver( final Object listener ) { >+ switch( getID() ) { >+ case KEY_PRESSED: >+ ( ( KeyListener )listener ).keyPressed( this ); >+ break; >+ default: >+ throw new IllegalStateException( "Invalid event handler type." ); >+ } >+ } >+ >+ protected Class getListenerType() { >+ return LISTENER; >+ } >+ >+ protected boolean allowProcessing() { >+ return EventUtil.isAccessible( widget ); >+ } >+ >+ /** >+ * Returns a string containing a concise, human-readable description of the >+ * receiver. >+ * >+ * @return a string representation of the event >+ */ >+ public String toString() { >+ String string = super.toString(); >+ return string.substring( 0, string.length() - 1 ) // remove trailing '}' >+ + " character='" >+ + ( ( character == 0 ) ? "\\0" : "" + character ) >+ + "'" >+ + " keyCode=" >+ + keyCode >+ + " stateMask=" >+ + stateMask >+ + " doit=" >+ + doit >+ + "}"; >+ } >+ >+ public static void addListener( final Adaptable adaptable, >+ final KeyListener listener ) >+ { >+ addListener( adaptable, LISTENER, listener ); >+ } >+ >+ public static void removeListener( final Adaptable adaptable, >+ final KeyListener listener ) >+ { >+ removeListener( adaptable, LISTENER, listener ); >+ } >+ >+ public static boolean hasListener( final Adaptable adaptable ) { >+ return hasListener( adaptable, LISTENER ); >+ } >+ >+ public static Object[] getListeners( final Adaptable adaptable ) { >+ return getListener( adaptable, LISTENER ); >+ } >+} >#P org.eclipse.rap.tools >Index: qx-build/source/class/qx/Class.js >=================================================================== >RCS file: /cvsroot/technology/org.eclipse.rap/org.eclipse.rap.tools/qx-build/source/class/qx/Class.js,v >retrieving revision 1.4 >diff -u -r1.4 Class.js >--- qx-build/source/class/qx/Class.js 30 Jul 2008 16:31:20 -0000 1.4 >+++ qx-build/source/class/qx/Class.js 6 Oct 2008 08:49:23 -0000 >@@ -188,7 +188,7 @@ > > // Attach members > if (config.members) { >- this.__addMembers(clazz, config.members, true, true); >+ this.__addMembers(clazz, config.members, true, true, false); > } > > // Process events >@@ -1275,10 +1275,13 @@ > * @param clazz {Class} clazz to add members to > * @param members {Map} The map of members to attach > * @param patch {Boolean ? false} Enable patching of >- * @param base (Boolean ? true) Attach base flag to mark function as members of this class >+ * @param base (Boolean ? true) Attach base flag to mark function as members >+ * of this class >+ * @param wrap {Boolean ? false} Whether the member method should be wrapped. >+ * this is needed to allow base calls in patched mixin members. > * @return {void} > */ >- __addMembers : function(clazz, members, patch, base) >+ __addMembers : function(clazz, members, patch, base, wrap) > { > var proto = clazz.prototype; > var key, member; >@@ -1303,6 +1306,13 @@ > // Hint: Could not use typeof function because RegExp objects are functions, too > if (base !== false && member instanceof Function) > { >+ if (wrap == true) >+ { >+ // wrap "patched" mixin member >+ member = this.__mixinMemberWrapper(member, proto[key]); >+ } >+ else >+ { > // Configure extend (named base here) > // Hint: proto[key] is not yet overwritten here > if (proto[key]) { >@@ -1310,6 +1320,7 @@ > } > > member.self = clazz; >+ } > > if (qx.core.Variant.isSet("qx.aspects", "on")) { > member = qx.core.Aspect.wrap(clazz.classname + "." + key, member, "member"); >@@ -1324,6 +1335,34 @@ > > > /** >+ * Wraps a member function of a mixin, which is included using "patch". This >+ * allows "base" calls in the mixin member function. >+ * >+ * @param member {Function} The mixin method to wrap >+ * @param base {Function} The overwritten method >+ * @return {Function} the wrapped mixin member >+ */ >+ __mixinMemberWrapper : function(member, base) >+ { >+ if (base) >+ { >+ return function() >+ { >+ var oldBase = member.base; >+ member.base = base; >+ var retval = member.apply(this, arguments); >+ member.base = oldBase; >+ return retval; >+ } >+ } >+ else >+ { >+ return member; >+ } >+ }, >+ >+ >+ /** > * Add a single interface to a class > * > * @type static >@@ -1406,7 +1445,7 @@ > > // Attach members (Respect patch setting, but dont apply base variables) > if (entry.$$members) { >- this.__addMembers(clazz, entry.$$members, patch, false); >+ this.__addMembers(clazz, entry.$$members, patch, patch, patch); > } > } > >Index: qx-build/patches/readme.txt >=================================================================== >RCS file: /cvsroot/technology/org.eclipse.rap/org.eclipse.rap.tools/qx-build/patches/readme.txt,v >retrieving revision 1.1 >diff -u -r1.1 readme.txt >--- qx-build/patches/readme.txt 30 Jul 2008 16:31:21 -0000 1.1 >+++ qx-build/patches/readme.txt 6 Oct 2008 08:49:23 -0000 >@@ -9,6 +9,10 @@ > Patch as attached to http://bugzilla.qooxdoo.org/show_bug.cgi?id=599. > Has been rejected by qooxdoo. > >+* 12-qx-bug-323.diff >+ Backport of qx.Class.patch function. Was introduced in qooxdoo shortly >+ after 0.7.3 was release. Also contained in the '0.7.x legacy branch'. >+ Can be omitted when upgrading to 0.7.4. > > === The "obsolete" directory === > >Index: qx-build/source/class/qx/io/remote/XmlHttpTransport.js >=================================================================== >RCS file: /cvsroot/technology/org.eclipse.rap/org.eclipse.rap.tools/qx-build/source/class/qx/io/remote/XmlHttpTransport.js,v >retrieving revision 1.5 >diff -u -r1.5 XmlHttpTransport.js >--- qx-build/source/class/qx/io/remote/XmlHttpTransport.js 30 Jul 2008 16:31:21 -0000 1.5 >+++ qx-build/source/class/qx/io/remote/XmlHttpTransport.js 6 Oct 2008 08:49:23 -0000 >@@ -242,7 +242,10 @@ > return output; > }; > >- vRequest.onreadystatechange = qx.lang.Function.bind(this._onreadystatechange, this); >+ var xxx = qx.lang.Function.bind(this._onreadystatechange, this); >+ if( vAsynchronous ) { >+ vRequest.onreadystatechange = xxx; >+ } > > // -------------------------------------- > // Opening connection >@@ -309,7 +312,7 @@ > // Readystate for sync reqeusts > // -------------------------------------- > if (!vAsynchronous) { >- this._onreadystatechange(); >+ xxx(); > } > }, > >Index: qx-build/source/class/qx/io/remote/RequestQueue.js >=================================================================== >RCS file: /cvsroot/technology/org.eclipse.rap/org.eclipse.rap.tools/qx-build/source/class/qx/io/remote/RequestQueue.js,v >retrieving revision 1.4 >diff -u -r1.4 RequestQueue.js >--- qx-build/source/class/qx/io/remote/RequestQueue.js 30 Jul 2008 16:31:21 -0000 1.4 >+++ qx-build/source/class/qx/io/remote/RequestQueue.js 6 Oct 2008 08:49:23 -0000 >@@ -169,7 +169,7 @@ > } > > // Checking active queue fill >- if (this._active.length >= this.getMaxConcurrentRequests() || this._queue.length == 0) { >+ if (( this._queue.length > 0 && this._queue[0].isAsynchronous() && this._active.length >= this.getMaxConcurrentRequests() ) || this._queue.length == 0) { > return; > } > >@@ -406,7 +406,11 @@ > { > vRequest.setState("queued"); > >- this._queue.push(vRequest); >+ if (vRequest.isAsynchronous()) >+ this._queue.push(vRequest); >+ else >+ this._queue.unshift(vRequest); >+ > this._check(); > > if (this.getEnabled()) { >Index: qx-build/custom/build-custom.sh >=================================================================== >RCS file: /cvsroot/technology/org.eclipse.rap/org.eclipse.rap.tools/qx-build/custom/build-custom.sh,v >retrieving revision 1.10 >diff -u -r1.10 build-custom.sh >--- qx-build/custom/build-custom.sh 30 Jul 2008 16:31:22 -0000 1.10 >+++ qx-build/custom/build-custom.sh 6 Oct 2008 08:49:23 -0000 >@@ -6,7 +6,7 @@ > REVISION=11170 > #QOOXDOO=../../../qooxdoo/qooxdoo > # point to the directory that contains the generator.py >-TOOL=../../../qx-0.7.3/qooxdoo/frontend/framework/tool >+TOOL=../../../qx-0.7.3/qooxdoo-0.7.3-sdk/frontend/framework/tool > TEMP=./temp > # use this when building directly from qx repository > # SOURCE=${QOOXDOO}/frontend/framework/source >@@ -52,7 +52,6 @@ > rm -r ${TEMP}/class/qx/ui/pageview/radioview > rm -r ${TEMP}/class/qx/ui/component > rm -r ${TEMP}/class/qx/ui/splitpane >-# rm -r ${TEMP}/class/qx/ui/table > rm -r ${TEMP}/class/qx/ui/treevirtual > rm ${TEMP}/class/qx/OO.js > rm ${TEMP}/class/qx/core/MLegacyInit.js >Index: qx-build/source/class/qx/event/handler/KeyEventHandler.js >=================================================================== >RCS file: /cvsroot/technology/org.eclipse.rap/org.eclipse.rap.tools/qx-build/source/class/qx/event/handler/KeyEventHandler.js,v >retrieving revision 1.4 >diff -u -r1.4 KeyEventHandler.js >--- qx-build/source/class/qx/event/handler/KeyEventHandler.js 30 Jul 2008 16:31:21 -0000 1.4 >+++ qx-build/source/class/qx/event/handler/KeyEventHandler.js 6 Oct 2008 08:49:23 -0000 >@@ -126,6 +126,7 @@ > var keyCode = domEvent.keyCode; > var charcode = 0; > var type = domEvent.type; >+this.debug( "native - type: " + type + " keyCode: " + keyCode + " charCode: " + charcode ); > > // Ignore the down in such sequences dp dp dp > if (!(this._lastUpDownType[keyCode] == "keydown" && type == "keydown")) { >@@ -151,6 +152,7 @@ > var keyCode = this._keyCodeFix[domEvent.keyCode] || domEvent.keyCode; > var charCode = domEvent.charCode; > var type = domEvent.type; >+this.debug( "native - type: " + type + " keyCode: " + keyCode + " charCode: " + charCode ); > > // FF repeats under windows keydown events like IE > if (qx.core.Client.getInstance().runsOnWindows()) >@@ -177,6 +179,7 @@ > var keyCode = 0; > var charCode = 0; > var type = domEvent.type; >+this.debug( "native - type: " + type + " keyCode: " + keyCode + " charCode: " + charCode ); > > // prevent Safari from sending key signals twice > // This bug is fixed in recent Webkit builds so we need a revision check >@@ -250,6 +253,7 @@ > var keyCode = this._keyCodeFix[domEvent.keyCode] || domEvent.keyCode; > var charCode = domEvent.charCode; > var type = domEvent.type; >+this.debug( "native - type: " + type + " keyCode: " + keyCode + " charCode: " + charCode ); > > // FF repeats under windows keydown events like IE > if (qx.core.Client.getInstance().runsOnWindows()) >Index: qx-build/patches/0.7.3/12-qx-bug-323.diff >=================================================================== >RCS file: qx-build/patches/0.7.3/12-qx-bug-323.diff >diff -N qx-build/patches/0.7.3/12-qx-bug-323.diff >--- /dev/null 1 Jan 1970 00:00:00 -0000 >+++ qx-build/patches/0.7.3/12-qx-bug-323.diff 1 Jan 1970 00:00:00 -0000 >@@ -0,0 +1,100 @@ >+### Eclipse Workspace Patch 1.0 >+#P org.eclipse.rap.tools >+Index: qx-build/source/class/qx/Class.js >+=================================================================== >+RCS file: /cvsroot/technology/org.eclipse.rap/org.eclipse.rap.tools/qx-build/source/class/qx/Class.js,v >+retrieving revision 1.4 >+diff -u -r1.4 Class.js >+--- qx-build/source/class/qx/Class.js 30 Jul 2008 16:31:20 -0000 1.4 >++++ qx-build/source/class/qx/Class.js 10 Sep 2008 13:51:21 -0000 >+@@ -188,7 +188,7 @@ >+ >+ // Attach members >+ if (config.members) { >+- this.__addMembers(clazz, config.members, true, true); >++ this.__addMembers(clazz, config.members, true, true, false); >+ } >+ >+ // Process events >+@@ -1275,10 +1275,13 @@ >+ * @param clazz {Class} clazz to add members to >+ * @param members {Map} The map of members to attach >+ * @param patch {Boolean ? false} Enable patching of >+- * @param base (Boolean ? true) Attach base flag to mark function as members of this class >++ * @param base (Boolean ? true) Attach base flag to mark function as members >++ * of this class >++ * @param wrap {Boolean ? false} Whether the member method should be wrapped. >++ * this is needed to allow base calls in patched mixin members. >+ * @return {void} >+ */ >+- __addMembers : function(clazz, members, patch, base) >++ __addMembers : function(clazz, members, patch, base, wrap) >+ { >+ var proto = clazz.prototype; >+ var key, member; >+@@ -1303,6 +1306,13 @@ >+ // Hint: Could not use typeof function because RegExp objects are functions, too >+ if (base !== false && member instanceof Function) >+ { >++ if (wrap == true) >++ { >++ // wrap "patched" mixin member >++ member = this.__mixinMemberWrapper(member, proto[key]); >++ } >++ else >++ { >+ // Configure extend (named base here) >+ // Hint: proto[key] is not yet overwritten here >+ if (proto[key]) { >+@@ -1310,6 +1320,7 @@ >+ } >+ >+ member.self = clazz; >++ } >+ >+ if (qx.core.Variant.isSet("qx.aspects", "on")) { >+ member = qx.core.Aspect.wrap(clazz.classname + "." + key, member, "member"); >+@@ -1324,6 +1335,34 @@ >+ >+ >+ /** >++ * Wraps a member function of a mixin, which is included using "patch". This >++ * allows "base" calls in the mixin member function. >++ * >++ * @param member {Function} The mixin method to wrap >++ * @param base {Function} The overwritten method >++ * @return {Function} the wrapped mixin member >++ */ >++ __mixinMemberWrapper : function(member, base) >++ { >++ if (base) >++ { >++ return function() >++ { >++ var oldBase = member.base; >++ member.base = base; >++ var retval = member.apply(this, arguments); >++ member.base = oldBase; >++ return retval; >++ } >++ } >++ else >++ { >++ return member; >++ } >++ }, >++ >++ >++ /** >+ * Add a single interface to a class >+ * >+ * @type static >+@@ -1406,7 +1445,7 @@ >+ >+ // Attach members (Respect patch setting, but dont apply base variables) >+ if (entry.$$members) { >+- this.__addMembers(clazz, entry.$$members, patch, false); >++ this.__addMembers(clazz, entry.$$members, patch, patch, patch); >+ } >+ } >+ >Index: qx-build/source-replace/class/qx/ui/embed/HtmlEmbed.js >=================================================================== >RCS file: qx-build/source-replace/class/qx/ui/embed/HtmlEmbed.js >diff -N qx-build/source-replace/class/qx/ui/embed/HtmlEmbed.js >--- /dev/null 1 Jan 1970 00:00:00 -0000 >+++ qx-build/source-replace/class/qx/ui/embed/HtmlEmbed.js 1 Jan 1970 00:00:00 -0000 >@@ -0,0 +1,217 @@ >+/* ************************************************************************ >+ >+ qooxdoo - the new era of web development >+ >+ http://qooxdoo.org >+ >+ Copyright: >+ 2004-2007 1&1 Internet AG, Germany, http://www.1and1.org >+ >+ License: >+ LGPL: http://www.gnu.org/licenses/lgpl.html >+ EPL: http://www.eclipse.org/org/documents/epl-v10.php >+ See the LICENSE file in the project's top-level directory for details. >+ >+ Authors: >+ * Sebastian Werner (wpbasti) >+ * Andreas Ecker (ecker) >+ >+************************************************************************ */ >+ >+/* ************************************************************************ >+ >+#module(ui_basic) >+ >+************************************************************************ */ >+ >+qx.Class.define("qx.ui.embed.HtmlEmbed", >+{ >+ extend : qx.ui.basic.Terminator, >+ >+ >+ >+ >+ /* >+ ***************************************************************************** >+ CONSTRUCTOR >+ ***************************************************************************** >+ */ >+ >+ construct : function(vHtml) >+ { >+ this.base(arguments); >+ >+ if (vHtml != null) { >+ this.setHtml(vHtml); >+ } >+ }, >+ >+ >+ >+ >+ /* >+ ***************************************************************************** >+ PROPERTIES >+ ***************************************************************************** >+ */ >+ >+ properties : >+ { >+ /** Any text string which can contain HTML, too */ >+ html : >+ { >+ check : "String", >+ init : "", >+ apply : "_applyHtml", >+ event : "changeHtml" >+ }, >+ >+ >+ /** >+ * The alignment of the text inside the box >+ */ >+ textAlign : >+ { >+ check : [ "left", "center", "right", "justify" ], >+ nullable : true, >+ themeable : true, >+ apply : "_applyTextAlign" >+ }, >+ >+ >+ /** Block inheritance as default for font property */ >+ font : >+ { >+ refine : true, >+ init : null >+ }, >+ >+ >+ /** Block inheritance as default for textColor property */ >+ textColor : >+ { >+ refine : true, >+ init : null >+ } >+ }, >+ >+ >+ >+ >+ /* >+ ***************************************************************************** >+ MEMBERS >+ ***************************************************************************** >+ */ >+ >+ members : >+ { >+ /* >+ --------------------------------------------------------------------------- >+ APPLY ROUTINES >+ --------------------------------------------------------------------------- >+ */ >+ >+ /** >+ * TODOC >+ * >+ * @type member >+ */ >+ _applyHtml : function() >+ { >+ if (this._isCreated) { >+ this._syncHtml(); >+ } >+ }, >+ >+ >+ >+ >+ >+ /* >+ --------------------------------------------------------------------------- >+ TEXTALIGN SUPPORT >+ --------------------------------------------------------------------------- >+ */ >+ >+ _applyTextAlign : function(value, old) { >+ value === null ? this.removeStyleProperty("textAlign") : this.setStyleProperty("textAlign", value); >+ }, >+ >+ >+ >+ >+ >+ /* >+ --------------------------------------------------------------------------- >+ FONT SUPPORT >+ --------------------------------------------------------------------------- >+ */ >+ >+ _applyFont : function(value, old) { >+ qx.theme.manager.Font.getInstance().connect(this._styleFont, this, value); >+ }, >+ >+ >+ /** >+ * @type member >+ * @param value {qx.ui.core.Font} >+ */ >+ _styleFont : function(value) { >+ value ? value.render(this) : qx.ui.core.Font.reset(this); >+ }, >+ >+ >+ >+ >+ /* >+ --------------------------------------------------------------------------- >+ TEXT COLOR SUPPORT >+ --------------------------------------------------------------------------- >+ */ >+ >+ _applyTextColor : function(value, old) { >+ qx.theme.manager.Color.getInstance().connect(this._styleTextColor, this, value); >+ }, >+ >+ /** >+ * @type member >+ * @param value {var} any acceptable CSS color property >+ */ >+ _styleTextColor : function(value) { >+ value ? this.setStyleProperty("color", value) : this.removeStyleProperty("color"); >+ }, >+ >+ >+ >+ >+ /* >+ --------------------------------------------------------------------------- >+ ELEMENT HANDLING >+ --------------------------------------------------------------------------- >+ */ >+ >+ /** >+ * TODOC >+ * >+ * @type member >+ * @return {void} >+ */ >+ _applyElementData : function() { >+ this._syncHtml(); >+ }, >+ >+ >+ /** >+ * TODOC >+ * >+ * @type member >+ * @return {void} >+ */ >+ _syncHtml : function() { >+// TODO [rh] adopted change from 0.7.3 >+// this.getElement().innerHTML = this.getHtml(); >+ this._getTargetNode().innerHTML = this.getHtml(); >+ } >+ } >+}); >#P org.eclipse.rap.rwt.test >Index: src/org/eclipse/swt/internal/widgets/UntypedEventAdapter_Test.java >=================================================================== >RCS file: /cvsroot/technology/org.eclipse.rap/org.eclipse.rap.rwt.test/src/org/eclipse/swt/internal/widgets/UntypedEventAdapter_Test.java,v >retrieving revision 1.8 >diff -u -r1.8 UntypedEventAdapter_Test.java >--- src/org/eclipse/swt/internal/widgets/UntypedEventAdapter_Test.java 12 Jun 2008 13:23:16 -0000 1.8 >+++ src/org/eclipse/swt/internal/widgets/UntypedEventAdapter_Test.java 6 Oct 2008 08:49:24 -0000 >@@ -103,6 +103,9 @@ > adapter.addListener( SWT.MouseDoubleClick, listener ); > adapter.mouseDoubleClick( new MouseEvent( widget, 0 ) ); > assertEquals( SWT.MouseDoubleClick, eventType ); >+ adapter.addListener( SWT.KeyDown, listener ); >+ adapter.keyPressed( new KeyEvent( widget, 0 ) ); >+ assertEquals( SWT.KeyDown, eventType ); > } > > public void testAdditionAndRemovalOfListener() throws Exception { >@@ -198,5 +201,20 @@ > assertEquals( selEvent.height, eventLog[ 0 ].height ); > assertEquals( selEvent.width, eventLog[ 0 ].width ); > assertEquals( selEvent.detail, eventLog[ 0 ].detail ); >+ // Key event >+ adapter = new UntypedEventAdapter(); >+ adapter.addListener( SWT.KeyDown, listener ); >+ KeyEvent keyEvent = new KeyEvent( shell, KeyEvent.KEY_PRESSED ); >+ keyEvent.character = 'x'; >+ keyEvent.keyCode = 123; >+ keyEvent.stateMask = 321; >+ keyEvent.data = new Object(); >+ keyEvent.doit = false; >+ adapter.keyPressed( keyEvent ); >+ assertEquals( keyEvent.character, eventLog[ 0 ].character ); >+ assertEquals( keyEvent.keyCode, eventLog[ 0 ].keyCode ); >+ assertEquals( keyEvent.stateMask, eventLog[ 0 ].stateMask ); >+ assertEquals( keyEvent.data, eventLog[ 0 ].data ); >+ assertEquals( keyEvent.doit, eventLog[ 0 ].doit ); > } > } >#P org.eclipse.rap.rwt.q07.test >Index: src/org/eclipse/rwt/lifecycle/ControlLCAUtil_Test.java >=================================================================== >RCS file: /cvsroot/technology/org.eclipse.rap/org.eclipse.rap.rwt.q07.test/src/org/eclipse/rwt/lifecycle/ControlLCAUtil_Test.java,v >retrieving revision 1.4 >diff -u -r1.4 ControlLCAUtil_Test.java >--- src/org/eclipse/rwt/lifecycle/ControlLCAUtil_Test.java 1 Sep 2008 22:39:03 -0000 1.4 >+++ src/org/eclipse/rwt/lifecycle/ControlLCAUtil_Test.java 6 Oct 2008 08:49:25 -0000 >@@ -8,17 +8,16 @@ > * Contributors: > * Innoopract Informationssysteme GmbH - initial API and implementation > ******************************************************************************/ >- > package org.eclipse.rwt.lifecycle; > > import java.io.IOException; >+import java.util.ArrayList; > > import junit.framework.TestCase; > > import org.eclipse.rwt.Fixture; > import org.eclipse.rwt.graphics.Graphics; >-import org.eclipse.rwt.internal.lifecycle.DisplayUtil; >-import org.eclipse.rwt.internal.lifecycle.JSConst; >+import org.eclipse.rwt.internal.lifecycle.*; > import org.eclipse.rwt.internal.service.RequestParams; > import org.eclipse.swt.RWTFixture; > import org.eclipse.swt.SWT; >@@ -249,6 +248,124 @@ > assertTrue( Fixture.getAllMarkup().indexOf( "w.resetCursor();" ) != -1 ); > } > >+ public void testWritekeyEvents() throws IOException { >+ final java.util.List eventLog = new ArrayList(); >+ Display display = new Display(); >+ Shell shell = new Shell( display ); >+ shell.open(); >+ Fixture.fakeResponseWriter(); >+ ControlLCAUtil.writeKeyListener( shell ); >+ assertEquals( "", Fixture.getAllMarkup() ); >+ shell.addListener( SWT.KeyDown, new Listener() { >+ public void handleEvent( final Event event ) { >+ eventLog.add( event ); >+ } >+ } ); >+ Fixture.fakeResponseWriter(); >+ ControlLCAUtil.writeKeyListener( shell ); >+ String expected >+ = "var w = wm.findWidgetById( \"w2\" );" >+ + "w.setUserData( \"keyListener\", true );"; >+ assertEquals( expected, Fixture.getAllMarkup() ); >+ } >+ >+ public void testProcessKeyEvents() { >+ final java.util.List eventLog = new ArrayList(); >+ Display display = new Display(); >+ Shell shell = new Shell( display ); >+ shell.open(); >+ shell.addListener( SWT.KeyDown, new Listener() { >+ public void handleEvent( final Event event ) { >+ eventLog.add( event ); >+ } >+ } ); >+ String shellId = WidgetUtil.getId( shell ); >+ >+ // Simulate requests that carry information about a key-down event >+ // - incomplete request >+ RWTFixture.fakeNewRequest(); >+ RWTFixture.fakePhase( PhaseId.READ_DATA ); >+ eventLog.clear(); >+ Fixture.fakeRequestParam( JSConst.EVENT_KEY_DOWN, shellId ); >+ try { >+ ControlLCAUtil.processKeyEvents( shell ); >+ fail( "Attempting to process incomplete key-event-request must fail" ); >+ } catch( RuntimeException e ) { >+ // expected >+ } >+ assertTrue( eventLog.isEmpty() ); >+ // - key-event without meaning ful information (e.g. Shift-key only) >+ RWTFixture.fakeNewRequest(); >+ RWTFixture.fakePhase( PhaseId.READ_DATA ); >+ Fixture.fakeRequestParam( JSConst.EVENT_KEY_DOWN, shellId ); >+ Fixture.fakeRequestParam( JSConst.EVENT_KEY_DOWN_CHARACTER, "0" ); >+ Fixture.fakeRequestParam( JSConst.EVENT_KEY_DOWN_KEY_CODE, "0" ); >+ Fixture.fakeRequestParam( JSConst.EVENT_KEY_DOWN_EVENT_ID, "1" ); >+ ControlLCAUtil.processKeyEvents( shell ); >+ RWTFixture.fakePhase( PhaseId.PROCESS_ACTION ); >+ display.readAndDispatch(); >+ Event event = ( Event )eventLog.get( 0 ); >+ assertEquals( SWT.KeyDown, event.type ); >+ assertEquals( shell, event.widget ); >+ assertEquals( 0, event.character ); >+ assertEquals( 0, event.keyCode ); >+ assertTrue( event.doit ); >+ } >+ >+ public void testProcessKeyEventsWithDoItFlag() { >+ PhaseListenerRegistry.add( new PreserveWidgetsPhaseListener() ); >+ PhaseListenerRegistry.add( new CurrentPhase.Listener() ); >+ final java.util.List eventLog = new ArrayList(); >+ Listener doitTrueListener = new Listener() { >+ public void handleEvent( final Event event ) { >+ eventLog.add( event ); >+ } >+ }; >+ Listener doitFalseListener = new Listener() { >+ public void handleEvent( final Event event ) { >+ eventLog.add( event ); >+ event.doit = false; >+ } >+ }; >+ Display display = new Display(); >+ Shell shell = new Shell( display ); >+ shell.open(); >+ String shellId = WidgetUtil.getId( shell ); >+ String displayId = DisplayUtil.getId( display ); >+ >+ // Simulate KeyEvent request, listener leaves doit untouched (doit==true) >+ shell.addListener( SWT.KeyDown, doitTrueListener ); >+ RWTFixture.fakeNewRequest(); >+ Fixture.fakeRequestParam( RequestParams.UIROOT, displayId ); >+ Fixture.fakeRequestParam( JSConst.EVENT_KEY_DOWN, shellId ); >+ Fixture.fakeRequestParam( JSConst.EVENT_KEY_DOWN_CHARACTER, "0" ); >+ Fixture.fakeRequestParam( JSConst.EVENT_KEY_DOWN_KEY_CODE, "0" ); >+ Fixture.fakeRequestParam( JSConst.EVENT_KEY_DOWN_EVENT_ID, "1" ); >+ RWTFixture.executeLifeCycleFromServerThread(); >+ assertEquals( 1, eventLog.size() ); >+ assertTrue( ( ( Event )eventLog.get( 0 ) ).doit ); >+ String markup = Fixture.getAllMarkup(); >+ assertTrue( markup.indexOf( ControlLCAUtil.JSFUNC_CANCEL_EVENT ) == -1 ); >+ assertTrue( markup.indexOf( ControlLCAUtil.JSFUNC_ACCEPT_EVENT ) != -1 ); >+ shell.removeListener( SWT.KeyDown, doitTrueListener ); >+ >+ // Simulate KeyEvent request, listener sets doit = false >+ eventLog.clear(); >+ shell.addListener( SWT.KeyDown, doitFalseListener ); >+ RWTFixture.fakeNewRequest(); >+ Fixture.fakeRequestParam( RequestParams.UIROOT, displayId ); >+ Fixture.fakeRequestParam( JSConst.EVENT_KEY_DOWN, shellId ); >+ Fixture.fakeRequestParam( JSConst.EVENT_KEY_DOWN_CHARACTER, "65" ); >+ Fixture.fakeRequestParam( JSConst.EVENT_KEY_DOWN_KEY_CODE, "65" ); >+ Fixture.fakeRequestParam( JSConst.EVENT_KEY_DOWN_EVENT_ID, "1" ); >+ RWTFixture.executeLifeCycleFromServerThread(); >+ assertEquals( 1, eventLog.size() ); >+ assertFalse( ( ( Event )eventLog.get( 0 ) ).doit ); >+ markup = Fixture.getAllMarkup(); >+ assertTrue( markup.indexOf( ControlLCAUtil.JSFUNC_CANCEL_EVENT ) != -1 ); >+ assertTrue( markup.indexOf( ControlLCAUtil.JSFUNC_ACCEPT_EVENT ) == -1 ); >+ } >+ > protected void setUp() throws Exception { > RWTFixture.setUp(); > Fixture.fakeResponseWriter(); >Index: src/org/eclipse/swt/internal/widgets/controlkit/ControlLCA_Test.java >=================================================================== >RCS file: /cvsroot/technology/org.eclipse.rap/org.eclipse.rap.rwt.q07.test/src/org/eclipse/swt/internal/widgets/controlkit/ControlLCA_Test.java,v >retrieving revision 1.3 >diff -u -r1.3 ControlLCA_Test.java >--- src/org/eclipse/swt/internal/widgets/controlkit/ControlLCA_Test.java 2 Jul 2008 21:19:22 -0000 1.3 >+++ src/org/eclipse/swt/internal/widgets/controlkit/ControlLCA_Test.java 6 Oct 2008 08:49:25 -0000 >@@ -23,7 +23,8 @@ > import org.eclipse.rwt.lifecycle.*; > import org.eclipse.swt.RWTFixture; > import org.eclipse.swt.SWT; >-import org.eclipse.swt.events.*; >+import org.eclipse.swt.events.ControlAdapter; >+import org.eclipse.swt.events.FocusAdapter; > import org.eclipse.swt.graphics.*; > import org.eclipse.swt.internal.events.ActivateAdapter; > import org.eclipse.swt.internal.events.ActivateEvent; >@@ -61,39 +62,39 @@ > RWTFixture.preserveWidgets(); > adapter = WidgetUtil.getAdapter( button ); > assertTrue( adapter.getPreserved( Props.Z_INDEX ) != null ); >- RWTFixture.clearPreserved(); >+ RWTFixture.clearPreserved(); > //visible > RWTFixture.preserveWidgets(); > adapter = WidgetUtil.getAdapter( button ); > assertEquals( Boolean.TRUE, adapter.getPreserved( Props.VISIBLE ) ); >- RWTFixture.clearPreserved(); >+ RWTFixture.clearPreserved(); > button.setVisible( false ); > RWTFixture.preserveWidgets(); > adapter = WidgetUtil.getAdapter( button ); > assertEquals( Boolean.FALSE, adapter.getPreserved( Props.VISIBLE ) ); >- RWTFixture.clearPreserved(); >+ RWTFixture.clearPreserved(); > //enabled > RWTFixture.preserveWidgets(); > adapter = WidgetUtil.getAdapter( button ); > assertEquals( Boolean.TRUE, adapter.getPreserved( Props.ENABLED ) ); >- RWTFixture.clearPreserved(); >+ RWTFixture.clearPreserved(); > button.setEnabled( false ); > RWTFixture.preserveWidgets(); > adapter = WidgetUtil.getAdapter( button ); > assertEquals( Boolean.FALSE, adapter.getPreserved( Props.ENABLED )); >- RWTFixture.clearPreserved(); >- //control_listeners >+ RWTFixture.clearPreserved(); >+ //control_listeners > RWTFixture.preserveWidgets(); >- adapter = WidgetUtil.getAdapter( button ); >+ adapter = WidgetUtil.getAdapter( button ); > hasListeners = ( Boolean )adapter.getPreserved( Props.CONTROL_LISTENERS ); > assertEquals( Boolean.FALSE, hasListeners ); >- RWTFixture.clearPreserved(); >+ RWTFixture.clearPreserved(); > button.addControlListener( new ControlAdapter() { } ); > RWTFixture.preserveWidgets(); > adapter = WidgetUtil.getAdapter( button ); > hasListeners = ( Boolean ) adapter.getPreserved( Props.CONTROL_LISTENERS ); > assertEquals( Boolean.TRUE, hasListeners ); >- RWTFixture.clearPreserved(); >+ RWTFixture.clearPreserved(); > //foreground background font > Color background = Graphics.getColor( 122, 33, 203 ); > button.setBackground( background ); >@@ -106,46 +107,46 @@ > assertEquals( background, adapter.getPreserved( Props.BACKGROUND ) ); > assertEquals( foreground, adapter.getPreserved( Props.FOREGROUND ) ); > assertEquals( font, adapter.getPreserved( Props.FONT ) ); >- RWTFixture.clearPreserved(); >- //tab_index >+ RWTFixture.clearPreserved(); >+ //tab_index > RWTFixture.preserveWidgets(); > adapter = WidgetUtil.getAdapter( button ); > assertTrue( adapter.getPreserved( Props.Z_INDEX ) != null ); >- RWTFixture.clearPreserved(); >+ RWTFixture.clearPreserved(); > //tooltiptext > RWTFixture.preserveWidgets(); > adapter = WidgetUtil.getAdapter( button ); > assertEquals( null, button.getToolTipText() ); >- RWTFixture.clearPreserved(); >- button.setToolTipText( "some text" ); >+ RWTFixture.clearPreserved(); >+ button.setToolTipText( "some text" ); > RWTFixture.preserveWidgets(); > adapter = WidgetUtil.getAdapter( button ); > assertEquals( "some text", button.getToolTipText() ); >- RWTFixture.clearPreserved(); >- //activate_listeners Focus_listeners >+ RWTFixture.clearPreserved(); >+ //activate_listeners Focus_listeners > RWTFixture.preserveWidgets(); >- adapter = WidgetUtil.getAdapter( button ); >+ adapter = WidgetUtil.getAdapter( button ); > hasListeners = ( Boolean )adapter.getPreserved( Props.FOCUS_LISTENER ); > assertEquals( Boolean.FALSE, hasListeners ); >- RWTFixture.clearPreserved(); >+ RWTFixture.clearPreserved(); > button.addFocusListener( new FocusAdapter() { } ); > RWTFixture.preserveWidgets(); > adapter = WidgetUtil.getAdapter( button ); > hasListeners = ( Boolean ) adapter.getPreserved( Props.FOCUS_LISTENER ); > assertEquals( Boolean.TRUE, hasListeners ); >- RWTFixture.clearPreserved(); >+ RWTFixture.clearPreserved(); > RWTFixture.preserveWidgets(); >- adapter = WidgetUtil.getAdapter( button ); >+ adapter = WidgetUtil.getAdapter( button ); > hasListeners = ( Boolean )adapter.getPreserved( Props.ACTIVATE_LISTENER ); > assertEquals( Boolean.FALSE, hasListeners ); >- RWTFixture.clearPreserved(); >- ActivateEvent.addListener( button, new ActivateAdapter() { } ); >+ RWTFixture.clearPreserved(); >+ ActivateEvent.addListener( button, new ActivateAdapter() { } ); > RWTFixture.preserveWidgets(); > adapter = WidgetUtil.getAdapter( button ); > hasListeners = ( Boolean ) adapter.getPreserved( Props.ACTIVATE_LISTENER ); > assertEquals( Boolean.TRUE, hasListeners ); > RWTFixture.clearPreserved(); >- display.dispose(); >+ display.dispose(); > } > > public void testWriteVisibility() throws IOException { >@@ -238,12 +239,12 @@ > result = new AbstractWidgetLCA() { > public void preserveValues( final Widget widget ) { > } >- public void renderChanges( final Widget widget ) >- throws IOException >+ public void renderChanges( final Widget widget ) >+ throws IOException > { > } >- public void renderDispose( final Widget widget ) >- throws IOException >+ public void renderDispose( final Widget widget ) >+ throws IOException > { > } > public void renderInitialization( final Widget widget ) >@@ -265,7 +266,7 @@ > RWTFixture.markInitialized( display ); > RWTFixture.markInitialized( shell ); > RWTFixture.markInitialized( control ); >- // redraw & dispose: must revoke redraw >+ // redraw & dispose: must revoke redraw > control.redraw(); > control.dispose(); > // run life cycle that (in this case) won't call doRedrawFake >Index: META-INF/MANIFEST.MF >=================================================================== >RCS file: /cvsroot/technology/org.eclipse.rap/org.eclipse.rap.rwt.q07.test/META-INF/MANIFEST.MF,v >retrieving revision 1.3 >diff -u -r1.3 MANIFEST.MF >--- META-INF/MANIFEST.MF 12 Jul 2008 17:36:48 -0000 1.3 >+++ META-INF/MANIFEST.MF 6 Oct 2008 08:49:25 -0000 >@@ -7,3 +7,4 @@ > Fragment-Host: org.eclipse.rap.rwt;bundle-version="1.1.0" > Require-Bundle: org.junit > Bundle-Localization: fragment >+Bundle-RequiredExecutionEnvironment: J2SE-1.4 >Index: src/org/eclipse/swt/internal/widgets/labelkit/LabelLCA_Test.java >=================================================================== >RCS file: /cvsroot/technology/org.eclipse.rap/org.eclipse.rap.rwt.q07.test/src/org/eclipse/swt/internal/widgets/labelkit/LabelLCA_Test.java,v >retrieving revision 1.2 >diff -u -r1.2 LabelLCA_Test.java >--- src/org/eclipse/swt/internal/widgets/labelkit/LabelLCA_Test.java 12 Jun 2008 13:22:46 -0000 1.2 >+++ src/org/eclipse/swt/internal/widgets/labelkit/LabelLCA_Test.java 6 Oct 2008 08:49:25 -0000 >@@ -205,6 +205,7 @@ > LabelLCA lca = new LabelLCA(); > ControlLCAUtil.preserveValues( label ); > RWTFixture.markInitialized( label ); >+ RWTFixture.preserveWidgets(); > Fixture.fakeResponseWriter(); > label.setText( "test" ); > lca.renderChanges( label ); >Index: src/org/eclipse/rwt/internal/lifecycle/DuplicateRequest_Test.java >=================================================================== >RCS file: /cvsroot/technology/org.eclipse.rap/org.eclipse.rap.rwt.q07.test/src/org/eclipse/rwt/internal/lifecycle/DuplicateRequest_Test.java,v >retrieving revision 1.2 >diff -u -r1.2 DuplicateRequest_Test.java >--- src/org/eclipse/rwt/internal/lifecycle/DuplicateRequest_Test.java 12 Jun 2008 13:22:46 -0000 1.2 >+++ src/org/eclipse/rwt/internal/lifecycle/DuplicateRequest_Test.java 6 Oct 2008 08:49:25 -0000 >@@ -150,7 +150,7 @@ > RWTFixture.fakeNewRequest(); > Fixture.fakeRequestParam( RequestParams.UIROOT, displayId ); > Fixture.fakeRequestParam( JSConst.EVENT_WIDGET_SELECTED, buttonId ); >- RWTFixture.executeLifeCycleFromServerThread( ); >+ RWTFixture.executeLifeCycleFromServerThread(); > assertEquals( 1, events.size() ); > > // Second request - simulates click on the button that should not be >#P org.eclipse.rap.rwt.q07 >Index: src/org/eclipse/swt/internal/widgets/tablekit/TableLCA.java >=================================================================== >RCS file: /cvsroot/technology/org.eclipse.rap/org.eclipse.rap.rwt.q07/src/org/eclipse/swt/internal/widgets/tablekit/TableLCA.java,v >retrieving revision 1.5 >diff -u -r1.5 TableLCA.java >--- src/org/eclipse/swt/internal/widgets/tablekit/TableLCA.java 18 Aug 2008 15:43:14 -0000 1.5 >+++ src/org/eclipse/swt/internal/widgets/tablekit/TableLCA.java 6 Oct 2008 08:49:30 -0000 >@@ -88,6 +88,7 @@ > readWidgetSelected( table ); > readWidgetDefaultSelected( table ); > ControlLCAUtil.processMouseEvents( table ); >+ ControlLCAUtil.processKeyEvents( table ); > } > > public void renderInitialization( final Widget widget ) throws IOException { >Index: js/org/eclipse/swt/Application.js >=================================================================== >RCS file: /cvsroot/technology/org.eclipse.rap/org.eclipse.rap.rwt.q07/js/org/eclipse/swt/Application.js,v >retrieving revision 1.5 >diff -u -r1.5 Application.js >--- js/org/eclipse/swt/Application.js 14 Jul 2008 20:17:22 -0000 1.5 >+++ js/org/eclipse/swt/Application.js 6 Oct 2008 08:49:29 -0000 >@@ -15,6 +15,8 @@ > construct : function() { > this.base( arguments ); > this._exitConfirmation = null; >+ qx.Class.patch( qx.event.handler.KeyEventHandler, >+ org.eclipse.rwt.KeyEventHandlerPatch ); > }, > > destruct : function() { >Index: js/org/eclipse/swt/Request.js >=================================================================== >RCS file: /cvsroot/technology/org.eclipse.rap/org.eclipse.rap.rwt.q07/js/org/eclipse/swt/Request.js,v >retrieving revision 1.4 >diff -u -r1.4 Request.js >--- js/org/eclipse/swt/Request.js 2 Jul 2008 12:43:15 -0000 1.4 >+++ js/org/eclipse/swt/Request.js 6 Oct 2008 08:49:29 -0000 >@@ -72,6 +72,10 @@ > this._requestCounter = requestCounter; > }, > >+ setTimeoutPage : function( content ) { >+ this._timeoutPage = content; >+ }, >+ > /** > * Adds a request parameter to this request with the given name and value > */ >@@ -120,8 +124,8 @@ > }, > > /** >- * Sends this request. All parameters that were added since the last 'send()' >- * will now be sent. >+ * Sends this request asynchronously. All parameters that were added since >+ * the last 'send()' will now be sent. > */ > send : function() { > if( !this._inDelayedSend ) { >@@ -129,15 +133,16 @@ > // Wait and then actually send the request > // TODO [rh] optimize wait interval (below 60ms seems to not work > // reliable) >- qx.client.Timer.once( this._sendImmediate, this, 60 ); >+ var func = function() { this._sendImmediate( true ) }; >+ qx.client.Timer.once( func, this, 60 ); > } > }, >- >- setTimeoutPage : function( content ) { >- this._timeoutPage = content; >+ >+ sendSyncronous : function() { >+ this._sendImmediate( false ); > }, > >- _sendImmediate : function() { >+ _sendImmediate : function( async ) { > this._dispatchSendEvent(); > // set mandatory parameters; do this after regular params to override them > // in case of conflict >@@ -152,9 +157,9 @@ > this._parameters[ "requestCounter" ] = this._requestCounter; > this._requestCounter = -1; > } >- > // create and configure request object > var request = this._createRequest(); >+ request.setAsynchronous( async ); > // copy the _parameters map which was filled during client interaction > // to the request > this._inDelayedSend = false; >@@ -165,10 +170,14 @@ > if( this._runningRequestCount === 1 ) { > qx.client.Timer.once( this._showWaitHint, this, 500 ); > } >- // queue request to be sent >- request.send(); > // clear the parameter list > this._parameters = {}; >+ // queue request to be sent (async) or send and block (sync) >+ if( async ) { >+ request.send(); >+ } else { >+ this._sendStandalone( request ); >+ } > } > }, > >@@ -300,6 +309,7 @@ > if( result ) { > var request = this._createRequest(); > var failedRequest = this._currentRequest; >+ request.setAsynchronous( failedRequest.getAsynchronous() ); > // Reusing the same request object causes strange behaviour, therefore > // create a new request and copy the relevant parts from the failed one > var failedHeaders = failedRequest.getRequestHeaders(); >Index: src/org/eclipse/swt/internal/widgets/textkit/SingleTextLCA.java >=================================================================== >RCS file: /cvsroot/technology/org.eclipse.rap/org.eclipse.rap.rwt.q07/src/org/eclipse/swt/internal/widgets/textkit/SingleTextLCA.java,v >retrieving revision 1.6 >diff -u -r1.6 SingleTextLCA.java >--- src/org/eclipse/swt/internal/widgets/textkit/SingleTextLCA.java 18 Aug 2008 15:43:14 -0000 1.6 >+++ src/org/eclipse/swt/internal/widgets/textkit/SingleTextLCA.java 6 Oct 2008 08:49:30 -0000 >@@ -35,6 +35,7 @@ > TextLCAUtil.readTextAndSelection( text ); > ControlLCAUtil.processSelection( text, null, false ); > ControlLCAUtil.processMouseEvents( text ); >+ ControlLCAUtil.processKeyEvents( text ); > } > > void renderInitialization( final Text text ) throws IOException { >Index: src/org/eclipse/swt/internal/widgets/shellkit/ShellLCA.java >=================================================================== >RCS file: /cvsroot/technology/org.eclipse.rap/org.eclipse.rap.rwt.q07/src/org/eclipse/swt/internal/widgets/shellkit/ShellLCA.java,v >retrieving revision 1.5 >diff -u -r1.5 ShellLCA.java >--- src/org/eclipse/swt/internal/widgets/shellkit/ShellLCA.java 18 Aug 2008 15:43:14 -0000 1.5 >+++ src/org/eclipse/swt/internal/widgets/shellkit/ShellLCA.java 6 Oct 2008 08:49:30 -0000 >@@ -65,6 +65,7 @@ > processActiveShell( shell ); > processActivate( shell ); > ControlLCAUtil.processMouseEvents( shell ); >+ ControlLCAUtil.processKeyEvents( shell ); > } > > public void renderInitialization( final Widget widget ) throws IOException { >Index: src/org/eclipse/swt/internal/widgets/displaykit/QooxdooResourcesUtil.java >=================================================================== >RCS file: /cvsroot/technology/org.eclipse.rap/org.eclipse.rap.rwt.q07/src/org/eclipse/swt/internal/widgets/displaykit/QooxdooResourcesUtil.java,v >retrieving revision 1.7 >diff -u -r1.7 QooxdooResourcesUtil.java >--- src/org/eclipse/swt/internal/widgets/displaykit/QooxdooResourcesUtil.java 24 Sep 2008 07:10:44 -0000 1.7 >+++ src/org/eclipse/swt/internal/widgets/displaykit/QooxdooResourcesUtil.java 6 Oct 2008 08:49:29 -0000 >@@ -37,6 +37,8 @@ > private static final String QX_DEBUG_JS > = "qx-debug.js"; > >+ private static final String KEY_EVENT_HANDLER_PATCH >+ = "org/eclipse/rwt/KeyEventHandlerPatch.js"; > private static final String APPLICATION_JS > = "org/eclipse/swt/Application.js"; > private static final String REQUEST_JS >@@ -45,6 +47,8 @@ > = "org/eclipse/swt/WidgetManager.js"; > private static final String EVENT_UTIL_JS > = "org/eclipse/swt/EventUtil.js"; >+ private static final String KEY_EVENT_UTIL_JS >+ = "org/eclipse/rwt/KeyEventUtil.js"; > private static final String TAB_UTIL_JS > = "org/eclipse/swt/TabUtil.js"; > private static final String BUTTON_UTIL_JS >@@ -163,10 +167,12 @@ > register( QX_CONSTANT_LAYOUT_JS, compress ); > register( QX_CONSTANT_STYLE_JS, compress ); > >+ register( KEY_EVENT_HANDLER_PATCH, compress ); > register( APPLICATION_JS, compress ); > register( REQUEST_JS, compress ); > register( WIDGET_MANAGER_JS, compress ); > register( EVENT_UTIL_JS, compress ); >+ register( KEY_EVENT_UTIL_JS, compress ); > register( WIDGET_UTIL_JS, compress ); > register( SASH_JS, compress ); > register( TAB_UTIL_JS, compress ); >Index: js/qx-debug.js >=================================================================== >RCS file: /cvsroot/technology/org.eclipse.rap/org.eclipse.rap.rwt.q07/js/qx-debug.js,v >retrieving revision 1.9 >diff -u -r1.9 qx-debug.js >--- js/qx-debug.js 1 Sep 2008 22:33:44 -0000 1.9 >+++ js/qx-debug.js 6 Oct 2008 08:49:28 -0000 >@@ -768,7 +768,8 @@ > }if(config.members){this.__addMembers(clazz, > config.members, > true, >-true); >+true, >+false); > }if(config.events){this.__addEvents(clazz, > config.events, > true); >@@ -1111,7 +1112,8 @@ > __addMembers:function(clazz, > members, > patch, >-base){var proto=clazz.prototype; >+base, >+wrap){var proto=clazz.prototype; > var key, > member; > for(var i=0, >@@ -1122,14 +1124,27 @@ > } > if(patch!==true&&proto[key]!==undefined){throw new Error('Overwriting member "'+key+'" of Class "'+clazz.classname+'" is not allowed!'); > }}; >-if(base!==false&&member instanceof Function){if(proto[key]){member.base=proto[key]; >+if(base!==false&&member instanceof Function){if(wrap==true){member=this.__mixinMemberWrapper(member, >+proto[key]); >+}else{if(proto[key]){member.base=proto[key]; > }member.self=clazz; >+} > if(qx.core.Variant.isSet("qx.aspects", > "on")){member=qx.core.Aspect.wrap(clazz.classname+"."+key, > member, > "member"); > }}proto[key]=member; > }}, >+__mixinMemberWrapper:function(member, >+base){if(base){return function(){var oldBase=member.base; >+member.base=base; >+var retval=member.apply(this, >+arguments); >+member.base=oldBase; >+return retval; >+}; >+}else{return member; >+}}, > __addInterface:function(clazz, > iface){{if(!clazz||!iface){throw new Error("Incomplete parameters!"); > }if(this.hasOwnInterface(clazz, >@@ -1166,7 +1181,8 @@ > }if(entry.$$members){this.__addMembers(clazz, > entry.$$members, > patch, >-false); >+patch, >+patch); > }}if(clazz.$$includes){clazz.$$includes.push(mixin); > clazz.$$flatIncludes.push.apply(clazz.$$flatIncludes, > list); >@@ -4441,6 +4457,35 @@ > > > >+/* ID: qx.application.Basic */ >+qx.Class.define("qx.application.Basic", >+{extend:qx.core.Target, >+implement:qx.application.IApplication, >+members:{main:function(){}, >+close:function(){}, >+terminate:function(){}}}); >+ >+ >+ >+ >+/* ID: qx.core.Package */ >+qx.Class.define("qx.core.Package", >+{statics:{loadPart:function(name, >+callback, >+self){window.qxloader.loadPart(name, >+callback, >+self); >+}, >+loadScript:function(url, >+callback, >+self){window.qxloader.loadScript(url, >+callback, >+self); >+}}}); >+ >+ >+ >+ > /* ID: qx.locale.Locale */ > qx.Class.define("qx.locale.Locale", > {statics:{define:function(name, >@@ -4683,2135 +4728,380 @@ > > > >-/* ID: qx.core.Package */ >-qx.Class.define("qx.core.Package", >-{statics:{loadPart:function(name, >-callback, >-self){window.qxloader.loadPart(name, >-callback, >-self); >-}, >-loadScript:function(url, >-callback, >-self){window.qxloader.loadScript(url, >-callback, >-self); >-}}}); >- >- >- >- >-/* ID: qx.application.Basic */ >-qx.Class.define("qx.application.Basic", >+/* ID: qx.application.Gui */ >+qx.Class.define("qx.application.Gui", > {extend:qx.core.Target, > implement:qx.application.IApplication, >-members:{main:function(){}, >+properties:{uiReady:{check:"Boolean", >+init:false}}, >+members:{main:function(){qx.ui.core.Widget.initScrollbarWidth(); >+qx.theme.manager.Meta.getInstance().initialize(); >+qx.event.handler.EventHandler.getInstance(); >+qx.ui.core.ClientDocument.getInstance(); >+qx.client.Timer.once(this._preload, >+this, >+0); >+}, > close:function(){}, >-terminate:function(){}}}); >+terminate:function(){}, >+_preload:function(){this.debug("preloading visible images..."); >+this.__preloader=new qx.io.image.PreloaderSystem(qx.io.image.Manager.getInstance().getVisibleImages(), >+this._preloaderDone, >+this); >+this.__preloader.start(); >+}, >+_preloaderDone:function(){this.setUiReady(true); >+this.__preloader.dispose(); >+this.__preloader=null; >+var start=(new Date).valueOf(); >+qx.ui.core.Widget.flushGlobalQueues(); >+this.info("render runtime: "+(new Date-start)+"ms"); >+qx.event.handler.EventHandler.getInstance().attachEvents(); >+qx.client.Timer.once(this._postload, >+this, >+100); >+}, >+_postload:function(){this.debug("preloading hidden images..."); >+this.__postloader=new qx.io.image.PreloaderSystem(qx.io.image.Manager.getInstance().getHiddenImages(), >+this._postloaderDone, >+this); >+this.__postloader.start(); >+}, >+_postloaderDone:function(){this.__postloader.dispose(); >+this.__postloader=null; >+}}}); > > > > >-/* ID: qx.html.StyleSheet */ >-qx.Class.define("qx.html.StyleSheet", >-{statics:{includeFile:function(vHref){var el=document.createElement("link"); >-el.type="text/css"; >-el.rel="stylesheet"; >-el.href=vHref; >-var head=document.getElementsByTagName("head")[0]; >-head.appendChild(el); >-}, >-createElement:qx.lang.Object.select(document.createStyleSheet?"ie4+":"other", >-{"ie4+":function(vCssText){var vSheet=document.createStyleSheet(); >-if(vCssText){vSheet.cssText=vCssText; >-}return vSheet; >-}, >-"other":function(vCssText){var vElement=document.createElement("style"); >-vElement.type="text/css"; >-vElement.appendChild(document.createTextNode(vCssText||"body {}")); >-document.getElementsByTagName("head")[0].appendChild(vElement); >-if(vElement.sheet){return vElement.sheet; >-}else{var styles=document.styleSheets; >-for(var i=styles.length-1;i>=0;i--){if(styles[i].ownerNode==vElement){return styles[i]; >-}}}throw "Error: Could not get a reference to the sheet object"; >-}}), >-addRule:qx.lang.Object.select(document.createStyleSheet?"ie4+":"other", >-{"ie4+":function(vSheet, >-vSelector, >-vStyle){vSheet.addRule(vSelector, >-vStyle); >+/* ID: qx.ui.core.Widget */ >+qx.Class.define("qx.ui.core.Widget", >+{extend:qx.core.Target, >+type:"abstract", >+construct:function(){this.base(arguments); >+this._layoutChanges={}; >+if(qx.core.Setting.get("qx.widgetDebugId")){this._generateHtmlId(); >+}}, >+events:{"beforeAppear":"qx.event.type.Event", >+"appear":"qx.event.type.Event", >+"beforeDisappear":"qx.event.type.Event", >+"disappear":"qx.event.type.Event", >+"beforeInsertDom":"qx.event.type.Event", >+"insertDom":"qx.event.type.Event", >+"beforeRemoveDom":"qx.event.type.Event", >+"removeDom":"qx.event.type.Event", >+"create":"qx.event.type.Event", >+"execute":"qx.event.type.Event", >+"mouseover":"qx.event.type.MouseEvent", >+"mousemove":"qx.event.type.MouseEvent", >+"mouseout":"qx.event.type.MouseEvent", >+"mousedown":"qx.event.type.MouseEvent", >+"mouseup":"qx.event.type.MouseEvent", >+"mousewheel":"qx.event.type.MouseEvent", >+"click":"qx.event.type.MouseEvent", >+"dblclick":"qx.event.type.MouseEvent", >+"contextmenu":"qx.event.type.MouseEvent", >+"keydown":"qx.event.type.KeyEvent", >+"keypress":"qx.event.type.KeyEvent", >+"keyinput":"qx.event.type.KeyEvent", >+"keyup":"qx.event.type.KeyEvent", >+"focusout":"qx.event.type.FocusEvent", >+"focusin":"qx.event.type.FocusEvent", >+"blur":"qx.event.type.FocusEvent", >+"focus":"qx.event.type.FocusEvent", >+"dragdrop":"qx.event.type.DragEvent", >+"dragout":"qx.event.type.DragEvent", >+"dragover":"qx.event.type.DragEvent", >+"dragmove":"qx.event.type.DragEvent", >+"dragstart":"qx.event.type.DragEvent", >+"dragend":"qx.event.type.DragEvent"}, >+statics:{create:function(clazz, >+appearance){clazz._appearance=appearance; >+return new clazz; > }, >-"other":qx.lang.Object.select(qx.core.Client.getInstance().isSafari2()?"safari2":"other", >-{"safari2+":function(vSheet, >-vSelector, >-vStyle){if(!vSheet._qxRules){vSheet._qxRules={}; >+SCROLLBAR_SIZE:null, >+_autoFlushTimeout:null, >+_initAutoFlush:function(){if(qx.ui.core.Widget._autoFlushTimeout==null){qx.ui.core.Widget._autoFlushTimeout=window.setTimeout(qx.ui.core.Widget._autoFlushHelper, >+0); >+}}, >+_removeAutoFlush:function(){if(qx.ui.core.Widget._autoFlushTimeout!=null){window.clearTimeout(qx.ui.core.Widget._autoFlushTimeout); >+qx.ui.core.Widget._autoFlushTimeout=null; >+}}, >+_autoFlushHelper:function(){qx.ui.core.Widget._autoFlushTimeout=null; >+if(!qx.core.Object.inGlobalDispose()){qx.ui.core.Widget.flushGlobalQueues(); >+}}, >+flushGlobalQueues:function(){if(qx.ui.core.Widget._autoFlushTimeout!=null){qx.ui.core.Widget._removeAutoFlush(); > } >-if(!vSheet._qxRules[vSelector]){var ruleNode=document.createTextNode(vSelector+"{"+vStyle+"}"); >-vSheet.ownerNode.appendChild(ruleNode); >-vSheet._qxRules[vSelector]=ruleNode; >+if(qx.ui.core.Widget._inFlushGlobalQueues){return; >+}var app=qx.core.Init.getInstance().getApplication(); >+if(app.getUiReady&&!app.getUiReady()){return; >+}qx.ui.core.Widget._inFlushGlobalQueues=true; >+qx.ui.core.Widget.flushGlobalWidgetQueue(); >+qx.ui.core.Widget.flushGlobalStateQueue(); >+qx.ui.core.Widget.flushGlobalElementQueue(); >+qx.ui.core.Widget.flushGlobalJobQueue(); >+qx.ui.core.Widget.flushGlobalLayoutQueue(); >+qx.ui.core.Widget.flushGlobalDisplayQueue(); >+delete qx.ui.core.Widget._inFlushGlobalQueues; >+}, >+_globalWidgetQueue:[], >+addToGlobalWidgetQueue:function(vWidget){if(!vWidget._isInGlobalWidgetQueue&&vWidget._isDisplayable){if(qx.ui.core.Widget._autoFlushTimeout==null){qx.ui.core.Widget._initAutoFlush(); >+}qx.ui.core.Widget._globalWidgetQueue.push(vWidget); >+vWidget._isInGlobalWidgetQueue=true; > }}, >-"other":function(vSheet, >-vSelector, >-vStyle){vSheet.insertRule(vSelector+"{"+vStyle+"}", >-vSheet.cssRules.length); >-}})}), >-removeRule:qx.lang.Object.select(document.createStyleSheet?"ie4+":"other", >-{"ie4+":function(vSheet, >-vSelector){var vRules=vSheet.rules; >-var vLength=vRules.length; >-for(var i=vLength-1;i>=0;i--){if(vRules[i].selectorText==vSelector){vSheet.removeRule(i); >-}}}, >-"other":qx.lang.Object.select(qx.core.Client.getInstance().isSafari2()?"safari2":"other", >-{"safari2+":function(vSheet, >-vSelector){var warn=function(){qx.log.Logger.ROOT_LOGGER.warn("In Safari/Webkit you can only remove rules that are created using qx.html.StyleSheet.addRule"); >-}; >-if(!vSheet._qxRules){warn(); >-}var ruleNode=vSheet._qxRules[vSelector]; >-if(ruleNode){vSheet.ownerNode.removeChild(ruleNode); >-vSheet._qxRules[vSelector]=null; >-}else{warn(); >+removeFromGlobalWidgetQueue:function(vWidget){if(vWidget._isInGlobalWidgetQueue){qx.lang.Array.remove(qx.ui.core.Widget._globalWidgetQueue, >+vWidget); >+delete vWidget._isInGlobalWidgetQueue; > }}, >-"other":function(vSheet, >-vSelector){var vRules=vSheet.cssRules; >-var vLength=vRules.length; >-for(var i=vLength-1;i>=0;i--){if(vRules[i].selectorText==vSelector){vSheet.deleteRule(i); >-}}}})}), >-removeAllRules:qx.lang.Object.select(document.createStyleSheet?"ie4+":"other", >-{"ie4+":function(vSheet){var vRules=vSheet.rules; >-var vLength=vRules.length; >-for(var i=vLength-1;i>=0;i--){vSheet.removeRule(i); >+flushGlobalWidgetQueue:function(){var vQueue=qx.ui.core.Widget._globalWidgetQueue, >+vLength, >+vWidget; >+while((vLength=vQueue.length)>0){for(var i=0;i<vLength;i++){vWidget=vQueue[i]; >+vWidget.flushWidgetQueue(); >+delete vWidget._isInGlobalWidgetQueue; >+}vQueue.splice(0, >+vLength); > }}, >-"other":qx.lang.Object.select(qx.core.Client.getInstance().isSafari2()?"safari2":"other", >-{"safari2+":function(vSheet){var node=vSheet.ownerNode; >-var rules=node.childNodes; >-while(rules.length>0){node.removeChild(rules[0]); >+_globalElementQueue:[], >+addToGlobalElementQueue:function(vWidget){if(!vWidget._isInGlobalElementQueue&&vWidget._isDisplayable){if(qx.ui.core.Widget._autoFlushTimeout==null){qx.ui.core.Widget._initAutoFlush(); >+}qx.ui.core.Widget._globalElementQueue.push(vWidget); >+vWidget._isInGlobalElementQueue=true; > }}, >-"other":function(vSheet){var vRules=vSheet.cssRules; >-var vLength=vRules.length; >-for(var i=vLength-1;i>=0;i--){vSheet.deleteRule(i); >-}}})}), >-addImport:qx.lang.Object.select(document.createStyleSheet?"ie4+":"other", >-{"ie4+":function(vSheet, >-vUrl){vSheet.addImport(vUrl); >-}, >-"other":qx.lang.Object.select(qx.core.Client.getInstance().isSafari2()?"safari2":"other", >-{"safari2+":function(vSheet, >-vUrl){vSheet.ownerNode.appendChild(document.createTextNode('@import "'+vUrl+'";')); >-}, >-"other":function(vSheet, >-vUrl){vSheet.insertRule('@import "'+vUrl+'";', >-vSheet.cssRules.length); >-}})}), >-removeImport:qx.lang.Object.select(document.createStyleSheet?"ie4+":"other", >-{"ie4+":function(vSheet, >-vUrl){var vImports=vSheet.imports; >-var vLength=vImports.length; >-for(var i=vLength-1;i>=0;i--){if(vImports[i].href==vUrl){vSheet.removeImport(i); >-}}}, >-"other":function(vSheet, >-vUrl){var vRules=vSheet.cssRules; >-var vLength=vRules.length; >-for(var i=vLength-1;i>=0;i--){if(vRules[i].href==vUrl){vSheet.deleteRule(i); >-}}}}), >-removeAllImports:qx.lang.Object.select(document.createStyleSheet?"ie4+":"other", >-{"ie4+":function(vSheet){var vImports=vSheet.imports; >-var vLength=vImports.length; >-for(var i=vLength-1;i>=0;i--){vSheet.removeImport(i); >+removeFromGlobalElementQueue:function(vWidget){if(vWidget._isInGlobalElementQueue){qx.lang.Array.remove(qx.ui.core.Widget._globalElementQueue, >+vWidget); >+delete vWidget._isInGlobalElementQueue; > }}, >-"other":function(vSheet){var vRules=vSheet.cssRules; >-var vLength=vRules.length; >-for(var i=vLength-1;i>=0;i--){if(vRules[i].type==vRules[i].IMPORT_RULE){vSheet.deleteRule(i); >-}}}})}}); >- >- >- >- >-/* ID: qx.html.Scroll */ >-qx.Class.define("qx.html.Scroll", >-{statics:{getLeftSum:function(el){var sum=0; >-var p=el.parentNode; >-while(p.nodeType==1){sum+=p.scrollLeft; >-p=p.parentNode; >-}return sum; >-}, >-getTopSum:function(el){var sum=0; >-var p=el.parentNode; >-while(p.nodeType==1){sum+=p.scrollTop; >-p=p.parentNode; >-}return sum; >-}}}); >- >- >- >- >-/* ID: qx.html.ScrollIntoView */ >-qx.Class.define("qx.html.ScrollIntoView", >-{statics:{scrollX:function(vElement, >-vAlignLeft){var vParentWidth, >-vParentScrollLeft, >-vWidth, >-vHasScroll; >-var vParent=vElement.parentNode; >-var vOffset=vElement.offsetLeft; >-var vWidth=vElement.offsetWidth; >-while(vParent){switch(qx.html.Style.getStyleProperty(vParent, >-"overflow")){case "scroll":case "auto":case "-moz-scrollbars-horizontal":vHasScroll=true; >-break; >-default:switch(qx.html.Style.getStyleProperty(vParent, >-"overflowX")){case "scroll":case "auto":vHasScroll=true; >-break; >-default:vHasScroll=false; >-}} >-if(vHasScroll){vParentWidth=vParent.clientWidth; >-vParentScrollLeft=vParent.scrollLeft; >-if(vAlignLeft){vParent.scrollLeft=vOffset; >-}else if(vAlignLeft==false){vParent.scrollLeft=vOffset+vWidth-vParentWidth; >-}else if(vWidth>vParentWidth||vOffset<vParentScrollLeft){vParent.scrollLeft=vOffset; >-}else if((vOffset+vWidth)>(vParentScrollLeft+vParentWidth)){vParent.scrollLeft=vOffset+vWidth-vParentWidth; >-}vOffset=vParent.offsetLeft; >-vWidth=vParent.offsetWidth; >-}else{vOffset+=vParent.offsetLeft; >-} >-if(vParent.tagName.toLowerCase()=="body"){break; >-}vParent=vParent.offsetParent; >-}return true; >-}, >-scrollY:function(vElement, >-vAlignTop){var vParentHeight, >-vParentScrollTop, >-vHeight, >-vHasScroll; >-var vParent=vElement.parentNode; >-var vOffset=vElement.offsetTop; >-var vHeight=vElement.offsetHeight; >-while(vParent){switch(qx.html.Style.getStyleProperty(vParent, >-"overflow")){case "scroll":case "auto":case "-moz-scrollbars-vertical":vHasScroll=true; >-break; >-default:switch(qx.html.Style.getStyleProperty(vParent, >-"overflowY")){case "scroll":case "auto":vHasScroll=true; >-break; >-default:vHasScroll=false; >-}} >-if(vHasScroll){vParentHeight=vParent.clientHeight; >-vParentScrollTop=vParent.scrollTop; >-if(vAlignTop){vParent.scrollTop=vOffset; >-}else if(vAlignTop==false){vParent.scrollTop=vOffset+vHeight-vParentHeight; >-}else if(vHeight>vParentHeight||vOffset<vParentScrollTop){vParent.scrollTop=vOffset; >-}else if((vOffset+vHeight)>(vParentScrollTop+vParentHeight)){vParent.scrollTop=vOffset+vHeight-vParentHeight; >-}vOffset=vParent.offsetTop; >-vHeight=vParent.offsetHeight; >-}else{vOffset+=vParent.offsetTop; >-} >-if(vParent.tagName.toLowerCase()=="body"){break; >-}vParent=vParent.offsetParent; >-}return true; >-}}}); >- >- >- >- >-/* ID: qx.html.Style */ >-qx.Class.define("qx.html.Style", >-{statics:{getStylePropertySure:qx.lang.Object.select((document.defaultView&&document.defaultView.getComputedStyle)?"hasComputed":"noComputed", >-{"hasComputed":function(el, >-prop){return !el?null:el.ownerDocument?el.ownerDocument.defaultView.getComputedStyle(el, >-"")[prop]:el.style[prop]; >-}, >-"noComputed":qx.core.Variant.select("qx.client", >-{"mshtml":function(el, >-prop){try{if(!el){return null; >-} >-if(el.parentNode&&el.currentStyle){return el.currentStyle[prop]; >-}else{var v1=el.runtimeStyle[prop]; >-if(v1!=null&&typeof v1!="undefined"&&v1!=""){return v1; >-}return el.style[prop]; >-}}catch(ex){throw new Error("Could not evaluate computed style: "+el+"["+prop+"]: "+ex); >+flushGlobalElementQueue:function(){var vQueue=qx.ui.core.Widget._globalElementQueue, >+vLength, >+vWidget; >+while((vLength=vQueue.length)>0){for(var i=0;i<vLength;i++){vWidget=vQueue[i]; >+vWidget._createElementImpl(); >+delete vWidget._isInGlobalElementQueue; >+}vQueue.splice(0, >+vLength); > }}, >-"default":function(el, >-prop){return !el?null:el.style[prop]; >-}})}), >-getStyleProperty:qx.lang.Object.select((document.defaultView&&document.defaultView.getComputedStyle)?"hasComputed":"noComputed", >-{"hasComputed":function(el, >-prop){try{return el.ownerDocument.defaultView.getComputedStyle(el, >-"")[prop]; >-}catch(ex){throw new Error("Could not evaluate computed style: "+el+"["+prop+"]: "+ex); >+_globalStateQueue:[], >+addToGlobalStateQueue:function(vWidget){if(!vWidget._isInGlobalStateQueue&&vWidget._isDisplayable){if(qx.ui.core.Widget._autoFlushTimeout==null){qx.ui.core.Widget._initAutoFlush(); >+}qx.ui.core.Widget._globalStateQueue.push(vWidget); >+vWidget._isInGlobalStateQueue=true; > }}, >-"noComputed":qx.core.Variant.select("qx.client", >-{"mshtml":function(el, >-prop){try{return el.currentStyle[prop]; >-}catch(ex){throw new Error("Could not evaluate computed style: "+el+"["+prop+"]: "+ex); >+removeFromGlobalStateQueue:function(vWidget){if(vWidget._isInGlobalStateQueue){qx.lang.Array.remove(qx.ui.core.Widget._globalStateQueue, >+vWidget); >+delete vWidget._isInGlobalStateQueue; > }}, >-"default":function(el, >-prop){try{return el.style[prop]; >-}catch(ex){throw new Error("Could not evaluate computed style: "+el+"["+prop+"]"); >-}}})}), >-getStyleSize:function(vElement, >-propertyName){return parseInt(qx.html.Style.getStyleProperty(vElement, >-propertyName))||0; >-}, >-getMarginLeft:function(vElement){return qx.html.Style.getStyleSize(vElement, >-"marginLeft"); >-}, >-getMarginTop:function(vElement){return qx.html.Style.getStyleSize(vElement, >-"marginTop"); >-}, >-getMarginRight:function(vElement){return qx.html.Style.getStyleSize(vElement, >-"marginRight"); >-}, >-getMarginBottom:function(vElement){return qx.html.Style.getStyleSize(vElement, >-"marginBottom"); >-}, >-getPaddingLeft:function(vElement){return qx.html.Style.getStyleSize(vElement, >-"paddingLeft"); >-}, >-getPaddingTop:function(vElement){return qx.html.Style.getStyleSize(vElement, >-"paddingTop"); >-}, >-getPaddingRight:function(vElement){return qx.html.Style.getStyleSize(vElement, >-"paddingRight"); >-}, >-getPaddingBottom:function(vElement){return qx.html.Style.getStyleSize(vElement, >-"paddingBottom"); >-}, >-getBorderLeft:function(vElement){return qx.html.Style.getStyleProperty(vElement, >-"borderLeftStyle")=="none"?0:qx.html.Style.getStyleSize(vElement, >-"borderLeftWidth"); >-}, >-getBorderTop:function(vElement){return qx.html.Style.getStyleProperty(vElement, >-"borderTopStyle")=="none"?0:qx.html.Style.getStyleSize(vElement, >-"borderTopWidth"); >-}, >-getBorderRight:function(vElement){return qx.html.Style.getStyleProperty(vElement, >-"borderRightStyle")=="none"?0:qx.html.Style.getStyleSize(vElement, >-"borderRightWidth"); >-}, >-getBorderBottom:function(vElement){return qx.html.Style.getStyleProperty(vElement, >-"borderBottomStyle")=="none"?0:qx.html.Style.getStyleSize(vElement, >-"borderBottomWidth"); >-}}}); >- >- >- >- >-/* ID: qx.html.Location */ >-qx.Class.define("qx.html.Location", >-{statics:{getPageOuterLeft:function(el){return qx.html.Location.getPageBoxLeft(el)-qx.html.Style.getMarginLeft(el); >-}, >-getPageOuterTop:function(el){return qx.html.Location.getPageBoxTop(el)-qx.html.Style.getMarginTop(el); >-}, >-getPageOuterRight:function(el){return qx.html.Location.getPageBoxRight(el)+qx.html.Style.getMarginRight(el); >-}, >-getPageOuterBottom:function(el){return qx.html.Location.getPageBoxBottom(el)+qx.html.Style.getMarginBottom(el); >-}, >-getClientOuterLeft:function(el){return qx.html.Location.getClientBoxLeft(el)-qx.html.Style.getMarginLeft(el); >-}, >-getClientOuterTop:function(el){return qx.html.Location.getClientBoxTop(el)-qx.html.Style.getMarginTop(el); >-}, >-getClientOuterRight:function(el){return qx.html.Location.getClientBoxRight(el)+qx.html.Style.getMarginRight(el); >-}, >-getClientOuterBottom:function(el){return qx.html.Location.getClientBoxBottom(el)+qx.html.Style.getMarginBottom(el); >-}, >-getClientBoxLeft:qx.core.Variant.select("qx.client", >-{"mshtml":function(el){return el.getBoundingClientRect().left; >-}, >-"gecko":function(el){return qx.html.Location.getClientAreaLeft(el)-qx.html.Style.getBorderLeft(el); >-}, >-"default":function(el){var sum=el.offsetLeft; >-while(el.tagName.toLowerCase()!="body"){el=el.offsetParent; >-sum+=el.offsetLeft-el.scrollLeft; >-}return sum; >-}}), >-getClientBoxTop:qx.core.Variant.select("qx.client", >-{"mshtml":function(el){return el.getBoundingClientRect().top; >-}, >-"gecko":function(el){return qx.html.Location.getClientAreaTop(el)-qx.html.Style.getBorderTop(el); >-}, >-"default":function(el){var sum=el.offsetTop; >-while(el.tagName.toLowerCase()!="body"){el=el.offsetParent; >-sum+=el.offsetTop-el.scrollTop; >-}return sum; >-}}), >-getClientBoxRight:qx.core.Variant.select("qx.client", >-{"mshtml":function(el){return el.getBoundingClientRect().right; >-}, >-"default":function(el){return qx.html.Location.getClientBoxLeft(el)+qx.html.Dimension.getBoxWidth(el); >-}}), >-getClientBoxBottom:qx.core.Variant.select("qx.client", >-{"mshtml":function(el){return el.getBoundingClientRect().bottom; >-}, >-"default":function(el){return qx.html.Location.getClientBoxTop(el)+qx.html.Dimension.getBoxHeight(el); >-}}), >-getPageBoxLeft:qx.core.Variant.select("qx.client", >-{"mshtml":function(el){return qx.html.Location.getClientBoxLeft(el)+qx.html.Scroll.getLeftSum(el); >-}, >-"gecko":function(el){return qx.html.Location.getPageAreaLeft(el)-qx.html.Style.getBorderLeft(el); >-}, >-"default":function(el){var sum=el.offsetLeft; >-while(el.tagName.toLowerCase()!="body"){el=el.offsetParent; >-sum+=el.offsetLeft; >-}return sum; >-}}), >-getPageBoxTop:qx.core.Variant.select("qx.client", >-{"mshtml":function(el){return qx.html.Location.getClientBoxTop(el)+qx.html.Scroll.getTopSum(el); >-}, >-"gecko":function(el){return qx.html.Location.getPageAreaTop(el)-qx.html.Style.getBorderTop(el); >-}, >-"default":function(el){var sum=el.offsetTop; >-while(el.tagName.toLowerCase()!="body"){el=el.offsetParent; >-sum+=el.offsetTop; >-}return sum; >-}}), >-getPageBoxRight:qx.core.Variant.select("qx.client", >-{"mshtml":function(el){return qx.html.Location.getClientBoxRight(el)+qx.html.Scroll.getLeftSum(el); >-}, >-"default":function(el){return qx.html.Location.getPageBoxLeft(el)+qx.html.Dimension.getBoxWidth(el); >-}}), >-getPageBoxBottom:qx.core.Variant.select("qx.client", >-{"mshtml":function(el){return qx.html.Location.getClientBoxBottom(el)+qx.html.Scroll.getTopSum(el); >-}, >-"default":function(el){return qx.html.Location.getPageBoxTop(el)+qx.html.Dimension.getBoxHeight(el); >-}}), >-getClientAreaLeft:qx.core.Variant.select("qx.client", >-{"gecko":function(el){return qx.html.Location.getPageAreaLeft(el)-qx.html.Scroll.getLeftSum(el); >-}, >-"default":function(el){return qx.html.Location.getClientBoxLeft(el)+qx.html.Style.getBorderLeft(el); >-}}), >-getClientAreaTop:qx.core.Variant.select("qx.client", >-{"gecko":function(el){return qx.html.Location.getPageAreaTop(el)-qx.html.Scroll.getTopSum(el); >+flushGlobalStateQueue:function(){var vQueue=qx.ui.core.Widget._globalStateQueue, >+vLength, >+vWidget; >+while((vLength=vQueue.length)>0){for(var i=0;i<vLength;i++){vWidget=vQueue[i]; >+vWidget._renderAppearance(); >+delete vWidget._isInGlobalStateQueue; >+}vQueue.splice(0, >+vLength); >+}}, >+_globalJobQueue:[], >+addToGlobalJobQueue:function(vWidget){if(!vWidget._isInGlobalJobQueue&&vWidget._isDisplayable){if(qx.ui.core.Widget._autoFlushTimeout==null){qx.ui.core.Widget._initAutoFlush(); >+}qx.ui.core.Widget._globalJobQueue.push(vWidget); >+vWidget._isInGlobalJobQueue=true; >+}}, >+removeFromGlobalJobQueue:function(vWidget){if(vWidget._isInGlobalJobQueue){qx.lang.Array.remove(qx.ui.core.Widget._globalJobQueue, >+vWidget); >+delete vWidget._isInGlobalJobQueue; >+}}, >+flushGlobalJobQueue:function(){var vQueue=qx.ui.core.Widget._globalJobQueue, >+vLength, >+vWidget; >+while((vLength=vQueue.length)>0){for(var i=0;i<vLength;i++){vWidget=vQueue[i]; >+vWidget._flushJobQueue(vWidget._jobQueue); >+delete vWidget._isInGlobalJobQueue; >+}vQueue.splice(0, >+vLength); >+}}, >+_globalLayoutQueue:[], >+addToGlobalLayoutQueue:function(vParent){if(!vParent._isInGlobalLayoutQueue&&vParent._isDisplayable){if(qx.ui.core.Widget._autoFlushTimeout==null){qx.ui.core.Widget._initAutoFlush(); >+}qx.ui.core.Widget._globalLayoutQueue.push(vParent); >+vParent._isInGlobalLayoutQueue=true; >+}}, >+removeFromGlobalLayoutQueue:function(vParent){if(vParent._isInGlobalLayoutQueue){qx.lang.Array.remove(qx.ui.core.Widget._globalLayoutQueue, >+vParent); >+delete vParent._isInGlobalLayoutQueue; >+}}, >+flushGlobalLayoutQueue:function(){var vQueue=qx.ui.core.Widget._globalLayoutQueue, >+vLength, >+vParent; >+while((vLength=vQueue.length)>0){for(var i=0;i<vLength;i++){vParent=vQueue[i]; >+vParent._flushChildrenQueue(); >+delete vParent._isInGlobalLayoutQueue; >+}vQueue.splice(0, >+vLength); >+}}, >+_fastGlobalDisplayQueue:[], >+_lazyGlobalDisplayQueues:{}, >+addToGlobalDisplayQueue:function(vWidget){if(!vWidget._isInGlobalDisplayQueue&&vWidget._isDisplayable){if(qx.ui.core.Widget._autoFlushTimeout==null){qx.ui.core.Widget._initAutoFlush(); >+}var vParent=vWidget.getParent(); >+if(vParent.isSeeable()){var vKey=vParent.toHashCode(); >+if(qx.ui.core.Widget._lazyGlobalDisplayQueues[vKey]){qx.ui.core.Widget._lazyGlobalDisplayQueues[vKey].push(vWidget); >+}else{qx.ui.core.Widget._lazyGlobalDisplayQueues[vKey]=[vWidget]; >+}}else{qx.ui.core.Widget._fastGlobalDisplayQueue.push(vWidget); >+}vWidget._isInGlobalDisplayQueue=true; >+}}, >+removeFromGlobalDisplayQueue:function(vWidget){}, >+flushGlobalDisplayQueue:function(){var vKey, >+vLazyQueue, >+vWidget, >+vFragment; >+var vFastQueue=qx.ui.core.Widget._fastGlobalDisplayQueue; >+var vLazyQueues=qx.ui.core.Widget._lazyGlobalDisplayQueues; >+for(var i=0, >+l=vFastQueue.length;i<l;i++){vWidget=vFastQueue[i]; >+vWidget.getParent()._getTargetNode().appendChild(vWidget.getElement()); >+}if(qx.Class.isDefined("qx.ui.basic.Inline")){for(vKey in vLazyQueues){vLazyQueue=vLazyQueues[vKey]; >+for(var i=0;i<vLazyQueue.length;i++){vWidget=vLazyQueue[i]; >+if(vWidget instanceof qx.ui.basic.Inline){vWidget._beforeInsertDom(); >+try{document.getElementById(vWidget.getInlineNodeId()).appendChild(vWidget.getElement()); >+}catch(ex){vWidget.debug("Could not append to inline id: "+vWidget.getInlineNodeId(), >+ex); >+}vWidget._afterInsertDom(); >+vWidget._afterAppear(); >+qx.lang.Array.remove(vLazyQueue, >+vWidget); >+i--; >+delete vWidget._isInGlobalDisplayQueue; >+}}}}for(vKey in vLazyQueues){vLazyQueue=vLazyQueues[vKey]; >+if(document.createDocumentFragment&&vLazyQueue.length>=3){vFragment=document.createDocumentFragment(); >+for(var i=0, >+l=vLazyQueue.length;i<l;i++){vWidget=vLazyQueue[i]; >+vWidget._beforeInsertDom(); >+vFragment.appendChild(vWidget.getElement()); >+}vLazyQueue[0].getParent()._getTargetNode().appendChild(vFragment); >+for(var i=0, >+l=vLazyQueue.length;i<l;i++){vWidget=vLazyQueue[i]; >+vWidget._afterInsertDom(); >+}}else{for(var i=0, >+l=vLazyQueue.length;i<l;i++){vWidget=vLazyQueue[i]; >+vWidget._beforeInsertDom(); >+vWidget.getParent()._getTargetNode().appendChild(vWidget.getElement()); >+vWidget._afterInsertDom(); >+}}}for(vKey in vLazyQueues){vLazyQueue=vLazyQueues[vKey]; >+for(var i=0, >+l=vLazyQueue.length;i<l;i++){vWidget=vLazyQueue[i]; >+if(vWidget.getVisibility()){vWidget._afterAppear(); >+}delete vWidget._isInGlobalDisplayQueue; >+}delete vLazyQueues[vKey]; >+}for(var i=0, >+l=vFastQueue.length;i<l;i++){delete vFastQueue[i]._isInGlobalDisplayQueue; >+}qx.lang.Array.removeAll(vFastQueue); > }, >-"default":function(el){return qx.html.Location.getClientBoxTop(el)+qx.html.Style.getBorderTop(el); >-}}), >-getClientAreaRight:function(el){return qx.html.Location.getClientAreaLeft(el)+qx.html.Dimension.getAreaWidth(el); >+getActiveSiblingHelperIgnore:function(vIgnoreClasses, >+vInstance){for(var j=0;j<vIgnoreClasses.length;j++){if(vInstance instanceof vIgnoreClasses[j]){return true; >+}}return false; > }, >-getClientAreaBottom:function(el){return qx.html.Location.getClientAreaTop(el)+qx.html.Dimension.getAreaHeight(el); >+getActiveSiblingHelper:function(vObject, >+vParent, >+vCalc, >+vIgnoreClasses, >+vMode){if(!vIgnoreClasses){vIgnoreClasses=[]; >+}var vChilds=vParent.getChildren(); >+var vPosition=vMode==null?vChilds.indexOf(vObject)+vCalc:vMode==="first"?0:vChilds.length-1; >+var vInstance=vChilds[vPosition]; >+while(vInstance&&(!vInstance.getEnabled()||qx.ui.core.Widget.getActiveSiblingHelperIgnore(vIgnoreClasses, >+vInstance))){vPosition+=vCalc; >+vInstance=vChilds[vPosition]; >+if(!vInstance){return null; >+}}return vInstance; > }, >-getPageAreaLeft:qx.core.Variant.select("qx.client", >-{"gecko":function(el){return el.ownerDocument.getBoxObjectFor(el).x; >+__initApplyMethods:function(members){var applyRuntime="_renderRuntime"; >+var resetRuntime="_resetRuntime"; >+var style="this._style."; >+var cssValue="=((v==null)?0:v)+'px'"; >+var parameter="v"; >+var properties=["left", >+"right", >+"top", >+"bottom", >+"width", >+"height", >+"minWidth", >+"maxWidth", >+"minHeight", >+"maxHeight"]; >+var propertiesUpper=["Left", >+"Right", >+"Top", >+"Bottom", >+"Width", >+"Height", >+"MinWidth", >+"MaxWidth", >+"MinHeight", >+"MaxHeight"]; >+var applyMargin=applyRuntime+"Margin"; >+var resetMargin=resetRuntime+"Margin"; >+var styleMargin=style+"margin"; >+for(var i=0;i<4;i++){members[applyMargin+propertiesUpper[i]]=new Function(parameter, >+styleMargin+propertiesUpper[i]+cssValue); >+members[resetMargin+propertiesUpper[i]]=new Function(styleMargin+propertiesUpper[i]+"=''"); >+}var applyPadding=applyRuntime+"Padding"; >+var resetPadding=resetRuntime+"Padding"; >+var stylePadding=style+"padding"; >+if(qx.core.Variant.isSet("qx.client", >+"gecko")){for(var i=0;i<4;i++){members[applyPadding+propertiesUpper[i]]=new Function(parameter, >+stylePadding+propertiesUpper[i]+cssValue); >+members[resetPadding+propertiesUpper[i]]=new Function(stylePadding+propertiesUpper[i]+"=''"); >+}}else{for(var i=0;i<4;i++){members[applyPadding+propertiesUpper[i]]=new Function(parameter, >+"this.setStyleProperty('padding"+propertiesUpper[i]+"', ((v==null)?0:v)+'px')"); >+members[resetPadding+propertiesUpper[i]]=new Function("this.removeStyleProperty('padding"+propertiesUpper[i]+"')"); >+}}for(var i=0;i<properties.length;i++){members[applyRuntime+propertiesUpper[i]]=new Function(parameter, >+style+properties[i]+cssValue); >+members[resetRuntime+propertiesUpper[i]]=new Function(style+properties[i]+"=''"); >+}}, >+TYPE_NULL:0, >+TYPE_PIXEL:1, >+TYPE_PERCENT:2, >+TYPE_AUTO:3, >+TYPE_FLEX:4, >+layoutPropertyTypes:{}, >+__initLayoutProperties:function(statics){var a=["width", >+"height", >+"minWidth", >+"maxWidth", >+"minHeight", >+"maxHeight", >+"left", >+"right", >+"top", >+"bottom"]; >+for(var i=0, >+l=a.length, >+p, >+b, >+t;i<l;i++){p=a[i]; >+b="_computed"+qx.lang.String.toFirstUp(p); >+t=b+"Type"; >+statics.layoutPropertyTypes[p]={dataType:t, >+dataParsed:b+"Parsed", >+dataValue:b+"Value", >+typePixel:t+"Pixel", >+typePercent:t+"Percent", >+typeAuto:t+"Auto", >+typeFlex:t+"Flex", >+typeNull:t+"Null"}; >+}}, >+initScrollbarWidth:function(){var t=document.createElement("div"); >+var s=t.style; >+s.height=s.width="100px"; >+s.overflow="scroll"; >+document.body.appendChild(t); >+var c=qx.html.Dimension.getScrollBarSizeRight(t); >+qx.ui.core.Widget.SCROLLBAR_SIZE=c?c:16; >+document.body.removeChild(t); > }, >-"default":function(el){return qx.html.Location.getPageBoxLeft(el)+qx.html.Style.getBorderLeft(el); >-}}), >-getPageAreaTop:qx.core.Variant.select("qx.client", >-{"gecko":function(el){return el.ownerDocument.getBoxObjectFor(el).y; >-}, >-"default":function(el){return qx.html.Location.getPageBoxTop(el)+qx.html.Style.getBorderTop(el); >-}}), >-getPageAreaRight:function(el){return qx.html.Location.getPageAreaLeft(el)+qx.html.Dimension.getAreaWidth(el); >-}, >-getPageAreaBottom:function(el){return qx.html.Location.getPageAreaTop(el)+qx.html.Dimension.getAreaHeight(el); >-}, >-getClientInnerLeft:function(el){return qx.html.Location.getClientAreaLeft(el)+qx.html.Style.getPaddingLeft(el); >-}, >-getClientInnerTop:function(el){return qx.html.Location.getClientAreaTop(el)+qx.html.Style.getPaddingTop(el); >-}, >-getClientInnerRight:function(el){return qx.html.Location.getClientInnerLeft(el)+qx.html.Dimension.getInnerWidth(el); >-}, >-getClientInnerBottom:function(el){return qx.html.Location.getClientInnerTop(el)+qx.html.Dimension.getInnerHeight(el); >-}, >-getPageInnerLeft:function(el){return qx.html.Location.getPageAreaLeft(el)+qx.html.Style.getPaddingLeft(el); >-}, >-getPageInnerTop:function(el){return qx.html.Location.getPageAreaTop(el)+qx.html.Style.getPaddingTop(el); >-}, >-getPageInnerRight:function(el){return qx.html.Location.getPageInnerLeft(el)+qx.html.Dimension.getInnerWidth(el); >-}, >-getPageInnerBottom:function(el){return qx.html.Location.getPageInnerTop(el)+qx.html.Dimension.getInnerHeight(el); >-}, >-getScreenBoxLeft:qx.core.Variant.select("qx.client", >-{"gecko":function(el){var sum=0; >-var p=el.parentNode; >-while(p.nodeType==1){sum+=p.scrollLeft; >-p=p.parentNode; >-}return el.ownerDocument.getBoxObjectFor(el).screenX-sum; >-}, >-"default":function(el){return qx.html.Location.getScreenDocumentLeft(el)+qx.html.Location.getPageBoxLeft(el); >-}}), >-getScreenBoxTop:qx.core.Variant.select("qx.client", >-{"gecko":function(el){var sum=0; >-var p=el.parentNode; >-while(p.nodeType==1){sum+=p.scrollTop; >-p=p.parentNode; >-}return el.ownerDocument.getBoxObjectFor(el).screenY-sum; >-}, >-"default":function(el){return qx.html.Location.getScreenDocumentTop(el)+qx.html.Location.getPageBoxTop(el); >-}}), >-getScreenBoxRight:function(el){return qx.html.Location.getScreenBoxLeft(el)+qx.html.Dimension.getBoxWidth(el); >-}, >-getScreenBoxBottom:function(el){return qx.html.Location.getScreenBoxTop(el)+qx.html.Dimension.getBoxHeight(el); >-}, >-getScreenOuterLeft:function(el){return qx.html.Location.getScreenBoxLeft(el)-qx.html.Style.getMarginLeft(el); >-}, >-getScreenOuterTop:function(el){return qx.html.Location.getScreenBoxTop(el)-qx.html.Style.getMarginTop(el); >-}, >-getScreenOuterRight:function(el){return qx.html.Location.getScreenBoxRight(el)+qx.html.Style.getMarginRight(el); >-}, >-getScreenOuterBottom:function(el){return qx.html.Location.getScreenBoxBottom(el)+qx.html.Style.getMarginBottom(el); >-}, >-getScreenAreaLeft:function(el){return qx.html.Location.getScreenBoxLeft(el)+qx.html.Dimension.getInsetLeft(el); >-}, >-getScreenAreaTop:function(el){return qx.html.Location.getScreenBoxTop(el)+qx.html.Dimension.getInsetTop(el); >-}, >-getScreenAreaRight:function(el){return qx.html.Location.getScreenBoxRight(el)-qx.html.Dimension.getInsetRight(el); >-}, >-getScreenAreaBottom:function(el){return qx.html.Location.getScreenBoxBottom(el)-qx.html.Dimension.getInsetBottom(el); >-}, >-getScreenInnerLeft:function(el){return qx.html.Location.getScreenAreaLeft(el)+qx.html.Style.getPaddingLeft(el); >-}, >-getScreenInnerTop:function(el){return qx.html.Location.getScreenAreaTop(el)+qx.html.Style.getPaddingTop(el); >-}, >-getScreenInnerRight:function(el){return qx.html.Location.getScreenAreaRight(el)-qx.html.Style.getPaddingRight(el); >-}, >-getScreenInnerBottom:function(el){return qx.html.Location.getScreenAreaBottom(el)-qx.html.Style.getPaddingBottom(el); >-}, >-getScreenDocumentLeft:qx.core.Variant.select("qx.client", >-{"gecko":function(el){return qx.html.Location.getScreenOuterLeft(el.ownerDocument.body); >-}, >-"default":function(el){return el.document.parentWindow.screenLeft; >-}}), >-getScreenDocumentTop:qx.core.Variant.select("qx.client", >-{"gecko":function(el){return qx.html.Location.getScreenOuterTop(el.ownerDocument.body); >-}, >-"default":function(el){return el.document.parentWindow.screenTop; >-}}), >-getScreenDocumentRight:qx.core.Variant.select("qx.client", >-{"gecko":function(el){return qx.html.Location.getScreenOuterRight(el.ownerDocument.body); >-}, >-"default":function(el){}}), >-getScreenDocumentBottom:qx.core.Variant.select("qx.client", >-{"gecko":function(el){return qx.html.Location.getScreenOuterBottom(el.ownerDocument.body); >-}, >-"default":function(el){}})}}); >- >- >- >- >-/* ID: qx.html.Dimension */ >-qx.Class.define("qx.html.Dimension", >-{statics:{getOuterWidth:function(el){return qx.html.Dimension.getBoxWidth(el)+qx.html.Style.getMarginLeft(el)+qx.html.Style.getMarginRight(el); >-}, >-getOuterHeight:function(el){return qx.html.Dimension.getBoxHeight(el)+qx.html.Style.getMarginTop(el)+qx.html.Style.getMarginBottom(el); >-}, >-getBoxWidthForZeroHeight:function(el){var h=el.offsetHeight; >-if(h==0){var o=el.style.height; >-el.style.height="1px"; >-}var v=el.offsetWidth; >-if(h==0){el.style.height=o; >-}return v; >-}, >-getBoxHeightForZeroWidth:function(el){var w=el.offsetWidth; >-if(w==0){var o=el.style.width; >-el.style.width="1px"; >-}var v=el.offsetHeight; >-if(w==0){el.style.width=o; >-}return v; >-}, >-getBoxWidth:function(el){return el.offsetWidth; >-}, >-getBoxHeight:function(el){return el.offsetHeight; >-}, >-getAreaWidth:qx.core.Variant.select("qx.client", >-{"gecko":function(el){if(el.clientWidth!=0&&el.clientWidth!=(qx.html.Style.getBorderLeft(el)+qx.html.Style.getBorderRight(el))){return el.clientWidth; >-}else{return qx.html.Dimension.getBoxWidth(el)-qx.html.Dimension.getInsetLeft(el)-qx.html.Dimension.getInsetRight(el); >-}}, >-"default":function(el){return el.clientWidth!=0?el.clientWidth:(qx.html.Dimension.getBoxWidth(el)-qx.html.Dimension.getInsetLeft(el)-qx.html.Dimension.getInsetRight(el)); >-}}), >-getAreaHeight:qx.core.Variant.select("qx.client", >-{"gecko":function(el){if(el.clientHeight!=0&&el.clientHeight!=(qx.html.Style.getBorderTop(el)+qx.html.Style.getBorderBottom(el))){return el.clientHeight; >-}else{return qx.html.Dimension.getBoxHeight(el)-qx.html.Dimension.getInsetTop(el)-qx.html.Dimension.getInsetBottom(el); >-}}, >-"default":function(el){return el.clientHeight!=0?el.clientHeight:(qx.html.Dimension.getBoxHeight(el)-qx.html.Dimension.getInsetTop(el)-qx.html.Dimension.getInsetBottom(el)); >-}}), >-getInnerWidth:function(el){return qx.html.Dimension.getAreaWidth(el)-qx.html.Style.getPaddingLeft(el)-qx.html.Style.getPaddingRight(el); >-}, >-getInnerHeight:function(el){return qx.html.Dimension.getAreaHeight(el)-qx.html.Style.getPaddingTop(el)-qx.html.Style.getPaddingBottom(el); >-}, >-getInsetLeft:qx.core.Variant.select("qx.client", >-{"mshtml":function(el){return el.clientLeft; >-}, >-"default":function(el){return qx.html.Style.getBorderLeft(el); >-}}), >-getInsetTop:qx.core.Variant.select("qx.client", >-{"mshtml":function(el){return el.clientTop; >-}, >-"default":function(el){return qx.html.Style.getBorderTop(el); >-}}), >-getInsetRight:qx.core.Variant.select("qx.client", >-{"mshtml":function(el){if(qx.html.Style.getStyleProperty(el, >-"overflowY")=="hidden"||el.clientWidth==0){return qx.html.Style.getBorderRight(el); >-}return Math.max(0, >-el.offsetWidth-el.clientLeft-el.clientWidth); >-}, >-"default":function(el){if(el.clientWidth==0){var ov=qx.html.Style.getStyleProperty(el, >-"overflow"); >-var sbv=ov=="scroll"||ov=="-moz-scrollbars-vertical"?16:0; >-return Math.max(0, >-qx.html.Style.getBorderRight(el)+sbv); >-}return Math.max(0, >-el.offsetWidth-el.clientWidth-qx.html.Style.getBorderLeft(el)); >-}}), >-getInsetBottom:qx.core.Variant.select("qx.client", >-{"mshtml":function(el){if(qx.html.Style.getStyleProperty(el, >-"overflowX")=="hidden"||el.clientHeight==0){return qx.html.Style.getBorderBottom(el); >-}return Math.max(0, >-el.offsetHeight-el.clientTop-el.clientHeight); >-}, >-"default":function(el){if(el.clientHeight==0){var ov=qx.html.Style.getStyleProperty(el, >-"overflow"); >-var sbv=ov=="scroll"||ov=="-moz-scrollbars-horizontal"?16:0; >-return Math.max(0, >-qx.html.Style.getBorderBottom(el)+sbv); >-}return Math.max(0, >-el.offsetHeight-el.clientHeight-qx.html.Style.getBorderTop(el)); >-}}), >-getScrollBarSizeLeft:function(el){return 0; >-}, >-getScrollBarSizeTop:function(el){return 0; >-}, >-getScrollBarSizeRight:function(el){return qx.html.Dimension.getInsetRight(el)-qx.html.Style.getBorderRight(el); >-}, >-getScrollBarSizeBottom:function(el){return qx.html.Dimension.getInsetBottom(el)-qx.html.Style.getBorderBottom(el); >-}, >-getScrollBarVisibleX:function(el){return qx.html.Dimension.getScrollBarSizeRight(el)>0; >-}, >-getScrollBarVisibleY:function(el){return qx.html.Dimension.getScrollBarSizeBottom(el)>0; >-}}}); >- >- >- >- >-/* ID: qx.html.Offset */ >-qx.Class.define("qx.html.Offset", >-{statics:{getLeft:qx.core.Variant.select("qx.client", >-{"gecko":function(el){var val=el.offsetLeft; >-var pa=el.parentNode; >-var pose=qx.html.Style.getStyleProperty(el, >-"position"); >-var posp=qx.html.Style.getStyleProperty(pa, >-"position"); >-if(pose!="absolute"&&pose!="fixed"){val-=qx.html.Style.getBorderLeft(pa); >-}if(posp!="absolute"&&posp!="fixed"){while(pa){pa=pa.parentNode; >-if(!pa||typeof pa.tagName!=="string"){break; >-}var posi=qx.html.Style.getStyleProperty(pa, >-"position"); >-if(posi=="absolute"||posi=="fixed"){val-=qx.html.Style.getBorderLeft(pa)+qx.html.Style.getPaddingLeft(pa); >-break; >-}}}return val; >-}, >-"default":function(el){return el.offsetLeft; >-}}), >-getTop:qx.core.Variant.select("qx.client", >-{"gecko":function(el){var val=el.offsetTop; >-var pa=el.parentNode; >-var pose=qx.html.Style.getStyleProperty(el, >-"position"); >-var posp=qx.html.Style.getStyleProperty(pa, >-"position"); >-if(pose!="absolute"&&pose!="fixed"){val-=qx.html.Style.getBorderTop(pa); >-}if(posp!="absolute"&&posp!="fixed"){while(pa){pa=pa.parentNode; >-if(!pa||typeof pa.tagName!=="string"){break; >-}var posi=qx.html.Style.getStyleProperty(pa, >-"position"); >-if(posi=="absolute"||posi=="fixed"){val-=qx.html.Style.getBorderTop(pa)+qx.html.Style.getPaddingTop(pa); >-break; >-}}}return val; >-}, >-"default":function(el){return el.offsetTop; >-}})}}); >- >- >- >- >-/* ID: qx.theme.manager.Color */ >-qx.Class.define("qx.theme.manager.Color", >-{type:"singleton", >-extend:qx.util.manager.Value, >-properties:{colorTheme:{check:"Theme", >-nullable:true, >-apply:"_applyColorTheme", >-event:"changeColorTheme"}}, >-members:{_applyColorTheme:function(value){var dest=this._dynamic={}; >-if(value){var source=value.colors; >-var util=qx.util.ColorUtil; >-var temp; >-for(var key in source){temp=source[key]; >-if(typeof temp==="string"){if(!util.isCssString(temp)){throw new Error("Could not parse color: "+temp); >-}}else if(temp instanceof Array){temp=util.rgbToRgbString(temp); >-}else{throw new Error("Could not parse color: "+temp); >-}dest[key]=temp; >-}} >-if(qx.theme.manager.Meta.getInstance().getAutoSync()){this.syncColorTheme(); >-}}, >-syncColorTheme:function(){this._updateObjects(); >-}}}); >- >- >- >- >-/* ID: qx.util.ColorUtil */ >-qx.Class.define("qx.util.ColorUtil", >-{statics:{REGEXP:{hex3:/^#([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/, >-hex6:/^#([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/, >-rgb:/^rgb\(\s*([0-9]{1,3}\.{0,1}[0-9]*)\s*,\s*([0-9]{1,3}\.{0,1}[0-9]*)\s*,\s*([0-9]{1,3}\.{0,1}[0-9]*)\s*\)$/}, >-SYSTEM:{activeborder:true, >-activecaption:true, >-appworkspace:true, >-background:true, >-buttonface:true, >-buttonhighlight:true, >-buttonshadow:true, >-buttontext:true, >-captiontext:true, >-graytext:true, >-highlight:true, >-highlighttext:true, >-inactiveborder:true, >-inactivecaption:true, >-inactivecaptiontext:true, >-infobackground:true, >-infotext:true, >-menu:true, >-menutext:true, >-scrollbar:true, >-threeddarkshadow:true, >-threedface:true, >-threedhighlight:true, >-threedlightshadow:true, >-threedshadow:true, >-window:true, >-windowframe:true, >-windowtext:true}, >-NAMED:{black:[0, >-0, >-0], >-silver:[192, >-192, >-192], >-gray:[128, >-128, >-128], >-white:[255, >-255, >-255], >-maroon:[128, >-0, >-0], >-red:[255, >-0, >-0], >-purple:[128, >-0, >-128], >-fuchsia:[255, >-0, >-255], >-green:[0, >-128, >-0], >-lime:[0, >-255, >-0], >-olive:[128, >-128, >-0], >-yellow:[255, >-255, >-0], >-navy:[0, >-0, >-128], >-blue:[0, >-0, >-255], >-teal:[0, >-128, >-128], >-aqua:[0, >-255, >-255], >-transparent:[-1, >--1, >--1], >-grey:[128, >-128, >-128], >-magenta:[255, >-0, >-255], >-orange:[255, >-165, >-0], >-brown:[165, >-42, >-42]}, >-isNamedColor:function(value){return this.NAMED[value]!==undefined; >-}, >-isSystemColor:function(value){return this.SYSTEM[value]!==undefined; >-}, >-isThemedColor:function(value){return qx.theme.manager.Color.getInstance().isDynamic(value); >-}, >-stringToRgb:function(str){if(this.isThemedColor(str)){var str=qx.theme.manager.Color.getInstance().resolveDynamic(str); >-} >-if(this.isNamedColor(str)){return this.NAMED[str]; >-}else if(this.isSystemColor(str)){throw new Error("Could not convert system colors to RGB: "+str); >-}else if(this.isRgbString(str)){return this.__rgbStringToRgb(); >-}else if(this.isHex3String(str)){return this.__hex3StringToRgb(); >-}else if(this.isHex6String(str)){return this.__hex6StringToRgb(); >-}throw new Error("Could not parse color: "+str); >-}, >-cssStringToRgb:function(str){if(this.isNamedColor(str)){return this.NAMED[str]; >-}else if(this.isSystemColor(str)){throw new Error("Could not convert system colors to RGB: "+str); >-}else if(this.isRgbString(str)){return this.__rgbStringToRgb(); >-}else if(this.isHex3String(str)){return this.__hex3StringToRgb(); >-}else if(this.isHex6String(str)){return this.__hex6StringToRgb(); >-}throw new Error("Could not parse color: "+str); >-}, >-stringToRgbString:function(str){return this.rgbToRgbString(this.stringToRgb(str)); >-}, >-rgbToRgbString:function(rgb){return "rgb("+rgb[0]+","+rgb[1]+","+rgb[2]+")"; >-}, >-rgbToHexString:function(rgb){return (qx.lang.String.pad(rgb[0].toString(16).toUpperCase(), >-2)+qx.lang.String.pad(rgb[1].toString(16).toUpperCase(), >-2)+qx.lang.String.pad(rgb[2].toString(16).toUpperCase(), >-2)); >-}, >-isValid:function(str){return this.isThemedColor(str)||this.isCssString(str); >-}, >-isCssString:function(str){return this.isSystemColor(str)||this.isNamedColor(str)||this.isHex3String(str)||this.isHex6String(str)||this.isRgbString(str); >-}, >-isHex3String:function(str){return this.REGEXP.hex3.test(str); >-}, >-isHex6String:function(str){return this.REGEXP.hex6.test(str); >-}, >-isRgbString:function(str){return this.REGEXP.rgb.test(str); >-}, >-__rgbStringToRgb:function(){var red=parseInt(RegExp.$1); >-var green=parseInt(RegExp.$2); >-var blue=parseInt(RegExp.$3); >-return [red, >-green, >-blue]; >-}, >-__hex3StringToRgb:function(){var red=parseInt(RegExp.$1, >-16)*17; >-var green=parseInt(RegExp.$2, >-16)*17; >-var blue=parseInt(RegExp.$3, >-16)*17; >-return [red, >-green, >-blue]; >-}, >-__hex6StringToRgb:function(){var red=(parseInt(RegExp.$1, >-16)*16)+parseInt(RegExp.$2, >-16); >-var green=(parseInt(RegExp.$3, >-16)*16)+parseInt(RegExp.$4, >-16); >-var blue=(parseInt(RegExp.$5, >-16)*16)+parseInt(RegExp.$6, >-16); >-return [red, >-green, >-blue]; >-}, >-hex3StringToRgb:function(value){if(this.isHex3String(value)){return this.__hex3StringToRgb(value); >-}throw new Error("Invalid hex3 value: "+value); >-}, >-hex6StringToRgb:function(value){if(this.isHex6String(value)){return this.__hex6StringToRgb(value); >-}throw new Error("Invalid hex6 value: "+value); >-}, >-hexStringToRgb:function(value){if(this.isHex3String(value)){return this.__hex3StringToRgb(value); >-} >-if(this.isHex6String(value)){return this.__hex6StringToRgb(value); >-}throw new Error("Invalid hex value: "+value); >-}, >-rgbToHsb:function(rgb){var hue, >-saturation, >-brightness; >-var red=rgb[0]; >-var green=rgb[1]; >-var blue=rgb[2]; >-var cmax=(red>green)?red:green; >-if(blue>cmax){cmax=blue; >-}var cmin=(red<green)?red:green; >-if(blue<cmin){cmin=blue; >-}brightness=cmax/255.0; >-if(cmax!=0){saturation=(cmax-cmin)/cmax; >-}else{saturation=0; >-} >-if(saturation==0){hue=0; >-}else{var redc=(cmax-red)/(cmax-cmin); >-var greenc=(cmax-green)/(cmax-cmin); >-var bluec=(cmax-blue)/(cmax-cmin); >-if(red==cmax){hue=bluec-greenc; >-}else if(green==cmax){hue=2.0+redc-bluec; >-}else{hue=4.0+greenc-redc; >-}hue=hue/6.0; >-if(hue<0){hue=hue+1.0; >-}}return [Math.round(hue*360), >-Math.round(saturation*100), >-Math.round(brightness*100)]; >-}, >-hsbToRgb:function(hsb){var i, >-f, >-p, >-q, >-t; >-var hue=hsb[0]/360; >-var saturation=hsb[1]/100; >-var brightness=hsb[2]/100; >-if(hue>=1.0){hue%=1.0; >-} >-if(saturation>1.0){saturation=1.0; >-} >-if(brightness>1.0){brightness=1.0; >-}var tov=Math.floor(255*brightness); >-var rgb={}; >-if(saturation==0.0){rgb.red=rgb.green=rgb.blue=tov; >-}else{hue*=6.0; >-i=Math.floor(hue); >-f=hue-i; >-p=Math.floor(tov*(1.0-saturation)); >-q=Math.floor(tov*(1.0-(saturation*f))); >-t=Math.floor(tov*(1.0-(saturation*(1.0-f)))); >-switch(i){case 0:rgb.red=tov; >-rgb.green=t; >-rgb.blue=p; >-break; >-case 1:rgb.red=q; >-rgb.green=tov; >-rgb.blue=p; >-break; >-case 2:rgb.red=p; >-rgb.green=tov; >-rgb.blue=t; >-break; >-case 3:rgb.red=p; >-rgb.green=q; >-rgb.blue=tov; >-break; >-case 4:rgb.red=t; >-rgb.green=p; >-rgb.blue=tov; >-break; >-case 5:rgb.red=tov; >-rgb.green=p; >-rgb.blue=q; >-break; >-}}return rgb; >-}, >-randomColor:function(){var r=Math.round(Math.random()*255); >-var g=Math.round(Math.random()*255); >-var b=Math.round(Math.random()*255); >-return this.rgbToRgbString([r, >-g, >-b]); >-}}}); >- >- >- >- >-/* ID: qx.theme.manager.Meta */ >-qx.Class.define("qx.theme.manager.Meta", >-{type:"singleton", >-extend:qx.core.Target, >-properties:{theme:{check:"Theme", >-nullable:true, >-apply:"_applyTheme", >-event:"changeTheme"}, >-autoSync:{check:"Boolean", >-init:true, >-apply:"_applyAutoSync"}}, >-members:{_applyTheme:function(value, >-old){var color=null; >-var border=null; >-var font=null; >-var widget=null; >-var icon=null; >-var appearance=null; >-if(value){color=value.meta.color||null; >-border=value.meta.border||null; >-font=value.meta.font||null; >-widget=value.meta.widget||null; >-icon=value.meta.icon||null; >-appearance=value.meta.appearance||null; >-} >-if(old){this.setAutoSync(false); >-}var colorMgr=qx.theme.manager.Color.getInstance(); >-var borderMgr=qx.theme.manager.Border.getInstance(); >-var fontMgr=qx.theme.manager.Font.getInstance(); >-var iconMgr=qx.theme.manager.Icon.getInstance(); >-var widgetMgr=qx.theme.manager.Widget.getInstance(); >-var appearanceMgr=qx.theme.manager.Appearance.getInstance(); >-colorMgr.setColorTheme(color); >-borderMgr.setBorderTheme(border); >-fontMgr.setFontTheme(font); >-widgetMgr.setWidgetTheme(widget); >-iconMgr.setIconTheme(icon); >-appearanceMgr.setAppearanceTheme(appearance); >-if(old){this.setAutoSync(true); >-}}, >-_applyAutoSync:function(value, >-old){if(value){qx.theme.manager.Appearance.getInstance().syncAppearanceTheme(); >-qx.theme.manager.Icon.getInstance().syncIconTheme(); >-qx.theme.manager.Widget.getInstance().syncWidgetTheme(); >-qx.theme.manager.Font.getInstance().syncFontTheme(); >-qx.theme.manager.Border.getInstance().syncBorderTheme(); >-qx.theme.manager.Color.getInstance().syncColorTheme(); >-}}, >-initialize:function(){var setting=qx.core.Setting; >-var theme, >-obj; >-theme=setting.get("qx.theme"); >-if(theme){obj=qx.Theme.getByName(theme); >-if(!obj){throw new Error("The meta theme to use is not available: "+theme); >-}this.setTheme(obj); >-}theme=setting.get("qx.colorTheme"); >-if(theme){obj=qx.Theme.getByName(theme); >-if(!obj){throw new Error("The color theme to use is not available: "+theme); >-}qx.theme.manager.Color.getInstance().setColorTheme(obj); >-}theme=setting.get("qx.borderTheme"); >-if(theme){obj=qx.Theme.getByName(theme); >-if(!obj){throw new Error("The border theme to use is not available: "+theme); >-}qx.theme.manager.Border.getInstance().setBorderTheme(obj); >-}theme=setting.get("qx.fontTheme"); >-if(theme){obj=qx.Theme.getByName(theme); >-if(!obj){throw new Error("The font theme to use is not available: "+theme); >-}qx.theme.manager.Font.getInstance().setFontTheme(obj); >-}theme=setting.get("qx.widgetTheme"); >-if(theme){obj=qx.Theme.getByName(theme); >-if(!obj){throw new Error("The widget theme to use is not available: "+theme); >-}qx.theme.manager.Widget.getInstance().setWidgetTheme(obj); >-}theme=setting.get("qx.iconTheme"); >-if(theme){obj=qx.Theme.getByName(theme); >-if(!obj){throw new Error("The icon theme to use is not available: "+theme); >-}qx.theme.manager.Icon.getInstance().setIconTheme(obj); >-}theme=setting.get("qx.appearanceTheme"); >-if(theme){obj=qx.Theme.getByName(theme); >-if(!obj){throw new Error("The appearance theme to use is not available: "+theme); >-}qx.theme.manager.Appearance.getInstance().setAppearanceTheme(obj); >-}}, >-__queryThemes:function(key){var reg=qx.Theme.getAll(); >-var theme; >-var list=[]; >-for(var name in reg){theme=reg[name]; >-if(theme[key]){list.push(theme); >-}}return list; >-}, >-getMetaThemes:function(){return this.__queryThemes("meta"); >-}, >-getColorThemes:function(){return this.__queryThemes("colors"); >-}, >-getBorderThemes:function(){return this.__queryThemes("borders"); >-}, >-getFontThemes:function(){return this.__queryThemes("fonts"); >-}, >-getWidgetThemes:function(){return this.__queryThemes("widgets"); >-}, >-getIconThemes:function(){return this.__queryThemes("icons"); >-}, >-getAppearanceThemes:function(){return this.__queryThemes("appearances"); >-}}, >-settings:{"qx.theme":"qx.theme.ClassicRoyale", >-"qx.colorTheme":null, >-"qx.borderTheme":null, >-"qx.fontTheme":null, >-"qx.widgetTheme":null, >-"qx.appearanceTheme":null, >-"qx.iconTheme":null}}); >- >- >- >- >-/* ID: qx.theme.manager.Border */ >-qx.Class.define("qx.theme.manager.Border", >-{type:"singleton", >-extend:qx.util.manager.Value, >-properties:{borderTheme:{check:"Theme", >-nullable:true, >-apply:"_applyBorderTheme", >-event:"changeBorderTheme"}}, >-members:{resolveDynamic:function(value){return value instanceof qx.ui.core.Border?value:this._dynamic[value]; >-}, >-isDynamic:function(value){return value&&(value instanceof qx.ui.core.Border||this._dynamic[value]!==undefined); >-}, >-syncBorderTheme:function(){this._updateObjects(); >-}, >-updateObjectsEdge:function(border, >-edge){var reg=this._registry; >-var dynamics=this._dynamic; >-var entry; >-for(var key in reg){entry=reg[key]; >-if(entry.value===border||dynamics[entry.value]===border){entry.callback.call(entry.object, >-border, >-edge); >-}}}, >-_applyBorderTheme:function(value){var dest=this._dynamic; >-for(var key in dest){if(dest[key].themed){dest[key].dispose(); >-delete dest[key]; >-}} >-if(value){var source=value.borders; >-var border=qx.ui.core.Border; >-for(var key in source){dest[key]=(new border).set(source[key]); >-dest[key].themed=true; >-}} >-if(qx.theme.manager.Meta.getInstance().getAutoSync()){this.syncBorderTheme(); >-}}}}); >- >- >- >- >-/* ID: qx.ui.core.Border */ >-qx.Class.define("qx.ui.core.Border", >-{extend:qx.core.Object, >-construct:function(width, >-style, >-color){this.base(arguments); >-if(width!==undefined){this.setWidth(width); >-} >-if(style!==undefined){this.setStyle(style); >-} >-if(color!==undefined){this.setColor(color); >-}}, >-statics:{fromString:function(str){var border=new qx.ui.core.Border; >-var parts=str.split(/\s+/); >-var part, >-temp; >-for(var i=0, >-l=parts.length;i<l;i++){part=parts[i]; >-switch(part){case "groove":case "ridge":case "inset":case "outset":case "solid":case "dotted":case "dashed":case "double":case "none":border.setStyle(part); >-break; >-default:temp=parseInt(part); >-if(temp===part||qx.lang.String.contains(part, >-"px")){border.setWidth(temp); >-}else{border.setColor(part); >-}break; >-}}return border; >-}, >-fromConfig:function(config){var border=new qx.ui.core.Border; >-border.set(config); >-return border; >-}, >-resetTop:qx.core.Variant.select("qx.client", >-{"gecko":function(widget){var style=widget._style; >-if(style){style.borderTopWidth=style.borderTopStyle=style.borderTopColor=style.MozBorderTopColors=""; >-}}, >-"default":function(widget){var style=widget._style; >-if(style){style.borderTopWidth=style.borderTopStyle=style.borderTopColor=""; >-}style=widget._innerStyle; >-if(style){style.borderTopWidth=style.borderTopStyle=style.borderTopColor=""; >-}}}), >-resetRight:qx.core.Variant.select("qx.client", >-{"gecko":function(widget){var style=widget._style; >-if(style){style.borderRightWidth=style.borderRightStyle=style.borderRightColor=style.MozBorderRightColors=""; >-}}, >-"default":function(widget){var style=widget._style; >-if(style){style.borderRightWidth=style.borderRightStyle=style.borderRightColor=""; >-}style=widget._innerStyle; >-if(style){style.borderRightWidth=style.borderRightStyle=style.borderRightColor=""; >-}}}), >-resetBottom:qx.core.Variant.select("qx.client", >-{"gecko":function(widget){var style=widget._style; >-if(style){style.borderBottomWidth=style.borderBottomStyle=style.borderBottomColor=style.MozBorderBottomColors=""; >-}}, >-"default":function(widget){var style=widget._style; >-if(style){style.borderBottomWidth=style.borderBottomStyle=style.borderBottomColor=""; >-}style=widget._innerStyle; >-if(style){style.borderBottomWidth=style.borderBottomStyle=style.borderBottomColor=""; >-}}}), >-resetLeft:qx.core.Variant.select("qx.client", >-{"gecko":function(widget){var style=widget._style; >-if(style){style.borderLeftWidth=style.borderLeftStyle=style.borderLeftColor=style.MozBorderLeftColors=""; >-}}, >-"default":function(widget){var style=widget._style; >-if(style){style.borderLeftWidth=style.borderLeftStyle=style.borderLeftColor=""; >-}style=widget._innerStyle; >-if(style){style.borderLeftWidth=style.borderLeftStyle=style.borderLeftColor=""; >-}}})}, >-properties:{widthTop:{check:"Number", >-init:0, >-apply:"_applyWidthTop"}, >-widthRight:{check:"Number", >-init:0, >-apply:"_applyWidthRight"}, >-widthBottom:{check:"Number", >-init:0, >-apply:"_applyWidthBottom"}, >-widthLeft:{check:"Number", >-init:0, >-apply:"_applyWidthLeft"}, >-styleTop:{nullable:true, >-check:["solid", >-"dotted", >-"dashed", >-"double", >-"outset", >-"inset", >-"ridge", >-"groove"], >-init:"solid", >-apply:"_applyStyleTop"}, >-styleRight:{nullable:true, >-check:["solid", >-"dotted", >-"dashed", >-"double", >-"outset", >-"inset", >-"ridge", >-"groove"], >-init:"solid", >-apply:"_applyStyleRight"}, >-styleBottom:{nullable:true, >-check:["solid", >-"dotted", >-"dashed", >-"double", >-"outset", >-"inset", >-"ridge", >-"groove"], >-init:"solid", >-apply:"_applyStyleBottom"}, >-styleLeft:{nullable:true, >-check:["solid", >-"dotted", >-"dashed", >-"double", >-"outset", >-"inset", >-"ridge", >-"groove"], >-init:"solid", >-apply:"_applyStyleLeft"}, >-colorTop:{nullable:true, >-check:"Color", >-apply:"_applyColorTop"}, >-colorRight:{nullable:true, >-check:"Color", >-apply:"_applyColorRight"}, >-colorBottom:{nullable:true, >-check:"Color", >-apply:"_applyColorBottom"}, >-colorLeft:{nullable:true, >-check:"Color", >-apply:"_applyColorLeft"}, >-colorInnerTop:{nullable:true, >-check:"Color", >-apply:"_applyColorInnerTop"}, >-colorInnerRight:{nullable:true, >-check:"Color", >-apply:"_applyColorInnerRight"}, >-colorInnerBottom:{nullable:true, >-check:"Color", >-apply:"_applyColorInnerBottom"}, >-colorInnerLeft:{nullable:true, >-check:"Color", >-apply:"_applyColorInnerLeft"}, >-left:{group:["widthLeft", >-"styleLeft", >-"colorLeft"]}, >-right:{group:["widthRight", >-"styleRight", >-"colorRight"]}, >-top:{group:["widthTop", >-"styleTop", >-"colorTop"]}, >-bottom:{group:["widthBottom", >-"styleBottom", >-"colorBottom"]}, >-width:{group:["widthTop", >-"widthRight", >-"widthBottom", >-"widthLeft"], >-mode:"shorthand"}, >-style:{group:["styleTop", >-"styleRight", >-"styleBottom", >-"styleLeft"], >-mode:"shorthand"}, >-color:{group:["colorTop", >-"colorRight", >-"colorBottom", >-"colorLeft"], >-mode:"shorthand"}, >-innerColor:{group:["colorInnerTop", >-"colorInnerRight", >-"colorInnerBottom", >-"colorInnerLeft"], >-mode:"shorthand"}}, >-members:{_applyWidthTop:function(value, >-old){this.__widthTop=value==null?"0px":value+"px"; >-this.__computeComplexTop(); >-this.__informManager("top"); >-}, >-_applyWidthRight:function(value, >-old){this.__widthRight=value==null?"0px":value+"px"; >-this.__computeComplexRight(); >-this.__informManager("right"); >-}, >-_applyWidthBottom:function(value, >-old){this.__widthBottom=value==null?"0px":value+"px"; >-this.__computeComplexBottom(); >-this.__informManager("bottom"); >-}, >-_applyWidthLeft:function(value, >-old){this.__widthLeft=value==null?"0px":value+"px"; >-this.__computeComplexLeft(); >-this.__informManager("left"); >-}, >-_applyColorTop:function(value, >-old){qx.theme.manager.Color.getInstance().connect(this._changeColorTop, >-this, >-value); >-}, >-_applyColorRight:function(value, >-old){qx.theme.manager.Color.getInstance().connect(this._changeColorRight, >-this, >-value); >-}, >-_applyColorBottom:function(value, >-old){qx.theme.manager.Color.getInstance().connect(this._changeColorBottom, >-this, >-value); >-}, >-_applyColorLeft:function(value, >-old){qx.theme.manager.Color.getInstance().connect(this._changeColorLeft, >-this, >-value); >-}, >-_applyColorInnerTop:function(value, >-old){qx.theme.manager.Color.getInstance().connect(this._changeColorInnerTop, >-this, >-value); >-}, >-_applyColorInnerRight:function(value, >-old){qx.theme.manager.Color.getInstance().connect(this._changeColorInnerRight, >-this, >-value); >-}, >-_applyColorInnerBottom:function(value, >-old){qx.theme.manager.Color.getInstance().connect(this._changeColorInnerBottom, >-this, >-value); >-}, >-_applyColorInnerLeft:function(value, >-old){qx.theme.manager.Color.getInstance().connect(this._changeColorInnerLeft, >-this, >-value); >-}, >-_applyStyleTop:function(){this.__informManager("top"); >-}, >-_applyStyleRight:function(){this.__informManager("right"); >-}, >-_applyStyleBottom:function(){this.__informManager("bottom"); >-}, >-_applyStyleLeft:function(){this.__informManager("left"); >-}, >-_changeColorTop:function(value){this.__colorTop=value; >-this.__computeComplexTop(); >-this.__informManager("top"); >-}, >-_changeColorInnerTop:function(value){this.__colorInnerTop=value; >-this.__computeComplexTop(); >-this.__informManager("top"); >-}, >-_changeColorRight:function(value){this.__colorRight=value; >-this.__computeComplexRight(); >-this.__informManager("right"); >-}, >-_changeColorInnerRight:function(value){this.__colorInnerRight=value; >-this.__computeComplexRight(); >-this.__informManager("right"); >-}, >-_changeColorBottom:function(value){this.__colorBottom=value; >-this.__computeComplexBottom(); >-this.__informManager("bottom"); >-}, >-_changeColorInnerBottom:function(value){this.__colorInnerBottom=value; >-this.__computeComplexBottom(); >-this.__informManager("bottom"); >-}, >-_changeColorLeft:function(value){this.__colorLeft=value; >-this.__computeComplexLeft(); >-this.__informManager("left"); >-}, >-_changeColorInnerLeft:function(value){this.__colorInnerLeft=value; >-this.__computeComplexLeft(); >-this.__informManager("left"); >-}, >-__computeComplexTop:function(){this.__complexTop=this.getWidthTop()===2&&this.__colorInnerTop!=null&&this.__colorTop!=this.__colorInnerTop; >-}, >-__computeComplexRight:function(){this.__complexRight=this.getWidthRight()===2&&this.__colorInnerRight!=null&&this.__colorRight!=this.__colorInnerRight; >-}, >-__computeComplexBottom:function(){this.__complexBottom=this.getWidthBottom()===2&&this.__colorInnerBottom!=null&&this.__colorBottom!=this.__colorInnerBottom; >-}, >-__computeComplexLeft:function(){this.__complexLeft=this.getWidthLeft()===2&&this.__colorInnerLeft!=null&&this.__colorLeft!=this.__colorInnerLeft; >-}, >-__informManager:function(edge){qx.theme.manager.Border.getInstance().updateObjectsEdge(this, >-edge); >-}, >-renderTop:qx.core.Variant.select("qx.client", >-{"gecko":function(obj){var style=obj._style; >-style.borderTopWidth=this.__widthTop||"0px"; >-style.borderTopColor=this.__colorTop||""; >-if(this.__complexTop){style.borderTopStyle="solid"; >-style.MozBorderTopColors=this.__colorTop+" "+this.__colorInnerTop; >-}else{style.borderTopStyle=this.getStyleTop()||"none"; >-style.MozBorderTopColors=""; >-}}, >-"default":function(obj){var outer=obj._style; >-var inner=obj._innerStyle; >-if(this.__complexTop){if(!inner){obj.prepareEnhancedBorder(); >-inner=obj._innerStyle; >-}outer.borderTopWidth=inner.borderTopWidth="1px"; >-outer.borderTopStyle=inner.borderTopStyle="solid"; >-outer.borderTopColor=this.__colorTop; >-inner.borderTopColor=this.__colorInnerTop; >-}else{outer.borderTopWidth=this.__widthTop||"0px"; >-outer.borderTopStyle=this.getStyleTop()||"none"; >-outer.borderTopColor=this.__colorTop||""; >-if(inner){inner.borderTopWidth=inner.borderTopStyle=inner.borderTopColor=""; >-}}}}), >-renderRight:qx.core.Variant.select("qx.client", >-{"gecko":function(obj){var style=obj._style; >-style.borderRightWidth=this.__widthRight||"0px"; >-style.borderRightColor=this.__colorRight||""; >-if(this.__complexRight){style.borderRightStyle="solid"; >-style.MozBorderRightColors=this.__colorRight+" "+this.__colorInnerRight; >-}else{style.borderRightStyle=this.getStyleRight()||"none"; >-style.MozBorderRightColors=""; >-}}, >-"default":function(obj){var outer=obj._style; >-var inner=obj._innerStyle; >-if(this.__complexRight){if(!inner){obj.prepareEnhancedBorder(); >-inner=obj._innerStyle; >-}outer.borderRightWidth=inner.borderRightWidth="1px"; >-outer.borderRightStyle=inner.borderRightStyle="solid"; >-outer.borderRightColor=this.__colorRight; >-inner.borderRightColor=this.__colorInnerRight; >-}else{outer.borderRightWidth=this.__widthRight||"0px"; >-outer.borderRightStyle=this.getStyleRight()||"none"; >-outer.borderRightColor=this.__colorRight||""; >-if(inner){inner.borderRightWidth=inner.borderRightStyle=inner.borderRightColor=""; >-}}}}), >-renderBottom:qx.core.Variant.select("qx.client", >-{"gecko":function(obj){var style=obj._style; >-style.borderBottomWidth=this.__widthBottom||"0px"; >-style.borderBottomColor=this.__colorBottom||""; >-if(this.__complexBottom){style.borderBottomStyle="solid"; >-style.MozBorderBottomColors=this.__colorBottom+" "+this.__colorInnerBottom; >-}else{style.borderBottomStyle=this.getStyleBottom()||"none"; >-style.MozBorderBottomColors=""; >-}}, >-"default":function(obj){var outer=obj._style; >-var inner=obj._innerStyle; >-if(this.__complexBottom){if(!inner){obj.prepareEnhancedBorder(); >-inner=obj._innerStyle; >-}outer.borderBottomWidth=inner.borderBottomWidth="1px"; >-outer.borderBottomStyle=inner.borderBottomStyle="solid"; >-outer.borderBottomColor=this.__colorBottom; >-inner.borderBottomColor=this.__colorInnerBottom; >-}else{outer.borderBottomWidth=this.__widthBottom||"0px"; >-outer.borderBottomStyle=this.getStyleBottom()||"none"; >-outer.borderBottomColor=this.__colorBottom||""; >-if(inner){inner.borderBottomWidth=inner.borderBottomStyle=inner.borderBottomColor=""; >-}}}}), >-renderLeft:qx.core.Variant.select("qx.client", >-{"gecko":function(obj){var style=obj._style; >-style.borderLeftWidth=this.__widthLeft||"0px"; >-style.borderLeftColor=this.__colorLeft||""; >-if(this.__complexLeft){style.borderLeftStyle="solid"; >-style.MozBorderLeftColors=this.__colorLeft+" "+this.__colorInnerLeft; >-}else{style.borderLeftStyle=this.getStyleLeft()||"none"; >-style.MozBorderLeftColors=""; >-}}, >-"default":function(obj){var outer=obj._style; >-var inner=obj._innerStyle; >-if(this.__complexLeft){if(!inner){obj.prepareEnhancedBorder(); >-inner=obj._innerStyle; >-}outer.borderLeftWidth=inner.borderLeftWidth="1px"; >-outer.borderLeftStyle=inner.borderLeftStyle="solid"; >-outer.borderLeftColor=this.__colorLeft; >-inner.borderLeftColor=this.__colorInnerLeft; >-}else{outer.borderLeftWidth=this.__widthLeft||"0px"; >-outer.borderLeftStyle=this.getStyleLeft()||"none"; >-outer.borderLeftColor=this.__colorLeft||""; >-if(inner){inner.borderLeftWidth=inner.borderLeftStyle=inner.borderLeftColor=""; >-}}}})}}); >- >- >- >- >-/* ID: qx.theme.manager.Font */ >-qx.Class.define("qx.theme.manager.Font", >-{type:"singleton", >-extend:qx.util.manager.Value, >-properties:{fontTheme:{check:"Theme", >-nullable:true, >-apply:"_applyFontTheme", >-event:"changeFontTheme"}}, >-members:{resolveDynamic:function(value){return value instanceof qx.ui.core.Font?value:this._dynamic[value]; >-}, >-isDynamic:function(value){return value&&(value instanceof qx.ui.core.Font||this._dynamic[value]!==undefined); >-}, >-syncFontTheme:function(){this._updateObjects(); >-}, >-_applyFontTheme:function(value){var dest=this._dynamic; >-for(var key in dest){if(dest[key].themed){dest[key].dispose(); >-delete dest[key]; >-}} >-if(value){var source=value.fonts; >-var font=qx.ui.core.Font; >-for(var key in source){dest[key]=(new font).set(source[key]); >-dest[key].themed=true; >-}} >-if(qx.theme.manager.Meta.getInstance().getAutoSync()){this.syncFontTheme(); >-}}}}); >- >- >- >- >-/* ID: qx.ui.core.Font */ >-qx.Class.define("qx.ui.core.Font", >-{extend:qx.core.Object, >-construct:function(size, >-family){this.base(arguments); >-if(size!==undefined){this.setSize(size); >-} >-if(family!==undefined){this.setFamily(family); >-}}, >-statics:{fromString:function(str){var font=new qx.ui.core.Font; >-var parts=str.split(/\s+/); >-var name=[]; >-var part; >-for(var i=0;i<parts.length;i++){switch(part=parts[i]){case "bold":font.setBold(true); >-break; >-case "italic":font.setItalic(true); >-break; >-case "underline":font.setDecoration("underline"); >-break; >-default:var temp=parseInt(part); >-if(temp==part||qx.lang.String.contains(part, >-"px")){font.setSize(temp); >-}else{name.push(part); >-}break; >-}} >-if(name.length>0){font.setFamily(name); >-}return font; >-}, >-fromConfig:function(config){var font=new qx.ui.core.Font; >-font.set(config); >-return font; >-}, >-reset:function(widget){widget.removeStyleProperty("fontFamily"); >-widget.removeStyleProperty("fontSize"); >-widget.removeStyleProperty("fontWeight"); >-widget.removeStyleProperty("fontStyle"); >-widget.removeStyleProperty("textDecoration"); >-}, >-resetElement:function(element){var style=element.style; >-style.fontFamily=""; >-style.fontSize=""; >-style.fontWeight=""; >-style.fontStyle=""; >-style.textDecoration=""; >-}, >-resetStyle:function(style){style.fontFamily=""; >-style.fontSize=""; >-style.fontWeight=""; >-style.fontStyle=""; >-style.textDecoration=""; >-}}, >-properties:{size:{check:"Integer", >-nullable:true, >-apply:"_applySize"}, >-family:{check:"Array", >-nullable:true, >-apply:"_applyFamily"}, >-bold:{check:"Boolean", >-nullable:true, >-apply:"_applyBold"}, >-italic:{check:"Boolean", >-nullable:true, >-apply:"_applyItalic"}, >-decoration:{check:["underline", >-"line-through", >-"overline"], >-nullable:true, >-apply:"_applyDecoration"}}, >-members:{__size:null, >-__family:null, >-__bold:null, >-__italic:null, >-__decoration:null, >-_applySize:function(value, >-old){this.__size=value===null?null:value+"px"; >-}, >-_applyFamily:function(value, >-old){var family=""; >-for(var i=0, >-l=value.length;i<l;i++){if(value[i].indexOf(" ")>0){family+='"'+value[i]+'"'; >-}else{family+=value[i]; >-} >-if(i!=l-1){family+=","; >-}}this.__family=family; >-}, >-_applyBold:function(value, >-old){this.__bold=value===null?null:value?"bold":"normal"; >-}, >-_applyItalic:function(value, >-old){this.__italic=value===null?null:value?"italic":"normal"; >-}, >-_applyDecoration:function(value, >-old){this.__decoration=value===null?null:value; >-}, >-render:function(widget){widget.setStyleProperty("fontFamily", >-this.__family); >-widget.setStyleProperty("fontSize", >-this.__size); >-widget.setStyleProperty("fontWeight", >-this.__bold); >-widget.setStyleProperty("fontStyle", >-this.__italic); >-widget.setStyleProperty("textDecoration", >-this.__decoration); >-}, >-renderStyle:function(style){style.fontFamily=this.__family||""; >-style.fontSize=this.__size||""; >-style.fontWeight=this.__bold||""; >-style.fontStyle=this.__italic||""; >-style.textDecoration=this.__decoration||""; >-}, >-renderElement:function(element){var style=element.style; >-style.fontFamily=this.__family||""; >-style.fontSize=this.__size||""; >-style.fontWeight=this.__bold||""; >-style.fontStyle=this.__italic||""; >-style.textDecoration=this.__decoration||""; >-}, >-generateStyle:function(){return (this.__family?"font-family:"+this.__family.replace(/\"/g, >-"'")+";":"")+(this.__size?"font-size:"+this.__size+";":"")+(this.__weight?"font-weight:"+this.__weight+";":"")+(this.__style?"font-style:"+this.__style+";":"")+(this.__decoration?"text-decoration:"+this.__decoration+";":""); >-}}}); >- >- >- >- >-/* ID: qx.theme.manager.Icon */ >-qx.Class.define("qx.theme.manager.Icon", >-{type:"singleton", >-extend:qx.core.Target, >-properties:{iconTheme:{check:"Theme", >-nullable:true, >-apply:"_applyIconTheme", >-event:"changeIconTheme"}}, >-members:{_applyIconTheme:function(value, >-old){if(qx.theme.manager.Meta.getInstance().getAutoSync()){this.syncIconTheme(); >-}}, >-syncIconTheme:function(){var value=this.getIconTheme(); >-var alias=qx.io.Alias.getInstance(); >-value?alias.add("icon", >-value.icons.uri):alias.remove("icon"); >-}}}); >- >- >- >- >-/* ID: qx.io.Alias */ >-qx.Class.define("qx.io.Alias", >-{type:"singleton", >-extend:qx.util.manager.Value, >-construct:function(){this.base(arguments); >-this._aliases={}; >-this.add("static", >-qx.core.Setting.get("qx.resourceUri")+"/static"); >-}, >-members:{_preprocess:function(value){var dynamics=this._dynamic; >-if(dynamics[value]===false){return value; >-}else if(dynamics[value]===undefined){if(value.charAt(0)==="/"||value.charAt(0)==="."||value.indexOf("http://")===0||value.indexOf("https://")==="0"||value.indexOf("file://")===0){dynamics[value]=false; >-return value; >-}var alias=value.substring(0, >-value.indexOf("/")); >-var resolved=this._aliases[alias]; >-if(resolved!==undefined){dynamics[value]=resolved+value.substring(alias.length); >-}}return value; >-}, >-add:function(alias, >-base){this._aliases[alias]=base; >-var dynamics=this._dynamic; >-var reg=this._registry; >-var entry; >-var paths={}; >-for(var path in dynamics){if(path.substring(0, >-path.indexOf("/"))===alias){dynamics[path]=base+path.substring(alias.length); >-paths[path]=true; >-}}for(var key in reg){entry=reg[key]; >-if(paths[entry.value]){entry.callback.call(entry.object, >-dynamics[entry.value]); >-}}}, >-remove:function(alias){delete this._aliases[alias]; >-}, >-resolve:function(path){if(path!==null){path=this._preprocess(path); >-}return this._dynamic[path]||path; >-}}, >-destruct:function(){this._disposeFields("_aliases"); >-}}); >- >- >- >- >-/* ID: qx.theme.manager.Widget */ >-qx.Class.define("qx.theme.manager.Widget", >-{type:"singleton", >-extend:qx.core.Target, >-properties:{widgetTheme:{check:"Theme", >-nullable:true, >-apply:"_applyWidgetTheme", >-event:"changeWidgetTheme"}}, >-members:{_applyWidgetTheme:function(value, >-old){if(qx.theme.manager.Meta.getInstance().getAutoSync()){this.syncWidgetTheme(); >-}}, >-syncWidgetTheme:function(){var value=this.getWidgetTheme(); >-var alias=qx.io.Alias.getInstance(); >-value?alias.add("widget", >-value.widgets.uri):alias.remove("widget"); >-}}}); >- >- >- >- >-/* ID: qx.util.manager.Object */ >-qx.Class.define("qx.util.manager.Object", >-{extend:qx.core.Target, >-construct:function(){this.base(arguments); >-this._objects={}; >-}, >-members:{add:function(vObject){if(this.getDisposed()){return; >-}this._objects[vObject.toHashCode()]=vObject; >-}, >-remove:function(vObject){if(this.getDisposed()){return false; >-}delete this._objects[vObject.toHashCode()]; >-}, >-has:function(vObject){return this._objects[vObject.toHashCode()]!=null; >-}, >-get:function(vObject){return this._objects[vObject.toHashCode()]; >-}, >-getAll:function(){return this._objects; >-}, >-enableAll:function(){for(var vHashCode in this._objects){this._objects[vHashCode].setEnabled(true); >-}}, >-disableAll:function(){for(var vHashCode in this._objects){this._objects[vHashCode].setEnabled(false); >-}}}, >-destruct:function(){this._disposeObjectDeep("_objects"); >-}}); >- >- >- >- >-/* ID: qx.theme.manager.Appearance */ >-qx.Class.define("qx.theme.manager.Appearance", >-{type:"singleton", >-extend:qx.util.manager.Object, >-construct:function(){this.base(arguments); >-this.__cache={}; >-this.__stateMap={}; >-this.__stateMapLength=1; >-}, >-properties:{appearanceTheme:{check:"Theme", >-nullable:true, >-apply:"_applyAppearanceTheme", >-event:"changeAppearanceTheme"}}, >-members:{_applyAppearanceTheme:function(value, >-old){this._currentTheme=value; >-this._oldTheme=old; >-if(qx.theme.manager.Meta.getInstance().getAutoSync()){this.syncAppearanceTheme(); >-}}, >-syncAppearanceTheme:function(){if(!this._currentTheme&&!this._oldTheme){return; >-} >-if(this._currentTheme){this.__cache[this._currentTheme.name]={}; >-}var app=qx.core.Init.getInstance().getApplication(); >-if(app&&app.getUiReady()){qx.ui.core.ClientDocument.getInstance()._recursiveAppearanceThemeUpdate(this._currentTheme, >-this._oldTheme); >-} >-if(this._oldTheme){delete this.__cache[this._oldTheme.name]; >-}delete this._currentTheme; >-delete this._oldTheme; >-}, >-styleFrom:function(id, >-states){var theme=this.getAppearanceTheme(); >-if(!theme){return; >-}return this.styleFromTheme(theme, >-id, >-states); >-}, >-styleFromTheme:function(theme, >-id, >-states){var entry=theme.appearances[id]; >-if(!entry){{this.warn("Missing appearance entry: "+id); >-}; >-return null; >-}if(!entry.style){if(entry.include){return this.styleFromTheme(theme, >-entry.include, >-states); >-}else{return null; >-}}var map=this.__stateMap; >-var helper=[id]; >-for(var state in states){if(!map[state]){map[state]=this.__stateMapLength++; >-}helper[map[state]]=true; >-}var unique=helper.join(); >-var cache=this.__cache[theme.name]; >-if(cache&&cache[unique]!==undefined){return cache[unique]; >-}var result; >-if(entry.include||entry.base){var local=entry.style(states); >-var incl; >-if(entry.include){incl=this.styleFromTheme(theme, >-entry.include, >-states); >-}result={}; >-if(entry.base){var base=this.styleFromTheme(entry.base, >-id, >-states); >-if(entry.include){for(var key in base){if(incl[key]===undefined&&local[key]===undefined){result[key]=base[key]; >-}}}else{for(var key in base){if(local[key]===undefined){result[key]=base[key]; >-}}}}if(entry.include){for(var key in incl){if(local[key]===undefined){result[key]=incl[key]; >-}}}for(var key in local){result[key]=local[key]; >-}}else{result=entry.style(states); >-}if(cache){cache[unique]=result||null; >-}return result||null; >-}}, >-destruct:function(){this._disposeFields("__cache", >-"__stateMap"); >-}}); >- >- >- >- >-/* ID: qx.ui.core.Widget */ >-qx.Class.define("qx.ui.core.Widget", >-{extend:qx.core.Target, >-type:"abstract", >-construct:function(){this.base(arguments); >-this._layoutChanges={}; >-if(qx.core.Setting.get("qx.widgetDebugId")){this._generateHtmlId(); >-}}, >-events:{"beforeAppear":"qx.event.type.Event", >-"appear":"qx.event.type.Event", >-"beforeDisappear":"qx.event.type.Event", >-"disappear":"qx.event.type.Event", >-"beforeInsertDom":"qx.event.type.Event", >-"insertDom":"qx.event.type.Event", >-"beforeRemoveDom":"qx.event.type.Event", >-"removeDom":"qx.event.type.Event", >-"create":"qx.event.type.Event", >-"execute":"qx.event.type.Event", >-"mouseover":"qx.event.type.MouseEvent", >-"mousemove":"qx.event.type.MouseEvent", >-"mouseout":"qx.event.type.MouseEvent", >-"mousedown":"qx.event.type.MouseEvent", >-"mouseup":"qx.event.type.MouseEvent", >-"mousewheel":"qx.event.type.MouseEvent", >-"click":"qx.event.type.MouseEvent", >-"dblclick":"qx.event.type.MouseEvent", >-"contextmenu":"qx.event.type.MouseEvent", >-"keydown":"qx.event.type.KeyEvent", >-"keypress":"qx.event.type.KeyEvent", >-"keyinput":"qx.event.type.KeyEvent", >-"keyup":"qx.event.type.KeyEvent", >-"focusout":"qx.event.type.FocusEvent", >-"focusin":"qx.event.type.FocusEvent", >-"blur":"qx.event.type.FocusEvent", >-"focus":"qx.event.type.FocusEvent", >-"dragdrop":"qx.event.type.DragEvent", >-"dragout":"qx.event.type.DragEvent", >-"dragover":"qx.event.type.DragEvent", >-"dragmove":"qx.event.type.DragEvent", >-"dragstart":"qx.event.type.DragEvent", >-"dragend":"qx.event.type.DragEvent"}, >-statics:{create:function(clazz, >-appearance){clazz._appearance=appearance; >-return new clazz; >-}, >-SCROLLBAR_SIZE:null, >-_autoFlushTimeout:null, >-_initAutoFlush:function(){if(qx.ui.core.Widget._autoFlushTimeout==null){qx.ui.core.Widget._autoFlushTimeout=window.setTimeout(qx.ui.core.Widget._autoFlushHelper, >-0); >-}}, >-_removeAutoFlush:function(){if(qx.ui.core.Widget._autoFlushTimeout!=null){window.clearTimeout(qx.ui.core.Widget._autoFlushTimeout); >-qx.ui.core.Widget._autoFlushTimeout=null; >-}}, >-_autoFlushHelper:function(){qx.ui.core.Widget._autoFlushTimeout=null; >-if(!qx.core.Object.inGlobalDispose()){qx.ui.core.Widget.flushGlobalQueues(); >-}}, >-flushGlobalQueues:function(){if(qx.ui.core.Widget._autoFlushTimeout!=null){qx.ui.core.Widget._removeAutoFlush(); >-} >-if(qx.ui.core.Widget._inFlushGlobalQueues){return; >-}var app=qx.core.Init.getInstance().getApplication(); >-if(app.getUiReady&&!app.getUiReady()){return; >-}qx.ui.core.Widget._inFlushGlobalQueues=true; >-qx.ui.core.Widget.flushGlobalWidgetQueue(); >-qx.ui.core.Widget.flushGlobalStateQueue(); >-qx.ui.core.Widget.flushGlobalElementQueue(); >-qx.ui.core.Widget.flushGlobalJobQueue(); >-qx.ui.core.Widget.flushGlobalLayoutQueue(); >-qx.ui.core.Widget.flushGlobalDisplayQueue(); >-delete qx.ui.core.Widget._inFlushGlobalQueues; >-}, >-_globalWidgetQueue:[], >-addToGlobalWidgetQueue:function(vWidget){if(!vWidget._isInGlobalWidgetQueue&&vWidget._isDisplayable){if(qx.ui.core.Widget._autoFlushTimeout==null){qx.ui.core.Widget._initAutoFlush(); >-}qx.ui.core.Widget._globalWidgetQueue.push(vWidget); >-vWidget._isInGlobalWidgetQueue=true; >-}}, >-removeFromGlobalWidgetQueue:function(vWidget){if(vWidget._isInGlobalWidgetQueue){qx.lang.Array.remove(qx.ui.core.Widget._globalWidgetQueue, >-vWidget); >-delete vWidget._isInGlobalWidgetQueue; >-}}, >-flushGlobalWidgetQueue:function(){var vQueue=qx.ui.core.Widget._globalWidgetQueue, >-vLength, >-vWidget; >-while((vLength=vQueue.length)>0){for(var i=0;i<vLength;i++){vWidget=vQueue[i]; >-vWidget.flushWidgetQueue(); >-delete vWidget._isInGlobalWidgetQueue; >-}vQueue.splice(0, >-vLength); >-}}, >-_globalElementQueue:[], >-addToGlobalElementQueue:function(vWidget){if(!vWidget._isInGlobalElementQueue&&vWidget._isDisplayable){if(qx.ui.core.Widget._autoFlushTimeout==null){qx.ui.core.Widget._initAutoFlush(); >-}qx.ui.core.Widget._globalElementQueue.push(vWidget); >-vWidget._isInGlobalElementQueue=true; >-}}, >-removeFromGlobalElementQueue:function(vWidget){if(vWidget._isInGlobalElementQueue){qx.lang.Array.remove(qx.ui.core.Widget._globalElementQueue, >-vWidget); >-delete vWidget._isInGlobalElementQueue; >-}}, >-flushGlobalElementQueue:function(){var vQueue=qx.ui.core.Widget._globalElementQueue, >-vLength, >-vWidget; >-while((vLength=vQueue.length)>0){for(var i=0;i<vLength;i++){vWidget=vQueue[i]; >-vWidget._createElementImpl(); >-delete vWidget._isInGlobalElementQueue; >-}vQueue.splice(0, >-vLength); >-}}, >-_globalStateQueue:[], >-addToGlobalStateQueue:function(vWidget){if(!vWidget._isInGlobalStateQueue&&vWidget._isDisplayable){if(qx.ui.core.Widget._autoFlushTimeout==null){qx.ui.core.Widget._initAutoFlush(); >-}qx.ui.core.Widget._globalStateQueue.push(vWidget); >-vWidget._isInGlobalStateQueue=true; >-}}, >-removeFromGlobalStateQueue:function(vWidget){if(vWidget._isInGlobalStateQueue){qx.lang.Array.remove(qx.ui.core.Widget._globalStateQueue, >-vWidget); >-delete vWidget._isInGlobalStateQueue; >-}}, >-flushGlobalStateQueue:function(){var vQueue=qx.ui.core.Widget._globalStateQueue, >-vLength, >-vWidget; >-while((vLength=vQueue.length)>0){for(var i=0;i<vLength;i++){vWidget=vQueue[i]; >-vWidget._renderAppearance(); >-delete vWidget._isInGlobalStateQueue; >-}vQueue.splice(0, >-vLength); >-}}, >-_globalJobQueue:[], >-addToGlobalJobQueue:function(vWidget){if(!vWidget._isInGlobalJobQueue&&vWidget._isDisplayable){if(qx.ui.core.Widget._autoFlushTimeout==null){qx.ui.core.Widget._initAutoFlush(); >-}qx.ui.core.Widget._globalJobQueue.push(vWidget); >-vWidget._isInGlobalJobQueue=true; >-}}, >-removeFromGlobalJobQueue:function(vWidget){if(vWidget._isInGlobalJobQueue){qx.lang.Array.remove(qx.ui.core.Widget._globalJobQueue, >-vWidget); >-delete vWidget._isInGlobalJobQueue; >-}}, >-flushGlobalJobQueue:function(){var vQueue=qx.ui.core.Widget._globalJobQueue, >-vLength, >-vWidget; >-while((vLength=vQueue.length)>0){for(var i=0;i<vLength;i++){vWidget=vQueue[i]; >-vWidget._flushJobQueue(vWidget._jobQueue); >-delete vWidget._isInGlobalJobQueue; >-}vQueue.splice(0, >-vLength); >-}}, >-_globalLayoutQueue:[], >-addToGlobalLayoutQueue:function(vParent){if(!vParent._isInGlobalLayoutQueue&&vParent._isDisplayable){if(qx.ui.core.Widget._autoFlushTimeout==null){qx.ui.core.Widget._initAutoFlush(); >-}qx.ui.core.Widget._globalLayoutQueue.push(vParent); >-vParent._isInGlobalLayoutQueue=true; >-}}, >-removeFromGlobalLayoutQueue:function(vParent){if(vParent._isInGlobalLayoutQueue){qx.lang.Array.remove(qx.ui.core.Widget._globalLayoutQueue, >-vParent); >-delete vParent._isInGlobalLayoutQueue; >-}}, >-flushGlobalLayoutQueue:function(){var vQueue=qx.ui.core.Widget._globalLayoutQueue, >-vLength, >-vParent; >-while((vLength=vQueue.length)>0){for(var i=0;i<vLength;i++){vParent=vQueue[i]; >-vParent._flushChildrenQueue(); >-delete vParent._isInGlobalLayoutQueue; >-}vQueue.splice(0, >-vLength); >-}}, >-_fastGlobalDisplayQueue:[], >-_lazyGlobalDisplayQueues:{}, >-addToGlobalDisplayQueue:function(vWidget){if(!vWidget._isInGlobalDisplayQueue&&vWidget._isDisplayable){if(qx.ui.core.Widget._autoFlushTimeout==null){qx.ui.core.Widget._initAutoFlush(); >-}var vParent=vWidget.getParent(); >-if(vParent.isSeeable()){var vKey=vParent.toHashCode(); >-if(qx.ui.core.Widget._lazyGlobalDisplayQueues[vKey]){qx.ui.core.Widget._lazyGlobalDisplayQueues[vKey].push(vWidget); >-}else{qx.ui.core.Widget._lazyGlobalDisplayQueues[vKey]=[vWidget]; >-}}else{qx.ui.core.Widget._fastGlobalDisplayQueue.push(vWidget); >-}vWidget._isInGlobalDisplayQueue=true; >-}}, >-removeFromGlobalDisplayQueue:function(vWidget){}, >-flushGlobalDisplayQueue:function(){var vKey, >-vLazyQueue, >-vWidget, >-vFragment; >-var vFastQueue=qx.ui.core.Widget._fastGlobalDisplayQueue; >-var vLazyQueues=qx.ui.core.Widget._lazyGlobalDisplayQueues; >-for(var i=0, >-l=vFastQueue.length;i<l;i++){vWidget=vFastQueue[i]; >-vWidget.getParent()._getTargetNode().appendChild(vWidget.getElement()); >-}if(qx.Class.isDefined("qx.ui.basic.Inline")){for(vKey in vLazyQueues){vLazyQueue=vLazyQueues[vKey]; >-for(var i=0;i<vLazyQueue.length;i++){vWidget=vLazyQueue[i]; >-if(vWidget instanceof qx.ui.basic.Inline){vWidget._beforeInsertDom(); >-try{document.getElementById(vWidget.getInlineNodeId()).appendChild(vWidget.getElement()); >-}catch(ex){vWidget.debug("Could not append to inline id: "+vWidget.getInlineNodeId(), >-ex); >-}vWidget._afterInsertDom(); >-vWidget._afterAppear(); >-qx.lang.Array.remove(vLazyQueue, >-vWidget); >-i--; >-delete vWidget._isInGlobalDisplayQueue; >-}}}}for(vKey in vLazyQueues){vLazyQueue=vLazyQueues[vKey]; >-if(document.createDocumentFragment&&vLazyQueue.length>=3){vFragment=document.createDocumentFragment(); >-for(var i=0, >-l=vLazyQueue.length;i<l;i++){vWidget=vLazyQueue[i]; >-vWidget._beforeInsertDom(); >-vFragment.appendChild(vWidget.getElement()); >-}vLazyQueue[0].getParent()._getTargetNode().appendChild(vFragment); >-for(var i=0, >-l=vLazyQueue.length;i<l;i++){vWidget=vLazyQueue[i]; >-vWidget._afterInsertDom(); >-}}else{for(var i=0, >-l=vLazyQueue.length;i<l;i++){vWidget=vLazyQueue[i]; >-vWidget._beforeInsertDom(); >-vWidget.getParent()._getTargetNode().appendChild(vWidget.getElement()); >-vWidget._afterInsertDom(); >-}}}for(vKey in vLazyQueues){vLazyQueue=vLazyQueues[vKey]; >-for(var i=0, >-l=vLazyQueue.length;i<l;i++){vWidget=vLazyQueue[i]; >-if(vWidget.getVisibility()){vWidget._afterAppear(); >-}delete vWidget._isInGlobalDisplayQueue; >-}delete vLazyQueues[vKey]; >-}for(var i=0, >-l=vFastQueue.length;i<l;i++){delete vFastQueue[i]._isInGlobalDisplayQueue; >-}qx.lang.Array.removeAll(vFastQueue); >-}, >-getActiveSiblingHelperIgnore:function(vIgnoreClasses, >-vInstance){for(var j=0;j<vIgnoreClasses.length;j++){if(vInstance instanceof vIgnoreClasses[j]){return true; >-}}return false; >-}, >-getActiveSiblingHelper:function(vObject, >-vParent, >-vCalc, >-vIgnoreClasses, >-vMode){if(!vIgnoreClasses){vIgnoreClasses=[]; >-}var vChilds=vParent.getChildren(); >-var vPosition=vMode==null?vChilds.indexOf(vObject)+vCalc:vMode==="first"?0:vChilds.length-1; >-var vInstance=vChilds[vPosition]; >-while(vInstance&&(!vInstance.getEnabled()||qx.ui.core.Widget.getActiveSiblingHelperIgnore(vIgnoreClasses, >-vInstance))){vPosition+=vCalc; >-vInstance=vChilds[vPosition]; >-if(!vInstance){return null; >-}}return vInstance; >-}, >-__initApplyMethods:function(members){var applyRuntime="_renderRuntime"; >-var resetRuntime="_resetRuntime"; >-var style="this._style."; >-var cssValue="=((v==null)?0:v)+'px'"; >-var parameter="v"; >-var properties=["left", >-"right", >-"top", >-"bottom", >-"width", >-"height", >-"minWidth", >-"maxWidth", >-"minHeight", >-"maxHeight"]; >-var propertiesUpper=["Left", >-"Right", >-"Top", >-"Bottom", >-"Width", >-"Height", >-"MinWidth", >-"MaxWidth", >-"MinHeight", >-"MaxHeight"]; >-var applyMargin=applyRuntime+"Margin"; >-var resetMargin=resetRuntime+"Margin"; >-var styleMargin=style+"margin"; >-for(var i=0;i<4;i++){members[applyMargin+propertiesUpper[i]]=new Function(parameter, >-styleMargin+propertiesUpper[i]+cssValue); >-members[resetMargin+propertiesUpper[i]]=new Function(styleMargin+propertiesUpper[i]+"=''"); >-}var applyPadding=applyRuntime+"Padding"; >-var resetPadding=resetRuntime+"Padding"; >-var stylePadding=style+"padding"; >-if(qx.core.Variant.isSet("qx.client", >-"gecko")){for(var i=0;i<4;i++){members[applyPadding+propertiesUpper[i]]=new Function(parameter, >-stylePadding+propertiesUpper[i]+cssValue); >-members[resetPadding+propertiesUpper[i]]=new Function(stylePadding+propertiesUpper[i]+"=''"); >-}}else{for(var i=0;i<4;i++){members[applyPadding+propertiesUpper[i]]=new Function(parameter, >-"this.setStyleProperty('padding"+propertiesUpper[i]+"', ((v==null)?0:v)+'px')"); >-members[resetPadding+propertiesUpper[i]]=new Function("this.removeStyleProperty('padding"+propertiesUpper[i]+"')"); >-}}for(var i=0;i<properties.length;i++){members[applyRuntime+propertiesUpper[i]]=new Function(parameter, >-style+properties[i]+cssValue); >-members[resetRuntime+propertiesUpper[i]]=new Function(style+properties[i]+"=''"); >-}}, >-TYPE_NULL:0, >-TYPE_PIXEL:1, >-TYPE_PERCENT:2, >-TYPE_AUTO:3, >-TYPE_FLEX:4, >-layoutPropertyTypes:{}, >-__initLayoutProperties:function(statics){var a=["width", >-"height", >-"minWidth", >-"maxWidth", >-"minHeight", >-"maxHeight", >-"left", >-"right", >-"top", >-"bottom"]; >-for(var i=0, >-l=a.length, >-p, >-b, >-t;i<l;i++){p=a[i]; >-b="_computed"+qx.lang.String.toFirstUp(p); >-t=b+"Type"; >-statics.layoutPropertyTypes[p]={dataType:t, >-dataParsed:b+"Parsed", >-dataValue:b+"Value", >-typePixel:t+"Pixel", >-typePercent:t+"Percent", >-typeAuto:t+"Auto", >-typeFlex:t+"Flex", >-typeNull:t+"Null"}; >-}}, >-initScrollbarWidth:function(){var t=document.createElement("div"); >-var s=t.style; >-s.height=s.width="100px"; >-s.overflow="scroll"; >-document.body.appendChild(t); >-var c=qx.html.Dimension.getScrollBarSizeRight(t); >-qx.ui.core.Widget.SCROLLBAR_SIZE=c?c:16; >-document.body.removeChild(t); >-}, >-_idCounter:0}, >-properties:{enabled:{init:"inherit", >-check:"Boolean", >-inheritable:true, >-apply:"_applyEnabled", >-event:"changeEnabled"}, >-parent:{check:"qx.ui.core.Parent", >+_idCounter:0}, >+properties:{enabled:{init:"inherit", >+check:"Boolean", >+inheritable:true, >+apply:"_applyEnabled", >+event:"changeEnabled"}, >+parent:{check:"qx.ui.core.Parent", > nullable:true, > event:"changeParent", > apply:"_applyParent"}, >@@ -7214,3314 +5504,4774 @@ > value); > this.addToQueue("left"); > }, >-_applyRight:function(value, >-old){this._unitDetectionPixelPercent("right", >-value); >-this.addToQueue("right"); >+_applyRight:function(value, >+old){this._unitDetectionPixelPercent("right", >+value); >+this.addToQueue("right"); >+}, >+_applyTop:function(value, >+old){this._unitDetectionPixelPercent("top", >+value); >+this.addToQueue("top"); >+}, >+_applyBottom:function(value, >+old){this._unitDetectionPixelPercent("bottom", >+value); >+this.addToQueue("bottom"); >+}, >+_applyWidth:function(value, >+old){this._unitDetectionPixelPercentAutoFlex("width", >+value); >+this.addToQueue("width"); >+}, >+_applyMinWidth:function(value, >+old){this._unitDetectionPixelPercentAuto("minWidth", >+value); >+this.addToQueue("minWidth"); >+}, >+_applyMaxWidth:function(value, >+old){this._unitDetectionPixelPercentAuto("maxWidth", >+value); >+this.addToQueue("maxWidth"); >+}, >+_applyHeight:function(value, >+old){this._unitDetectionPixelPercentAutoFlex("height", >+value); >+this.addToQueue("height"); >+}, >+_applyMinHeight:function(value, >+old){this._unitDetectionPixelPercentAuto("minHeight", >+value); >+this.addToQueue("minHeight"); >+}, >+_applyMaxHeight:function(value, >+old){this._unitDetectionPixelPercentAuto("maxHeight", >+value); >+this.addToQueue("maxHeight"); >+}, >+isMaterialized:function(){var elem=this._element; >+return (this._initialLayoutDone&&this._isDisplayable&&qx.html.Style.getStyleProperty(elem, >+"display")!="none"&&qx.html.Style.getStyleProperty(elem, >+"visibility")!="hidden"&&elem.offsetWidth>0&&elem.offsetHeight>0); >+}, >+pack:function(){this.setWidth(this.getPreferredBoxWidth()); >+this.setHeight(this.getPreferredBoxHeight()); >+}, >+auto:function(){this.setWidth("auto"); >+this.setHeight("auto"); >+}, >+getChildren:qx.lang.Function.returnNull, >+getChildrenLength:qx.lang.Function.returnZero, >+hasChildren:qx.lang.Function.returnFalse, >+isEmpty:qx.lang.Function.returnTrue, >+indexOf:qx.lang.Function.returnNegativeIndex, >+contains:qx.lang.Function.returnFalse, >+getVisibleChildren:qx.lang.Function.returnNull, >+getVisibleChildrenLength:qx.lang.Function.returnZero, >+hasVisibleChildren:qx.lang.Function.returnFalse, >+isVisibleEmpty:qx.lang.Function.returnTrue, >+_hasParent:false, >+_isDisplayable:false, >+isDisplayable:function(){return this._isDisplayable; >+}, >+_checkParent:function(value, >+old){if(this.contains(value)){throw new Error("Could not insert myself into a child "+value+"!"); >+}return value; >+}, >+_applyParent:function(value, >+old){if(old){var vOldIndex=old.getChildren().indexOf(this); >+this._computedWidthValue=this._computedMinWidthValue=this._computedMaxWidthValue=this._computedLeftValue=this._computedRightValue=null; >+this._computedHeightValue=this._computedMinHeightValue=this._computedMaxHeightValue=this._computedTopValue=this._computedBottomValue=null; >+this._cachedBoxWidth=this._cachedInnerWidth=this._cachedOuterWidth=null; >+this._cachedBoxHeight=this._cachedInnerHeight=this._cachedOuterHeight=null; >+qx.lang.Array.removeAt(old.getChildren(), >+vOldIndex); >+old._invalidateVisibleChildren(); >+old._removeChildFromChildrenQueue(this); >+old.getLayoutImpl().updateChildrenOnRemoveChild(this, >+vOldIndex); >+old.addToJobQueue("removeChild"); >+old._invalidatePreferredInnerDimensions(); >+this._oldParent=old; >+} >+if(value){this._hasParent=true; >+if(typeof this._insertIndex=="number"){qx.lang.Array.insertAt(value.getChildren(), >+this, >+this._insertIndex); >+delete this._insertIndex; >+}else{value.getChildren().push(this); >+}}else{this._hasParent=false; >+}qx.core.Property.refresh(this); >+return this._handleDisplayable("parent"); >+}, >+_applyDisplay:function(value, >+old){return this._handleDisplayable("display"); >+}, >+_handleDisplayable:function(vHint){var vDisplayable=this._computeDisplayable(); >+if(this._isDisplayable==vDisplayable&&!(vDisplayable&&vHint=="parent")){return true; >+}this._isDisplayable=vDisplayable; >+var vParent=this.getParent(); >+if(vParent){vParent._invalidateVisibleChildren(); >+vParent._invalidatePreferredInnerDimensions(); >+}if(vHint&&this._oldParent&&this._oldParent._initialLayoutDone){var elem=this.getElement(); >+if(elem){if(this.getVisibility()){this._beforeDisappear(); >+}this._beforeRemoveDom(); >+try{this._oldParent._getTargetNode().removeChild(elem); >+}catch(e){}this._afterRemoveDom(); >+if(this.getVisibility()){this._afterDisappear(); >+}}delete this._oldParent; >+}if(vDisplayable){if(vParent._initialLayoutDone){vParent.getLayoutImpl().updateChildrenOnAddChild(this, >+vParent.getChildren().indexOf(this)); >+vParent.addToJobQueue("addChild"); >+}this.addToLayoutChanges("initial"); >+this.addToCustomQueues(vHint); >+if(this.getVisibility()){this._beforeAppear(); >+}if(!this._isCreated){qx.ui.core.Widget.addToGlobalElementQueue(this); >+}qx.ui.core.Widget.addToGlobalStateQueue(this); >+if(!qx.lang.Object.isEmpty(this._jobQueue)){qx.ui.core.Widget.addToGlobalJobQueue(this); >+} >+if(!qx.lang.Object.isEmpty(this._childrenQueue)){qx.ui.core.Widget.addToGlobalLayoutQueue(this); >+}}else{qx.ui.core.Widget.removeFromGlobalElementQueue(this); >+qx.ui.core.Widget.removeFromGlobalStateQueue(this); >+qx.ui.core.Widget.removeFromGlobalJobQueue(this); >+qx.ui.core.Widget.removeFromGlobalLayoutQueue(this); >+this.removeFromCustomQueues(vHint); >+if(vParent&&vHint){if(this.getVisibility()){this._beforeDisappear(); >+}if(vParent._initialLayoutDone&&this._initialLayoutDone){vParent.getLayoutImpl().updateChildrenOnRemoveChild(this, >+vParent.getChildren().indexOf(this)); >+vParent.addToJobQueue("removeChild"); >+this._beforeRemoveDom(); >+var parentNode=this.getElement().parentNode; >+if(parentNode){parentNode.removeChild(this.getElement()); >+if(parentNode&&parentNode!==vParent._getTargetNode()){this.warn("Unexpected parent node: "+parentNode); >+}}this._afterRemoveDom(); >+}vParent._removeChildFromChildrenQueue(this); >+if(this.getVisibility()){this._afterDisappear(); >+}}}this._handleDisplayableCustom(vDisplayable, >+vParent, >+vHint); >+return true; >+}, >+addToCustomQueues:qx.lang.Function.returnTrue, >+removeFromCustomQueues:qx.lang.Function.returnTrue, >+_handleDisplayableCustom:qx.lang.Function.returnTrue, >+_computeDisplayable:function(){return this.getDisplay()&&this.getParent()&&this.getParent()._isDisplayable?true:false; >+}, >+_beforeAppear:function(){this.createDispatchEvent("beforeAppear"); >+}, >+_afterAppear:function(){this._isSeeable=true; >+this.createDispatchEvent("appear"); >+}, >+_beforeDisappear:function(){this.removeState("over"); >+if(qx.Class.isDefined("qx.ui.form.Button")){this.removeState("pressed"); >+this.removeState("abandoned"); >+}this.createDispatchEvent("beforeDisappear"); >+}, >+_afterDisappear:function(){this._isSeeable=false; >+this.createDispatchEvent("disappear"); >+}, >+_isSeeable:false, >+isSeeable:function(){return this._isSeeable; >+}, >+isAppearRelevant:function(){return this.getVisibility()&&this._isDisplayable; >+}, >+_beforeInsertDom:function(){this.createDispatchEvent("beforeInsertDom"); >+}, >+_afterInsertDom:function(){this.createDispatchEvent("insertDom"); >+}, >+_beforeRemoveDom:function(){this.createDispatchEvent("beforeRemoveDom"); >+}, >+_afterRemoveDom:function(){this.createDispatchEvent("removeDom"); >+}, >+_applyVisibility:function(value, >+old){if(value){if(this._isDisplayable){this._beforeAppear(); >+}this.removeStyleProperty("display"); >+if(this._isDisplayable){this._afterAppear(); >+}}else{if(this._isDisplayable){this._beforeDisappear(); >+}this.setStyleProperty("display", >+"none"); >+if(this._isDisplayable){this._afterDisappear(); >+}}}, >+show:function(){this.setVisibility(true); >+this.setDisplay(true); >+}, >+hide:function(){this.setVisibility(false); >+}, >+connect:function(){this.setDisplay(true); >+}, >+disconnect:function(){this.setDisplay(false); >+}, >+_isCreated:false, >+_getTargetNode:qx.core.Variant.select("qx.client", >+{"gecko":function(){return this._element; >+}, >+"default":function(){return this._borderElement||this._element; >+}}), >+addToDocument:function(){qx.ui.core.ClientDocument.getInstance().add(this); >+}, >+isCreated:function(){return this._isCreated; >+}, >+_createElementImpl:function(){this.setElement(this.getTopLevelWidget().getDocumentElement().createElement("div")); >+}, >+_applyElement:function(value, >+old){this._isCreated=value!=null; >+if(old){old.qx_Widget=null; >+} >+if(value){value.qx_Widget=this; >+value.style.position="absolute"; >+this._element=value; >+this._style=value.style; >+this._applyStyleProperties(value); >+this._applyHtmlProperties(value); >+this._applyHtmlAttributes(value); >+this._applyElementData(value); >+this.createDispatchEvent("create"); >+this.addToStateQueue(); >+}else{this._element=this._style=null; >+}}, >+addToJobQueue:function(p){if(this._hasParent){qx.ui.core.Widget.addToGlobalJobQueue(this); >+} >+if(!this._jobQueue){this._jobQueue={}; >+}this._jobQueue[p]=true; >+return true; >+}, >+_flushJobQueue:function(q){try{var vQueue=this._jobQueue; >+var vParent=this.getParent(); >+if(!vParent||qx.lang.Object.isEmpty(vQueue)){return; >+}var vLayoutImpl=this instanceof qx.ui.core.Parent?this.getLayoutImpl():null; >+if(vLayoutImpl){vLayoutImpl.updateSelfOnJobQueueFlush(vQueue); >+}}catch(ex){this.error("Flushing job queue (prechecks#1) failed", >+ex); >+}try{var vFlushParentJobQueue=false; >+var vRecomputeOuterWidth=vQueue.marginLeft||vQueue.marginRight; >+var vRecomputeOuterHeight=vQueue.marginTop||vQueue.marginBottom; >+var vRecomputeInnerWidth=vQueue.frameWidth; >+var vRecomputeInnerHeight=vQueue.frameHeight; >+var vRecomputeParentPreferredInnerWidth=(vQueue.frameWidth||vQueue.preferredInnerWidth)&&this._recomputePreferredBoxWidth(); >+var vRecomputeParentPreferredInnerHeight=(vQueue.frameHeight||vQueue.preferredInnerHeight)&&this._recomputePreferredBoxHeight(); >+if(vRecomputeParentPreferredInnerWidth){var vPref=this.getPreferredBoxWidth(); >+if(this._computedWidthTypeAuto){this._computedWidthValue=vPref; >+vQueue.width=true; >+} >+if(this._computedMinWidthTypeAuto){this._computedMinWidthValue=vPref; >+vQueue.minWidth=true; >+} >+if(this._computedMaxWidthTypeAuto){this._computedMaxWidthValue=vPref; >+vQueue.maxWidth=true; >+}} >+if(vRecomputeParentPreferredInnerHeight){var vPref=this.getPreferredBoxHeight(); >+if(this._computedHeightTypeAuto){this._computedHeightValue=vPref; >+vQueue.height=true; >+} >+if(this._computedMinHeightTypeAuto){this._computedMinHeightValue=vPref; >+vQueue.minHeight=true; >+} >+if(this._computedMaxHeightTypeAuto){this._computedMaxHeightValue=vPref; >+vQueue.maxHeight=true; >+}} >+if((vQueue.width||vQueue.minWidth||vQueue.maxWidth||vQueue.left||vQueue.right)&&this._recomputeBoxWidth()){vRecomputeOuterWidth=vRecomputeInnerWidth=true; >+} >+if((vQueue.height||vQueue.minHeight||vQueue.maxHeight||vQueue.top||vQueue.bottom)&&this._recomputeBoxHeight()){vRecomputeOuterHeight=vRecomputeInnerHeight=true; >+}}catch(ex){this.error("Flushing job queue (recompute#2) failed", >+ex); >+}try{if((vRecomputeOuterWidth&&this._recomputeOuterWidth())||vRecomputeParentPreferredInnerWidth){vParent._invalidatePreferredInnerWidth(); >+vParent.getLayoutImpl().updateSelfOnChildOuterWidthChange(this); >+vFlushParentJobQueue=true; >+} >+if((vRecomputeOuterHeight&&this._recomputeOuterHeight())||vRecomputeParentPreferredInnerHeight){vParent._invalidatePreferredInnerHeight(); >+vParent.getLayoutImpl().updateSelfOnChildOuterHeightChange(this); >+vFlushParentJobQueue=true; >+} >+if(vFlushParentJobQueue){vParent._flushJobQueue(); >+}}catch(ex){this.error("Flushing job queue (parentsignals#3) failed", >+ex); >+}try{vParent._addChildToChildrenQueue(this); >+for(var i in vQueue){this._layoutChanges[i]=true; >+}}catch(ex){this.error("Flushing job queue (addjobs#4) failed", >+ex); >+}try{if(this instanceof qx.ui.core.Parent&&(vQueue.paddingLeft||vQueue.paddingRight||vQueue.paddingTop||vQueue.paddingBottom)){var ch=this.getChildren(), >+chl=ch.length; >+if(vQueue.paddingLeft){for(var i=0;i<chl;i++){ch[i].addToLayoutChanges("parentPaddingLeft"); >+}} >+if(vQueue.paddingRight){for(var i=0;i<chl;i++){ch[i].addToLayoutChanges("parentPaddingRight"); >+}} >+if(vQueue.paddingTop){for(var i=0;i<chl;i++){ch[i].addToLayoutChanges("parentPaddingTop"); >+}} >+if(vQueue.paddingBottom){for(var i=0;i<chl;i++){ch[i].addToLayoutChanges("parentPaddingBottom"); >+}}} >+if(vRecomputeInnerWidth){this._recomputeInnerWidth(); >+} >+if(vRecomputeInnerHeight){this._recomputeInnerHeight(); >+} >+if(this._initialLayoutDone){if(vLayoutImpl){vLayoutImpl.updateChildrenOnJobQueueFlush(vQueue); >+}}}catch(ex){this.error("Flushing job queue (childrensignals#5) failed", >+ex); >+}delete this._jobQueue; >+}, >+_isWidthEssential:qx.lang.Function.returnTrue, >+_isHeightEssential:qx.lang.Function.returnTrue, >+_computeBoxWidthFallback:function(){return 0; >+}, >+_computeBoxHeightFallback:function(){return 0; >+}, >+_computeBoxWidth:function(){var vLayoutImpl=this.getParent().getLayoutImpl(); >+return Math.max(0, >+qx.lang.Number.limit(vLayoutImpl.computeChildBoxWidth(this), >+this.getMinWidthValue(), >+this.getMaxWidthValue())); >+}, >+_computeBoxHeight:function(){var vLayoutImpl=this.getParent().getLayoutImpl(); >+return Math.max(0, >+qx.lang.Number.limit(vLayoutImpl.computeChildBoxHeight(this), >+this.getMinHeightValue(), >+this.getMaxHeightValue())); >+}, >+_computeOuterWidth:function(){return Math.max(0, >+(this.getMarginLeft()+this.getBoxWidth()+this.getMarginRight())); >+}, >+_computeOuterHeight:function(){return Math.max(0, >+(this.getMarginTop()+this.getBoxHeight()+this.getMarginBottom())); >+}, >+_computeInnerWidth:function(){return Math.max(0, >+this.getBoxWidth()-this.getFrameWidth()); >+}, >+_computeInnerHeight:function(){return Math.max(0, >+this.getBoxHeight()-this.getFrameHeight()); >+}, >+getNeededWidth:function(){var vLayoutImpl=this.getParent().getLayoutImpl(); >+return Math.max(0, >+vLayoutImpl.computeChildNeededWidth(this)); >+}, >+getNeededHeight:function(){var vLayoutImpl=this.getParent().getLayoutImpl(); >+return Math.max(0, >+vLayoutImpl.computeChildNeededHeight(this)); >+}, >+_recomputeFlexX:function(){if(!this.getHasFlexX()){return false; >+} >+if(this._computedWidthTypeFlex){this._computedWidthValue=null; >+this.addToLayoutChanges("width"); >+}return true; >+}, >+_recomputeFlexY:function(){if(!this.getHasFlexY()){return false; >+} >+if(this._computedHeightTypeFlex){this._computedHeightValue=null; >+this.addToLayoutChanges("height"); >+}return true; > }, >-_applyTop:function(value, >-old){this._unitDetectionPixelPercent("top", >-value); >-this.addToQueue("top"); >+_recomputePercentX:function(){if(!this.getHasPercentX()){return false; >+} >+if(this._computedWidthTypePercent){this._computedWidthValue=null; >+this.addToLayoutChanges("width"); >+} >+if(this._computedMinWidthTypePercent){this._computedMinWidthValue=null; >+this.addToLayoutChanges("minWidth"); >+} >+if(this._computedMaxWidthTypePercent){this._computedMaxWidthValue=null; >+this.addToLayoutChanges("maxWidth"); >+} >+if(this._computedLeftTypePercent){this._computedLeftValue=null; >+this.addToLayoutChanges("left"); >+} >+if(this._computedRightTypePercent){this._computedRightValue=null; >+this.addToLayoutChanges("right"); >+}return true; > }, >-_applyBottom:function(value, >-old){this._unitDetectionPixelPercent("bottom", >-value); >-this.addToQueue("bottom"); >+_recomputePercentY:function(){if(!this.getHasPercentY()){return false; >+} >+if(this._computedHeightTypePercent){this._computedHeightValue=null; >+this.addToLayoutChanges("height"); >+} >+if(this._computedMinHeightTypePercent){this._computedMinHeightValue=null; >+this.addToLayoutChanges("minHeight"); >+} >+if(this._computedMaxHeightTypePercent){this._computedMaxHeightValue=null; >+this.addToLayoutChanges("maxHeight"); >+} >+if(this._computedTopTypePercent){this._computedTopValue=null; >+this.addToLayoutChanges("top"); >+} >+if(this._computedBottomTypePercent){this._computedBottomValue=null; >+this.addToLayoutChanges("bottom"); >+}return true; > }, >-_applyWidth:function(value, >-old){this._unitDetectionPixelPercentAutoFlex("width", >-value); >-this.addToQueue("width"); >+_recomputeRangeX:qx.core.Variant.select("qx.client", >+{"mshtml|opera|webkit":function(){if(this._computedLeftTypeNull||this._computedRightTypeNull){return false; >+}this.addToLayoutChanges("width"); >+return true; > }, >-_applyMinWidth:function(value, >-old){this._unitDetectionPixelPercentAuto("minWidth", >-value); >-this.addToQueue("minWidth"); >+"default":function(){return !(this._computedLeftTypeNull||this._computedRightTypeNull); >+}}), >+_recomputeRangeY:qx.core.Variant.select("qx.client", >+{"mshtml|opera|webkit":function(){if(this._computedTopTypeNull||this._computedBottomTypeNull){return false; >+}this.addToLayoutChanges("height"); >+return true; > }, >-_applyMaxWidth:function(value, >-old){this._unitDetectionPixelPercentAuto("maxWidth", >-value); >-this.addToQueue("maxWidth"); >+"default":function(){return !(this._computedTopTypeNull||this._computedBottomTypeNull); >+}}), >+_recomputeStretchingX:qx.core.Variant.select("qx.client", >+{"mshtml|opera|webkit":function(){if(this.getAllowStretchX()&&this._computedWidthTypeNull){this._computedWidthValue=null; >+this.addToLayoutChanges("width"); >+return true; >+}return false; > }, >-_applyHeight:function(value, >-old){this._unitDetectionPixelPercentAutoFlex("height", >-value); >-this.addToQueue("height"); >+"default":function(){if(this.getAllowStretchX()&&this._computedWidthTypeNull){return true; >+}return false; >+}}), >+_recomputeStretchingY:qx.core.Variant.select("qx.client", >+{"mshtml|opera|webkit":function(){if(this.getAllowStretchY()&&this._computedHeightTypeNull){this._computedHeightValue=null; >+this.addToLayoutChanges("height"); >+return true; >+}return false; > }, >-_applyMinHeight:function(value, >-old){this._unitDetectionPixelPercentAuto("minHeight", >-value); >-this.addToQueue("minHeight"); >+"default":function(){if(this.getAllowStretchY()&&this._computedHeightTypeNull){return true; >+}return false; >+}}), >+_computeValuePixel:function(v){return Math.round(v); > }, >-_applyMaxHeight:function(value, >-old){this._unitDetectionPixelPercentAuto("maxHeight", >-value); >-this.addToQueue("maxHeight"); >+_computeValuePixelLimit:function(v){return Math.max(0, >+this._computeValuePixel(v)); > }, >-isMaterialized:function(){var elem=this._element; >-return (this._initialLayoutDone&&this._isDisplayable&&qx.html.Style.getStyleProperty(elem, >-"display")!="none"&&qx.html.Style.getStyleProperty(elem, >-"visibility")!="hidden"&&elem.offsetWidth>0&&elem.offsetHeight>0); >+_computeValuePercentX:function(v){return Math.round(this.getParent().getInnerWidthForChild(this)*v*0.01); > }, >-pack:function(){this.setWidth(this.getPreferredBoxWidth()); >-this.setHeight(this.getPreferredBoxHeight()); >+_computeValuePercentXLimit:function(v){return Math.max(0, >+this._computeValuePercentX(v)); > }, >-auto:function(){this.setWidth("auto"); >-this.setHeight("auto"); >+_computeValuePercentY:function(v){return Math.round(this.getParent().getInnerHeightForChild(this)*v*0.01); > }, >-getChildren:qx.lang.Function.returnNull, >-getChildrenLength:qx.lang.Function.returnZero, >-hasChildren:qx.lang.Function.returnFalse, >-isEmpty:qx.lang.Function.returnTrue, >-indexOf:qx.lang.Function.returnNegativeIndex, >-contains:qx.lang.Function.returnFalse, >-getVisibleChildren:qx.lang.Function.returnNull, >-getVisibleChildrenLength:qx.lang.Function.returnZero, >-hasVisibleChildren:qx.lang.Function.returnFalse, >-isVisibleEmpty:qx.lang.Function.returnTrue, >-_hasParent:false, >-_isDisplayable:false, >-isDisplayable:function(){return this._isDisplayable; >+_computeValuePercentYLimit:function(v){return Math.max(0, >+this._computeValuePercentY(v)); > }, >-_checkParent:function(value, >-old){if(this.contains(value)){throw new Error("Could not insert myself into a child "+value+"!"); >-}return value; >+getWidthValue:function(){if(this._computedWidthValue!=null){return this._computedWidthValue; >+} >+switch(this._computedWidthType){case qx.ui.core.Widget.TYPE_PIXEL:return this._computedWidthValue=this._computeValuePixelLimit(this._computedWidthParsed); >+case qx.ui.core.Widget.TYPE_PERCENT:return this._computedWidthValue=this._computeValuePercentXLimit(this._computedWidthParsed); >+case qx.ui.core.Widget.TYPE_AUTO:return this._computedWidthValue=this.getPreferredBoxWidth(); >+case qx.ui.core.Widget.TYPE_FLEX:if(this.getParent().getLayoutImpl().computeChildrenFlexWidth===undefined){throw new Error("Widget "+this+": having horizontal flex size (width="+this.getWidth()+") but parent layout "+this.getParent()+" does not support it"); >+}this.getParent().getLayoutImpl().computeChildrenFlexWidth(); >+return this._computedWidthValue=this._computedWidthFlexValue; >+}return null; > }, >-_applyParent:function(value, >-old){if(old){var vOldIndex=old.getChildren().indexOf(this); >-this._computedWidthValue=this._computedMinWidthValue=this._computedMaxWidthValue=this._computedLeftValue=this._computedRightValue=null; >-this._computedHeightValue=this._computedMinHeightValue=this._computedMaxHeightValue=this._computedTopValue=this._computedBottomValue=null; >-this._cachedBoxWidth=this._cachedInnerWidth=this._cachedOuterWidth=null; >-this._cachedBoxHeight=this._cachedInnerHeight=this._cachedOuterHeight=null; >-qx.lang.Array.removeAt(old.getChildren(), >-vOldIndex); >-old._invalidateVisibleChildren(); >-old._removeChildFromChildrenQueue(this); >-old.getLayoutImpl().updateChildrenOnRemoveChild(this, >-vOldIndex); >-old.addToJobQueue("removeChild"); >-old._invalidatePreferredInnerDimensions(); >-this._oldParent=old; >+getMinWidthValue:function(){if(this._computedMinWidthValue!=null){return this._computedMinWidthValue; > } >-if(value){this._hasParent=true; >-if(typeof this._insertIndex=="number"){qx.lang.Array.insertAt(value.getChildren(), >-this, >-this._insertIndex); >-delete this._insertIndex; >-}else{value.getChildren().push(this); >-}}else{this._hasParent=false; >-}qx.core.Property.refresh(this); >-return this._handleDisplayable("parent"); >+switch(this._computedMinWidthType){case qx.ui.core.Widget.TYPE_PIXEL:return this._computedWidthValue=this._computeValuePixelLimit(this._computedMinWidthParsed); >+case qx.ui.core.Widget.TYPE_PERCENT:return this._computedWidthValue=this._computeValuePercentXLimit(this._computedMinWidthParsed); >+case qx.ui.core.Widget.TYPE_AUTO:return this._computedMinWidthValue=this.getPreferredBoxWidth(); >+}return null; >+}, >+getMaxWidthValue:function(){if(this._computedMaxWidthValue!=null){return this._computedMaxWidthValue; >+} >+switch(this._computedMaxWidthType){case qx.ui.core.Widget.TYPE_PIXEL:return this._computedWidthValue=this._computeValuePixelLimit(this._computedMaxWidthParsed); >+case qx.ui.core.Widget.TYPE_PERCENT:return this._computedWidthValue=this._computeValuePercentXLimit(this._computedMaxWidthParsed); >+case qx.ui.core.Widget.TYPE_AUTO:return this._computedMaxWidthValue=this.getPreferredBoxWidth(); >+}return null; >+}, >+getLeftValue:function(){if(this._computedLeftValue!=null){return this._computedLeftValue; >+} >+switch(this._computedLeftType){case qx.ui.core.Widget.TYPE_PIXEL:return this._computedLeftValue=this._computeValuePixel(this._computedLeftParsed); >+case qx.ui.core.Widget.TYPE_PERCENT:return this._computedLeftValue=this._computeValuePercentX(this._computedLeftParsed); >+}return null; >+}, >+getRightValue:function(){if(this._computedRightValue!=null){return this._computedRightValue; >+} >+switch(this._computedRightType){case qx.ui.core.Widget.TYPE_PIXEL:return this._computedRightValue=this._computeValuePixel(this._computedRightParsed); >+case qx.ui.core.Widget.TYPE_PERCENT:return this._computedRightValue=this._computeValuePercentX(this._computedRightParsed); >+}return null; >+}, >+getHeightValue:function(){if(this._computedHeightValue!=null){return this._computedHeightValue; >+} >+switch(this._computedHeightType){case qx.ui.core.Widget.TYPE_PIXEL:return this._computedHeightValue=this._computeValuePixelLimit(this._computedHeightParsed); >+case qx.ui.core.Widget.TYPE_PERCENT:return this._computedHeightValue=this._computeValuePercentYLimit(this._computedHeightParsed); >+case qx.ui.core.Widget.TYPE_AUTO:return this._computedHeightValue=this.getPreferredBoxHeight(); >+case qx.ui.core.Widget.TYPE_FLEX:if(this.getParent().getLayoutImpl().computeChildrenFlexHeight===undefined){throw new Error("Widget "+this+": having vertical flex size (height="+this.getHeight()+") but parent layout "+this.getParent()+" does not support it"); >+}this.getParent().getLayoutImpl().computeChildrenFlexHeight(); >+return this._computedHeightValue=this._computedHeightFlexValue; >+}return null; >+}, >+getMinHeightValue:function(){if(this._computedMinHeightValue!=null){return this._computedMinHeightValue; >+} >+switch(this._computedMinHeightType){case qx.ui.core.Widget.TYPE_PIXEL:return this._computedMinHeightValue=this._computeValuePixelLimit(this._computedMinHeightParsed); >+case qx.ui.core.Widget.TYPE_PERCENT:return this._computedMinHeightValue=this._computeValuePercentYLimit(this._computedMinHeightParsed); >+case qx.ui.core.Widget.TYPE_AUTO:return this._computedMinHeightValue=this.getPreferredBoxHeight(); >+}return null; >+}, >+getMaxHeightValue:function(){if(this._computedMaxHeightValue!=null){return this._computedMaxHeightValue; >+} >+switch(this._computedMaxHeightType){case qx.ui.core.Widget.TYPE_PIXEL:return this._computedMaxHeightValue=this._computeValuePixelLimit(this._computedMaxHeightParsed); >+case qx.ui.core.Widget.TYPE_PERCENT:return this._computedMaxHeightValue=this._computeValuePercentYLimit(this._computedMaxHeightParsed); >+case qx.ui.core.Widget.TYPE_AUTO:return this._computedMaxHeightValue=this.getPreferredBoxHeight(); >+}return null; >+}, >+getTopValue:function(){if(this._computedTopValue!=null){return this._computedTopValue; >+} >+switch(this._computedTopType){case qx.ui.core.Widget.TYPE_PIXEL:return this._computedTopValue=this._computeValuePixel(this._computedTopParsed); >+case qx.ui.core.Widget.TYPE_PERCENT:return this._computedTopValue=this._computeValuePercentY(this._computedTopParsed); >+}return null; >+}, >+getBottomValue:function(){if(this._computedBottomValue!=null){return this._computedBottomValue; >+} >+switch(this._computedBottomType){case qx.ui.core.Widget.TYPE_PIXEL:return this._computedBottomValue=this._computeValuePixel(this._computedBottomParsed); >+case qx.ui.core.Widget.TYPE_PERCENT:return this._computedBottomValue=this._computeValuePercentY(this._computedBottomParsed); >+}return null; >+}, >+_computeFrameWidth:function(){var fw=this._cachedBorderLeft+this.getPaddingLeft()+this.getPaddingRight()+this._cachedBorderRight; >+switch(this.getOverflow()){case "scroll":case "scrollY":fw+=qx.ui.core.Widget.SCROLLBAR_SIZE; >+break; >+case "auto":break; >+}return fw; >+}, >+_computeFrameHeight:function(){var fh=this._cachedBorderTop+this.getPaddingTop()+this.getPaddingBottom()+this._cachedBorderBottom; >+switch(this.getOverflow()){case "scroll":case "scrollX":fh+=qx.ui.core.Widget.SCROLLBAR_SIZE; >+break; >+case "auto":break; >+}return fh; >+}, >+_invalidateFrameDimensions:function(){this._invalidateFrameWidth(); >+this._invalidateFrameHeight(); >+}, >+_invalidatePreferredInnerDimensions:function(){this._invalidatePreferredInnerWidth(); >+this._invalidatePreferredInnerHeight(); >+}, >+_computePreferredBoxWidth:function(){try{return Math.max(0, >+this.getPreferredInnerWidth()+this.getFrameWidth()); >+}catch(ex){this.error("_computePreferredBoxWidth failed", >+ex); >+}}, >+_computePreferredBoxHeight:function(){try{return Math.max(0, >+this.getPreferredInnerHeight()+this.getFrameHeight()); >+}catch(ex){this.error("_computePreferredBoxHeight failed", >+ex); >+}}, >+_initialLayoutDone:false, >+addToLayoutChanges:function(p){if(this._isDisplayable){this.getParent()._addChildToChildrenQueue(this); >+}return this._layoutChanges[p]=true; > }, >-_applyDisplay:function(value, >-old){return this._handleDisplayable("display"); >+addToQueue:function(p){this._initialLayoutDone?this.addToJobQueue(p):this.addToLayoutChanges(p); > }, >-_handleDisplayable:function(vHint){var vDisplayable=this._computeDisplayable(); >-if(this._isDisplayable==vDisplayable&&!(vDisplayable&&vHint=="parent")){return true; >-}this._isDisplayable=vDisplayable; >-var vParent=this.getParent(); >-if(vParent){vParent._invalidateVisibleChildren(); >-vParent._invalidatePreferredInnerDimensions(); >-}if(vHint&&this._oldParent&&this._oldParent._initialLayoutDone){var elem=this.getElement(); >-if(elem){if(this.getVisibility()){this._beforeDisappear(); >-}this._beforeRemoveDom(); >-try{this._oldParent._getTargetNode().removeChild(elem); >-}catch(e){}this._afterRemoveDom(); >-if(this.getVisibility()){this._afterDisappear(); >-}}delete this._oldParent; >-}if(vDisplayable){if(vParent._initialLayoutDone){vParent.getLayoutImpl().updateChildrenOnAddChild(this, >-vParent.getChildren().indexOf(this)); >-vParent.addToJobQueue("addChild"); >-}this.addToLayoutChanges("initial"); >-this.addToCustomQueues(vHint); >-if(this.getVisibility()){this._beforeAppear(); >-}if(!this._isCreated){qx.ui.core.Widget.addToGlobalElementQueue(this); >-}qx.ui.core.Widget.addToGlobalStateQueue(this); >-if(!qx.lang.Object.isEmpty(this._jobQueue)){qx.ui.core.Widget.addToGlobalJobQueue(this); >-} >-if(!qx.lang.Object.isEmpty(this._childrenQueue)){qx.ui.core.Widget.addToGlobalLayoutQueue(this); >-}}else{qx.ui.core.Widget.removeFromGlobalElementQueue(this); >-qx.ui.core.Widget.removeFromGlobalStateQueue(this); >-qx.ui.core.Widget.removeFromGlobalJobQueue(this); >-qx.ui.core.Widget.removeFromGlobalLayoutQueue(this); >-this.removeFromCustomQueues(vHint); >-if(vParent&&vHint){if(this.getVisibility()){this._beforeDisappear(); >-}if(vParent._initialLayoutDone&&this._initialLayoutDone){vParent.getLayoutImpl().updateChildrenOnRemoveChild(this, >-vParent.getChildren().indexOf(this)); >-vParent.addToJobQueue("removeChild"); >-this._beforeRemoveDom(); >-var parentNode=this.getElement().parentNode; >-if(parentNode){parentNode.removeChild(this.getElement()); >-if(parentNode&&parentNode!==vParent._getTargetNode()){this.warn("Unexpected parent node: "+parentNode); >-}}this._afterRemoveDom(); >-}vParent._removeChildFromChildrenQueue(this); >-if(this.getVisibility()){this._afterDisappear(); >-}}}this._handleDisplayableCustom(vDisplayable, >-vParent, >-vHint); >-return true; >+addToQueueRuntime:function(p){return !this._initialLayoutDone||this.addToJobQueue(p); > }, >-addToCustomQueues:qx.lang.Function.returnTrue, >-removeFromCustomQueues:qx.lang.Function.returnTrue, >-_handleDisplayableCustom:qx.lang.Function.returnTrue, >-_computeDisplayable:function(){return this.getDisplay()&&this.getParent()&&this.getParent()._isDisplayable?true:false; >+_computeHasPercentX:function(){return (this._computedLeftTypePercent||this._computedWidthTypePercent||this._computedMinWidthTypePercent||this._computedMaxWidthTypePercent||this._computedRightTypePercent); > }, >-_beforeAppear:function(){this.createDispatchEvent("beforeAppear"); >+_computeHasPercentY:function(){return (this._computedTopTypePercent||this._computedHeightTypePercent||this._computedMinHeightTypePercent||this._computedMaxHeightTypePercent||this._computedBottomTypePercent); > }, >-_afterAppear:function(){this._isSeeable=true; >-this.createDispatchEvent("appear"); >+_computeHasAutoX:function(){return (this._computedWidthTypeAuto||this._computedMinWidthTypeAuto||this._computedMaxWidthTypeAuto); > }, >-_beforeDisappear:function(){this.removeState("over"); >-if(qx.Class.isDefined("qx.ui.form.Button")){this.removeState("pressed"); >-this.removeState("abandoned"); >-}this.createDispatchEvent("beforeDisappear"); >+_computeHasAutoY:function(){return (this._computedHeightTypeAuto||this._computedMinHeightTypeAuto||this._computedMaxHeightTypeAuto); > }, >-_afterDisappear:function(){this._isSeeable=false; >-this.createDispatchEvent("disappear"); >+_computeHasFlexX:function(){return this._computedWidthTypeFlex; > }, >-_isSeeable:false, >-isSeeable:function(){return this._isSeeable; >+_computeHasFlexY:function(){return this._computedHeightTypeFlex; > }, >-isAppearRelevant:function(){return this.getVisibility()&&this._isDisplayable; >+_evalUnitsPixelPercentAutoFlex:function(value){switch(value){case "auto":return qx.ui.core.Widget.TYPE_AUTO; >+case Infinity:case -Infinity:return qx.ui.core.Widget.TYPE_NULL; >+} >+switch(typeof value){case "number":return isNaN(value)?qx.ui.core.Widget.TYPE_NULL:qx.ui.core.Widget.TYPE_PIXEL; >+case "string":return value.indexOf("%")!=-1?qx.ui.core.Widget.TYPE_PERCENT:value.indexOf("*")!=-1?qx.ui.core.Widget.TYPE_FLEX:qx.ui.core.Widget.TYPE_NULL; >+}return qx.ui.core.Widget.TYPE_NULL; > }, >-_beforeInsertDom:function(){this.createDispatchEvent("beforeInsertDom"); >+_evalUnitsPixelPercentAuto:function(value){switch(value){case "auto":return qx.ui.core.Widget.TYPE_AUTO; >+case Infinity:case -Infinity:return qx.ui.core.Widget.TYPE_NULL; >+} >+switch(typeof value){case "number":return isNaN(value)?qx.ui.core.Widget.TYPE_NULL:qx.ui.core.Widget.TYPE_PIXEL; >+case "string":return value.indexOf("%")!=-1?qx.ui.core.Widget.TYPE_PERCENT:qx.ui.core.Widget.TYPE_NULL; >+}return qx.ui.core.Widget.TYPE_NULL; > }, >-_afterInsertDom:function(){this.createDispatchEvent("insertDom"); >+_evalUnitsPixelPercent:function(value){switch(value){case Infinity:case -Infinity:return qx.ui.core.Widget.TYPE_NULL; >+} >+switch(typeof value){case "number":return isNaN(value)?qx.ui.core.Widget.TYPE_NULL:qx.ui.core.Widget.TYPE_PIXEL; >+case "string":return value.indexOf("%")!=-1?qx.ui.core.Widget.TYPE_PERCENT:qx.ui.core.Widget.TYPE_NULL; >+}return qx.ui.core.Widget.TYPE_NULL; > }, >-_beforeRemoveDom:function(){this.createDispatchEvent("beforeRemoveDom"); >+_unitDetectionPixelPercentAutoFlex:function(name, >+value){var r=qx.ui.core.Widget.layoutPropertyTypes[name]; >+var s=r.dataType; >+var p=r.dataParsed; >+var v=r.dataValue; >+var s1=r.typePixel; >+var s2=r.typePercent; >+var s3=r.typeAuto; >+var s4=r.typeFlex; >+var s5=r.typeNull; >+var wasPercent=this[s2]; >+var wasAuto=this[s3]; >+var wasFlex=this[s4]; >+switch(this[s]=this._evalUnitsPixelPercentAutoFlex(value)){case qx.ui.core.Widget.TYPE_PIXEL:this[s1]=true; >+this[s2]=this[s3]=this[s4]=this[s5]=false; >+this[p]=this[v]=Math.round(value); >+break; >+case qx.ui.core.Widget.TYPE_PERCENT:this[s2]=true; >+this[s1]=this[s3]=this[s4]=this[s5]=false; >+this[p]=parseFloat(value); >+this[v]=null; >+break; >+case qx.ui.core.Widget.TYPE_AUTO:this[s3]=true; >+this[s1]=this[s2]=this[s4]=this[s5]=false; >+this[p]=this[v]=null; >+break; >+case qx.ui.core.Widget.TYPE_FLEX:this[s4]=true; >+this[s1]=this[s2]=this[s3]=this[s5]=false; >+this[p]=parseFloat(value); >+this[v]=null; >+break; >+default:this[s5]=true; >+this[s1]=this[s2]=this[s3]=this[s4]=false; >+this[p]=this[v]=null; >+break; >+} >+if(wasPercent!=this[s2]){switch(name){case "minWidth":case "maxWidth":case "width":case "left":case "right":this._invalidateHasPercentX(); >+break; >+case "maxHeight":case "minHeight":case "height":case "top":case "bottom":this._invalidateHasPercentY(); >+break; >+}}if(wasAuto!=this[s3]){switch(name){case "minWidth":case "maxWidth":case "width":this._invalidateHasAutoX(); >+break; >+case "minHeight":case "maxHeight":case "height":this._invalidateHasAutoY(); >+break; >+}}if(wasFlex!=this[s4]){switch(name){case "width":this._invalidateHasFlexX(); >+break; >+case "height":this._invalidateHasFlexY(); >+break; >+}}}, >+_unitDetectionPixelPercentAuto:function(name, >+value){var r=qx.ui.core.Widget.layoutPropertyTypes[name]; >+var s=r.dataType; >+var p=r.dataParsed; >+var v=r.dataValue; >+var s1=r.typePixel; >+var s2=r.typePercent; >+var s3=r.typeAuto; >+var s4=r.typeNull; >+var wasPercent=this[s2]; >+var wasAuto=this[s3]; >+switch(this[s]=this._evalUnitsPixelPercentAuto(value)){case qx.ui.core.Widget.TYPE_PIXEL:this[s1]=true; >+this[s2]=this[s3]=this[s4]=false; >+this[p]=this[v]=Math.round(value); >+break; >+case qx.ui.core.Widget.TYPE_PERCENT:this[s2]=true; >+this[s1]=this[s3]=this[s4]=false; >+this[p]=parseFloat(value); >+this[v]=null; >+break; >+case qx.ui.core.Widget.TYPE_AUTO:this[s3]=true; >+this[s1]=this[s2]=this[s4]=false; >+this[p]=this[v]=null; >+break; >+default:this[s4]=true; >+this[s1]=this[s2]=this[s3]=false; >+this[p]=this[v]=null; >+break; >+} >+if(wasPercent!=this[s2]){switch(name){case "minWidth":case "maxWidth":case "width":case "left":case "right":this._invalidateHasPercentX(); >+break; >+case "minHeight":case "maxHeight":case "height":case "top":case "bottom":this._invalidateHasPercentY(); >+break; >+}}if(wasAuto!=this[s3]){switch(name){case "minWidth":case "maxWidth":case "width":this._invalidateHasAutoX(); >+break; >+case "minHeight":case "maxHeight":case "height":this._invalidateHasAutoY(); >+break; >+}}}, >+_unitDetectionPixelPercent:function(name, >+value){var r=qx.ui.core.Widget.layoutPropertyTypes[name]; >+var s=r.dataType; >+var p=r.dataParsed; >+var v=r.dataValue; >+var s1=r.typePixel; >+var s2=r.typePercent; >+var s3=r.typeNull; >+var wasPercent=this[s2]; >+switch(this[s]=this._evalUnitsPixelPercent(value)){case qx.ui.core.Widget.TYPE_PIXEL:this[s1]=true; >+this[s2]=this[s3]=false; >+this[p]=this[v]=Math.round(value); >+break; >+case qx.ui.core.Widget.TYPE_PERCENT:this[s2]=true; >+this[s1]=this[s3]=false; >+this[p]=parseFloat(value); >+this[v]=null; >+break; >+default:this[s3]=true; >+this[s1]=this[s2]=false; >+this[p]=this[v]=null; >+break; >+} >+if(wasPercent!=this[s2]){switch(name){case "minWidth":case "maxWidth":case "width":case "left":case "right":this._invalidateHasPercentX(); >+break; >+case "minHeight":case "maxHeight":case "height":case "top":case "bottom":this._invalidateHasPercentY(); >+break; >+}}}, >+getTopLevelWidget:function(){return this._hasParent?this.getParent().getTopLevelWidget():null; > }, >-_afterRemoveDom:function(){this.createDispatchEvent("removeDom"); >+moveSelfBefore:function(vBefore){this.getParent().addBefore(this, >+vBefore); > }, >-_applyVisibility:function(value, >-old){if(value){if(this._isDisplayable){this._beforeAppear(); >-}this.removeStyleProperty("display"); >-if(this._isDisplayable){this._afterAppear(); >-}}else{if(this._isDisplayable){this._beforeDisappear(); >-}this.setStyleProperty("display", >-"none"); >-if(this._isDisplayable){this._afterDisappear(); >-}}}, >-show:function(){this.setVisibility(true); >-this.setDisplay(true); >+moveSelfAfter:function(vAfter){this.getParent().addAfter(this, >+vAfter); > }, >-hide:function(){this.setVisibility(false); >+moveSelfToBegin:function(){this.getParent().addAtBegin(this); >+}, >+moveSelfToEnd:function(){this.getParent().addAtEnd(this); >+}, >+getPreviousSibling:function(){var p=this.getParent(); >+if(p==null){return null; >+}var cs=p.getChildren(); >+return cs[cs.indexOf(this)-1]; >+}, >+getNextSibling:function(){var p=this.getParent(); >+if(p==null){return null; >+}var cs=p.getChildren(); >+return cs[cs.indexOf(this)+1]; >+}, >+getPreviousVisibleSibling:function(){if(!this._hasParent){return null; >+}var vChildren=this.getParent().getVisibleChildren(); >+return vChildren[vChildren.indexOf(this)-1]; >+}, >+getNextVisibleSibling:function(){if(!this._hasParent){return null; >+}var vChildren=this.getParent().getVisibleChildren(); >+return vChildren[vChildren.indexOf(this)+1]; >+}, >+getPreviousActiveSibling:function(vIgnoreClasses){var vPrev=qx.ui.core.Widget.getActiveSiblingHelper(this, >+this.getParent(), >+-1, >+vIgnoreClasses, >+null); >+return vPrev?vPrev:this.getParent().getLastActiveChild(); > }, >-connect:function(){this.setDisplay(true); >+getNextActiveSibling:function(vIgnoreClasses){var vNext=qx.ui.core.Widget.getActiveSiblingHelper(this, >+this.getParent(), >+1, >+vIgnoreClasses, >+null); >+return vNext?vNext:this.getParent().getFirstActiveChild(); > }, >-disconnect:function(){this.setDisplay(false); >+isFirstChild:function(){return this._hasParent&&this.getParent().getFirstChild()==this; > }, >-_isCreated:false, >-_getTargetNode:qx.core.Variant.select("qx.client", >-{"gecko":function(){return this._element; >+isLastChild:function(){return this._hasParent&&this.getParent().getLastChild()==this; > }, >-"default":function(){return this._borderElement||this._element; >-}}), >-addToDocument:function(){qx.ui.core.ClientDocument.getInstance().add(this); >+isFirstVisibleChild:function(){return this._hasParent&&this.getParent().getFirstVisibleChild()==this; > }, >-isCreated:function(){return this._isCreated; >+isLastVisibleChild:function(){return this._hasParent&&this.getParent().getLastVisibleChild()==this; > }, >-_createElementImpl:function(){this.setElement(this.getTopLevelWidget().getDocumentElement().createElement("div")); >+hasState:function(vState){return this.__states&&this.__states[vState]?true:false; > }, >-_applyElement:function(value, >-old){this._isCreated=value!=null; >-if(old){old.qx_Widget=null; >+addState:function(vState){if(!this.__states){this.__states={}; > } >-if(value){value.qx_Widget=this; >-value.style.position="absolute"; >-this._element=value; >-this._style=value.style; >-this._applyStyleProperties(value); >-this._applyHtmlProperties(value); >-this._applyHtmlAttributes(value); >-this._applyElementData(value); >-this.createDispatchEvent("create"); >-this.addToStateQueue(); >-}else{this._element=this._style=null; >+if(!this.__states[vState]){this.__states[vState]=true; >+if(this._hasParent){qx.ui.core.Widget.addToGlobalStateQueue(this); >+}}}, >+removeState:function(vState){if(this.__states&&this.__states[vState]){delete this.__states[vState]; >+if(this._hasParent){qx.ui.core.Widget.addToGlobalStateQueue(this); >+}}}, >+_styleFromMap:function(data){var styler=qx.core.Property.$$method.style; >+var unstyler=qx.core.Property.$$method.unstyle; >+var value; >+{for(var prop in data){if(!this[styler[prop]]){throw new Error(this.classname+' has no themeable property "'+prop+'"'); >+}}}; >+for(var prop in data){value=data[prop]; >+value==="undefined"?this[unstyler[prop]]():this[styler[prop]](value); > }}, >-addToJobQueue:function(p){if(this._hasParent){qx.ui.core.Widget.addToGlobalJobQueue(this); >-} >-if(!this._jobQueue){this._jobQueue={}; >-}this._jobQueue[p]=true; >-return true; >-}, >-_flushJobQueue:function(q){try{var vQueue=this._jobQueue; >-var vParent=this.getParent(); >-if(!vParent||qx.lang.Object.isEmpty(vQueue)){return; >-}var vLayoutImpl=this instanceof qx.ui.core.Parent?this.getLayoutImpl():null; >-if(vLayoutImpl){vLayoutImpl.updateSelfOnJobQueueFlush(vQueue); >-}}catch(ex){this.error("Flushing job queue (prechecks#1) failed", >-ex); >-}try{var vFlushParentJobQueue=false; >-var vRecomputeOuterWidth=vQueue.marginLeft||vQueue.marginRight; >-var vRecomputeOuterHeight=vQueue.marginTop||vQueue.marginBottom; >-var vRecomputeInnerWidth=vQueue.frameWidth; >-var vRecomputeInnerHeight=vQueue.frameHeight; >-var vRecomputeParentPreferredInnerWidth=(vQueue.frameWidth||vQueue.preferredInnerWidth)&&this._recomputePreferredBoxWidth(); >-var vRecomputeParentPreferredInnerHeight=(vQueue.frameHeight||vQueue.preferredInnerHeight)&&this._recomputePreferredBoxHeight(); >-if(vRecomputeParentPreferredInnerWidth){var vPref=this.getPreferredBoxWidth(); >-if(this._computedWidthTypeAuto){this._computedWidthValue=vPref; >-vQueue.width=true; >-} >-if(this._computedMinWidthTypeAuto){this._computedMinWidthValue=vPref; >-vQueue.minWidth=true; >-} >-if(this._computedMaxWidthTypeAuto){this._computedMaxWidthValue=vPref; >-vQueue.maxWidth=true; >-}} >-if(vRecomputeParentPreferredInnerHeight){var vPref=this.getPreferredBoxHeight(); >-if(this._computedHeightTypeAuto){this._computedHeightValue=vPref; >-vQueue.height=true; >-} >-if(this._computedMinHeightTypeAuto){this._computedMinHeightValue=vPref; >-vQueue.minHeight=true; >-} >-if(this._computedMaxHeightTypeAuto){this._computedMaxHeightValue=vPref; >-vQueue.maxHeight=true; >-}} >-if((vQueue.width||vQueue.minWidth||vQueue.maxWidth||vQueue.left||vQueue.right)&&this._recomputeBoxWidth()){vRecomputeOuterWidth=vRecomputeInnerWidth=true; >-} >-if((vQueue.height||vQueue.minHeight||vQueue.maxHeight||vQueue.top||vQueue.bottom)&&this._recomputeBoxHeight()){vRecomputeOuterHeight=vRecomputeInnerHeight=true; >-}}catch(ex){this.error("Flushing job queue (recompute#2) failed", >+_unstyleFromArray:function(data){var unstyler=qx.core.Property.$$method.unstyle; >+{for(var i=0, >+l=data.length;i<l;i++){if(!this[unstyler[data[i]]]){throw new Error(this.classname+' has no themeable property "'+data[i]+'"'); >+}}}; >+for(var i=0, >+l=data.length;i<l;i++){this[unstyler[data[i]]](); >+}}, >+_renderAppearance:function(){if(!this.__states){this.__states={}; >+}this._applyStateStyleFocus(this.__states); >+var vAppearance=this.getAppearance(); >+if(vAppearance){try{var r=qx.theme.manager.Appearance.getInstance().styleFrom(vAppearance, >+this.__states); >+if(r){this._styleFromMap(r); >+}}catch(ex){this.error("Could not apply state appearance", > ex); >-}try{if((vRecomputeOuterWidth&&this._recomputeOuterWidth())||vRecomputeParentPreferredInnerWidth){vParent._invalidatePreferredInnerWidth(); >-vParent.getLayoutImpl().updateSelfOnChildOuterWidthChange(this); >-vFlushParentJobQueue=true; >-} >-if((vRecomputeOuterHeight&&this._recomputeOuterHeight())||vRecomputeParentPreferredInnerHeight){vParent._invalidatePreferredInnerHeight(); >-vParent.getLayoutImpl().updateSelfOnChildOuterHeightChange(this); >-vFlushParentJobQueue=true; >+}}}, >+_resetAppearanceThemeWrapper:function(vNewAppearanceTheme, >+vOldAppearanceTheme){var vAppearance=this.getAppearance(); >+if(vAppearance){var vAppearanceManager=qx.theme.manager.Appearance.getInstance(); >+var vOldAppearanceProperties=vAppearanceManager.styleFromTheme(vOldAppearanceTheme, >+vAppearance, >+this.__states); >+var vNewAppearanceProperties=vAppearanceManager.styleFromTheme(vNewAppearanceTheme, >+vAppearance, >+this.__states); >+var vUnstyleList=[]; >+for(var prop in vOldAppearanceProperties){if(vNewAppearanceProperties[prop]===undefined){vUnstyleList.push(prop); >+}}this._unstyleFromArray(vUnstyleList); >+this._styleFromMap(vNewAppearanceProperties); >+}}, >+_applyStateStyleFocus:qx.core.Variant.select("qx.client", >+{"mshtml":function(vStates){}, >+"gecko":function(vStates){if(vStates.focused){if(!qx.event.handler.FocusHandler.mouseFocus&&!this.getHideFocus()){this.setStyleProperty("MozOutline", >+"1px dotted invert"); >+}}else{this.removeStyleProperty("MozOutline"); >+}}, >+"default":function(vStates){if(vStates.focused){if(!qx.event.handler.FocusHandler.mouseFocus&&!this.getHideFocus()){this.setStyleProperty("outline", >+"1px dotted invert"); >+}}else{this.removeStyleProperty("outline"); >+}}}), >+addToStateQueue:function(){qx.ui.core.Widget.addToGlobalStateQueue(this); >+}, >+recursiveAddToStateQueue:function(){this.addToStateQueue(); >+}, >+_applyAppearance:function(value, >+old){if(!this.__states){this.__states={}; >+}var vAppearanceManager=qx.theme.manager.Appearance.getInstance(); >+if(value){var vNewAppearanceProperties=vAppearanceManager.styleFrom(value, >+this.__states)||{}; > } >-if(vFlushParentJobQueue){vParent._flushJobQueue(); >-}}catch(ex){this.error("Flushing job queue (parentsignals#3) failed", >-ex); >-}try{vParent._addChildToChildrenQueue(this); >-for(var i in vQueue){this._layoutChanges[i]=true; >-}}catch(ex){this.error("Flushing job queue (addjobs#4) failed", >-ex); >-}try{if(this instanceof qx.ui.core.Parent&&(vQueue.paddingLeft||vQueue.paddingRight||vQueue.paddingTop||vQueue.paddingBottom)){var ch=this.getChildren(), >-chl=ch.length; >-if(vQueue.paddingLeft){for(var i=0;i<chl;i++){ch[i].addToLayoutChanges("parentPaddingLeft"); >-}} >-if(vQueue.paddingRight){for(var i=0;i<chl;i++){ch[i].addToLayoutChanges("parentPaddingRight"); >-}} >-if(vQueue.paddingTop){for(var i=0;i<chl;i++){ch[i].addToLayoutChanges("parentPaddingTop"); >-}} >-if(vQueue.paddingBottom){for(var i=0;i<chl;i++){ch[i].addToLayoutChanges("parentPaddingBottom"); >+if(old){var vOldAppearanceProperties=vAppearanceManager.styleFrom(old, >+this.__states)||{}; >+var vUnstyleList=[]; >+for(var prop in vOldAppearanceProperties){if(!vNewAppearanceProperties||!(prop in vNewAppearanceProperties)){vUnstyleList.push(prop); > }}} >-if(vRecomputeInnerWidth){this._recomputeInnerWidth(); >-} >-if(vRecomputeInnerHeight){this._recomputeInnerHeight(); >+if(vUnstyleList){this._unstyleFromArray(vUnstyleList); > } >-if(this._initialLayoutDone){if(vLayoutImpl){vLayoutImpl.updateChildrenOnJobQueueFlush(vQueue); >-}}}catch(ex){this.error("Flushing job queue (childrensignals#5) failed", >+if(vNewAppearanceProperties){this._styleFromMap(vNewAppearanceProperties); >+}}, >+_recursiveAppearanceThemeUpdate:function(vNewAppearanceTheme, >+vOldAppearanceTheme){try{this._resetAppearanceThemeWrapper(vNewAppearanceTheme, >+vOldAppearanceTheme); >+}catch(ex){this.error("Failed to update appearance theme", > ex); >-}delete this._jobQueue; >+}}, >+_applyElementData:function(elem){}, >+setHtmlProperty:function(propName, >+value){if(!this._htmlProperties){this._htmlProperties={}; >+}this._htmlProperties[propName]=value; >+if(this._isCreated&&this.getElement()[propName]!=value){this.getElement()[propName]=value; >+}return true; >+}, >+removeHtmlProperty:qx.core.Variant.select("qx.client", >+{"mshtml":function(propName){if(!this._htmlProperties){return; >+}delete this._htmlProperties[propName]; >+if(this._isCreated){this.getElement().removeAttribute(propName); >+}return true; >+}, >+"default":function(propName){if(!this._htmlProperties){return; >+}delete this._htmlProperties[propName]; >+if(this._isCreated){this.getElement().removeAttribute(propName); >+delete this.getElement()[propName]; >+}return true; >+}}), >+getHtmlProperty:function(propName){if(!this._htmlProperties){return ""; >+}return this._htmlProperties[propName]||""; >+}, >+_applyHtmlProperties:function(elem){var vProperties=this._htmlProperties; >+if(vProperties){var propName; >+for(propName in vProperties){elem[propName]=vProperties[propName]; >+}}}, >+_generateHtmlId:function(){var id=this.classname+"."+qx.ui.core.Widget._idCounter++; >+this.debug("setting autogenerated HTML id to "+id); >+this.setHtmlProperty("id", >+id); >+}, >+setHtmlAttribute:function(propName, >+value){qx.log.Logger.deprecatedMethodWarning(arguments.callee, >+"Use setHtmlProperty instead"); >+if(!this._htmlAttributes){this._htmlAttributes={}; >+}this._htmlAttributes[propName]=value; >+if(this._isCreated){this.getElement().setAttribute(propName, >+value); >+}return true; >+}, >+removeHtmlAttribute:function(propName){qx.log.Logger.deprecatedMethodWarning(arguments.callee, >+"Use removeHtmlProperty instead"); >+if(!this._htmlAttributes){return; >+}delete this._htmlAttributes[propName]; >+if(this._isCreated){this.getElement().removeAttribute(propName); >+}return true; >+}, >+getHtmlAttribute:function(propName){if(!this._htmlAttributes){return ""; >+}return this._htmlAttributes[propName]||""; >+}, >+_applyHtmlAttributes:function(elem){var vAttributes=this._htmlAttributes; >+if(vAttributes){var propName; >+for(propName in vAttributes){elem.setAttribute(propName, >+vAttributes[propName]); >+}}}, >+getStyleProperty:function(propName){if(!this._styleProperties){return ""; >+}return this._styleProperties[propName]||""; >+}, >+__outerElementStyleProperties:{cursor:true, >+zIndex:true, >+filter:true, >+display:true, >+visibility:true}, >+setStyleProperty:function(propName, >+value){if(!this._styleProperties){this._styleProperties={}; >+}this._styleProperties[propName]=value; >+if(this._isCreated){var elem=this.__outerElementStyleProperties[propName]?this.getElement():this._getTargetNode(); >+if(elem){elem.style[propName]=(value==null)?"":value; >+}}}, >+removeStyleProperty:function(propName){if(!this._styleProperties){return; >+}delete this._styleProperties[propName]; >+if(this._isCreated){var elem=this.__outerElementStyleProperties[propName]?this.getElement():this._getTargetNode(); >+if(elem){elem.style[propName]=""; >+}}}, >+_applyStyleProperties:function(elem){var vProperties=this._styleProperties; >+if(!vProperties){return; >+}var propName; >+var vBaseElement=elem; >+var vTargetElement=this._getTargetNode(); >+var elem; >+var value; >+for(propName in vProperties){elem=this.__outerElementStyleProperties[propName]?vBaseElement:vTargetElement; >+value=vProperties[propName]; >+elem.style[propName]=(value==null)?"":value; >+}}, >+_applyEnabled:function(value, >+old){if(value===false){this.addState("disabled"); >+this.removeState("over"); >+if(qx.Class.isDefined("qx.ui.form.Button")){this.removeState("abandoned"); >+this.removeState("pressed"); >+}}else{this.removeState("disabled"); >+}}, >+isFocusable:function(){return this.getEnabled()&&this.isSeeable()&&this.getTabIndex()>=0&&this.getTabIndex()!=null; > }, >-_isWidthEssential:qx.lang.Function.returnTrue, >-_isHeightEssential:qx.lang.Function.returnTrue, >-_computeBoxWidthFallback:function(){return 0; >+isFocusRoot:function(){return false; > }, >-_computeBoxHeightFallback:function(){return 0; >+getFocusRoot:function(){if(this._hasParent){return this.getParent().getFocusRoot(); >+}return null; > }, >-_computeBoxWidth:function(){var vLayoutImpl=this.getParent().getLayoutImpl(); >-return Math.max(0, >-qx.lang.Number.limit(vLayoutImpl.computeChildBoxWidth(this), >-this.getMinWidthValue(), >-this.getMaxWidthValue())); >+getActiveChild:function(){var vRoot=this.getFocusRoot(); >+if(vRoot){return vRoot.getActiveChild(); >+}return null; > }, >-_computeBoxHeight:function(){var vLayoutImpl=this.getParent().getLayoutImpl(); >-return Math.max(0, >-qx.lang.Number.limit(vLayoutImpl.computeChildBoxHeight(this), >-this.getMinHeightValue(), >-this.getMaxHeightValue())); >+_ontabfocus:qx.lang.Function.returnTrue, >+_applyFocused:function(value, >+old){if(!this.isCreated()){return; >+}var vFocusRoot=this.getFocusRoot(); >+if(vFocusRoot){if(value){vFocusRoot.setFocusedChild(this); >+this._visualizeFocus(); >+}else{if(vFocusRoot.getFocusedChild()==this){vFocusRoot.setFocusedChild(null); >+}this._visualizeBlur(); >+}}}, >+_applyHideFocus:qx.core.Variant.select("qx.client", >+{"mshtml":function(value, >+old){this.setHtmlProperty("hideFocus", >+value); > }, >-_computeOuterWidth:function(){return Math.max(0, >-(this.getMarginLeft()+this.getBoxWidth()+this.getMarginRight())); >+"default":qx.lang.Function.returnTrue}), >+_visualizeBlur:function(){if(this.getEnableElementFocus()&&(!this.getFocusRoot().getFocusedChild()||(this.getFocusRoot().getFocusedChild()&&this.getFocusRoot().getFocusedChild().getEnableElementFocus()))){try{this.getElement().blur(); >+}catch(ex){}}this.removeState("focused"); > }, >-_computeOuterHeight:function(){return Math.max(0, >-(this.getMarginTop()+this.getBoxHeight()+this.getMarginBottom())); >+_visualizeFocus:function(){if(!qx.event.handler.FocusHandler.mouseFocus&&this.getEnableElementFocus()){try{this.getElement().focus(); >+}catch(ex){}}this.addState("focused"); > }, >-_computeInnerWidth:function(){return Math.max(0, >-this.getBoxWidth()-this.getFrameWidth()); >+focus:function(){delete qx.event.handler.FocusHandler.mouseFocus; >+this.setFocused(true); > }, >-_computeInnerHeight:function(){return Math.max(0, >-this.getBoxHeight()-this.getFrameHeight()); >+blur:function(){delete qx.event.handler.FocusHandler.mouseFocus; >+this.setFocused(false); > }, >-getNeededWidth:function(){var vLayoutImpl=this.getParent().getLayoutImpl(); >-return Math.max(0, >-vLayoutImpl.computeChildNeededWidth(this)); >+_applyCapture:function(value, >+old){var vMgr=qx.event.handler.EventHandler.getInstance(); >+if(old){vMgr.setCaptureWidget(null); >+}else if(value){vMgr.setCaptureWidget(this); >+}}, >+_applyZIndex:function(value, >+old){if(value==null){this.removeStyleProperty("zIndex"); >+}else{this.setStyleProperty("zIndex", >+value); >+}}, >+_applyTabIndex:qx.core.Variant.select("qx.client", >+{"mshtml":function(value, >+old){this.setHtmlProperty("tabIndex", >+value<0?-1:1); > }, >-getNeededHeight:function(){var vLayoutImpl=this.getParent().getLayoutImpl(); >-return Math.max(0, >-vLayoutImpl.computeChildNeededHeight(this)); >+"gecko":function(value, >+old){this.setStyleProperty("MozUserFocus", >+(value<0?"ignore":"normal")); > }, >-_recomputeFlexX:function(){if(!this.getHasFlexX()){return false; >+"default":function(value, >+old){this.setStyleProperty("userFocus", >+(value<0?"ignore":"normal")); >+this.setHtmlProperty("tabIndex", >+value<0?-1:1); >+}}), >+_applySelectable:qx.core.Variant.select("qx.client", >+{"mshtml":function(value, >+old){}, >+"gecko":function(value, >+old){if(value){this.removeStyleProperty("MozUserSelect"); >+}else{this.setStyleProperty("MozUserSelect", >+"none"); >+}}, >+"webkit":function(value, >+old){if(value){this.removeStyleProperty("WebkitUserSelect"); >+}else{this.setStyleProperty("WebkitUserSelect", >+"none"); >+}}, >+"khtml":function(value, >+old){if(value){this.removeStyleProperty("KhtmlUserSelect"); >+}else{this.setStyleProperty("KhtmlUserSelect", >+"none"); >+}}, >+"default":function(value, >+old){if(value){return this.removeStyleProperty("userSelect"); >+}else{this.setStyleProperty("userSelect", >+"none"); >+}}}), >+_applyOpacity:qx.core.Variant.select("qx.client", >+{"mshtml":function(value, >+old){if(value==null||value>=1||value<0){this.removeStyleProperty("filter"); >+}else{this.setStyleProperty("filter", >+("Alpha(Opacity="+Math.round(value*100)+")")); >+}}, >+"default":function(value, >+old){if(value==null||value>1){if(qx.core.Variant.isSet("qx.client", >+"gecko")){this.removeStyleProperty("MozOpacity"); >+}else if(qx.core.Variant.isSet("qx.client", >+"khtml")){this.removeStyleProperty("KhtmlOpacity"); >+}this.removeStyleProperty("opacity"); >+}else{value=qx.lang.Number.limit(value, >+0, >+1); >+if(qx.core.Variant.isSet("qx.client", >+"gecko")){this.setStyleProperty("MozOpacity", >+value); >+}else if(qx.core.Variant.isSet("qx.client", >+"khtml")){this.setStyleProperty("KhtmlOpacity", >+value); >+}this.setStyleProperty("opacity", >+value); >+}}}), >+__cursorMap:qx.core.Variant.select("qx.client", >+{"mshtml":{"cursor":"hand", >+"ew-resize":"e-resize", >+"ns-resize":"n-resize", >+"nesw-resize":"ne-resize", >+"nwse-resize":"nw-resize"}, >+"opera":{"col-resize":"e-resize", >+"row-resize":"n-resize", >+"ew-resize":"e-resize", >+"ns-resize":"n-resize", >+"nesw-resize":"ne-resize", >+"nwse-resize":"nw-resize"}, >+"default":{}}), >+_applyCursor:function(value, >+old){if(value){this.setStyleProperty("cursor", >+this.__cursorMap[value]||value); >+}else{this.removeStyleProperty("cursor"); >+}}, >+_applyCommand:function(value, >+old){}, >+_applyBackgroundImage:function(value, >+old){var imageMgr=qx.io.image.Manager.getInstance(); >+var aliasMgr=qx.io.Alias.getInstance(); >+if(old){imageMgr.hide(old); > } >-if(this._computedWidthTypeFlex){this._computedWidthValue=null; >-this.addToLayoutChanges("width"); >-}return true; >+if(value){imageMgr.show(value); >+}aliasMgr.connect(this._styleBackgroundImage, >+this, >+value); > }, >-_recomputeFlexY:function(){if(!this.getHasFlexY()){return false; >-} >-if(this._computedHeightTypeFlex){this._computedHeightValue=null; >-this.addToLayoutChanges("height"); >-}return true; >+_styleBackgroundImage:function(value){value?this.setStyleProperty("backgroundImage", >+"url("+value+")"):this.removeStyleProperty("backgroundImage"); > }, >-_recomputePercentX:function(){if(!this.getHasPercentX()){return false; >-} >-if(this._computedWidthTypePercent){this._computedWidthValue=null; >-this.addToLayoutChanges("width"); >-} >-if(this._computedMinWidthTypePercent){this._computedMinWidthValue=null; >-this.addToLayoutChanges("minWidth"); >-} >-if(this._computedMaxWidthTypePercent){this._computedMaxWidthValue=null; >-this.addToLayoutChanges("maxWidth"); >-} >-if(this._computedLeftTypePercent){this._computedLeftValue=null; >-this.addToLayoutChanges("left"); >-} >-if(this._computedRightTypePercent){this._computedRightValue=null; >-this.addToLayoutChanges("right"); >-}return true; >+_applyBackgroundRepeat:function(value, >+old){value?this.setStyleProperty("backgroundRepeat", >+value):this.removeStyleProperty("backgroundRepeat"); > }, >-_recomputePercentY:function(){if(!this.getHasPercentY()){return false; >-} >-if(this._computedHeightTypePercent){this._computedHeightValue=null; >-this.addToLayoutChanges("height"); >-} >-if(this._computedMinHeightTypePercent){this._computedMinHeightValue=null; >-this.addToLayoutChanges("minHeight"); >-} >-if(this._computedMaxHeightTypePercent){this._computedMaxHeightValue=null; >-this.addToLayoutChanges("maxHeight"); >-} >-if(this._computedTopTypePercent){this._computedTopValue=null; >-this.addToLayoutChanges("top"); >-} >-if(this._computedBottomTypePercent){this._computedBottomValue=null; >-this.addToLayoutChanges("bottom"); >-}return true; >+_applyClip:function(value, >+old){return this._compileClipString(); > }, >-_recomputeRangeX:qx.core.Variant.select("qx.client", >-{"mshtml|opera|webkit":function(){if(this._computedLeftTypeNull||this._computedRightTypeNull){return false; >-}this.addToLayoutChanges("width"); >-return true; >+_compileClipString:function(){var vLeft=this.getClipLeft(); >+var vTop=this.getClipTop(); >+var vWidth=this.getClipWidth(); >+var vHeight=this.getClipHeight(); >+var vRight, >+vBottom; >+if(vLeft==null){vRight=(vWidth==null?"auto":vWidth+"px"); >+vLeft="auto"; >+}else{vRight=(vWidth==null?"auto":vLeft+vWidth+"px"); >+vLeft=vLeft+"px"; >+} >+if(vTop==null){vBottom=(vHeight==null?"auto":vHeight+"px"); >+vTop="auto"; >+}else{vBottom=(vHeight==null?"auto":vTop+vHeight+"px"); >+vTop=vTop+"px"; >+}return this.setStyleProperty("clip", >+("rect("+vTop+","+vRight+","+vBottom+","+vLeft+")")); > }, >-"default":function(){return !(this._computedLeftTypeNull||this._computedRightTypeNull); >-}}), >-_recomputeRangeY:qx.core.Variant.select("qx.client", >-{"mshtml|opera|webkit":function(){if(this._computedTopTypeNull||this._computedBottomTypeNull){return false; >-}this.addToLayoutChanges("height"); >-return true; >+_applyOverflow:qx.core.Variant.select("qx.client", >+{"default":function(value, >+old){var pv=value; >+var pn="overflow"; >+switch(value){case "scrollX":pn="overflowX"; >+pv="scroll"; >+break; >+case "scrollY":pn="overflowY"; >+pv="scroll"; >+break; >+}var a=["overflow", >+"overflowX", >+"overflowY"]; >+for(var i=0;i<a.length;i++){if(a[i]!=pn){this.removeStyleProperty(a[i]); >+}} >+switch(value){case "scrollX":this.setStyleProperty("overflowY", >+"hidden"); >+break; >+case "scrollY":this.setStyleProperty("overflowX", >+"hidden"); >+break; >+}this._renderOverflow(pn, >+pv, >+value, >+old); >+this.addToQueue("overflow"); > }, >-"default":function(){return !(this._computedTopTypeNull||this._computedBottomTypeNull); >-}}), >-_recomputeStretchingX:qx.core.Variant.select("qx.client", >-{"mshtml|opera|webkit":function(){if(this.getAllowStretchX()&&this._computedWidthTypeNull){this._computedWidthValue=null; >-this.addToLayoutChanges("width"); >-return true; >-}return false; >+"gecko":function(value, >+old){var pv=value; >+var pn="overflow"; >+switch(pv){case "hidden":pv="-moz-scrollbars-none"; >+break; >+case "scrollX":pv="-moz-scrollbars-horizontal"; >+break; >+case "scrollY":pv="-moz-scrollbars-vertical"; >+break; >+}this._renderOverflow(pn, >+pv, >+value, >+old); >+this.addToQueue("overflow"); > }, >-"default":function(){if(this.getAllowStretchX()&&this._computedWidthTypeNull){return true; >-}return false; >+"opera":function(value, >+old){var pv=value; >+var pn="overflow"; >+switch(pv){case "scrollX":case "scrollY":pv="scroll"; >+break; >+}this._renderOverflow(pn, >+pv, >+value, >+old); >+this.addToQueue("overflow"); > }}), >-_recomputeStretchingY:qx.core.Variant.select("qx.client", >-{"mshtml|opera|webkit":function(){if(this.getAllowStretchY()&&this._computedHeightTypeNull){this._computedHeightValue=null; >-this.addToLayoutChanges("height"); >-return true; >-}return false; >+_renderOverflow:function(pn, >+pv, >+value, >+old){this.setStyleProperty(pn, >+pv||""); >+this._invalidateFrameWidth(); >+this._invalidateFrameHeight(); > }, >-"default":function(){if(this.getAllowStretchY()&&this._computedHeightTypeNull){return true; >-}return false; >-}}), >-_computeValuePixel:function(v){return Math.round(v); >+getOverflowX:function(){var vOverflow=this.getOverflow(); >+return vOverflow=="scrollY"?"hidden":vOverflow; > }, >-_computeValuePixelLimit:function(v){return Math.max(0, >-this._computeValuePixel(v)); >+getOverflowY:function(){var vOverflow=this.getOverflow(); >+return vOverflow=="scrollX"?"hidden":vOverflow; > }, >-_computeValuePercentX:function(v){return Math.round(this.getParent().getInnerWidthForChild(this)*v*0.01); >+_applyBackgroundColor:function(value, >+old){qx.theme.manager.Color.getInstance().connect(this._styleBackgroundColor, >+this, >+value); > }, >-_computeValuePercentXLimit:function(v){return Math.max(0, >-this._computeValuePercentX(v)); >+_styleBackgroundColor:function(value){value?this.setStyleProperty("backgroundColor", >+value):this.removeStyleProperty("backgroundColor"); > }, >-_computeValuePercentY:function(v){return Math.round(this.getParent().getInnerHeightForChild(this)*v*0.01); >+_applyTextColor:function(value, >+old){}, >+_applyFont:function(value, >+old){}, >+_cachedBorderTop:0, >+_cachedBorderRight:0, >+_cachedBorderBottom:0, >+_cachedBorderLeft:0, >+_applyBorder:function(value, >+old){qx.theme.manager.Border.getInstance().connect(this._queueBorder, >+this, >+value); > }, >-_computeValuePercentYLimit:function(v){return Math.max(0, >-this._computeValuePercentY(v)); >+__borderJobs:{top:"borderTop", >+right:"borderRight", >+bottom:"borderBottom", >+left:"borderLeft"}, >+_queueBorder:function(value, >+edge){if(!edge){var jobs=this.__borderJobs; >+for(var entry in jobs){this.addToQueue(jobs[entry]); >+}this.__reflowBorderX(value); >+this.__reflowBorderY(value); >+}else{if(edge==="left"||edge==="right"){this.__reflowBorderX(value); >+}else{this.__reflowBorderY(value); >+}this.addToQueue(this.__borderJobs[edge]); >+}this.__borderObject=value; > }, >-getWidthValue:function(){if(this._computedWidthValue!=null){return this._computedWidthValue; >+__reflowBorderX:function(value){var oldLeftWidth=this._cachedBorderLeft; >+var oldRightWidth=this._cachedBorderRight; >+this._cachedBorderLeft=value?value.getWidthLeft():0; >+this._cachedBorderRight=value?value.getWidthRight():0; >+if((oldLeftWidth+oldRightWidth)!=(this._cachedBorderLeft+this._cachedBorderRight)){this._invalidateFrameWidth(); >+}}, >+__reflowBorderY:function(value){var oldTopWidth=this._cachedBorderTop; >+var oldBottomWidth=this._cachedBorderBottom; >+this._cachedBorderTop=value?value.getWidthTop():0; >+this._cachedBorderBottom=value?value.getWidthBottom():0; >+if((oldTopWidth+oldBottomWidth)!=(this._cachedBorderTop+this._cachedBorderBottom)){this._invalidateFrameHeight(); >+}}, >+renderBorder:function(changes){var value=this.__borderObject; >+if(value){if(changes.borderTop){value.renderTop(this); > } >-switch(this._computedWidthType){case qx.ui.core.Widget.TYPE_PIXEL:return this._computedWidthValue=this._computeValuePixelLimit(this._computedWidthParsed); >-case qx.ui.core.Widget.TYPE_PERCENT:return this._computedWidthValue=this._computeValuePercentXLimit(this._computedWidthParsed); >-case qx.ui.core.Widget.TYPE_AUTO:return this._computedWidthValue=this.getPreferredBoxWidth(); >-case qx.ui.core.Widget.TYPE_FLEX:if(this.getParent().getLayoutImpl().computeChildrenFlexWidth===undefined){throw new Error("Widget "+this+": having horizontal flex size (width="+this.getWidth()+") but parent layout "+this.getParent()+" does not support it"); >-}this.getParent().getLayoutImpl().computeChildrenFlexWidth(); >-return this._computedWidthValue=this._computedWidthFlexValue; >-}return null; >-}, >-getMinWidthValue:function(){if(this._computedMinWidthValue!=null){return this._computedMinWidthValue; >+if(changes.borderRight){value.renderRight(this); > } >-switch(this._computedMinWidthType){case qx.ui.core.Widget.TYPE_PIXEL:return this._computedWidthValue=this._computeValuePixelLimit(this._computedMinWidthParsed); >-case qx.ui.core.Widget.TYPE_PERCENT:return this._computedWidthValue=this._computeValuePercentXLimit(this._computedMinWidthParsed); >-case qx.ui.core.Widget.TYPE_AUTO:return this._computedMinWidthValue=this.getPreferredBoxWidth(); >-}return null; >-}, >-getMaxWidthValue:function(){if(this._computedMaxWidthValue!=null){return this._computedMaxWidthValue; >+if(changes.borderBottom){value.renderBottom(this); > } >-switch(this._computedMaxWidthType){case qx.ui.core.Widget.TYPE_PIXEL:return this._computedWidthValue=this._computeValuePixelLimit(this._computedMaxWidthParsed); >-case qx.ui.core.Widget.TYPE_PERCENT:return this._computedWidthValue=this._computeValuePercentXLimit(this._computedMaxWidthParsed); >-case qx.ui.core.Widget.TYPE_AUTO:return this._computedMaxWidthValue=this.getPreferredBoxWidth(); >-}return null; >-}, >-getLeftValue:function(){if(this._computedLeftValue!=null){return this._computedLeftValue; >+if(changes.borderLeft){value.renderLeft(this); >+}}else{var border=qx.ui.core.Border; >+if(changes.borderTop){border.resetTop(this); > } >-switch(this._computedLeftType){case qx.ui.core.Widget.TYPE_PIXEL:return this._computedLeftValue=this._computeValuePixel(this._computedLeftParsed); >-case qx.ui.core.Widget.TYPE_PERCENT:return this._computedLeftValue=this._computeValuePercentX(this._computedLeftParsed); >-}return null; >-}, >-getRightValue:function(){if(this._computedRightValue!=null){return this._computedRightValue; >+if(changes.borderRight){border.resetRight(this); > } >-switch(this._computedRightType){case qx.ui.core.Widget.TYPE_PIXEL:return this._computedRightValue=this._computeValuePixel(this._computedRightParsed); >-case qx.ui.core.Widget.TYPE_PERCENT:return this._computedRightValue=this._computeValuePercentX(this._computedRightParsed); >-}return null; >-}, >-getHeightValue:function(){if(this._computedHeightValue!=null){return this._computedHeightValue; >+if(changes.borderBottom){border.resetBottom(this); > } >-switch(this._computedHeightType){case qx.ui.core.Widget.TYPE_PIXEL:return this._computedHeightValue=this._computeValuePixelLimit(this._computedHeightParsed); >-case qx.ui.core.Widget.TYPE_PERCENT:return this._computedHeightValue=this._computeValuePercentYLimit(this._computedHeightParsed); >-case qx.ui.core.Widget.TYPE_AUTO:return this._computedHeightValue=this.getPreferredBoxHeight(); >-case qx.ui.core.Widget.TYPE_FLEX:if(this.getParent().getLayoutImpl().computeChildrenFlexHeight===undefined){throw new Error("Widget "+this+": having vertical flex size (height="+this.getHeight()+") but parent layout "+this.getParent()+" does not support it"); >-}this.getParent().getLayoutImpl().computeChildrenFlexHeight(); >-return this._computedHeightValue=this._computedHeightFlexValue; >-}return null; >+if(changes.borderLeft){border.resetLeft(this); >+}}}, >+prepareEnhancedBorder:qx.core.Variant.select("qx.client", >+{"gecko":qx.lang.Function.returnTrue, >+"default":function(){var elem=this.getElement(); >+var cl=this._borderElement=document.createElement("div"); >+var es=elem.style; >+var cs=this._innerStyle=cl.style; >+if(qx.core.Variant.isSet("qx.client", >+"mshtml")){}else{cs.width=cs.height="100%"; >+}cs.position="absolute"; >+for(var i in this._styleProperties){switch(i){case "zIndex":case "filter":case "display":break; >+default:cs[i]=es[i]; >+es[i]=""; >+}} >+for(var i in this._htmlProperties){switch(i){case "unselectable":cl.unselectable=this._htmlProperties[i]; >+}}while(elem.firstChild){cl.appendChild(elem.firstChild); >+}elem.appendChild(cl); >+}}), >+_applyPaddingTop:function(value, >+old){this.addToQueue("paddingTop"); >+this._invalidateFrameHeight(); > }, >-getMinHeightValue:function(){if(this._computedMinHeightValue!=null){return this._computedMinHeightValue; >-} >-switch(this._computedMinHeightType){case qx.ui.core.Widget.TYPE_PIXEL:return this._computedMinHeightValue=this._computeValuePixelLimit(this._computedMinHeightParsed); >-case qx.ui.core.Widget.TYPE_PERCENT:return this._computedMinHeightValue=this._computeValuePercentYLimit(this._computedMinHeightParsed); >-case qx.ui.core.Widget.TYPE_AUTO:return this._computedMinHeightValue=this.getPreferredBoxHeight(); >-}return null; >+_applyPaddingRight:function(value, >+old){this.addToQueue("paddingRight"); >+this._invalidateFrameWidth(); > }, >-getMaxHeightValue:function(){if(this._computedMaxHeightValue!=null){return this._computedMaxHeightValue; >-} >-switch(this._computedMaxHeightType){case qx.ui.core.Widget.TYPE_PIXEL:return this._computedMaxHeightValue=this._computeValuePixelLimit(this._computedMaxHeightParsed); >-case qx.ui.core.Widget.TYPE_PERCENT:return this._computedMaxHeightValue=this._computeValuePercentYLimit(this._computedMaxHeightParsed); >-case qx.ui.core.Widget.TYPE_AUTO:return this._computedMaxHeightValue=this.getPreferredBoxHeight(); >-}return null; >+_applyPaddingBottom:function(value, >+old){this.addToQueue("paddingBottom"); >+this._invalidateFrameHeight(); > }, >-getTopValue:function(){if(this._computedTopValue!=null){return this._computedTopValue; >-} >-switch(this._computedTopType){case qx.ui.core.Widget.TYPE_PIXEL:return this._computedTopValue=this._computeValuePixel(this._computedTopParsed); >-case qx.ui.core.Widget.TYPE_PERCENT:return this._computedTopValue=this._computeValuePercentY(this._computedTopParsed); >-}return null; >+_applyPaddingLeft:function(value, >+old){this.addToQueue("paddingLeft"); >+this._invalidateFrameWidth(); > }, >-getBottomValue:function(){if(this._computedBottomValue!=null){return this._computedBottomValue; >-} >-switch(this._computedBottomType){case qx.ui.core.Widget.TYPE_PIXEL:return this._computedBottomValue=this._computeValuePixel(this._computedBottomParsed); >-case qx.ui.core.Widget.TYPE_PERCENT:return this._computedBottomValue=this._computeValuePercentY(this._computedBottomParsed); >-}return null; >+renderPadding:function(changes){}, >+_applyMarginLeft:function(value, >+old){this.addToQueue("marginLeft"); > }, >-_computeFrameWidth:function(){var fw=this._cachedBorderLeft+this.getPaddingLeft()+this.getPaddingRight()+this._cachedBorderRight; >-switch(this.getOverflow()){case "scroll":case "scrollY":fw+=qx.ui.core.Widget.SCROLLBAR_SIZE; >-break; >-case "auto":break; >-}return fw; >+_applyMarginRight:function(value, >+old){this.addToQueue("marginRight"); > }, >-_computeFrameHeight:function(){var fh=this._cachedBorderTop+this.getPaddingTop()+this.getPaddingBottom()+this._cachedBorderBottom; >-switch(this.getOverflow()){case "scroll":case "scrollX":fh+=qx.ui.core.Widget.SCROLLBAR_SIZE; >-break; >-case "auto":break; >-}return fh; >+_applyMarginTop:function(value, >+old){this.addToQueue("marginTop"); >+}, >+_applyMarginBottom:function(value, >+old){this.addToQueue("marginBottom"); >+}, >+execute:function(){var cmd=this.getCommand(); >+if(cmd){cmd.execute(this); >+}this.createDispatchEvent("execute"); >+}, >+_visualPropertyCheck:function(){if(!this.isCreated()){throw new Error(this.classname+": Element must be created previously!"); >+}}, >+setScrollLeft:function(nScrollLeft){this._visualPropertyCheck(); >+this._getTargetNode().scrollLeft=nScrollLeft; > }, >-_invalidateFrameDimensions:function(){this._invalidateFrameWidth(); >-this._invalidateFrameHeight(); >+setScrollTop:function(nScrollTop){this._visualPropertyCheck(); >+this._getTargetNode().scrollTop=nScrollTop; > }, >-_invalidatePreferredInnerDimensions:function(){this._invalidatePreferredInnerWidth(); >-this._invalidatePreferredInnerHeight(); >+getOffsetLeft:function(){this._visualPropertyCheck(); >+return qx.html.Offset.getLeft(this.getElement()); > }, >-_computePreferredBoxWidth:function(){try{return Math.max(0, >-this.getPreferredInnerWidth()+this.getFrameWidth()); >-}catch(ex){this.error("_computePreferredBoxWidth failed", >-ex); >-}}, >-_computePreferredBoxHeight:function(){try{return Math.max(0, >-this.getPreferredInnerHeight()+this.getFrameHeight()); >-}catch(ex){this.error("_computePreferredBoxHeight failed", >-ex); >-}}, >-_initialLayoutDone:false, >-addToLayoutChanges:function(p){if(this._isDisplayable){this.getParent()._addChildToChildrenQueue(this); >-}return this._layoutChanges[p]=true; >+getOffsetTop:function(){this._visualPropertyCheck(); >+return qx.html.Offset.getTop(this.getElement()); > }, >-addToQueue:function(p){this._initialLayoutDone?this.addToJobQueue(p):this.addToLayoutChanges(p); >+getScrollLeft:function(){this._visualPropertyCheck(); >+return this._getTargetNode().scrollLeft; > }, >-addToQueueRuntime:function(p){return !this._initialLayoutDone||this.addToJobQueue(p); >+getScrollTop:function(){this._visualPropertyCheck(); >+return this._getTargetNode().scrollTop; > }, >-_computeHasPercentX:function(){return (this._computedLeftTypePercent||this._computedWidthTypePercent||this._computedMinWidthTypePercent||this._computedMaxWidthTypePercent||this._computedRightTypePercent); >+getClientWidth:function(){this._visualPropertyCheck(); >+return this._getTargetNode().clientWidth; > }, >-_computeHasPercentY:function(){return (this._computedTopTypePercent||this._computedHeightTypePercent||this._computedMinHeightTypePercent||this._computedMaxHeightTypePercent||this._computedBottomTypePercent); >+getClientHeight:function(){this._visualPropertyCheck(); >+return this._getTargetNode().clientHeight; > }, >-_computeHasAutoX:function(){return (this._computedWidthTypeAuto||this._computedMinWidthTypeAuto||this._computedMaxWidthTypeAuto); >+getOffsetWidth:function(){this._visualPropertyCheck(); >+return this.getElement().offsetWidth; > }, >-_computeHasAutoY:function(){return (this._computedHeightTypeAuto||this._computedMinHeightTypeAuto||this._computedMaxHeightTypeAuto); >+getOffsetHeight:function(){this._visualPropertyCheck(); >+return this.getElement().offsetHeight; > }, >-_computeHasFlexX:function(){return this._computedWidthTypeFlex; >+getScrollWidth:function(){this._visualPropertyCheck(); >+return this._getTargetNode().scrollWidth; > }, >-_computeHasFlexY:function(){return this._computedHeightTypeFlex; >+getScrollHeight:function(){this._visualPropertyCheck(); >+return this._getTargetNode().scrollHeight; > }, >-_evalUnitsPixelPercentAutoFlex:function(value){switch(value){case "auto":return qx.ui.core.Widget.TYPE_AUTO; >-case Infinity:case -Infinity:return qx.ui.core.Widget.TYPE_NULL; >-} >-switch(typeof value){case "number":return isNaN(value)?qx.ui.core.Widget.TYPE_NULL:qx.ui.core.Widget.TYPE_PIXEL; >-case "string":return value.indexOf("%")!=-1?qx.ui.core.Widget.TYPE_PERCENT:value.indexOf("*")!=-1?qx.ui.core.Widget.TYPE_FLEX:qx.ui.core.Widget.TYPE_NULL; >-}return qx.ui.core.Widget.TYPE_NULL; >+scrollIntoView:function(alignTopLeft){this.scrollIntoViewX(alignTopLeft); >+this.scrollIntoViewY(alignTopLeft); > }, >-_evalUnitsPixelPercentAuto:function(value){switch(value){case "auto":return qx.ui.core.Widget.TYPE_AUTO; >-case Infinity:case -Infinity:return qx.ui.core.Widget.TYPE_NULL; >-} >-switch(typeof value){case "number":return isNaN(value)?qx.ui.core.Widget.TYPE_NULL:qx.ui.core.Widget.TYPE_PIXEL; >-case "string":return value.indexOf("%")!=-1?qx.ui.core.Widget.TYPE_PERCENT:qx.ui.core.Widget.TYPE_NULL; >-}return qx.ui.core.Widget.TYPE_NULL; >+scrollIntoViewX:function(alignLeft){if(!this._isCreated||!this._isDisplayable){this.warn("The function scrollIntoViewX can only be called after the widget is created!"); >+return false; >+}return qx.html.ScrollIntoView.scrollX(this.getElement(), >+alignLeft); > }, >-_evalUnitsPixelPercent:function(value){switch(value){case Infinity:case -Infinity:return qx.ui.core.Widget.TYPE_NULL; >-} >-switch(typeof value){case "number":return isNaN(value)?qx.ui.core.Widget.TYPE_NULL:qx.ui.core.Widget.TYPE_PIXEL; >-case "string":return value.indexOf("%")!=-1?qx.ui.core.Widget.TYPE_PERCENT:qx.ui.core.Widget.TYPE_NULL; >-}return qx.ui.core.Widget.TYPE_NULL; >+scrollIntoViewY:function(alignTop){if(!this._isCreated||!this._isDisplayable){this.warn("The function scrollIntoViewY can only be called after the widget is created!"); >+return false; >+}return qx.html.ScrollIntoView.scrollY(this.getElement(), >+alignTop); > }, >-_unitDetectionPixelPercentAutoFlex:function(name, >-value){var r=qx.ui.core.Widget.layoutPropertyTypes[name]; >-var s=r.dataType; >-var p=r.dataParsed; >-var v=r.dataValue; >-var s1=r.typePixel; >-var s2=r.typePercent; >-var s3=r.typeAuto; >-var s4=r.typeFlex; >-var s5=r.typeNull; >-var wasPercent=this[s2]; >-var wasAuto=this[s3]; >-var wasFlex=this[s4]; >-switch(this[s]=this._evalUnitsPixelPercentAutoFlex(value)){case qx.ui.core.Widget.TYPE_PIXEL:this[s1]=true; >-this[s2]=this[s3]=this[s4]=this[s5]=false; >-this[p]=this[v]=Math.round(value); >-break; >-case qx.ui.core.Widget.TYPE_PERCENT:this[s2]=true; >-this[s1]=this[s3]=this[s4]=this[s5]=false; >-this[p]=parseFloat(value); >-this[v]=null; >-break; >-case qx.ui.core.Widget.TYPE_AUTO:this[s3]=true; >-this[s1]=this[s2]=this[s4]=this[s5]=false; >-this[p]=this[v]=null; >-break; >-case qx.ui.core.Widget.TYPE_FLEX:this[s4]=true; >-this[s1]=this[s2]=this[s3]=this[s5]=false; >-this[p]=parseFloat(value); >-this[v]=null; >-break; >-default:this[s5]=true; >-this[s1]=this[s2]=this[s3]=this[s4]=false; >-this[p]=this[v]=null; >-break; >-} >-if(wasPercent!=this[s2]){switch(name){case "minWidth":case "maxWidth":case "width":case "left":case "right":this._invalidateHasPercentX(); >-break; >-case "maxHeight":case "minHeight":case "height":case "top":case "bottom":this._invalidateHasPercentY(); >-break; >-}}if(wasAuto!=this[s3]){switch(name){case "minWidth":case "maxWidth":case "width":this._invalidateHasAutoX(); >-break; >-case "minHeight":case "maxHeight":case "height":this._invalidateHasAutoY(); >-break; >-}}if(wasFlex!=this[s4]){switch(name){case "width":this._invalidateHasFlexX(); >-break; >-case "height":this._invalidateHasFlexY(); >-break; >-}}}, >-_unitDetectionPixelPercentAuto:function(name, >-value){var r=qx.ui.core.Widget.layoutPropertyTypes[name]; >-var s=r.dataType; >-var p=r.dataParsed; >-var v=r.dataValue; >-var s1=r.typePixel; >-var s2=r.typePercent; >-var s3=r.typeAuto; >-var s4=r.typeNull; >-var wasPercent=this[s2]; >-var wasAuto=this[s3]; >-switch(this[s]=this._evalUnitsPixelPercentAuto(value)){case qx.ui.core.Widget.TYPE_PIXEL:this[s1]=true; >-this[s2]=this[s3]=this[s4]=false; >-this[p]=this[v]=Math.round(value); >-break; >-case qx.ui.core.Widget.TYPE_PERCENT:this[s2]=true; >-this[s1]=this[s3]=this[s4]=false; >-this[p]=parseFloat(value); >-this[v]=null; >-break; >-case qx.ui.core.Widget.TYPE_AUTO:this[s3]=true; >-this[s1]=this[s2]=this[s4]=false; >-this[p]=this[v]=null; >-break; >-default:this[s4]=true; >-this[s1]=this[s2]=this[s3]=false; >-this[p]=this[v]=null; >-break; >-} >-if(wasPercent!=this[s2]){switch(name){case "minWidth":case "maxWidth":case "width":case "left":case "right":this._invalidateHasPercentX(); >-break; >-case "minHeight":case "maxHeight":case "height":case "top":case "bottom":this._invalidateHasPercentY(); >-break; >-}}if(wasAuto!=this[s3]){switch(name){case "minWidth":case "maxWidth":case "width":this._invalidateHasAutoX(); >-break; >-case "minHeight":case "maxHeight":case "height":this._invalidateHasAutoY(); >-break; >-}}}, >-_unitDetectionPixelPercent:function(name, >-value){var r=qx.ui.core.Widget.layoutPropertyTypes[name]; >-var s=r.dataType; >-var p=r.dataParsed; >-var v=r.dataValue; >-var s1=r.typePixel; >-var s2=r.typePercent; >-var s3=r.typeNull; >-var wasPercent=this[s2]; >-switch(this[s]=this._evalUnitsPixelPercent(value)){case qx.ui.core.Widget.TYPE_PIXEL:this[s1]=true; >-this[s2]=this[s3]=false; >-this[p]=this[v]=Math.round(value); >-break; >-case qx.ui.core.Widget.TYPE_PERCENT:this[s2]=true; >-this[s1]=this[s3]=false; >-this[p]=parseFloat(value); >-this[v]=null; >-break; >-default:this[s3]=true; >-this[s1]=this[s2]=false; >-this[p]=this[v]=null; >-break; >+supportsDrop:function(dragCache){var supportsDropMethod=this.getSupportsDropMethod(); >+if(supportsDropMethod!==null){return supportsDropMethod.call(this, >+dragCache); >+}return (this!=dragCache.sourceWidget); >+}}, >+settings:{"qx.widgetQueueDebugging":false, >+"qx.widgetDebugId":false}, >+defer:function(statics, >+members){statics.__initApplyMethods(members); >+if(qx.core.Variant.isSet("qx.client", >+"mshtml")){members._renderRuntimeWidth=function(v){this._style.pixelWidth=(v==null)?0:v; >+if(this._innerStyle){this._innerStyle.pixelWidth=(v==null)?0:v-2; >+}}; >+members._renderRuntimeHeight=function(v){this._style.pixelHeight=(v==null)?0:v; >+if(this._innerStyle){this._innerStyle.pixelHeight=(v==null)?0:v-2; >+}}; >+members._resetRuntimeWidth=function(){this._style.width=""; >+if(this._innerStyle){this._innerStyle.width=""; >+}}; >+members._resetRuntimeHeight=function(){this._style.height=""; >+if(this._innerStyle){this._innerStyle.height=""; >+}}; >+}statics.__initLayoutProperties(statics); >+{if(qx.core.Setting.get("qx.widgetQueueDebugging")){statics.flushGlobalQueues=function(){if(statics._inFlushGlobalQueues||!qx.core.Init.getInstance().getApplication().getUiReady()){return; > } >-if(wasPercent!=this[s2]){switch(name){case "minWidth":case "maxWidth":case "width":case "left":case "right":this._invalidateHasPercentX(); >-break; >-case "minHeight":case "maxHeight":case "height":case "top":case "bottom":this._invalidateHasPercentY(); >-break; >-}}}, >-getTopLevelWidget:function(){return this._hasParent?this.getParent().getTopLevelWidget():null; >+if(!(statics._globalWidgetQueue.length>0||statics._globalElementQueue.length>0||statics._globalStateQueue.length>0||statics._globalJobQueue.length>0||statics._globalLayoutQueue.length>0||statics._fastGlobalDisplayQueue.length>0||!qx.lang.Object.isEmpty(statics._lazyGlobalDisplayQueue))){return; >+}var globalWidgetQueueLength=statics._globalWidgetQueue.length; >+var globalElementQueueLength=statics._globalElementQueue.length; >+var globalStateQueueLength=statics._globalStateQueue.length; >+var globalJobQueueLength=statics._globalJobQueue.length; >+var globalLayoutQueueLength=statics._globalLayoutQueue.length; >+var fastGlobalDisplayQueueLength=statics._fastGlobalDisplayQueue.length; >+var lazyGlobalDisplayQueueLength=statics._lazyGlobalDisplayQueue?statics._lazyGlobalDisplayQueue.length:0; >+statics._inFlushGlobalQueues=true; >+var start; >+start=(new Date).valueOf(); >+statics.flushGlobalWidgetQueue(); >+var vWidgetDuration=(new Date).valueOf()-start; >+start=(new Date).valueOf(); >+statics.flushGlobalStateQueue(); >+var vStateDuration=(new Date).valueOf()-start; >+start=(new Date).valueOf(); >+statics.flushGlobalElementQueue(); >+var vElementDuration=(new Date).valueOf()-start; >+start=(new Date).valueOf(); >+statics.flushGlobalJobQueue(); >+var vJobDuration=(new Date).valueOf()-start; >+start=(new Date).valueOf(); >+statics.flushGlobalLayoutQueue(); >+var vLayoutDuration=(new Date).valueOf()-start; >+start=(new Date).valueOf(); >+statics.flushGlobalDisplayQueue(); >+var vDisplayDuration=(new Date).valueOf()-start; >+var vSum=vWidgetDuration+vStateDuration+vElementDuration+vJobDuration+vLayoutDuration+vDisplayDuration; >+if(vSum>0){var logger=qx.log.Logger.getClassLogger(qx.ui.core.Widget); >+logger.debug("Flush Global Queues"); >+logger.debug("Widgets: "+vWidgetDuration+"ms ("+globalWidgetQueueLength+")"); >+logger.debug("State: "+vStateDuration+"ms ("+globalStateQueueLength+")"); >+logger.debug("Element: "+vElementDuration+"ms ("+globalElementQueueLength+")"); >+logger.debug("Job: "+vJobDuration+"ms ("+globalJobQueueLength+")"); >+logger.debug("Layout: "+vLayoutDuration+"ms ("+globalLayoutQueueLength+")"); >+logger.debug("Display: "+vDisplayDuration+"ms (fast:"+fastGlobalDisplayQueueLength+",lazy:"+lazyGlobalDisplayQueueLength+")"); >+window.status="Flush: Widget:"+vWidgetDuration+" State:"+vStateDuration+" Element:"+vElementDuration+" Job:"+vJobDuration+" Layout:"+vLayoutDuration+" Display:"+vDisplayDuration; >+}delete statics._inFlushGlobalQueues; >+}; >+}}; >+}, >+destruct:function(){var elem=this.getElement(); >+if(elem){elem.qx_Widget=null; >+}this._disposeFields("_isCreated", >+"_inlineEvents", >+"_element", >+"_style", >+"_borderElement", >+"_innerStyle", >+"_oldParent", >+"_styleProperties", >+"_htmlProperties", >+"_htmlAttributes", >+"__states", >+"_jobQueue", >+"_layoutChanges", >+"__borderObject"); >+}}); >+ >+ >+ >+ >+/* ID: qx.html.Dimension */ >+qx.Class.define("qx.html.Dimension", >+{statics:{getOuterWidth:function(el){return qx.html.Dimension.getBoxWidth(el)+qx.html.Style.getMarginLeft(el)+qx.html.Style.getMarginRight(el); > }, >-moveSelfBefore:function(vBefore){this.getParent().addBefore(this, >-vBefore); >+getOuterHeight:function(el){return qx.html.Dimension.getBoxHeight(el)+qx.html.Style.getMarginTop(el)+qx.html.Style.getMarginBottom(el); > }, >-moveSelfAfter:function(vAfter){this.getParent().addAfter(this, >-vAfter); >+getBoxWidthForZeroHeight:function(el){var h=el.offsetHeight; >+if(h==0){var o=el.style.height; >+el.style.height="1px"; >+}var v=el.offsetWidth; >+if(h==0){el.style.height=o; >+}return v; > }, >-moveSelfToBegin:function(){this.getParent().addAtBegin(this); >+getBoxHeightForZeroWidth:function(el){var w=el.offsetWidth; >+if(w==0){var o=el.style.width; >+el.style.width="1px"; >+}var v=el.offsetHeight; >+if(w==0){el.style.width=o; >+}return v; > }, >-moveSelfToEnd:function(){this.getParent().addAtEnd(this); >+getBoxWidth:function(el){return el.offsetWidth; > }, >-getPreviousSibling:function(){var p=this.getParent(); >-if(p==null){return null; >-}var cs=p.getChildren(); >-return cs[cs.indexOf(this)-1]; >+getBoxHeight:function(el){return el.offsetHeight; > }, >-getNextSibling:function(){var p=this.getParent(); >-if(p==null){return null; >-}var cs=p.getChildren(); >-return cs[cs.indexOf(this)+1]; >+getAreaWidth:qx.core.Variant.select("qx.client", >+{"gecko":function(el){if(el.clientWidth!=0&&el.clientWidth!=(qx.html.Style.getBorderLeft(el)+qx.html.Style.getBorderRight(el))){return el.clientWidth; >+}else{return qx.html.Dimension.getBoxWidth(el)-qx.html.Dimension.getInsetLeft(el)-qx.html.Dimension.getInsetRight(el); >+}}, >+"default":function(el){return el.clientWidth!=0?el.clientWidth:(qx.html.Dimension.getBoxWidth(el)-qx.html.Dimension.getInsetLeft(el)-qx.html.Dimension.getInsetRight(el)); >+}}), >+getAreaHeight:qx.core.Variant.select("qx.client", >+{"gecko":function(el){if(el.clientHeight!=0&&el.clientHeight!=(qx.html.Style.getBorderTop(el)+qx.html.Style.getBorderBottom(el))){return el.clientHeight; >+}else{return qx.html.Dimension.getBoxHeight(el)-qx.html.Dimension.getInsetTop(el)-qx.html.Dimension.getInsetBottom(el); >+}}, >+"default":function(el){return el.clientHeight!=0?el.clientHeight:(qx.html.Dimension.getBoxHeight(el)-qx.html.Dimension.getInsetTop(el)-qx.html.Dimension.getInsetBottom(el)); >+}}), >+getInnerWidth:function(el){return qx.html.Dimension.getAreaWidth(el)-qx.html.Style.getPaddingLeft(el)-qx.html.Style.getPaddingRight(el); > }, >-getPreviousVisibleSibling:function(){if(!this._hasParent){return null; >-}var vChildren=this.getParent().getVisibleChildren(); >-return vChildren[vChildren.indexOf(this)-1]; >+getInnerHeight:function(el){return qx.html.Dimension.getAreaHeight(el)-qx.html.Style.getPaddingTop(el)-qx.html.Style.getPaddingBottom(el); > }, >-getNextVisibleSibling:function(){if(!this._hasParent){return null; >-}var vChildren=this.getParent().getVisibleChildren(); >-return vChildren[vChildren.indexOf(this)+1]; >+getInsetLeft:qx.core.Variant.select("qx.client", >+{"mshtml":function(el){return el.clientLeft; > }, >-getPreviousActiveSibling:function(vIgnoreClasses){var vPrev=qx.ui.core.Widget.getActiveSiblingHelper(this, >-this.getParent(), >--1, >-vIgnoreClasses, >-null); >-return vPrev?vPrev:this.getParent().getLastActiveChild(); >+"default":function(el){return qx.html.Style.getBorderLeft(el); >+}}), >+getInsetTop:qx.core.Variant.select("qx.client", >+{"mshtml":function(el){return el.clientTop; > }, >-getNextActiveSibling:function(vIgnoreClasses){var vNext=qx.ui.core.Widget.getActiveSiblingHelper(this, >-this.getParent(), >-1, >-vIgnoreClasses, >-null); >-return vNext?vNext:this.getParent().getFirstActiveChild(); >+"default":function(el){return qx.html.Style.getBorderTop(el); >+}}), >+getInsetRight:qx.core.Variant.select("qx.client", >+{"mshtml":function(el){if(qx.html.Style.getStyleProperty(el, >+"overflowY")=="hidden"||el.clientWidth==0){return qx.html.Style.getBorderRight(el); >+}return Math.max(0, >+el.offsetWidth-el.clientLeft-el.clientWidth); > }, >-isFirstChild:function(){return this._hasParent&&this.getParent().getFirstChild()==this; >+"default":function(el){if(el.clientWidth==0){var ov=qx.html.Style.getStyleProperty(el, >+"overflow"); >+var sbv=ov=="scroll"||ov=="-moz-scrollbars-vertical"?16:0; >+return Math.max(0, >+qx.html.Style.getBorderRight(el)+sbv); >+}return Math.max(0, >+el.offsetWidth-el.clientWidth-qx.html.Style.getBorderLeft(el)); >+}}), >+getInsetBottom:qx.core.Variant.select("qx.client", >+{"mshtml":function(el){if(qx.html.Style.getStyleProperty(el, >+"overflowX")=="hidden"||el.clientHeight==0){return qx.html.Style.getBorderBottom(el); >+}return Math.max(0, >+el.offsetHeight-el.clientTop-el.clientHeight); > }, >-isLastChild:function(){return this._hasParent&&this.getParent().getLastChild()==this; >+"default":function(el){if(el.clientHeight==0){var ov=qx.html.Style.getStyleProperty(el, >+"overflow"); >+var sbv=ov=="scroll"||ov=="-moz-scrollbars-horizontal"?16:0; >+return Math.max(0, >+qx.html.Style.getBorderBottom(el)+sbv); >+}return Math.max(0, >+el.offsetHeight-el.clientHeight-qx.html.Style.getBorderTop(el)); >+}}), >+getScrollBarSizeLeft:function(el){return 0; > }, >-isFirstVisibleChild:function(){return this._hasParent&&this.getParent().getFirstVisibleChild()==this; >+getScrollBarSizeTop:function(el){return 0; > }, >-isLastVisibleChild:function(){return this._hasParent&&this.getParent().getLastVisibleChild()==this; >+getScrollBarSizeRight:function(el){return qx.html.Dimension.getInsetRight(el)-qx.html.Style.getBorderRight(el); > }, >-hasState:function(vState){return this.__states&&this.__states[vState]?true:false; >+getScrollBarSizeBottom:function(el){return qx.html.Dimension.getInsetBottom(el)-qx.html.Style.getBorderBottom(el); > }, >-addState:function(vState){if(!this.__states){this.__states={}; >+getScrollBarVisibleX:function(el){return qx.html.Dimension.getScrollBarSizeRight(el)>0; >+}, >+getScrollBarVisibleY:function(el){return qx.html.Dimension.getScrollBarSizeBottom(el)>0; >+}}}); >+ >+ >+ >+ >+/* ID: qx.html.Style */ >+qx.Class.define("qx.html.Style", >+{statics:{getStylePropertySure:qx.lang.Object.select((document.defaultView&&document.defaultView.getComputedStyle)?"hasComputed":"noComputed", >+{"hasComputed":function(el, >+prop){return !el?null:el.ownerDocument?el.ownerDocument.defaultView.getComputedStyle(el, >+"")[prop]:el.style[prop]; >+}, >+"noComputed":qx.core.Variant.select("qx.client", >+{"mshtml":function(el, >+prop){try{if(!el){return null; > } >-if(!this.__states[vState]){this.__states[vState]=true; >-if(this._hasParent){qx.ui.core.Widget.addToGlobalStateQueue(this); >-}}}, >-removeState:function(vState){if(this.__states&&this.__states[vState]){delete this.__states[vState]; >-if(this._hasParent){qx.ui.core.Widget.addToGlobalStateQueue(this); >-}}}, >-_styleFromMap:function(data){var styler=qx.core.Property.$$method.style; >-var unstyler=qx.core.Property.$$method.unstyle; >-var value; >-{for(var prop in data){if(!this[styler[prop]]){throw new Error(this.classname+' has no themeable property "'+prop+'"'); >-}}}; >-for(var prop in data){value=data[prop]; >-value==="undefined"?this[unstyler[prop]]():this[styler[prop]](value); >+if(el.parentNode&&el.currentStyle){return el.currentStyle[prop]; >+}else{var v1=el.runtimeStyle[prop]; >+if(v1!=null&&typeof v1!="undefined"&&v1!=""){return v1; >+}return el.style[prop]; >+}}catch(ex){throw new Error("Could not evaluate computed style: "+el+"["+prop+"]: "+ex); > }}, >-_unstyleFromArray:function(data){var unstyler=qx.core.Property.$$method.unstyle; >-{for(var i=0, >-l=data.length;i<l;i++){if(!this[unstyler[data[i]]]){throw new Error(this.classname+' has no themeable property "'+data[i]+'"'); >-}}}; >-for(var i=0, >-l=data.length;i<l;i++){this[unstyler[data[i]]](); >+"default":function(el, >+prop){return !el?null:el.style[prop]; >+}})}), >+getStyleProperty:qx.lang.Object.select((document.defaultView&&document.defaultView.getComputedStyle)?"hasComputed":"noComputed", >+{"hasComputed":function(el, >+prop){try{return el.ownerDocument.defaultView.getComputedStyle(el, >+"")[prop]; >+}catch(ex){throw new Error("Could not evaluate computed style: "+el+"["+prop+"]: "+ex); >+}}, >+"noComputed":qx.core.Variant.select("qx.client", >+{"mshtml":function(el, >+prop){try{return el.currentStyle[prop]; >+}catch(ex){throw new Error("Could not evaluate computed style: "+el+"["+prop+"]: "+ex); >+}}, >+"default":function(el, >+prop){try{return el.style[prop]; >+}catch(ex){throw new Error("Could not evaluate computed style: "+el+"["+prop+"]"); >+}}})}), >+getStyleSize:function(vElement, >+propertyName){return parseInt(qx.html.Style.getStyleProperty(vElement, >+propertyName))||0; >+}, >+getMarginLeft:function(vElement){return qx.html.Style.getStyleSize(vElement, >+"marginLeft"); >+}, >+getMarginTop:function(vElement){return qx.html.Style.getStyleSize(vElement, >+"marginTop"); >+}, >+getMarginRight:function(vElement){return qx.html.Style.getStyleSize(vElement, >+"marginRight"); >+}, >+getMarginBottom:function(vElement){return qx.html.Style.getStyleSize(vElement, >+"marginBottom"); >+}, >+getPaddingLeft:function(vElement){return qx.html.Style.getStyleSize(vElement, >+"paddingLeft"); >+}, >+getPaddingTop:function(vElement){return qx.html.Style.getStyleSize(vElement, >+"paddingTop"); >+}, >+getPaddingRight:function(vElement){return qx.html.Style.getStyleSize(vElement, >+"paddingRight"); >+}, >+getPaddingBottom:function(vElement){return qx.html.Style.getStyleSize(vElement, >+"paddingBottom"); >+}, >+getBorderLeft:function(vElement){return qx.html.Style.getStyleProperty(vElement, >+"borderLeftStyle")=="none"?0:qx.html.Style.getStyleSize(vElement, >+"borderLeftWidth"); >+}, >+getBorderTop:function(vElement){return qx.html.Style.getStyleProperty(vElement, >+"borderTopStyle")=="none"?0:qx.html.Style.getStyleSize(vElement, >+"borderTopWidth"); >+}, >+getBorderRight:function(vElement){return qx.html.Style.getStyleProperty(vElement, >+"borderRightStyle")=="none"?0:qx.html.Style.getStyleSize(vElement, >+"borderRightWidth"); >+}, >+getBorderBottom:function(vElement){return qx.html.Style.getStyleProperty(vElement, >+"borderBottomStyle")=="none"?0:qx.html.Style.getStyleSize(vElement, >+"borderBottomWidth"); >+}}}); >+ >+ >+ >+ >+/* ID: qx.html.StyleSheet */ >+qx.Class.define("qx.html.StyleSheet", >+{statics:{includeFile:function(vHref){var el=document.createElement("link"); >+el.type="text/css"; >+el.rel="stylesheet"; >+el.href=vHref; >+var head=document.getElementsByTagName("head")[0]; >+head.appendChild(el); >+}, >+createElement:qx.lang.Object.select(document.createStyleSheet?"ie4+":"other", >+{"ie4+":function(vCssText){var vSheet=document.createStyleSheet(); >+if(vCssText){vSheet.cssText=vCssText; >+}return vSheet; >+}, >+"other":function(vCssText){var vElement=document.createElement("style"); >+vElement.type="text/css"; >+vElement.appendChild(document.createTextNode(vCssText||"body {}")); >+document.getElementsByTagName("head")[0].appendChild(vElement); >+if(vElement.sheet){return vElement.sheet; >+}else{var styles=document.styleSheets; >+for(var i=styles.length-1;i>=0;i--){if(styles[i].ownerNode==vElement){return styles[i]; >+}}}throw "Error: Could not get a reference to the sheet object"; >+}}), >+addRule:qx.lang.Object.select(document.createStyleSheet?"ie4+":"other", >+{"ie4+":function(vSheet, >+vSelector, >+vStyle){vSheet.addRule(vSelector, >+vStyle); >+}, >+"other":qx.lang.Object.select(qx.core.Client.getInstance().isSafari2()?"safari2":"other", >+{"safari2+":function(vSheet, >+vSelector, >+vStyle){if(!vSheet._qxRules){vSheet._qxRules={}; >+} >+if(!vSheet._qxRules[vSelector]){var ruleNode=document.createTextNode(vSelector+"{"+vStyle+"}"); >+vSheet.ownerNode.appendChild(ruleNode); >+vSheet._qxRules[vSelector]=ruleNode; > }}, >-_renderAppearance:function(){if(!this.__states){this.__states={}; >-}this._applyStateStyleFocus(this.__states); >-var vAppearance=this.getAppearance(); >-if(vAppearance){try{var r=qx.theme.manager.Appearance.getInstance().styleFrom(vAppearance, >-this.__states); >-if(r){this._styleFromMap(r); >-}}catch(ex){this.error("Could not apply state appearance", >-ex); >+"other":function(vSheet, >+vSelector, >+vStyle){vSheet.insertRule(vSelector+"{"+vStyle+"}", >+vSheet.cssRules.length); >+}})}), >+removeRule:qx.lang.Object.select(document.createStyleSheet?"ie4+":"other", >+{"ie4+":function(vSheet, >+vSelector){var vRules=vSheet.rules; >+var vLength=vRules.length; >+for(var i=vLength-1;i>=0;i--){if(vRules[i].selectorText==vSelector){vSheet.removeRule(i); > }}}, >-_resetAppearanceThemeWrapper:function(vNewAppearanceTheme, >-vOldAppearanceTheme){var vAppearance=this.getAppearance(); >-if(vAppearance){var vAppearanceManager=qx.theme.manager.Appearance.getInstance(); >-var vOldAppearanceProperties=vAppearanceManager.styleFromTheme(vOldAppearanceTheme, >-vAppearance, >-this.__states); >-var vNewAppearanceProperties=vAppearanceManager.styleFromTheme(vNewAppearanceTheme, >-vAppearance, >-this.__states); >-var vUnstyleList=[]; >-for(var prop in vOldAppearanceProperties){if(vNewAppearanceProperties[prop]===undefined){vUnstyleList.push(prop); >-}}this._unstyleFromArray(vUnstyleList); >-this._styleFromMap(vNewAppearanceProperties); >+"other":qx.lang.Object.select(qx.core.Client.getInstance().isSafari2()?"safari2":"other", >+{"safari2+":function(vSheet, >+vSelector){var warn=function(){qx.log.Logger.ROOT_LOGGER.warn("In Safari/Webkit you can only remove rules that are created using qx.html.StyleSheet.addRule"); >+}; >+if(!vSheet._qxRules){warn(); >+}var ruleNode=vSheet._qxRules[vSelector]; >+if(ruleNode){vSheet.ownerNode.removeChild(ruleNode); >+vSheet._qxRules[vSelector]=null; >+}else{warn(); > }}, >-_applyStateStyleFocus:qx.core.Variant.select("qx.client", >-{"mshtml":function(vStates){}, >-"gecko":function(vStates){if(vStates.focused){if(!qx.event.handler.FocusHandler.mouseFocus&&!this.getHideFocus()){this.setStyleProperty("MozOutline", >-"1px dotted invert"); >-}}else{this.removeStyleProperty("MozOutline"); >+"other":function(vSheet, >+vSelector){var vRules=vSheet.cssRules; >+var vLength=vRules.length; >+for(var i=vLength-1;i>=0;i--){if(vRules[i].selectorText==vSelector){vSheet.deleteRule(i); >+}}}})}), >+removeAllRules:qx.lang.Object.select(document.createStyleSheet?"ie4+":"other", >+{"ie4+":function(vSheet){var vRules=vSheet.rules; >+var vLength=vRules.length; >+for(var i=vLength-1;i>=0;i--){vSheet.removeRule(i); > }}, >-"default":function(vStates){if(vStates.focused){if(!qx.event.handler.FocusHandler.mouseFocus&&!this.getHideFocus()){this.setStyleProperty("outline", >-"1px dotted invert"); >-}}else{this.removeStyleProperty("outline"); >-}}}), >-addToStateQueue:function(){qx.ui.core.Widget.addToGlobalStateQueue(this); >+"other":qx.lang.Object.select(qx.core.Client.getInstance().isSafari2()?"safari2":"other", >+{"safari2+":function(vSheet){var node=vSheet.ownerNode; >+var rules=node.childNodes; >+while(rules.length>0){node.removeChild(rules[0]); >+}}, >+"other":function(vSheet){var vRules=vSheet.cssRules; >+var vLength=vRules.length; >+for(var i=vLength-1;i>=0;i--){vSheet.deleteRule(i); >+}}})}), >+addImport:qx.lang.Object.select(document.createStyleSheet?"ie4+":"other", >+{"ie4+":function(vSheet, >+vUrl){vSheet.addImport(vUrl); > }, >-recursiveAddToStateQueue:function(){this.addToStateQueue(); >+"other":qx.lang.Object.select(qx.core.Client.getInstance().isSafari2()?"safari2":"other", >+{"safari2+":function(vSheet, >+vUrl){vSheet.ownerNode.appendChild(document.createTextNode('@import "'+vUrl+'";')); > }, >-_applyAppearance:function(value, >-old){if(!this.__states){this.__states={}; >-}var vAppearanceManager=qx.theme.manager.Appearance.getInstance(); >-if(value){var vNewAppearanceProperties=vAppearanceManager.styleFrom(value, >-this.__states)||{}; >-} >-if(old){var vOldAppearanceProperties=vAppearanceManager.styleFrom(old, >-this.__states)||{}; >-var vUnstyleList=[]; >-for(var prop in vOldAppearanceProperties){if(!vNewAppearanceProperties||!(prop in vNewAppearanceProperties)){vUnstyleList.push(prop); >-}}} >-if(vUnstyleList){this._unstyleFromArray(vUnstyleList); >-} >-if(vNewAppearanceProperties){this._styleFromMap(vNewAppearanceProperties); >-}}, >-_recursiveAppearanceThemeUpdate:function(vNewAppearanceTheme, >-vOldAppearanceTheme){try{this._resetAppearanceThemeWrapper(vNewAppearanceTheme, >-vOldAppearanceTheme); >-}catch(ex){this.error("Failed to update appearance theme", >-ex); >+"other":function(vSheet, >+vUrl){vSheet.insertRule('@import "'+vUrl+'";', >+vSheet.cssRules.length); >+}})}), >+removeImport:qx.lang.Object.select(document.createStyleSheet?"ie4+":"other", >+{"ie4+":function(vSheet, >+vUrl){var vImports=vSheet.imports; >+var vLength=vImports.length; >+for(var i=vLength-1;i>=0;i--){if(vImports[i].href==vUrl){vSheet.removeImport(i); >+}}}, >+"other":function(vSheet, >+vUrl){var vRules=vSheet.cssRules; >+var vLength=vRules.length; >+for(var i=vLength-1;i>=0;i--){if(vRules[i].href==vUrl){vSheet.deleteRule(i); >+}}}}), >+removeAllImports:qx.lang.Object.select(document.createStyleSheet?"ie4+":"other", >+{"ie4+":function(vSheet){var vImports=vSheet.imports; >+var vLength=vImports.length; >+for(var i=vLength-1;i>=0;i--){vSheet.removeImport(i); > }}, >-_applyElementData:function(elem){}, >-setHtmlProperty:function(propName, >-value){if(!this._htmlProperties){this._htmlProperties={}; >-}this._htmlProperties[propName]=value; >-if(this._isCreated&&this.getElement()[propName]!=value){this.getElement()[propName]=value; >-}return true; >+"other":function(vSheet){var vRules=vSheet.cssRules; >+var vLength=vRules.length; >+for(var i=vLength-1;i>=0;i--){if(vRules[i].type==vRules[i].IMPORT_RULE){vSheet.deleteRule(i); >+}}}})}}); >+ >+ >+ >+ >+/* ID: qx.ui.core.Parent */ >+qx.Class.define("qx.ui.core.Parent", >+{extend:qx.ui.core.Widget, >+type:"abstract", >+construct:function(){this.base(arguments); >+this._children=[]; >+this._layoutImpl=this._createLayoutImpl(); > }, >-removeHtmlProperty:qx.core.Variant.select("qx.client", >-{"mshtml":function(propName){if(!this._htmlProperties){return; >-}delete this._htmlProperties[propName]; >-if(this._isCreated){this.getElement().removeAttribute(propName); >-}return true; >+properties:{focusHandler:{check:"qx.event.handler.FocusHandler", >+apply:"_applyFocusHandler", >+nullable:true}, >+activeChild:{check:"qx.ui.core.Widget", >+apply:"_applyActiveChild", >+event:"changeActiveChild", >+nullable:true}, >+focusedChild:{check:"qx.ui.core.Widget", >+apply:"_applyFocusedChild", >+event:"changeFocusedChild", >+nullable:true}, >+visibleChildren:{_cached:true, >+defaultValue:null}}, >+members:{isFocusRoot:function(){return this.getFocusHandler()!=null; > }, >-"default":function(propName){if(!this._htmlProperties){return; >-}delete this._htmlProperties[propName]; >-if(this._isCreated){this.getElement().removeAttribute(propName); >-delete this.getElement()[propName]; >-}return true; >-}}), >-getHtmlProperty:function(propName){if(!this._htmlProperties){return ""; >-}return this._htmlProperties[propName]||""; >+getFocusRoot:function(){if(this.isFocusRoot()){return this; >+} >+if(this._hasParent){return this.getParent().getFocusRoot(); >+}return null; > }, >-_applyHtmlProperties:function(elem){var vProperties=this._htmlProperties; >-if(vProperties){var propName; >-for(propName in vProperties){elem[propName]=vProperties[propName]; >-}}}, >-_generateHtmlId:function(){var id=this.classname+"."+qx.ui.core.Widget._idCounter++; >-this.debug("setting autogenerated HTML id to "+id); >-this.setHtmlProperty("id", >-id); >+activateFocusRoot:function(){if(this._focusHandler){return; >+}this._focusHandler=new qx.event.handler.FocusHandler(this); >+this.setFocusHandler(this._focusHandler); > }, >-setHtmlAttribute:function(propName, >-value){qx.log.Logger.deprecatedMethodWarning(arguments.callee, >-"Use setHtmlProperty instead"); >-if(!this._htmlAttributes){this._htmlAttributes={}; >-}this._htmlAttributes[propName]=value; >-if(this._isCreated){this.getElement().setAttribute(propName, >-value); >-}return true; >+_onfocuskeyevent:function(e){this.getFocusHandler()._onkeyevent(this, >+e); > }, >-removeHtmlAttribute:function(propName){qx.log.Logger.deprecatedMethodWarning(arguments.callee, >-"Use removeHtmlProperty instead"); >-if(!this._htmlAttributes){return; >-}delete this._htmlAttributes[propName]; >-if(this._isCreated){this.getElement().removeAttribute(propName); >-}return true; >+_applyFocusHandler:function(value, >+old){if(value){this.addEventListener("keypress", >+this._onfocuskeyevent); >+if(this.getTabIndex()<1){this.setTabIndex(1); >+}this.setHideFocus(true); >+this.setActiveChild(this); >+}else{this.removeEventListener("keydown", >+this._onfocuskeyevent); >+this.removeEventListener("keypress", >+this._onfocuskeyevent); >+this.setTabIndex(-1); >+this.setHideFocus(false); >+}}, >+_applyActiveChild:function(value, >+old){}, >+_applyFocusedChild:function(value, >+old){var vFocusValid=value!=null; >+var vBlurValid=old!=null; >+if(qx.Class.isDefined("qx.ui.popup.PopupManager")&&vFocusValid){var vMgr=qx.ui.popup.PopupManager.getInstance(); >+if(vMgr){vMgr.update(value); >+}} >+if(vBlurValid){if(old.hasEventListeners("focusout")){var vEventObject=new qx.event.type.FocusEvent("focusout", >+old); >+if(vFocusValid){vEventObject.setRelatedTarget(value); >+}old.dispatchEvent(vEventObject); >+vEventObject.dispose(); >+}} >+if(vFocusValid){if(value.hasEventListeners("focusin")){var vEventObject=new qx.event.type.FocusEvent("focusin", >+value); >+if(vBlurValid){vEventObject.setRelatedTarget(old); >+}value.dispatchEvent(vEventObject); >+vEventObject.dispose(); >+}} >+if(vBlurValid){if(this.getActiveChild()==old&&!vFocusValid){this.setActiveChild(null); >+}old.setFocused(false); >+var vEventObject=new qx.event.type.FocusEvent("blur", >+old); >+if(vFocusValid){vEventObject.setRelatedTarget(value); >+}old.dispatchEvent(vEventObject); >+if(qx.Class.isDefined("qx.ui.popup.ToolTipManager")){var vMgr=qx.ui.popup.ToolTipManager.getInstance(); >+if(vMgr){vMgr.handleBlur(vEventObject); >+}}vEventObject.dispose(); >+} >+if(vFocusValid){this.setActiveChild(value); >+value.setFocused(true); >+qx.event.handler.EventHandler.getInstance().setFocusRoot(this); >+var vEventObject=new qx.event.type.FocusEvent("focus", >+value); >+if(vBlurValid){vEventObject.setRelatedTarget(old); >+}value.dispatchEvent(vEventObject); >+if(qx.Class.isDefined("qx.ui.popup.ToolTipManager")){var vMgr=qx.ui.popup.ToolTipManager.getInstance(); >+if(vMgr){vMgr.handleFocus(vEventObject); >+}}vEventObject.dispose(); >+}}, >+_layoutImpl:null, >+_createLayoutImpl:function(){return null; > }, >-getHtmlAttribute:function(propName){if(!this._htmlAttributes){return ""; >-}return this._htmlAttributes[propName]||""; >+getLayoutImpl:function(){return this._layoutImpl; > }, >-_applyHtmlAttributes:function(elem){var vAttributes=this._htmlAttributes; >-if(vAttributes){var propName; >-for(propName in vAttributes){elem.setAttribute(propName, >-vAttributes[propName]); >-}}}, >-getStyleProperty:function(propName){if(!this._styleProperties){return ""; >-}return this._styleProperties[propName]||""; >+getChildren:function(){return this._children; > }, >-__outerElementStyleProperties:{cursor:true, >-zIndex:true, >-filter:true, >-display:true, >-visibility:true}, >-setStyleProperty:function(propName, >-value){if(!this._styleProperties){this._styleProperties={}; >-}this._styleProperties[propName]=value; >-if(this._isCreated){var elem=this.__outerElementStyleProperties[propName]?this.getElement():this._getTargetNode(); >-if(elem){elem.style[propName]=(value==null)?"":value; >-}}}, >-removeStyleProperty:function(propName){if(!this._styleProperties){return; >-}delete this._styleProperties[propName]; >-if(this._isCreated){var elem=this.__outerElementStyleProperties[propName]?this.getElement():this._getTargetNode(); >-if(elem){elem.style[propName]=""; >-}}}, >-_applyStyleProperties:function(elem){var vProperties=this._styleProperties; >-if(!vProperties){return; >-}var propName; >-var vBaseElement=elem; >-var vTargetElement=this._getTargetNode(); >-var elem; >-var value; >-for(propName in vProperties){elem=this.__outerElementStyleProperties[propName]?vBaseElement:vTargetElement; >-value=vProperties[propName]; >-elem.style[propName]=(value==null)?"":value; >-}}, >-_applyEnabled:function(value, >-old){if(value===false){this.addState("disabled"); >-this.removeState("over"); >-if(qx.Class.isDefined("qx.ui.form.Button")){this.removeState("abandoned"); >-this.removeState("pressed"); >-}}else{this.removeState("disabled"); >-}}, >-isFocusable:function(){return this.getEnabled()&&this.isSeeable()&&this.getTabIndex()>=0&&this.getTabIndex()!=null; >+getChildrenLength:function(){return this.getChildren().length; > }, >-isFocusRoot:function(){return false; >+hasChildren:function(){return this.getChildrenLength()>0; > }, >-getFocusRoot:function(){if(this._hasParent){return this.getParent().getFocusRoot(); >-}return null; >+isEmpty:function(){return this.getChildrenLength()==0; > }, >-getActiveChild:function(){var vRoot=this.getFocusRoot(); >-if(vRoot){return vRoot.getActiveChild(); >-}return null; >+indexOf:function(vChild){return this.getChildren().indexOf(vChild); > }, >-_ontabfocus:qx.lang.Function.returnTrue, >-_applyFocused:function(value, >-old){if(!this.isCreated()){return; >-}var vFocusRoot=this.getFocusRoot(); >-if(vFocusRoot){if(value){vFocusRoot.setFocusedChild(this); >-this._visualizeFocus(); >-}else{if(vFocusRoot.getFocusedChild()==this){vFocusRoot.setFocusedChild(null); >-}this._visualizeBlur(); >-}}}, >-_applyHideFocus:qx.core.Variant.select("qx.client", >-{"mshtml":function(value, >-old){this.setHtmlProperty("hideFocus", >-value); >+contains:function(vWidget){switch(vWidget){case null:return false; >+case this:return true; >+default:return this.contains(vWidget.getParent()); >+}}, >+_computeVisibleChildren:function(){var vVisible=[]; >+var vChildren=this.getChildren(); >+if(!vChildren){return 0; >+}var vLength=vChildren.length; >+for(var i=0;i<vLength;i++){var vChild=vChildren[i]; >+if(vChild._isDisplayable){vVisible.push(vChild); >+}}return vVisible; > }, >-"default":qx.lang.Function.returnTrue}), >-_visualizeBlur:function(){if(this.getEnableElementFocus()&&(!this.getFocusRoot().getFocusedChild()||(this.getFocusRoot().getFocusedChild()&&this.getFocusRoot().getFocusedChild().getEnableElementFocus()))){try{this.getElement().blur(); >-}catch(ex){}}this.removeState("focused"); >+getVisibleChildrenLength:function(){return this.getVisibleChildren().length; > }, >-_visualizeFocus:function(){if(!qx.event.handler.FocusHandler.mouseFocus&&this.getEnableElementFocus()){try{this.getElement().focus(); >-}catch(ex){}}this.addState("focused"); >+hasVisibleChildren:function(){return this.getVisibleChildrenLength()>0; > }, >-focus:function(){delete qx.event.handler.FocusHandler.mouseFocus; >-this.setFocused(true); >+isVisibleEmpty:function(){return this.getVisibleChildrenLength()==0; > }, >-blur:function(){delete qx.event.handler.FocusHandler.mouseFocus; >-this.setFocused(false); >+add:function(varargs){var vWidget; >+for(var i=0, >+l=arguments.length;i<l;i++){vWidget=arguments[i]; >+if(!(vWidget instanceof qx.ui.core.Parent)&&!(vWidget instanceof qx.ui.basic.Terminator)){throw new Error("Invalid Widget: "+vWidget); >+}else{vWidget.setParent(this); >+}}return this; > }, >-_applyCapture:function(value, >-old){var vMgr=qx.event.handler.EventHandler.getInstance(); >-if(old){vMgr.setCaptureWidget(null); >-}else if(value){vMgr.setCaptureWidget(this); >-}}, >-_applyZIndex:function(value, >-old){if(value==null){this.removeStyleProperty("zIndex"); >-}else{this.setStyleProperty("zIndex", >-value); >+addAt:function(vChild, >+vIndex){if(vIndex==null||vIndex<0){throw new Error("Not a valid index for addAt(): "+vIndex); >+} >+if(vChild.getParent()==this){var vChildren=this.getChildren(); >+var vOldIndex=vChildren.indexOf(vChild); >+if(vOldIndex!=vIndex){if(vOldIndex!=-1){qx.lang.Array.removeAt(vChildren, >+vOldIndex); >+}qx.lang.Array.insertAt(vChildren, >+vChild, >+vIndex); >+if(this._initialLayoutDone){this._invalidateVisibleChildren(); >+this.getLayoutImpl().updateChildrenOnMoveChild(vChild, >+vIndex, >+vOldIndex); >+}}}else{vChild._insertIndex=vIndex; >+vChild.setParent(this); > }}, >-_applyTabIndex:qx.core.Variant.select("qx.client", >-{"mshtml":function(value, >-old){this.setHtmlProperty("tabIndex", >-value<0?-1:1); >+addAtBegin:function(vChild){return this.addAt(vChild, >+0); > }, >-"gecko":function(value, >-old){this.setStyleProperty("MozUserFocus", >-(value<0?"ignore":"normal")); >+addAtEnd:function(vChild){var vLength=this.getChildrenLength(); >+return this.addAt(vChild, >+vChild.getParent()==this?vLength-1:vLength); > }, >-"default":function(value, >-old){this.setStyleProperty("userFocus", >-(value<0?"ignore":"normal")); >-this.setHtmlProperty("tabIndex", >-value<0?-1:1); >-}}), >-_applySelectable:qx.core.Variant.select("qx.client", >-{"mshtml":function(value, >-old){}, >-"gecko":function(value, >-old){if(value){this.removeStyleProperty("MozUserSelect"); >-}else{this.setStyleProperty("MozUserSelect", >-"none"); >-}}, >-"webkit":function(value, >-old){if(value){this.removeStyleProperty("WebkitUserSelect"); >-}else{this.setStyleProperty("WebkitUserSelect", >-"none"); >-}}, >-"khtml":function(value, >-old){if(value){this.removeStyleProperty("KhtmlUserSelect"); >-}else{this.setStyleProperty("KhtmlUserSelect", >-"none"); >-}}, >-"default":function(value, >-old){if(value){return this.removeStyleProperty("userSelect"); >-}else{this.setStyleProperty("userSelect", >-"none"); >-}}}), >-_applyOpacity:qx.core.Variant.select("qx.client", >-{"mshtml":function(value, >-old){if(value==null||value>=1||value<0){this.removeStyleProperty("filter"); >-}else{this.setStyleProperty("filter", >-("Alpha(Opacity="+Math.round(value*100)+")")); >+addBefore:function(vChild, >+vBefore){var vChildren=this.getChildren(); >+var vTargetIndex=vChildren.indexOf(vBefore); >+if(vTargetIndex==-1){throw new Error("Child to add before: "+vBefore+" is not inside this parent."); >+}var vSourceIndex=vChildren.indexOf(vChild); >+if(vSourceIndex==-1||vSourceIndex>vTargetIndex){vTargetIndex++; >+}return this.addAt(vChild, >+Math.max(0, >+vTargetIndex-1)); >+}, >+addAfter:function(vChild, >+vAfter){var vChildren=this.getChildren(); >+var vTargetIndex=vChildren.indexOf(vAfter); >+if(vTargetIndex==-1){throw new Error("Child to add after: "+vAfter+" is not inside this parent."); >+}var vSourceIndex=vChildren.indexOf(vChild); >+if(vSourceIndex!=-1&&vSourceIndex<vTargetIndex){vTargetIndex--; >+}return this.addAt(vChild, >+Math.min(vChildren.length, >+vTargetIndex+1)); >+}, >+remove:function(varargs){var vWidget; >+for(var i=0, >+l=arguments.length;i<l;i++){vWidget=arguments[i]; >+if(!(vWidget instanceof qx.ui.core.Parent)&&!(vWidget instanceof qx.ui.basic.Terminator)){throw new Error("Invalid Widget: "+vWidget); >+}else if(vWidget.getParent()==this){vWidget.setParent(null); >+}}}, >+removeAt:function(vIndex){var vChild=this.getChildren()[vIndex]; >+if(vChild){delete vChild._insertIndex; >+vChild.setParent(null); > }}, >-"default":function(value, >-old){if(value==null||value>1){if(qx.core.Variant.isSet("qx.client", >-"gecko")){this.removeStyleProperty("MozOpacity"); >-}else if(qx.core.Variant.isSet("qx.client", >-"khtml")){this.removeStyleProperty("KhtmlOpacity"); >-}this.removeStyleProperty("opacity"); >-}else{value=qx.lang.Number.limit(value, >-0, >-1); >-if(qx.core.Variant.isSet("qx.client", >-"gecko")){this.setStyleProperty("MozOpacity", >-value); >-}else if(qx.core.Variant.isSet("qx.client", >-"khtml")){this.setStyleProperty("KhtmlOpacity", >-value); >-}this.setStyleProperty("opacity", >-value); >-}}}), >-__cursorMap:qx.core.Variant.select("qx.client", >-{"mshtml":{"cursor":"hand", >-"ew-resize":"e-resize", >-"ns-resize":"n-resize", >-"nesw-resize":"ne-resize", >-"nwse-resize":"nw-resize"}, >-"opera":{"col-resize":"e-resize", >-"row-resize":"n-resize", >-"ew-resize":"e-resize", >-"ns-resize":"n-resize", >-"nesw-resize":"ne-resize", >-"nwse-resize":"nw-resize"}, >-"default":{}}), >-_applyCursor:function(value, >-old){if(value){this.setStyleProperty("cursor", >-this.__cursorMap[value]||value); >-}else{this.removeStyleProperty("cursor"); >+removeAll:function(){var cs=this.getChildren(); >+var co=cs[0]; >+while(co){this.remove(co); >+co=cs[0]; > }}, >-_applyCommand:function(value, >-old){}, >-_applyBackgroundImage:function(value, >-old){var imageMgr=qx.io.image.Manager.getInstance(); >-var aliasMgr=qx.io.Alias.getInstance(); >-if(old){imageMgr.hide(old); >-} >-if(value){imageMgr.show(value); >-}aliasMgr.connect(this._styleBackgroundImage, >+getFirstChild:function(){return qx.lang.Array.getFirst(this.getChildren())||null; >+}, >+getFirstVisibleChild:function(){return qx.lang.Array.getFirst(this.getVisibleChildren())||null; >+}, >+getFirstActiveChild:function(vIgnoreClasses){return qx.ui.core.Widget.getActiveSiblingHelper(null, > this, >-value); >+1, >+vIgnoreClasses, >+"first")||null; > }, >-_styleBackgroundImage:function(value){value?this.setStyleProperty("backgroundImage", >-"url("+value+")"):this.removeStyleProperty("backgroundImage"); >+getLastChild:function(){return qx.lang.Array.getLast(this.getChildren())||null; > }, >-_applyBackgroundRepeat:function(value, >-old){value?this.setStyleProperty("backgroundRepeat", >-value):this.removeStyleProperty("backgroundRepeat"); >+getLastVisibleChild:function(){return qx.lang.Array.getLast(this.getVisibleChildren())||null; > }, >-_applyClip:function(value, >-old){return this._compileClipString(); >+getLastActiveChild:function(vIgnoreClasses){return qx.ui.core.Widget.getActiveSiblingHelper(null, >+this, >+-1, >+vIgnoreClasses, >+"last")||null; > }, >-_compileClipString:function(){var vLeft=this.getClipLeft(); >-var vTop=this.getClipTop(); >-var vWidth=this.getClipWidth(); >-var vHeight=this.getClipHeight(); >-var vRight, >-vBottom; >-if(vLeft==null){vRight=(vWidth==null?"auto":vWidth+"px"); >-vLeft="auto"; >-}else{vRight=(vWidth==null?"auto":vLeft+vWidth+"px"); >-vLeft=vLeft+"px"; >+forEachChild:function(vFunc){var ch=this.getChildren(), >+chc, >+i=-1; >+if(!ch){return; > } >-if(vTop==null){vBottom=(vHeight==null?"auto":vHeight+"px"); >-vTop="auto"; >-}else{vBottom=(vHeight==null?"auto":vTop+vHeight+"px"); >-vTop=vTop+"px"; >-}return this.setStyleProperty("clip", >-("rect("+vTop+","+vRight+","+vBottom+","+vLeft+")")); >+while(chc=ch[++i]){vFunc.call(chc, >+i); >+}}, >+forEachVisibleChild:function(vFunc){var ch=this.getVisibleChildren(), >+chc, >+i=-1; >+if(!ch){return; >+} >+while(chc=ch[++i]){vFunc.call(chc, >+i); >+}}, >+_beforeAppear:function(){this.base(arguments); >+this.forEachVisibleChild(function(){if(this.isAppearRelevant()){this._beforeAppear(); >+}}); > }, >-_applyOverflow:qx.core.Variant.select("qx.client", >-{"default":function(value, >-old){var pv=value; >-var pn="overflow"; >-switch(value){case "scrollX":pn="overflowX"; >-pv="scroll"; >-break; >-case "scrollY":pn="overflowY"; >-pv="scroll"; >-break; >-}var a=["overflow", >-"overflowX", >-"overflowY"]; >-for(var i=0;i<a.length;i++){if(a[i]!=pn){this.removeStyleProperty(a[i]); >-}} >-switch(value){case "scrollX":this.setStyleProperty("overflowY", >-"hidden"); >-break; >-case "scrollY":this.setStyleProperty("overflowX", >-"hidden"); >-break; >-}this._renderOverflow(pn, >-pv, >-value, >-old); >-this.addToQueue("overflow"); >+_afterAppear:function(){this.base(arguments); >+this.forEachVisibleChild(function(){if(this.isAppearRelevant()){this._afterAppear(); >+}}); > }, >-"gecko":function(value, >-old){var pv=value; >-var pn="overflow"; >-switch(pv){case "hidden":pv="-moz-scrollbars-none"; >-break; >-case "scrollX":pv="-moz-scrollbars-horizontal"; >-break; >-case "scrollY":pv="-moz-scrollbars-vertical"; >-break; >-}this._renderOverflow(pn, >-pv, >-value, >-old); >-this.addToQueue("overflow"); >+_beforeDisappear:function(){this.base(arguments); >+this.forEachVisibleChild(function(){if(this.isAppearRelevant()){this._beforeDisappear(); >+}}); > }, >-"opera":function(value, >-old){var pv=value; >-var pn="overflow"; >-switch(pv){case "scrollX":case "scrollY":pv="scroll"; >-break; >-}this._renderOverflow(pn, >-pv, >-value, >-old); >-this.addToQueue("overflow"); >-}}), >-_renderOverflow:function(pn, >-pv, >-value, >-old){this.setStyleProperty(pn, >-pv||""); >-this._invalidateFrameWidth(); >-this._invalidateFrameHeight(); >+_afterDisappear:function(){this.base(arguments); >+this.forEachVisibleChild(function(){if(this.isAppearRelevant()){this._afterDisappear(); >+}}); > }, >-getOverflowX:function(){var vOverflow=this.getOverflow(); >-return vOverflow=="scrollY"?"hidden":vOverflow; >+_beforeInsertDom:function(){this.base(arguments); >+this.forEachVisibleChild(function(){if(this.isAppearRelevant()){this._beforeInsertDom(); >+}}); > }, >-getOverflowY:function(){var vOverflow=this.getOverflow(); >-return vOverflow=="scrollX"?"hidden":vOverflow; >+_afterInsertDom:function(){this.base(arguments); >+this.forEachVisibleChild(function(){if(this.isAppearRelevant()){this._afterInsertDom(); >+}}); > }, >-_applyBackgroundColor:function(value, >-old){qx.theme.manager.Color.getInstance().connect(this._styleBackgroundColor, >-this, >-value); >+_beforeRemoveDom:function(){this.base(arguments); >+this.forEachVisibleChild(function(){if(this.isAppearRelevant()){this._beforeRemoveDom(); >+}}); > }, >-_styleBackgroundColor:function(value){value?this.setStyleProperty("backgroundColor", >-value):this.removeStyleProperty("backgroundColor"); >+_afterRemoveDom:function(){this.base(arguments); >+this.forEachVisibleChild(function(){if(this.isAppearRelevant()){this._afterRemoveDom(); >+}}); > }, >-_applyTextColor:function(value, >-old){}, >-_applyFont:function(value, >-old){}, >-_cachedBorderTop:0, >-_cachedBorderRight:0, >-_cachedBorderBottom:0, >-_cachedBorderLeft:0, >-_applyBorder:function(value, >-old){qx.theme.manager.Border.getInstance().connect(this._queueBorder, >-this, >-value); >+_handleDisplayableCustom:function(vDisplayable, >+vParent, >+vHint){this.forEachChild(function(){this._handleDisplayable(); >+}); > }, >-__borderJobs:{top:"borderTop", >-right:"borderRight", >-bottom:"borderBottom", >-left:"borderLeft"}, >-_queueBorder:function(value, >-edge){if(!edge){var jobs=this.__borderJobs; >-for(var entry in jobs){this.addToQueue(jobs[entry]); >-}this.__reflowBorderX(value); >-this.__reflowBorderY(value); >-}else{if(edge==="left"||edge==="right"){this.__reflowBorderX(value); >-}else{this.__reflowBorderY(value); >-}this.addToQueue(this.__borderJobs[edge]); >-}this.__borderObject=value; >+_addChildrenToStateQueue:function(){this.forEachVisibleChild(function(){this.addToStateQueue(); >+}); > }, >-__reflowBorderX:function(value){var oldLeftWidth=this._cachedBorderLeft; >-var oldRightWidth=this._cachedBorderRight; >-this._cachedBorderLeft=value?value.getWidthLeft():0; >-this._cachedBorderRight=value?value.getWidthRight():0; >-if((oldLeftWidth+oldRightWidth)!=(this._cachedBorderLeft+this._cachedBorderRight)){this._invalidateFrameWidth(); >-}}, >-__reflowBorderY:function(value){var oldTopWidth=this._cachedBorderTop; >-var oldBottomWidth=this._cachedBorderBottom; >-this._cachedBorderTop=value?value.getWidthTop():0; >-this._cachedBorderBottom=value?value.getWidthBottom():0; >-if((oldTopWidth+oldBottomWidth)!=(this._cachedBorderTop+this._cachedBorderBottom)){this._invalidateFrameHeight(); >-}}, >-renderBorder:function(changes){var value=this.__borderObject; >-if(value){if(changes.borderTop){value.renderTop(this); >-} >-if(changes.borderRight){value.renderRight(this); >-} >-if(changes.borderBottom){value.renderBottom(this); >-} >-if(changes.borderLeft){value.renderLeft(this); >-}}else{var border=qx.ui.core.Border; >-if(changes.borderTop){border.resetTop(this); >-} >-if(changes.borderRight){border.resetRight(this); >-} >-if(changes.borderBottom){border.resetBottom(this); >+recursiveAddToStateQueue:function(){this.addToStateQueue(); >+this.forEachVisibleChild(function(){this.recursiveAddToStateQueue(); >+}); >+}, >+_recursiveAppearanceThemeUpdate:function(vNewAppearanceTheme, >+vOldAppearanceTheme){this.base(arguments, >+vNewAppearanceTheme, >+vOldAppearanceTheme); >+this.forEachVisibleChild(function(){this._recursiveAppearanceThemeUpdate(vNewAppearanceTheme, >+vOldAppearanceTheme); >+}); >+}, >+_addChildToChildrenQueue:function(vChild){if(!vChild._isInParentChildrenQueue&&!vChild._isDisplayable){this.warn("Ignoring invisible child: "+vChild); > } >-if(changes.borderLeft){border.resetLeft(this); >+if(!vChild._isInParentChildrenQueue&&vChild._isDisplayable){qx.ui.core.Widget.addToGlobalLayoutQueue(this); >+if(!this._childrenQueue){this._childrenQueue={}; >+}this._childrenQueue[vChild.toHashCode()]=vChild; >+}}, >+_removeChildFromChildrenQueue:function(vChild){if(this._childrenQueue&&vChild._isInParentChildrenQueue){delete this._childrenQueue[vChild.toHashCode()]; >+if(qx.lang.Object.isEmpty(this._childrenQueue)){qx.ui.core.Widget.removeFromGlobalLayoutQueue(this); > }}}, >-prepareEnhancedBorder:qx.core.Variant.select("qx.client", >-{"gecko":qx.lang.Function.returnTrue, >-"default":function(){var elem=this.getElement(); >-var cl=this._borderElement=document.createElement("div"); >-var es=elem.style; >-var cs=this._innerStyle=cl.style; >-if(qx.core.Variant.isSet("qx.client", >-"mshtml")){}else{cs.width=cs.height="100%"; >-}cs.position="absolute"; >-for(var i in this._styleProperties){switch(i){case "zIndex":case "filter":case "display":break; >-default:cs[i]=es[i]; >-es[i]=""; >-}} >-for(var i in this._htmlProperties){switch(i){case "unselectable":cl.unselectable=this._htmlProperties[i]; >-}}while(elem.firstChild){cl.appendChild(elem.firstChild); >-}elem.appendChild(cl); >-}}), >-_applyPaddingTop:function(value, >-old){this.addToQueue("paddingTop"); >-this._invalidateFrameHeight(); >-}, >-_applyPaddingRight:function(value, >-old){this.addToQueue("paddingRight"); >-this._invalidateFrameWidth(); >+_flushChildrenQueue:function(){if(!qx.lang.Object.isEmpty(this._childrenQueue)){this.getLayoutImpl().flushChildrenQueue(this._childrenQueue); >+delete this._childrenQueue; >+}}, >+_addChildrenToLayoutQueue:function(p){this.forEachChild(function(){this.addToLayoutChanges(p); >+}); > }, >-_applyPaddingBottom:function(value, >-old){this.addToQueue("paddingBottom"); >-this._invalidateFrameHeight(); >+_layoutChild:function(vChild){if(!vChild._isDisplayable){return ; >+}var vChanges=vChild._layoutChanges; >+try{if(vChild.renderBorder){if(vChanges.borderTop||vChanges.borderRight||vChanges.borderBottom||vChanges.borderLeft){vChild.renderBorder(vChanges); >+}}}catch(ex){this.error("Could not apply border to child "+vChild, >+ex); >+} >+try{if(vChild.renderPadding){if(vChanges.paddingLeft||vChanges.paddingRight||vChanges.paddingTop||vChanges.paddingBottom){vChild.renderPadding(vChanges); >+}}}catch(ex){this.error("Could not apply padding to child "+vChild, >+ex); >+}try{this.getLayoutImpl().layoutChild(vChild, >+vChanges); >+}catch(ex){this.error("Could not layout child "+vChild+" through layout handler", >+ex); >+}try{vChild._layoutPost(vChanges); >+}catch(ex){this.error("Could not post layout child "+vChild, >+ex); >+}try{if(vChanges.initial){vChild._initialLayoutDone=true; >+qx.ui.core.Widget.addToGlobalDisplayQueue(vChild); >+}}catch(ex){this.error("Could not handle display updates from layout flush for child "+vChild, >+ex); >+}vChild._layoutChanges={}; >+delete vChild._isInParentLayoutQueue; >+delete this._childrenQueue[vChild.toHashCode()]; > }, >-_applyPaddingLeft:function(value, >-old){this.addToQueue("paddingLeft"); >-this._invalidateFrameWidth(); >+_layoutPost:qx.lang.Function.returnTrue, >+_computePreferredInnerWidth:function(){return this.getLayoutImpl().computeChildrenNeededWidth(); > }, >-renderPadding:function(changes){}, >-_applyMarginLeft:function(value, >-old){this.addToQueue("marginLeft"); >+_computePreferredInnerHeight:function(){return this.getLayoutImpl().computeChildrenNeededHeight(); > }, >-_applyMarginRight:function(value, >-old){this.addToQueue("marginRight"); >+_changeInnerWidth:function(vNew, >+vOld){var vLayout=this.getLayoutImpl(); >+if(vLayout.invalidateChildrenFlexWidth){vLayout.invalidateChildrenFlexWidth(); >+}this.forEachVisibleChild(function(){if(vLayout.updateChildOnInnerWidthChange(this)&&this._recomputeBoxWidth()){this._recomputeOuterWidth(); >+this._recomputeInnerWidth(); >+}}); > }, >-_applyMarginTop:function(value, >-old){this.addToQueue("marginTop"); >+_changeInnerHeight:function(vNew, >+vOld){var vLayout=this.getLayoutImpl(); >+if(vLayout.invalidateChildrenFlexHeight){vLayout.invalidateChildrenFlexHeight(); >+}this.forEachVisibleChild(function(){if(vLayout.updateChildOnInnerHeightChange(this)&&this._recomputeBoxHeight()){this._recomputeOuterHeight(); >+this._recomputeInnerHeight(); >+}}); > }, >-_applyMarginBottom:function(value, >-old){this.addToQueue("marginBottom"); >+getInnerWidthForChild:function(vChild){return this.getInnerWidth(); > }, >-execute:function(){var cmd=this.getCommand(); >-if(cmd){cmd.execute(this); >-}this.createDispatchEvent("execute"); >+getInnerHeightForChild:function(vChild){return this.getInnerHeight(); > }, >-_visualPropertyCheck:function(){if(!this.isCreated()){throw new Error(this.classname+": Element must be created previously!"); >+_remappingChildTable:["add", >+"remove", >+"addAt", >+"addAtBegin", >+"addAtEnd", >+"removeAt", >+"addBefore", >+"addAfter", >+"removeAll"], >+_remapStart:"return this._remappingChildTarget.", >+_remapStop:".apply(this._remappingChildTarget, arguments)", >+remapChildrenHandlingTo:function(vTarget){var t=this._remappingChildTable; >+this._remappingChildTarget=vTarget; >+for(var i=0, >+l=t.length, >+s;i<l;i++){s=t[i]; >+this[s]=new Function(qx.ui.core.Parent.prototype._remapStart+s+qx.ui.core.Parent.prototype._remapStop); >+}}}, >+defer:function(statics, >+members, >+properties){if(qx.core.Variant.isSet("qx.client", >+"opera")){members._layoutChildOrig=members._layoutChild; >+members._layoutChild=function(vChild){if(!vChild._initialLayoutDone||!vChild._layoutChanges.border){return this._layoutChildOrig(vChild); >+}var vStyle=vChild.getElement().style; >+var vOldDisplay=vStyle.display; >+vStyle.display="none"; >+var vRet=this._layoutChildOrig(vChild); >+vStyle.display=vOldDisplay; >+return vRet; >+}; > }}, >-setScrollLeft:function(nScrollLeft){this._visualPropertyCheck(); >-this._getTargetNode().scrollLeft=nScrollLeft; >+destruct:function(){this._disposeObjectDeep("_children", >+1); >+this._disposeObjects("_layoutImpl", >+"_focusHandler"); >+this._disposeFields("_childrenQueue", >+"_childrenQueue", >+"_remappingChildTable", >+"_remappingChildTarget", >+"_cachedVisibleChildren"); >+}}); >+ >+ >+ >+ >+/* ID: qx.event.type.FocusEvent */ >+qx.Class.define("qx.event.type.FocusEvent", >+{extend:qx.event.type.Event, >+construct:function(type, >+target){this.base(arguments, >+type); >+this.setTarget(target); >+switch(type){case "focusin":case "focusout":this.setBubbles(true); >+this.setPropagationStopped(false); >+}}}); >+ >+ >+ >+ >+/* ID: qx.event.handler.EventHandler */ >+qx.Class.define("qx.event.handler.EventHandler", >+{type:"singleton", >+extend:qx.core.Target, >+construct:function(){this.base(arguments); >+this.__onmouseevent=qx.lang.Function.bind(this._onmouseevent, >+this); >+this.__ondragevent=qx.lang.Function.bind(this._ondragevent, >+this); >+this.__onselectevent=qx.lang.Function.bind(this._onselectevent, >+this); >+this.__onwindowblur=qx.lang.Function.bind(this._onwindowblur, >+this); >+this.__onwindowfocus=qx.lang.Function.bind(this._onwindowfocus, >+this); >+this.__onwindowresize=qx.lang.Function.bind(this._onwindowresize, >+this); >+this._commands={}; > }, >-setScrollTop:function(nScrollTop){this._visualPropertyCheck(); >-this._getTargetNode().scrollTop=nScrollTop; >+events:{"error":"qx.event.type.DataEvent"}, >+statics:{mouseEventTypes:["mouseover", >+"mousemove", >+"mouseout", >+"mousedown", >+"mouseup", >+"click", >+"dblclick", >+"contextmenu", >+qx.core.Variant.isSet("qx.client", >+"gecko")?"DOMMouseScroll":"mousewheel"], >+keyEventTypes:["keydown", >+"keypress", >+"keyup"], >+dragEventTypes:qx.core.Variant.select("qx.client", >+{"gecko":["dragdrop", >+"dragover", >+"dragenter", >+"dragexit", >+"draggesture"], >+"mshtml":["dragend", >+"dragover", >+"dragstart", >+"drag", >+"dragenter", >+"dragleave"], >+"default":["dragstart", >+"dragdrop", >+"dragover", >+"drag", >+"dragleave", >+"dragenter", >+"dragexit", >+"draggesture"]}), >+getDomTarget:qx.core.Variant.select("qx.client", >+{"mshtml":function(vDomEvent){return vDomEvent.target||vDomEvent.srcElement; > }, >-getOffsetLeft:function(){this._visualPropertyCheck(); >-return qx.html.Offset.getLeft(this.getElement()); >+"webkit":function(vDomEvent){var vNode=vDomEvent.target||vDomEvent.srcElement; >+if(vNode&&(vNode.nodeType==qx.dom.Node.TEXT)){vNode=vNode.parentNode; >+}return vNode; > }, >-getOffsetTop:function(){this._visualPropertyCheck(); >-return qx.html.Offset.getTop(this.getElement()); >+"default":function(vDomEvent){return vDomEvent.target; >+}}), >+stopDomEvent:function(vDomEvent){if(vDomEvent.preventDefault){vDomEvent.preventDefault(); >+}vDomEvent.returnValue=false; > }, >-getScrollLeft:function(){this._visualPropertyCheck(); >-return this._getTargetNode().scrollLeft; >+getOriginalTargetObject:function(vNode){if(vNode==document.documentElement){vNode=document.body; >+}while(vNode!=null&&vNode.qx_Widget==null){try{vNode=vNode.parentNode; >+}catch(vDomEvent){vNode=null; >+}}return vNode?vNode.qx_Widget:null; > }, >-getScrollTop:function(){this._visualPropertyCheck(); >-return this._getTargetNode().scrollTop; >+getOriginalTargetObjectFromEvent:function(vDomEvent, >+vWindow){var vNode=qx.event.handler.EventHandler.getDomTarget(vDomEvent); >+if(vWindow){var vDocument=vWindow.document; >+if(vNode==vWindow||vNode==vDocument||vNode==vDocument.documentElement||vNode==vDocument.body){return vDocument.body.qx_Widget; >+}}return qx.event.handler.EventHandler.getOriginalTargetObject(vNode); > }, >-getClientWidth:function(){this._visualPropertyCheck(); >-return this._getTargetNode().clientWidth; >+getRelatedOriginalTargetObjectFromEvent:function(vDomEvent){return qx.event.handler.EventHandler.getOriginalTargetObject(vDomEvent.relatedTarget||(vDomEvent.type=="mouseover"?vDomEvent.fromElement:vDomEvent.toElement)); > }, >-getClientHeight:function(){this._visualPropertyCheck(); >-return this._getTargetNode().clientHeight; >+getTargetObject:function(vNode, >+vObject, >+allowDisabled){if(!vObject){var vObject=qx.event.handler.EventHandler.getOriginalTargetObject(vNode); >+if(!vObject){return null; >+}}while(vObject){if(!allowDisabled&&!vObject.getEnabled()){return null; >+}if(!vObject.getAnonymous()){break; >+}vObject=vObject.getParent(); >+}return vObject; > }, >-getOffsetWidth:function(){this._visualPropertyCheck(); >-return this.getElement().offsetWidth; >+getTargetObjectFromEvent:function(vDomEvent){return qx.event.handler.EventHandler.getTargetObject(qx.event.handler.EventHandler.getDomTarget(vDomEvent)); > }, >-getOffsetHeight:function(){this._visualPropertyCheck(); >-return this.getElement().offsetHeight; >+getRelatedTargetObjectFromEvent:function(vDomEvent){var target=vDomEvent.relatedTarget; >+if(!target){if(vDomEvent.type=="mouseover"){target=vDomEvent.fromElement; >+}else{target=vDomEvent.toElement; >+}}return qx.event.handler.EventHandler.getTargetObject(target); >+}}, >+properties:{allowClientContextMenu:{check:"Boolean", >+init:false}, >+allowClientSelectAll:{check:"Boolean", >+init:false}, >+captureWidget:{check:"qx.ui.core.Widget", >+nullable:true, >+apply:"_applyCaptureWidget"}, >+focusRoot:{check:"qx.ui.core.Parent", >+nullable:true, >+apply:"_applyFocusRoot"}}, >+members:{_lastMouseEventType:null, >+_lastMouseDown:false, >+_lastMouseEventDate:0, >+_applyCaptureWidget:function(value, >+old){if(old){old.setCapture(false); >+} >+if(value){value.setCapture(true); >+}}, >+_applyFocusRoot:function(value, >+old){if(old){old.setFocusedChild(null); >+} >+if(value&&value.getFocusedChild()==null){value.setFocusedChild(value); >+}}, >+addCommand:function(vCommand){this._commands[vCommand.toHashCode()]=vCommand; > }, >-getScrollWidth:function(){this._visualPropertyCheck(); >-return this._getTargetNode().scrollWidth; >+removeCommand:function(vCommand){delete this._commands[vCommand.toHashCode()]; >+}, >+_checkKeyEventMatch:function(e){var vCommand; >+for(var vHash in this._commands){vCommand=this._commands[vHash]; >+if(vCommand.getEnabled()&&vCommand.matchesKeyEvent(e)){if(!vCommand.execute(e.getTarget())){e.preventDefault(); >+}break; >+}}}, >+attachEvents:function(){this.attachEventTypes(qx.event.handler.EventHandler.mouseEventTypes, >+this.__onmouseevent); >+this.attachEventTypes(qx.event.handler.EventHandler.dragEventTypes, >+this.__ondragevent); >+qx.event.handler.KeyEventHandler.getInstance()._attachEvents(); >+qx.html.EventRegistration.addEventListener(window, >+"blur", >+this.__onwindowblur); >+qx.html.EventRegistration.addEventListener(window, >+"focus", >+this.__onwindowfocus); >+qx.html.EventRegistration.addEventListener(window, >+"resize", >+this.__onwindowresize); >+document.body.onselect=document.onselectstart=document.onselectionchange=this.__onselectevent; > }, >-getScrollHeight:function(){this._visualPropertyCheck(); >-return this._getTargetNode().scrollHeight; >+detachEvents:function(){this.detachEventTypes(qx.event.handler.EventHandler.mouseEventTypes, >+this.__onmouseevent); >+this.detachEventTypes(qx.event.handler.EventHandler.dragEventTypes, >+this.__ondragevent); >+qx.event.handler.KeyEventHandler.getInstance()._detachEvents(); >+qx.html.EventRegistration.removeEventListener(window, >+"blur", >+this.__onwindowblur); >+qx.html.EventRegistration.removeEventListener(window, >+"focus", >+this.__onwindowfocus); >+qx.html.EventRegistration.removeEventListener(window, >+"resize", >+this.__onwindowresize); >+document.body.onselect=document.onselectstart=document.onselectionchange=null; > }, >-scrollIntoView:function(alignTopLeft){this.scrollIntoViewX(alignTopLeft); >-this.scrollIntoViewY(alignTopLeft); >+attachEventTypes:function(vEventTypes, >+vFunctionPointer){try{var el=qx.core.Variant.isSet("qx.client", >+"gecko")?window:document.body; >+for(var i=0, >+l=vEventTypes.length;i<l;i++){qx.html.EventRegistration.addEventListener(el, >+vEventTypes[i], >+vFunctionPointer); >+}}catch(ex){throw new Error("qx.event.handler.EventHandler: Failed to attach window event types: "+vEventTypes+": "+ex); >+}}, >+detachEventTypes:function(vEventTypes, >+vFunctionPointer){try{var el=qx.core.Variant.isSet("qx.client", >+"gecko")?window:document.body; >+for(var i=0, >+l=vEventTypes.length;i<l;i++){qx.html.EventRegistration.removeEventListener(el, >+vEventTypes[i], >+vFunctionPointer); >+}}catch(ex){throw new Error("qx.event.handler.EventHandler: Failed to detach window event types: "+vEventTypes+": "+ex); >+}}, >+_onkeyevent_post:function(vDomEvent, >+vType, >+vKeyCode, >+vCharCode, >+vKeyIdentifier){var vDomTarget=qx.event.handler.EventHandler.getDomTarget(vDomEvent); >+var vFocusRoot=this.getFocusRoot(); >+var vTarget=this.getCaptureWidget()||(vFocusRoot==null?null:vFocusRoot.getActiveChild()); >+var vKeyEventObject=new qx.event.type.KeyEvent(vType, >+vDomEvent, >+vDomTarget, >+vTarget, >+null, >+vKeyCode, >+vCharCode, >+vKeyIdentifier); >+if(vType=="keydown"){this._checkKeyEventMatch(vKeyEventObject); >+} >+if(vTarget!=null&&vTarget.getEnabled()){switch(vKeyIdentifier){case "Escape":case "Tab":if(qx.Class.isDefined("qx.ui.menu.Manager")){qx.ui.menu.Manager.getInstance().update(vTarget, >+vType); >+}break; >+}if(!this.getAllowClientSelectAll()){if(vDomEvent.ctrlKey&&vKeyIdentifier=="A"){switch(vDomTarget.tagName.toLowerCase()){case "input":case "textarea":case "iframe":break; >+default:qx.event.handler.EventHandler.stopDomEvent(vDomEvent); >+}}}vTarget.dispatchEvent(vKeyEventObject); >+if(qx.Class.isDefined("qx.event.handler.DragAndDropHandler")){qx.event.handler.DragAndDropHandler.getInstance().handleKeyEvent(vKeyEventObject); >+}}vKeyEventObject.dispose(); > }, >-scrollIntoViewX:function(alignLeft){if(!this._isCreated||!this._isDisplayable){this.warn("The function scrollIntoViewX can only be called after the widget is created!"); >-return false; >-}return qx.html.ScrollIntoView.scrollX(this.getElement(), >-alignLeft); >+_onmouseevent:qx.core.Variant.select("qx.client", >+{"mshtml":function(vDomEvent){if(!vDomEvent){vDomEvent=window.event; >+}var vDomTarget=qx.event.handler.EventHandler.getDomTarget(vDomEvent); >+var vType=vDomEvent.type; >+if(vType=="mousemove"){if(this._mouseIsDown&&vDomEvent.button==0){this._onmouseevent_post(vDomEvent, >+"mouseup"); >+this._mouseIsDown=false; >+}}else{if(vType=="mousedown"){this._mouseIsDown=true; >+}else if(vType=="mouseup"){this._mouseIsDown=false; >+}if(vType=="mouseup"&&!this._lastMouseDown&&((new Date).valueOf()-this._lastMouseEventDate)<250){this._onmouseevent_post(vDomEvent, >+"mousedown"); >+}else if(vType=="dblclick"&&this._lastMouseEventType=="mouseup"&&((new Date).valueOf()-this._lastMouseEventDate)<250){this._onmouseevent_post(vDomEvent, >+"click"); >+} >+switch(vType){case "mousedown":case "mouseup":case "click":case "dblclick":case "contextmenu":this._lastMouseEventType=vType; >+this._lastMouseEventDate=(new Date).valueOf(); >+this._lastMouseDown=vType=="mousedown"; >+}}this._onmouseevent_post(vDomEvent, >+vType, >+vDomTarget); > }, >-scrollIntoViewY:function(alignTop){if(!this._isCreated||!this._isDisplayable){this.warn("The function scrollIntoViewY can only be called after the widget is created!"); >-return false; >-}return qx.html.ScrollIntoView.scrollY(this.getElement(), >-alignTop); >+"default":function(vDomEvent){var vDomTarget=qx.event.handler.EventHandler.getDomTarget(vDomEvent); >+var vType=vDomEvent.type; >+switch(vType){case "DOMMouseScroll":vType="mousewheel"; >+break; >+case "click":case "dblclick":if(vDomEvent.which!==1){return; >+}}this._onmouseevent_post(vDomEvent, >+vType, >+vDomTarget); >+}}), >+_onmouseevent_click_fix:qx.core.Variant.select("qx.client", >+{"gecko":function(vDomTarget, >+vType, >+vDispatchTarget){var vReturn=false; >+switch(vType){case "mousedown":this._lastMouseDownDomTarget=vDomTarget; >+this._lastMouseDownDispatchTarget=vDispatchTarget; >+break; >+case "mouseup":if(this._lastMouseDownDispatchTarget===vDispatchTarget&&vDomTarget!==this._lastMouseDownDomTarget){vReturn=true; >+}else{this._lastMouseDownDomTarget=null; >+this._lastMouseDownDispatchTarget=null; >+}}return vReturn; > }, >-supportsDrop:function(dragCache){var supportsDropMethod=this.getSupportsDropMethod(); >-if(supportsDropMethod!==null){return supportsDropMethod.call(this, >-dragCache); >-}return (this!=dragCache.sourceWidget); >-}}, >-settings:{"qx.widgetQueueDebugging":false, >-"qx.widgetDebugId":false}, >-defer:function(statics, >-members){statics.__initApplyMethods(members); >+"default":null}), >+_onmouseevent_post:function(vDomEvent, >+vType, >+vDomTarget){var vEventObject, >+vCaptureTarget, >+vDispatchTarget, >+vTarget, >+vOriginalTarget, >+vRelatedTarget, >+vFixClick, >+vTargetIsEnabled; >+vCaptureTarget=this.getCaptureWidget(); >+vOriginalTarget=qx.event.handler.EventHandler.getOriginalTargetObject(vDomTarget); >+if(!vCaptureTarget){vDispatchTarget=vTarget=qx.event.handler.EventHandler.getTargetObject(null, >+vOriginalTarget, >+true); >+}else{vDispatchTarget=vCaptureTarget; >+vTarget=qx.event.handler.EventHandler.getTargetObject(null, >+vOriginalTarget, >+true); >+}if(!vTarget){return; >+}vTargetIsEnabled=vTarget.getEnabled(); > if(qx.core.Variant.isSet("qx.client", >-"mshtml")){members._renderRuntimeWidth=function(v){this._style.pixelWidth=(v==null)?0:v; >-if(this._innerStyle){this._innerStyle.pixelWidth=(v==null)?0:v-2; >-}}; >-members._renderRuntimeHeight=function(v){this._style.pixelHeight=(v==null)?0:v; >-if(this._innerStyle){this._innerStyle.pixelHeight=(v==null)?0:v-2; >-}}; >-members._resetRuntimeWidth=function(){this._style.width=""; >-if(this._innerStyle){this._innerStyle.width=""; >-}}; >-members._resetRuntimeHeight=function(){this._style.height=""; >-if(this._innerStyle){this._innerStyle.height=""; >-}}; >-}statics.__initLayoutProperties(statics); >-{if(qx.core.Setting.get("qx.widgetQueueDebugging")){statics.flushGlobalQueues=function(){if(statics._inFlushGlobalQueues||!qx.core.Init.getInstance().getApplication().getUiReady()){return; >+"gecko")){vFixClick=this._onmouseevent_click_fix(vDomTarget, >+vType, >+vDispatchTarget); >+}if(vType=="contextmenu"&&!this.getAllowClientContextMenu()){qx.event.handler.EventHandler.stopDomEvent(vDomEvent); >+}if(vTargetIsEnabled&&vType=="mousedown"){qx.event.handler.FocusHandler.mouseFocus=true; >+var vRoot=vTarget.getFocusRoot(); >+if(vRoot){this.setFocusRoot(vRoot); >+var vFocusTarget=vTarget; >+while(!vFocusTarget.isFocusable()&&vFocusTarget!=vRoot){vFocusTarget=vFocusTarget.getParent(); >+}vRoot.setFocusedChild(vFocusTarget); >+vRoot.setActiveChild(vTarget); >+}}switch(vType){case "mouseover":case "mouseout":vRelatedTarget=qx.event.handler.EventHandler.getRelatedTargetObjectFromEvent(vDomEvent); >+if(vRelatedTarget==vTarget){return; >+}}vEventObject=new qx.event.type.MouseEvent(vType, >+vDomEvent, >+vDomTarget, >+vTarget, >+vOriginalTarget, >+vRelatedTarget); >+qx.event.type.MouseEvent.storeEventState(vEventObject); >+if(vTargetIsEnabled){var vEventWasProcessed=false; >+vEventWasProcessed=vDispatchTarget?vDispatchTarget.dispatchEvent(vEventObject):true; >+this._onmouseevent_special_post(vType, >+vTarget, >+vOriginalTarget, >+vDispatchTarget, >+vEventWasProcessed, >+vEventObject, >+vDomEvent); >+}else{if(vType=="mouseover"){if(qx.Class.isDefined("qx.ui.popup.ToolTipManager")){qx.ui.popup.ToolTipManager.getInstance().handleMouseOver(vEventObject); >+}}}vEventObject.dispose(); >+vEventObject=null; >+qx.ui.core.Widget.flushGlobalQueues(); >+if(vFixClick){this._onmouseevent_post(vDomEvent, >+"click", >+this._lastMouseDownDomTarget); >+this._lastMouseDownDomTarget=null; >+this._lastMouseDownDispatchTarget=null; >+}}, >+_onmouseevent_special_post:function(vType, >+vTarget, >+vOriginalTarget, >+vDispatchTarget, >+vEventWasProcessed, >+vEventObject, >+vDomEvent){switch(vType){case "mousedown":if(qx.Class.isDefined("qx.ui.popup.PopupManager")){qx.ui.popup.PopupManager.getInstance().update(vTarget); > } >-if(!(statics._globalWidgetQueue.length>0||statics._globalElementQueue.length>0||statics._globalStateQueue.length>0||statics._globalJobQueue.length>0||statics._globalLayoutQueue.length>0||statics._fastGlobalDisplayQueue.length>0||!qx.lang.Object.isEmpty(statics._lazyGlobalDisplayQueue))){return; >-}var globalWidgetQueueLength=statics._globalWidgetQueue.length; >-var globalElementQueueLength=statics._globalElementQueue.length; >-var globalStateQueueLength=statics._globalStateQueue.length; >-var globalJobQueueLength=statics._globalJobQueue.length; >-var globalLayoutQueueLength=statics._globalLayoutQueue.length; >-var fastGlobalDisplayQueueLength=statics._fastGlobalDisplayQueue.length; >-var lazyGlobalDisplayQueueLength=statics._lazyGlobalDisplayQueue?statics._lazyGlobalDisplayQueue.length:0; >-statics._inFlushGlobalQueues=true; >-var start; >-start=(new Date).valueOf(); >-statics.flushGlobalWidgetQueue(); >-var vWidgetDuration=(new Date).valueOf()-start; >-start=(new Date).valueOf(); >-statics.flushGlobalStateQueue(); >-var vStateDuration=(new Date).valueOf()-start; >-start=(new Date).valueOf(); >-statics.flushGlobalElementQueue(); >-var vElementDuration=(new Date).valueOf()-start; >-start=(new Date).valueOf(); >-statics.flushGlobalJobQueue(); >-var vJobDuration=(new Date).valueOf()-start; >-start=(new Date).valueOf(); >-statics.flushGlobalLayoutQueue(); >-var vLayoutDuration=(new Date).valueOf()-start; >-start=(new Date).valueOf(); >-statics.flushGlobalDisplayQueue(); >-var vDisplayDuration=(new Date).valueOf()-start; >-var vSum=vWidgetDuration+vStateDuration+vElementDuration+vJobDuration+vLayoutDuration+vDisplayDuration; >-if(vSum>0){var logger=qx.log.Logger.getClassLogger(qx.ui.core.Widget); >-logger.debug("Flush Global Queues"); >-logger.debug("Widgets: "+vWidgetDuration+"ms ("+globalWidgetQueueLength+")"); >-logger.debug("State: "+vStateDuration+"ms ("+globalStateQueueLength+")"); >-logger.debug("Element: "+vElementDuration+"ms ("+globalElementQueueLength+")"); >-logger.debug("Job: "+vJobDuration+"ms ("+globalJobQueueLength+")"); >-logger.debug("Layout: "+vLayoutDuration+"ms ("+globalLayoutQueueLength+")"); >-logger.debug("Display: "+vDisplayDuration+"ms (fast:"+fastGlobalDisplayQueueLength+",lazy:"+lazyGlobalDisplayQueueLength+")"); >-window.status="Flush: Widget:"+vWidgetDuration+" State:"+vStateDuration+" Element:"+vElementDuration+" Job:"+vJobDuration+" Layout:"+vLayoutDuration+" Display:"+vDisplayDuration; >-}delete statics._inFlushGlobalQueues; >-}; >-}}; >+if(qx.Class.isDefined("qx.ui.menu.Manager")){qx.ui.menu.Manager.getInstance().update(vTarget, >+vType); >+} >+if(qx.Class.isDefined("qx.ui.embed.IframeManager")){qx.ui.embed.IframeManager.getInstance().handleMouseDown(vEventObject); >+}break; >+case "mouseup":if(qx.Class.isDefined("qx.ui.menu.Manager")){qx.ui.menu.Manager.getInstance().update(vTarget, >+vType); >+} >+if(qx.Class.isDefined("qx.ui.embed.IframeManager")){qx.ui.embed.IframeManager.getInstance().handleMouseUp(vEventObject); >+}break; >+case "mouseover":if(qx.Class.isDefined("qx.ui.popup.ToolTipManager")){qx.ui.popup.ToolTipManager.getInstance().handleMouseOver(vEventObject); >+}break; >+case "mouseout":if(qx.Class.isDefined("qx.ui.popup.ToolTipManager")){qx.ui.popup.ToolTipManager.getInstance().handleMouseOut(vEventObject); >+}break; >+}this._ignoreWindowBlur=vType==="mousedown"; >+if(qx.Class.isDefined("qx.event.handler.DragAndDropHandler")&&vTarget){qx.event.handler.DragAndDropHandler.getInstance().handleMouseEvent(vEventObject); >+}}, >+_ondragevent:function(vEvent){if(!vEvent){vEvent=window.event; >+}qx.event.handler.EventHandler.stopDomEvent(vEvent); > }, >-destruct:function(){var elem=this.getElement(); >-if(elem){elem.qx_Widget=null; >-}this._disposeFields("_isCreated", >-"_inlineEvents", >-"_element", >-"_style", >-"_borderElement", >-"_innerStyle", >-"_oldParent", >-"_styleProperties", >-"_htmlProperties", >-"_htmlAttributes", >-"__states", >-"_jobQueue", >-"_layoutChanges", >-"__borderObject"); >+_onselectevent:function(e){if(!e){e=window.event; >+}var target=qx.event.handler.EventHandler.getOriginalTargetObjectFromEvent(e); >+while(target){if(target.getSelectable()!=null){if(!target.getSelectable()){qx.event.handler.EventHandler.stopDomEvent(e); >+}break; >+}target=target.getParent(); >+}}, >+_focused:false, >+_onwindowblur:function(e){if(!this._focused||this._ignoreWindowBlur){return; >+}this._focused=false; >+this.setCaptureWidget(null); >+if(qx.Class.isDefined("qx.ui.popup.PopupManager")){qx.ui.popup.PopupManager.getInstance().update(); >+}if(qx.Class.isDefined("qx.ui.menu.Manager")){qx.ui.menu.Manager.getInstance().update(); >+}if(qx.Class.isDefined("qx.event.handler.DragAndDropHandler")){qx.event.handler.DragAndDropHandler.getInstance().globalCancelDrag(); >+}qx.ui.core.ClientDocument.getInstance().createDispatchEvent("windowblur"); >+}, >+_onwindowfocus:function(e){if(this._focused){return; >+}this._focused=true; >+qx.ui.core.ClientDocument.getInstance().createDispatchEvent("windowfocus"); >+}, >+_onwindowresize:function(e){qx.ui.core.ClientDocument.getInstance().createDispatchEvent("windowresize"); >+}}, >+destruct:function(){this.detachEvents(); >+this._disposeObjectDeep("_commands", >+1); >+this._disposeFields("__onmouseevent", >+"__ondragevent", >+"__onselectevent", >+"__onwindowblur", >+"__onwindowfocus", >+"__onwindowresize"); >+this._disposeFields("_lastMouseEventType", >+"_lastMouseDown", >+"_lastMouseEventDate", >+"_lastMouseDownDomTarget", >+"_lastMouseDownDispatchTarget"); > }}); > > > > >-/* ID: qx.ui.core.Parent */ >-qx.Class.define("qx.ui.core.Parent", >-{extend:qx.ui.core.Widget, >-type:"abstract", >-construct:function(){this.base(arguments); >-this._children=[]; >-this._layoutImpl=this._createLayoutImpl(); >+/* ID: qx.dom.Node */ >+qx.Class.define("qx.dom.Node", >+{statics:{ELEMENT:1, >+ATTRIBUTE:2, >+TEXT:3, >+CDATA_SECTION:4, >+ENTITY_REFERENCE:5, >+ENTITY:6, >+PROCESSING_INSTRUCTION:7, >+COMMENT:8, >+DOCUMENT:9, >+DOCUMENT_TYPE:10, >+DOCUMENT_FRAGMENT:11, >+NOTATION:12, >+getDocument:function(node){if(this.isDocument(node)){return node; >+}return node.ownerDocument||node.document||null; > }, >-properties:{focusHandler:{check:"qx.event.handler.FocusHandler", >-apply:"_applyFocusHandler", >-nullable:true}, >-activeChild:{check:"qx.ui.core.Widget", >-apply:"_applyActiveChild", >-event:"changeActiveChild", >-nullable:true}, >-focusedChild:{check:"qx.ui.core.Widget", >-apply:"_applyFocusedChild", >-event:"changeFocusedChild", >-nullable:true}, >-visibleChildren:{_cached:true, >-defaultValue:null}}, >-members:{isFocusRoot:function(){return this.getFocusHandler()!=null; >+getWindow:qx.core.Variant.select("qx.client", >+{"mshtml":function(node){return this.getDocument(node).parentWindow; > }, >-getFocusRoot:function(){if(this.isFocusRoot()){return this; >-} >-if(this._hasParent){return this.getParent().getFocusRoot(); >-}return null; >+"default":function(node){return this.getDocument(node).defaultView; >+}}), >+getDocumentElement:function(node){return this.getDocument(node).documentElement; > }, >-activateFocusRoot:function(){if(this._focusHandler){return; >-}this._focusHandler=new qx.event.handler.FocusHandler(this); >-this.setFocusHandler(this._focusHandler); >+getBodyElement:function(node){return this.getDocument(node).body; > }, >-_onfocuskeyevent:function(e){this.getFocusHandler()._onkeyevent(this, >-e); >+isElement:function(node){return !!(node&&node.nodeType===qx.dom.Node.ELEMENT); > }, >-_applyFocusHandler:function(value, >-old){if(value){this.addEventListener("keypress", >-this._onfocuskeyevent); >-if(this.getTabIndex()<1){this.setTabIndex(1); >-}this.setHideFocus(true); >-this.setActiveChild(this); >-}else{this.removeEventListener("keydown", >-this._onfocuskeyevent); >-this.removeEventListener("keypress", >-this._onfocuskeyevent); >-this.setTabIndex(-1); >-this.setHideFocus(false); >-}}, >-_applyActiveChild:function(value, >-old){}, >-_applyFocusedChild:function(value, >-old){var vFocusValid=value!=null; >-var vBlurValid=old!=null; >-if(qx.Class.isDefined("qx.ui.popup.PopupManager")&&vFocusValid){var vMgr=qx.ui.popup.PopupManager.getInstance(); >-if(vMgr){vMgr.update(value); >-}} >-if(vBlurValid){if(old.hasEventListeners("focusout")){var vEventObject=new qx.event.type.FocusEvent("focusout", >-old); >-if(vFocusValid){vEventObject.setRelatedTarget(value); >-}old.dispatchEvent(vEventObject); >-vEventObject.dispose(); >-}} >-if(vFocusValid){if(value.hasEventListeners("focusin")){var vEventObject=new qx.event.type.FocusEvent("focusin", >-value); >-if(vBlurValid){vEventObject.setRelatedTarget(old); >-}value.dispatchEvent(vEventObject); >-vEventObject.dispose(); >-}} >-if(vBlurValid){if(this.getActiveChild()==old&&!vFocusValid){this.setActiveChild(null); >-}old.setFocused(false); >-var vEventObject=new qx.event.type.FocusEvent("blur", >-old); >-if(vFocusValid){vEventObject.setRelatedTarget(value); >-}old.dispatchEvent(vEventObject); >-if(qx.Class.isDefined("qx.ui.popup.ToolTipManager")){var vMgr=qx.ui.popup.ToolTipManager.getInstance(); >-if(vMgr){vMgr.handleBlur(vEventObject); >-}}vEventObject.dispose(); >-} >-if(vFocusValid){this.setActiveChild(value); >-value.setFocused(true); >-qx.event.handler.EventHandler.getInstance().setFocusRoot(this); >-var vEventObject=new qx.event.type.FocusEvent("focus", >-value); >-if(vBlurValid){vEventObject.setRelatedTarget(old); >-}value.dispatchEvent(vEventObject); >-if(qx.Class.isDefined("qx.ui.popup.ToolTipManager")){var vMgr=qx.ui.popup.ToolTipManager.getInstance(); >-if(vMgr){vMgr.handleFocus(vEventObject); >-}}vEventObject.dispose(); >-}}, >-_layoutImpl:null, >-_createLayoutImpl:function(){return null; >+isDocument:function(node){return !!(node&&node.nodeType===qx.dom.Node.DOCUMENT); > }, >-getLayoutImpl:function(){return this._layoutImpl; >+isText:function(node){return !!(node&&node.nodeType===qx.dom.Node.TEXT); > }, >-getChildren:function(){return this._children; >+isWindow:function(node){return node.document&&this.getWindow(node.document)==node; > }, >-getChildrenLength:function(){return this.getChildren().length; >+getText:function(node){if(!node||!node.nodeType){return null; >+} >+switch(node.nodeType){case 1:var i, >+a=[], >+nodes=node.childNodes, >+length=nodes.length; >+for(i=0;i<length;i++){a[i]=this.getText(nodes[i]); >+}return a.join(""); >+case 2:return node.nodeValue; >+break; >+case 3:return node.nodeValue; >+break; >+}return null; >+}}}); >+ >+ >+ >+ >+/* ID: qx.event.handler.KeyEventHandler */ >+qx.Class.define("qx.event.handler.KeyEventHandler", >+{type:"singleton", >+extend:qx.core.Target, >+construct:function(){this.base(arguments); >+this.__onkeypress=qx.lang.Function.bind(this._onkeypress, >+this); >+this.__onkeyupdown=qx.lang.Function.bind(this._onkeyupdown, >+this); > }, >-hasChildren:function(){return this.getChildrenLength()>0; >+members:{_attachEvents:function(){var el=qx.core.Variant.isSet("qx.client", >+"gecko")?window:document.body; >+qx.html.EventRegistration.addEventListener(el, >+"keypress", >+this.__onkeypress); >+qx.html.EventRegistration.addEventListener(el, >+"keyup", >+this.__onkeyupdown); >+qx.html.EventRegistration.addEventListener(el, >+"keydown", >+this.__onkeyupdown); > }, >-isEmpty:function(){return this.getChildrenLength()==0; >+_detachEvents:function(){var el=qx.core.Variant.isSet("qx.client", >+"gecko")?window:document.body; >+qx.html.EventRegistration.removeEventListener(el, >+"keypress", >+this.__onkeypress); >+qx.html.EventRegistration.removeEventListener(el, >+"keyup", >+this.__onkeyupdown); >+qx.html.EventRegistration.removeEventListener(el, >+"keydown", >+this.__onkeyupdown); >+}, >+_onkeyupdown:qx.core.Variant.select("qx.client", >+{"mshtml":function(domEvent){domEvent=window.event||domEvent; >+var keyCode=domEvent.keyCode; >+var charcode=0; >+var type=domEvent.type; >+this.debug("native - type: "+type+" keyCode: "+keyCode+" charCode: "+charcode); >+if(!(this._lastUpDownType[keyCode]=="keydown"&&type=="keydown")){this._idealKeyHandler(keyCode, >+charcode, >+type, >+domEvent); >+}if(type=="keydown"){if(this._isNonPrintableKeyCode(keyCode)|| >+keyCode== >+8||keyCode==9){this._idealKeyHandler(keyCode, >+charcode, >+"keypress", >+domEvent); >+}}this._lastUpDownType[keyCode]=type; >+}, >+"gecko":function(domEvent){var keyCode=this._keyCodeFix[domEvent.keyCode]||domEvent.keyCode; >+var charCode=domEvent.charCode; >+var type=domEvent.type; >+this.debug("native - type: "+type+" keyCode: "+keyCode+" charCode: "+charCode); >+if(qx.core.Client.getInstance().runsOnWindows()){var keyIdentifier=keyCode?this._keyCodeToIdentifier(keyCode):this._charCodeToIdentifier(charCode); >+if(!(this._lastUpDownType[keyIdentifier]=="keypress"&&type=="keydown")){this._idealKeyHandler(keyCode, >+charCode, >+type, >+domEvent); >+}this._lastUpDownType[keyIdentifier]=type; >+}else{this._idealKeyHandler(keyCode, >+charCode, >+type, >+domEvent); >+}}, >+"webkit":function(domEvent){var keyCode=0; >+var charCode=0; >+var type=domEvent.type; >+this.debug("native - type: "+type+" keyCode: "+keyCode+" charCode: "+charCode); >+if(qx.core.Client.getInstance().getVersion()<420){if(!this._lastCharCodeForType){this._lastCharCodeForType={}; >+}var isSafariSpecialKey=this._lastCharCodeForType[type]>63000; >+if(isSafariSpecialKey){this._lastCharCodeForType[type]=null; >+return; >+}this._lastCharCodeForType[type]=domEvent.charCode; >+} >+if(type=="keyup"||type=="keydown"){keyCode=this._charCode2KeyCode[domEvent.charCode]||domEvent.keyCode; >+}else{if(this._charCode2KeyCode[domEvent.charCode]){keyCode=this._charCode2KeyCode[domEvent.charCode]; >+}else{charCode=domEvent.charCode; >+}}this._idealKeyHandler(keyCode, >+charCode, >+type, >+domEvent); > }, >-indexOf:function(vChild){return this.getChildren().indexOf(vChild); >+"opera":function(domEvent){this._idealKeyHandler(domEvent.keyCode, >+0, >+domEvent.type, >+domEvent); >+this._lastKeyCode=domEvent.keyCode; > }, >-contains:function(vWidget){switch(vWidget){case null:return false; >-case this:return true; >-default:return this.contains(vWidget.getParent()); >+"default":function(){throw new Error("Unsupported browser for key event handler!"); >+}}), >+_onkeypress:qx.core.Variant.select("qx.client", >+{"mshtml":function(domEvent){var domEvent=window.event||domEvent; >+if(this._charCode2KeyCode[domEvent.keyCode]){this._idealKeyHandler(this._charCode2KeyCode[domEvent.keyCode], >+0, >+domEvent.type, >+domEvent); >+}else{this._idealKeyHandler(0, >+domEvent.keyCode, >+domEvent.type, >+domEvent); > }}, >-_computeVisibleChildren:function(){var vVisible=[]; >-var vChildren=this.getChildren(); >-if(!vChildren){return 0; >-}var vLength=vChildren.length; >-for(var i=0;i<vLength;i++){var vChild=vChildren[i]; >-if(vChild._isDisplayable){vVisible.push(vChild); >-}}return vVisible; >-}, >-getVisibleChildrenLength:function(){return this.getVisibleChildren().length; >+"gecko":function(domEvent){var keyCode=this._keyCodeFix[domEvent.keyCode]||domEvent.keyCode; >+var charCode=domEvent.charCode; >+var type=domEvent.type; >+this.debug("native - type: "+type+" keyCode: "+keyCode+" charCode: "+charCode); >+if(qx.core.Client.getInstance().runsOnWindows()){var keyIdentifier=keyCode?this._keyCodeToIdentifier(keyCode):this._charCodeToIdentifier(charCode); >+if(!(this._lastUpDownType[keyIdentifier]=="keypress"&&type=="keydown")){this._idealKeyHandler(keyCode, >+charCode, >+type, >+domEvent); >+}this._lastUpDownType[keyIdentifier]=type; >+}else{this._idealKeyHandler(keyCode, >+charCode, >+type, >+domEvent); >+}}, >+"webkit":function(domEvent){var keyCode=0; >+var charCode=0; >+var type=domEvent.type; >+if(qx.core.Client.getInstance().getVersion()<420){if(!this._lastCharCodeForType){this._lastCharCodeForType={}; >+}var isSafariSpecialKey=this._lastCharCodeForType[type]>63000; >+if(isSafariSpecialKey){this._lastCharCodeForType[type]=null; >+return; >+}this._lastCharCodeForType[type]=domEvent.charCode; >+} >+if(type=="keyup"||type=="keydown"){keyCode=this._charCode2KeyCode[domEvent.charCode]||domEvent.keyCode; >+}else{if(this._charCode2KeyCode[domEvent.charCode]){keyCode=this._charCode2KeyCode[domEvent.charCode]; >+}else{charCode=domEvent.charCode; >+}}this._idealKeyHandler(keyCode, >+charCode, >+type, >+domEvent); > }, >-hasVisibleChildren:function(){return this.getVisibleChildrenLength()>0; >+"opera":function(domEvent){var keyCode=domEvent.keyCode; >+var type=domEvent.type; >+if(keyCode!=this._lastKeyCode){this._idealKeyHandler(0, >+this._lastKeyCode, >+type, >+domEvent); >+}else{if(this._keyCodeToIdentifierMap[keyCode]){this._idealKeyHandler(keyCode, >+0, >+type, >+domEvent); >+}else{this._idealKeyHandler(0, >+keyCode, >+type, >+domEvent); >+}}this._lastKeyCode=keyCode; > }, >-isVisibleEmpty:function(){return this.getVisibleChildrenLength()==0; >+"default":function(){throw new Error("Unsupported browser for key event handler!"); >+}}), >+_specialCharCodeMap:{8:"Backspace", >+9:"Tab", >+13:"Enter", >+27:"Escape", >+32:"Space"}, >+_keyCodeToIdentifierMap:{16:"Shift", >+17:"Control", >+18:"Alt", >+20:"CapsLock", >+224:"Meta", >+37:"Left", >+38:"Up", >+39:"Right", >+40:"Down", >+33:"PageUp", >+34:"PageDown", >+35:"End", >+36:"Home", >+45:"Insert", >+46:"Delete", >+112:"F1", >+113:"F2", >+114:"F3", >+115:"F4", >+116:"F5", >+117:"F6", >+118:"F7", >+119:"F8", >+120:"F9", >+121:"F10", >+122:"F11", >+123:"F12", >+144:"NumLock", >+44:"PrintScreen", >+145:"Scroll", >+19:"Pause", >+91:"Win", >+93:"Apps"}, >+_numpadToCharCode:{96:"0".charCodeAt(0), >+97:"1".charCodeAt(0), >+98:"2".charCodeAt(0), >+99:"3".charCodeAt(0), >+100:"4".charCodeAt(0), >+101:"5".charCodeAt(0), >+102:"6".charCodeAt(0), >+103:"7".charCodeAt(0), >+104:"8".charCodeAt(0), >+105:"9".charCodeAt(0), >+106:"*".charCodeAt(0), >+107:"+".charCodeAt(0), >+109:"-".charCodeAt(0), >+110:",".charCodeAt(0), >+111:"/".charCodeAt(0)}, >+_charCodeA:"A".charCodeAt(0), >+_charCodeZ:"Z".charCodeAt(0), >+_charCode0:"0".charCodeAt(0), >+_charCode9:"9".charCodeAt(0), >+_isNonPrintableKeyCode:function(keyCode){return this._keyCodeToIdentifierMap[keyCode]?true:false; > }, >-add:function(varargs){var vWidget; >-for(var i=0, >-l=arguments.length;i<l;i++){vWidget=arguments[i]; >-if(!(vWidget instanceof qx.ui.core.Parent)&&!(vWidget instanceof qx.ui.basic.Terminator)){throw new Error("Invalid Widget: "+vWidget); >-}else{vWidget.setParent(this); >-}}return this; >+_isIdentifiableKeyCode:function(keyCode){if(keyCode>=this._charCodeA&&keyCode<=this._charCodeZ){return true; >+}if(keyCode>=this._charCode0&&keyCode<=this._charCode9){return true; >+}if(this._specialCharCodeMap[keyCode]){return true; >+}if(this._numpadToCharCode[keyCode]){return true; >+}if(this._isNonPrintableKeyCode(keyCode)){return true; >+}return false; > }, >-addAt:function(vChild, >-vIndex){if(vIndex==null||vIndex<0){throw new Error("Not a valid index for addAt(): "+vIndex); >+isValidKeyIdentifier:function(keyIdentifier){if(this._identifierToKeyCodeMap[keyIdentifier]){return true; > } >-if(vChild.getParent()==this){var vChildren=this.getChildren(); >-var vOldIndex=vChildren.indexOf(vChild); >-if(vOldIndex!=vIndex){if(vOldIndex!=-1){qx.lang.Array.removeAt(vChildren, >-vOldIndex); >-}qx.lang.Array.insertAt(vChildren, >-vChild, >-vIndex); >-if(this._initialLayoutDone){this._invalidateVisibleChildren(); >-this.getLayoutImpl().updateChildrenOnMoveChild(vChild, >-vIndex, >-vOldIndex); >-}}}else{vChild._insertIndex=vIndex; >-vChild.setParent(this); >+if(keyIdentifier.length!=1){return false; >+} >+if(keyIdentifier>="0"&&keyIdentifier<="9"){return true; >+} >+if(keyIdentifier>="A"&&keyIdentifier<="Z"){return true; >+} >+switch(keyIdentifier){case "+":case "-":case "*":case "/":return true; >+default:return false; > }}, >-addAtBegin:function(vChild){return this.addAt(vChild, >-0); >-}, >-addAtEnd:function(vChild){var vLength=this.getChildrenLength(); >-return this.addAt(vChild, >-vChild.getParent()==this?vLength-1:vLength); >-}, >-addBefore:function(vChild, >-vBefore){var vChildren=this.getChildren(); >-var vTargetIndex=vChildren.indexOf(vBefore); >-if(vTargetIndex==-1){throw new Error("Child to add before: "+vBefore+" is not inside this parent."); >-}var vSourceIndex=vChildren.indexOf(vChild); >-if(vSourceIndex==-1||vSourceIndex>vTargetIndex){vTargetIndex++; >-}return this.addAt(vChild, >-Math.max(0, >-vTargetIndex-1)); >+_keyCodeToIdentifier:function(keyCode){if(this._isIdentifiableKeyCode(keyCode)){var numPadKeyCode=this._numpadToCharCode[keyCode]; >+if(numPadKeyCode){return String.fromCharCode(numPadKeyCode); >+}return (this._keyCodeToIdentifierMap[keyCode]||this._specialCharCodeMap[keyCode]||String.fromCharCode(keyCode)); >+}else{return "Unidentified"; >+}}, >+_charCodeToIdentifier:function(charCode){return this._specialCharCodeMap[charCode]||String.fromCharCode(charCode).toUpperCase(); > }, >-addAfter:function(vChild, >-vAfter){var vChildren=this.getChildren(); >-var vTargetIndex=vChildren.indexOf(vAfter); >-if(vTargetIndex==-1){throw new Error("Child to add after: "+vAfter+" is not inside this parent."); >-}var vSourceIndex=vChildren.indexOf(vChild); >-if(vSourceIndex!=-1&&vSourceIndex<vTargetIndex){vTargetIndex--; >-}return this.addAt(vChild, >-Math.min(vChildren.length, >-vTargetIndex+1)); >+_identifierToKeyCode:function(keyIdentifier){return this._identifierToKeyCodeMap[keyIdentifier]||keyIdentifier.charCodeAt(0); > }, >-remove:function(varargs){var vWidget; >-for(var i=0, >-l=arguments.length;i<l;i++){vWidget=arguments[i]; >-if(!(vWidget instanceof qx.ui.core.Parent)&&!(vWidget instanceof qx.ui.basic.Terminator)){throw new Error("Invalid Widget: "+vWidget); >-}else if(vWidget.getParent()==this){vWidget.setParent(null); >+_idealKeyHandler:function(keyCode, >+charCode, >+eventType, >+domEvent){if(!keyCode&&!charCode){return; >+}var keyIdentifier; >+if(keyCode){keyIdentifier=this._keyCodeToIdentifier(keyCode); >+qx.event.handler.EventHandler.getInstance()._onkeyevent_post(domEvent, >+eventType, >+keyCode, >+charCode, >+keyIdentifier); >+}else{keyIdentifier=this._charCodeToIdentifier(charCode); >+qx.event.handler.EventHandler.getInstance()._onkeyevent_post(domEvent, >+"keypress", >+keyCode, >+charCode, >+keyIdentifier); >+qx.event.handler.EventHandler.getInstance()._onkeyevent_post(domEvent, >+"keyinput", >+keyCode, >+charCode, >+keyIdentifier); > }}}, >-removeAt:function(vIndex){var vChild=this.getChildren()[vIndex]; >-if(vChild){delete vChild._insertIndex; >-vChild.setParent(null); >-}}, >-removeAll:function(){var cs=this.getChildren(); >-var co=cs[0]; >-while(co){this.remove(co); >-co=cs[0]; >+defer:function(statics, >+members, >+properties){if(!members._identifierToKeyCodeMap){members._identifierToKeyCodeMap={}; >+for(var key in members._keyCodeToIdentifierMap){members._identifierToKeyCodeMap[members._keyCodeToIdentifierMap[key]]=parseInt(key); >+} >+for(var key in members._specialCharCodeMap){members._identifierToKeyCodeMap[members._specialCharCodeMap[key]]=parseInt(key); >+}} >+if(qx.core.Variant.isSet("qx.client", >+"mshtml")){members._lastUpDownType={}; >+members._charCode2KeyCode={13:13, >+27:27}; >+}else if(qx.core.Variant.isSet("qx.client", >+"gecko")){members._lastUpDownType={}; >+members._keyCodeFix={12:members._identifierToKeyCode("NumLock")}; >+}else if(qx.core.Variant.isSet("qx.client", >+"webkit")){members._charCode2KeyCode={63289:members._identifierToKeyCode("NumLock"), >+63276:members._identifierToKeyCode("PageUp"), >+63277:members._identifierToKeyCode("PageDown"), >+63275:members._identifierToKeyCode("End"), >+63273:members._identifierToKeyCode("Home"), >+63234:members._identifierToKeyCode("Left"), >+63232:members._identifierToKeyCode("Up"), >+63235:members._identifierToKeyCode("Right"), >+63233:members._identifierToKeyCode("Down"), >+63272:members._identifierToKeyCode("Delete"), >+63302:members._identifierToKeyCode("Insert"), >+63236:members._identifierToKeyCode("F1"), >+63237:members._identifierToKeyCode("F2"), >+63238:members._identifierToKeyCode("F3"), >+63239:members._identifierToKeyCode("F4"), >+63240:members._identifierToKeyCode("F5"), >+63241:members._identifierToKeyCode("F6"), >+63242:members._identifierToKeyCode("F7"), >+63243:members._identifierToKeyCode("F8"), >+63244:members._identifierToKeyCode("F9"), >+63245:members._identifierToKeyCode("F10"), >+63246:members._identifierToKeyCode("F11"), >+63247:members._identifierToKeyCode("F12"), >+63248:members._identifierToKeyCode("PrintScreen"), >+3:members._identifierToKeyCode("Enter"), >+12:members._identifierToKeyCode("NumLock"), >+13:members._identifierToKeyCode("Enter")}; >+}else if(qx.core.Variant.isSet("qx.client", >+"opera")){members._lastKeyCode=null; > }}, >-getFirstChild:function(){return qx.lang.Array.getFirst(this.getChildren())||null; >+destruct:function(){this._detachEvents(); >+this._disposeFields("_lastUpDownType", >+"_lastKeyCode"); >+}}); >+ >+ >+ >+ >+/* ID: qx.event.type.DomEvent */ >+qx.Class.define("qx.event.type.DomEvent", >+{extend:qx.event.type.Event, >+construct:function(vType, >+vDomEvent, >+vDomTarget, >+vTarget, >+vOriginalTarget){this.base(arguments, >+vType); >+this.setDomEvent(vDomEvent); >+this.setDomTarget(vDomTarget); >+this.setTarget(vTarget); >+this.setOriginalTarget(vOriginalTarget); > }, >-getFirstVisibleChild:function(){return qx.lang.Array.getFirst(this.getVisibleChildren())||null; >+statics:{SHIFT_MASK:1, >+CTRL_MASK:2, >+ALT_MASK:4, >+META_MASK:8}, >+properties:{bubbles:{_fast:true, >+defaultValue:true, >+noCompute:true}, >+propagationStopped:{_fast:true, >+defaultValue:false, >+noCompute:true}, >+domEvent:{_fast:true, >+setOnlyOnce:true, >+noCompute:true}, >+domTarget:{_fast:true, >+setOnlyOnce:true, >+noCompute:true}, >+modifiers:{_cached:true, >+defaultValue:null}}, >+members:{_computeModifiers:function(){var mask=0; >+var evt=this.getDomEvent(); >+if(evt.shiftKey)mask|=qx.event.type.DomEvent.SHIFT_MASK; >+if(evt.ctrlKey)mask|=qx.event.type.DomEvent.CTRL_MASK; >+if(evt.altKey)mask|=qx.event.type.DomEvent.ALT_MASK; >+if(evt.metaKey)mask|=qx.event.type.DomEvent.META_MASK; >+return mask; > }, >-getFirstActiveChild:function(vIgnoreClasses){return qx.ui.core.Widget.getActiveSiblingHelper(null, >-this, >-1, >-vIgnoreClasses, >-"first")||null; >+isCtrlPressed:function(){return this.getDomEvent().ctrlKey; > }, >-getLastChild:function(){return qx.lang.Array.getLast(this.getChildren())||null; >+isShiftPressed:function(){return this.getDomEvent().shiftKey; > }, >-getLastVisibleChild:function(){return qx.lang.Array.getLast(this.getVisibleChildren())||null; >+isAltPressed:function(){return this.getDomEvent().altKey; > }, >-getLastActiveChild:function(vIgnoreClasses){return qx.ui.core.Widget.getActiveSiblingHelper(null, >-this, >--1, >-vIgnoreClasses, >-"last")||null; >+isMetaPressed:function(){return this.getDomEvent().metaKey; > }, >-forEachChild:function(vFunc){var ch=this.getChildren(), >-chc, >-i=-1; >-if(!ch){return; >-} >-while(chc=ch[++i]){vFunc.call(chc, >-i); >-}}, >-forEachVisibleChild:function(vFunc){var ch=this.getVisibleChildren(), >-chc, >-i=-1; >-if(!ch){return; >-} >-while(chc=ch[++i]){vFunc.call(chc, >-i); >+isCtrlOrCommandPressed:function(){if(qx.core.Client.getInstance().runsOnMacintosh()){return this.getDomEvent().metaKey; >+}else{return this.getDomEvent().ctrlKey; > }}, >-_beforeAppear:function(){this.base(arguments); >-this.forEachVisibleChild(function(){if(this.isAppearRelevant()){this._beforeAppear(); >-}}); >-}, >-_afterAppear:function(){this.base(arguments); >-this.forEachVisibleChild(function(){if(this.isAppearRelevant()){this._afterAppear(); >-}}); >-}, >-_beforeDisappear:function(){this.base(arguments); >-this.forEachVisibleChild(function(){if(this.isAppearRelevant()){this._beforeDisappear(); >-}}); >-}, >-_afterDisappear:function(){this.base(arguments); >-this.forEachVisibleChild(function(){if(this.isAppearRelevant()){this._afterDisappear(); >-}}); >+setDefaultPrevented:qx.core.Variant.select("qx.client", >+{"mshtml":function(vValue){if(!vValue){return this.error("It is not possible to set preventDefault to false if it was true before!", >+"setDefaultPrevented"); >+}this.getDomEvent().returnValue=false; >+this.base(arguments, >+vValue); > }, >-_beforeInsertDom:function(){this.base(arguments); >-this.forEachVisibleChild(function(){if(this.isAppearRelevant()){this._beforeInsertDom(); >+"default":function(vValue){if(!vValue){return this.error("It is not possible to set preventDefault to false if it was true before!", >+"setDefaultPrevented"); >+}this.getDomEvent().preventDefault(); >+this.getDomEvent().returnValue=false; >+this.base(arguments, >+vValue); >+}})}, >+destruct:function(){this._disposeFields("_valueDomEvent", >+"_valueDomTarget"); > }}); >+ >+ >+ >+ >+/* ID: qx.event.type.KeyEvent */ >+qx.Class.define("qx.event.type.KeyEvent", >+{extend:qx.event.type.DomEvent, >+construct:function(vType, >+vDomEvent, >+vDomTarget, >+vTarget, >+vOriginalTarget, >+vKeyCode, >+vCharCode, >+vKeyIdentifier){this.base(arguments, >+vType, >+vDomEvent, >+vDomTarget, >+vTarget, >+vOriginalTarget); >+this._keyCode=vKeyCode; >+this.setCharCode(vCharCode); >+this.setKeyIdentifier(vKeyIdentifier); > }, >-_afterInsertDom:function(){this.base(arguments); >-this.forEachVisibleChild(function(){if(this.isAppearRelevant()){this._afterInsertDom(); >-}}); >+statics:{keys:{esc:27, >+enter:13, >+tab:9, >+space:32, >+up:38, >+down:40, >+left:37, >+right:39, >+shift:16, >+ctrl:17, >+alt:18, >+f1:112, >+f2:113, >+f3:114, >+f4:115, >+f5:116, >+f6:117, >+f7:118, >+f8:119, >+f9:120, >+f10:121, >+f11:122, >+f12:123, >+print:124, >+del:46, >+backspace:8, >+insert:45, >+home:36, >+end:35, >+pageup:33, >+pagedown:34, >+numlock:144, >+numpad_0:96, >+numpad_1:97, >+numpad_2:98, >+numpad_3:99, >+numpad_4:100, >+numpad_5:101, >+numpad_6:102, >+numpad_7:103, >+numpad_8:104, >+numpad_9:105, >+numpad_divide:111, >+numpad_multiply:106, >+numpad_minus:109, >+numpad_plus:107}, >+codes:{}}, >+properties:{charCode:{_fast:true, >+setOnlyOnce:true, >+noCompute:true}, >+keyIdentifier:{_fast:true, >+setOnlyOnce:true, >+noCompute:true}}, >+members:{getKeyCode:function(){qx.log.Logger.deprecatedMethodWarning(arguments.callee, >+"Please use getKeyIdentifier() instead."); >+return this._keyCode; >+}}, >+defer:function(statics){for(var i in statics.keys){statics.codes[statics.keys[i]]=i; >+}}}); >+ >+ >+ >+ >+/* ID: qx.event.type.MouseEvent */ >+qx.Class.define("qx.event.type.MouseEvent", >+{extend:qx.event.type.DomEvent, >+construct:function(vType, >+vDomEvent, >+vDomTarget, >+vTarget, >+vOriginalTarget, >+vRelatedTarget){this.base(arguments, >+vType, >+vDomEvent, >+vDomTarget, >+vTarget, >+vOriginalTarget); >+if(vRelatedTarget){this.setRelatedTarget(vRelatedTarget); >+}}, >+statics:{C_BUTTON_LEFT:"left", >+C_BUTTON_MIDDLE:"middle", >+C_BUTTON_RIGHT:"right", >+C_BUTTON_NONE:"none", >+_screenX:0, >+_screenY:0, >+_clientX:0, >+_clientY:0, >+_pageX:0, >+_pageY:0, >+_button:null, >+buttons:qx.core.Variant.select("qx.client", >+{"mshtml":{left:1, >+right:2, >+middle:4}, >+"default":{left:0, >+right:2, >+middle:1}}), >+storeEventState:function(e){this._screenX=e.getScreenX(); >+this._screenY=e.getScreenY(); >+this._clientX=e.getClientX(); >+this._clientY=e.getClientY(); >+this._pageX=e.getPageX(); >+this._pageY=e.getPageY(); >+this._button=e.getButton(); > }, >-_beforeRemoveDom:function(){this.base(arguments); >-this.forEachVisibleChild(function(){if(this.isAppearRelevant()){this._beforeRemoveDom(); >-}}); >+getScreenX:function(){return this._screenX; > }, >-_afterRemoveDom:function(){this.base(arguments); >-this.forEachVisibleChild(function(){if(this.isAppearRelevant()){this._afterRemoveDom(); >-}}); >+getScreenY:function(){return this._screenY; > }, >-_handleDisplayableCustom:function(vDisplayable, >-vParent, >-vHint){this.forEachChild(function(){this._handleDisplayable(); >-}); >+getClientX:function(){return this._clientX; > }, >-_addChildrenToStateQueue:function(){this.forEachVisibleChild(function(){this.addToStateQueue(); >-}); >+getClientY:function(){return this._clientY; > }, >-recursiveAddToStateQueue:function(){this.addToStateQueue(); >-this.forEachVisibleChild(function(){this.recursiveAddToStateQueue(); >-}); >+getPageX:function(){return this._pageX; > }, >-_recursiveAppearanceThemeUpdate:function(vNewAppearanceTheme, >-vOldAppearanceTheme){this.base(arguments, >-vNewAppearanceTheme, >-vOldAppearanceTheme); >-this.forEachVisibleChild(function(){this._recursiveAppearanceThemeUpdate(vNewAppearanceTheme, >-vOldAppearanceTheme); >-}); >+getPageY:function(){return this._pageY; > }, >-_addChildToChildrenQueue:function(vChild){if(!vChild._isInParentChildrenQueue&&!vChild._isDisplayable){this.warn("Ignoring invisible child: "+vChild); >-} >-if(!vChild._isInParentChildrenQueue&&vChild._isDisplayable){qx.ui.core.Widget.addToGlobalLayoutQueue(this); >-if(!this._childrenQueue){this._childrenQueue={}; >-}this._childrenQueue[vChild.toHashCode()]=vChild; >-}}, >-_removeChildFromChildrenQueue:function(vChild){if(this._childrenQueue&&vChild._isInParentChildrenQueue){delete this._childrenQueue[vChild.toHashCode()]; >-if(qx.lang.Object.isEmpty(this._childrenQueue)){qx.ui.core.Widget.removeFromGlobalLayoutQueue(this); >-}}}, >-_flushChildrenQueue:function(){if(!qx.lang.Object.isEmpty(this._childrenQueue)){this.getLayoutImpl().flushChildrenQueue(this._childrenQueue); >-delete this._childrenQueue; >+getButton:function(){return this._button; > }}, >-_addChildrenToLayoutQueue:function(p){this.forEachChild(function(){this.addToLayoutChanges(p); >-}); >-}, >-_layoutChild:function(vChild){if(!vChild._isDisplayable){return ; >-}var vChanges=vChild._layoutChanges; >-try{if(vChild.renderBorder){if(vChanges.borderTop||vChanges.borderRight||vChanges.borderBottom||vChanges.borderLeft){vChild.renderBorder(vChanges); >-}}}catch(ex){this.error("Could not apply border to child "+vChild, >-ex); >-} >-try{if(vChild.renderPadding){if(vChanges.paddingLeft||vChanges.paddingRight||vChanges.paddingTop||vChanges.paddingBottom){vChild.renderPadding(vChanges); >-}}}catch(ex){this.error("Could not apply padding to child "+vChild, >-ex); >-}try{this.getLayoutImpl().layoutChild(vChild, >-vChanges); >-}catch(ex){this.error("Could not layout child "+vChild+" through layout handler", >-ex); >-}try{vChild._layoutPost(vChanges); >-}catch(ex){this.error("Could not post layout child "+vChild, >-ex); >-}try{if(vChanges.initial){vChild._initialLayoutDone=true; >-qx.ui.core.Widget.addToGlobalDisplayQueue(vChild); >-}}catch(ex){this.error("Could not handle display updates from layout flush for child "+vChild, >-ex); >-}vChild._layoutChanges={}; >-delete vChild._isInParentLayoutQueue; >-delete this._childrenQueue[vChild.toHashCode()]; >-}, >-_layoutPost:qx.lang.Function.returnTrue, >-_computePreferredInnerWidth:function(){return this.getLayoutImpl().computeChildrenNeededWidth(); >+properties:{button:{_fast:true, >+readOnly:true}, >+wheelDelta:{_fast:true, >+readOnly:true}}, >+members:{getPageX:qx.core.Variant.select("qx.client", >+{"mshtml":function(){return this.getDomEvent().clientX+qx.bom.Viewport.getScrollLeft(window); > }, >-_computePreferredInnerHeight:function(){return this.getLayoutImpl().computeChildrenNeededHeight(); >+"default":function(){return this.getDomEvent().pageX; >+}}), >+getPageY:qx.core.Variant.select("qx.client", >+{"mshtml":function(){return this.getDomEvent().clientY+qx.bom.Viewport.getScrollTop(window); > }, >-_changeInnerWidth:function(vNew, >-vOld){var vLayout=this.getLayoutImpl(); >-if(vLayout.invalidateChildrenFlexWidth){vLayout.invalidateChildrenFlexWidth(); >-}this.forEachVisibleChild(function(){if(vLayout.updateChildOnInnerWidthChange(this)&&this._recomputeBoxWidth()){this._recomputeOuterWidth(); >-this._recomputeInnerWidth(); >-}}); >+"default":function(){return this.getDomEvent().pageY; >+}}), >+getClientX:function(){return this.getDomEvent().clientX; > }, >-_changeInnerHeight:function(vNew, >-vOld){var vLayout=this.getLayoutImpl(); >-if(vLayout.invalidateChildrenFlexHeight){vLayout.invalidateChildrenFlexHeight(); >-}this.forEachVisibleChild(function(){if(vLayout.updateChildOnInnerHeightChange(this)&&this._recomputeBoxHeight()){this._recomputeOuterHeight(); >-this._recomputeInnerHeight(); >-}}); >+getClientY:function(){return this.getDomEvent().clientY; > }, >-getInnerWidthForChild:function(vChild){return this.getInnerWidth(); >+getScreenX:function(){return this.getDomEvent().screenX; > }, >-getInnerHeightForChild:function(vChild){return this.getInnerHeight(); >+getScreenY:function(){return this.getDomEvent().screenY; > }, >-_remappingChildTable:["add", >-"remove", >-"addAt", >-"addAtBegin", >-"addAtEnd", >-"removeAt", >-"addBefore", >-"addAfter", >-"removeAll"], >-_remapStart:"return this._remappingChildTarget.", >-_remapStop:".apply(this._remappingChildTarget, arguments)", >-remapChildrenHandlingTo:function(vTarget){var t=this._remappingChildTable; >-this._remappingChildTarget=vTarget; >-for(var i=0, >-l=t.length, >-s;i<l;i++){s=t[i]; >-this[s]=new Function(qx.ui.core.Parent.prototype._remapStart+s+qx.ui.core.Parent.prototype._remapStop); >-}}}, >-defer:function(statics, >-members, >-properties){if(qx.core.Variant.isSet("qx.client", >-"opera")){members._layoutChildOrig=members._layoutChild; >-members._layoutChild=function(vChild){if(!vChild._initialLayoutDone||!vChild._layoutChanges.border){return this._layoutChildOrig(vChild); >-}var vStyle=vChild.getElement().style; >-var vOldDisplay=vStyle.display; >-vStyle.display="none"; >-var vRet=this._layoutChildOrig(vChild); >-vStyle.display=vOldDisplay; >-return vRet; >-}; >+isLeftButtonPressed:qx.core.Variant.select("qx.client", >+{"mshtml":function(){if(this.getType()=="click"){return true; >+}else{return this.getButton()===qx.event.type.MouseEvent.C_BUTTON_LEFT; > }}, >-destruct:function(){this._disposeObjectDeep("_children", >-1); >-this._disposeObjects("_layoutImpl", >-"_focusHandler"); >-this._disposeFields("_childrenQueue", >-"_childrenQueue", >-"_remappingChildTable", >-"_remappingChildTarget", >-"_cachedVisibleChildren"); >-}}); >- >- >- >- >-/* ID: qx.event.type.FocusEvent */ >-qx.Class.define("qx.event.type.FocusEvent", >-{extend:qx.event.type.Event, >-construct:function(type, >-target){this.base(arguments, >-type); >-this.setTarget(target); >-switch(type){case "focusin":case "focusout":this.setBubbles(true); >-this.setPropagationStopped(false); >-}}}); >- >- >- >- >-/* ID: qx.event.handler.EventHandler */ >-qx.Class.define("qx.event.handler.EventHandler", >-{type:"singleton", >-extend:qx.core.Target, >-construct:function(){this.base(arguments); >-this.__onmouseevent=qx.lang.Function.bind(this._onmouseevent, >-this); >-this.__ondragevent=qx.lang.Function.bind(this._ondragevent, >-this); >-this.__onselectevent=qx.lang.Function.bind(this._onselectevent, >-this); >-this.__onwindowblur=qx.lang.Function.bind(this._onwindowblur, >-this); >-this.__onwindowfocus=qx.lang.Function.bind(this._onwindowfocus, >-this); >-this.__onwindowresize=qx.lang.Function.bind(this._onwindowresize, >-this); >-this._commands={}; >-}, >-events:{"error":"qx.event.type.DataEvent"}, >-statics:{mouseEventTypes:["mouseover", >-"mousemove", >-"mouseout", >-"mousedown", >-"mouseup", >-"click", >-"dblclick", >-"contextmenu", >-qx.core.Variant.isSet("qx.client", >-"gecko")?"DOMMouseScroll":"mousewheel"], >-keyEventTypes:["keydown", >-"keypress", >-"keyup"], >-dragEventTypes:qx.core.Variant.select("qx.client", >-{"gecko":["dragdrop", >-"dragover", >-"dragenter", >-"dragexit", >-"draggesture"], >-"mshtml":["dragend", >-"dragover", >-"dragstart", >-"drag", >-"dragenter", >-"dragleave"], >-"default":["dragstart", >-"dragdrop", >-"dragover", >-"drag", >-"dragleave", >-"dragenter", >-"dragexit", >-"draggesture"]}), >-getDomTarget:qx.core.Variant.select("qx.client", >-{"mshtml":function(vDomEvent){return vDomEvent.target||vDomEvent.srcElement; >+"default":function(){return this.getButton()===qx.event.type.MouseEvent.C_BUTTON_LEFT; >+}}), >+isMiddleButtonPressed:function(){return this.getButton()===qx.event.type.MouseEvent.C_BUTTON_MIDDLE; > }, >-"webkit":function(vDomEvent){var vNode=vDomEvent.target||vDomEvent.srcElement; >-if(vNode&&(vNode.nodeType==qx.dom.Node.TEXT)){vNode=vNode.parentNode; >-}return vNode; >+isRightButtonPressed:function(){return this.getButton()===qx.event.type.MouseEvent.C_BUTTON_RIGHT; > }, >-"default":function(vDomEvent){return vDomEvent.target; >-}}), >-stopDomEvent:function(vDomEvent){if(vDomEvent.preventDefault){vDomEvent.preventDefault(); >-}vDomEvent.returnValue=false; >+__buttons:qx.core.Variant.select("qx.client", >+{"mshtml":{1:"left", >+2:"right", >+4:"middle"}, >+"default":{0:"left", >+2:"right", >+1:"middle"}}), >+_computeButton:function(){switch(this.getDomEvent().type){case "click":case "dblclick":return "left"; >+case "contextmenu":return "right"; >+default:return this.__buttons[this.getDomEvent().button]||"none"; >+}}, >+_computeWheelDelta:qx.core.Variant.select("qx.client", >+{"default":function(){return this.getDomEvent().wheelDelta/120; > }, >-getOriginalTargetObject:function(vNode){if(vNode==document.documentElement){vNode=document.body; >-}while(vNode!=null&&vNode.qx_Widget==null){try{vNode=vNode.parentNode; >-}catch(vDomEvent){vNode=null; >-}}return vNode?vNode.qx_Widget:null; >+"gecko":function(){return -(this.getDomEvent().detail/3); >+}})}}); >+ >+ >+ >+ >+/* ID: qx.util.manager.Object */ >+qx.Class.define("qx.util.manager.Object", >+{extend:qx.core.Target, >+construct:function(){this.base(arguments); >+this._objects={}; > }, >-getOriginalTargetObjectFromEvent:function(vDomEvent, >-vWindow){var vNode=qx.event.handler.EventHandler.getDomTarget(vDomEvent); >-if(vWindow){var vDocument=vWindow.document; >-if(vNode==vWindow||vNode==vDocument||vNode==vDocument.documentElement||vNode==vDocument.body){return vDocument.body.qx_Widget; >-}}return qx.event.handler.EventHandler.getOriginalTargetObject(vNode); >+members:{add:function(vObject){if(this.getDisposed()){return; >+}this._objects[vObject.toHashCode()]=vObject; > }, >-getRelatedOriginalTargetObjectFromEvent:function(vDomEvent){return qx.event.handler.EventHandler.getOriginalTargetObject(vDomEvent.relatedTarget||(vDomEvent.type=="mouseover"?vDomEvent.fromElement:vDomEvent.toElement)); >+remove:function(vObject){if(this.getDisposed()){return false; >+}delete this._objects[vObject.toHashCode()]; > }, >-getTargetObject:function(vNode, >-vObject, >-allowDisabled){if(!vObject){var vObject=qx.event.handler.EventHandler.getOriginalTargetObject(vNode); >-if(!vObject){return null; >-}}while(vObject){if(!allowDisabled&&!vObject.getEnabled()){return null; >-}if(!vObject.getAnonymous()){break; >-}vObject=vObject.getParent(); >-}return vObject; >+has:function(vObject){return this._objects[vObject.toHashCode()]!=null; > }, >-getTargetObjectFromEvent:function(vDomEvent){return qx.event.handler.EventHandler.getTargetObject(qx.event.handler.EventHandler.getDomTarget(vDomEvent)); >+get:function(vObject){return this._objects[vObject.toHashCode()]; > }, >-getRelatedTargetObjectFromEvent:function(vDomEvent){var target=vDomEvent.relatedTarget; >-if(!target){if(vDomEvent.type=="mouseover"){target=vDomEvent.fromElement; >-}else{target=vDomEvent.toElement; >-}}return qx.event.handler.EventHandler.getTargetObject(target); >-}}, >-properties:{allowClientContextMenu:{check:"Boolean", >-init:false}, >-allowClientSelectAll:{check:"Boolean", >-init:false}, >-captureWidget:{check:"qx.ui.core.Widget", >-nullable:true, >-apply:"_applyCaptureWidget"}, >-focusRoot:{check:"qx.ui.core.Parent", >-nullable:true, >-apply:"_applyFocusRoot"}}, >-members:{_lastMouseEventType:null, >-_lastMouseDown:false, >-_lastMouseEventDate:0, >-_applyCaptureWidget:function(value, >-old){if(old){old.setCapture(false); >-} >-if(value){value.setCapture(true); >+getAll:function(){return this._objects; >+}, >+enableAll:function(){for(var vHashCode in this._objects){this._objects[vHashCode].setEnabled(true); > }}, >-_applyFocusRoot:function(value, >-old){if(old){old.setFocusedChild(null); >-} >-if(value&&value.getFocusedChild()==null){value.setFocusedChild(value); >+disableAll:function(){for(var vHashCode in this._objects){this._objects[vHashCode].setEnabled(false); >+}}}, >+destruct:function(){this._disposeObjectDeep("_objects"); >+}}); >+ >+ >+ >+ >+/* ID: qx.ui.embed.IframeManager */ >+qx.Class.define("qx.ui.embed.IframeManager", >+{type:"singleton", >+extend:qx.util.manager.Object, >+construct:function(){this.base(arguments); >+this._blocked={}; >+}, >+members:{handleMouseDown:function(evt){var iframeMap=this._blockData=qx.lang.Object.copy(this.getAll()); >+for(var key in iframeMap){iframeMap[key].block(); > }}, >-addCommand:function(vCommand){this._commands[vCommand.toHashCode()]=vCommand; >+handleMouseUp:function(evt){var iframeMap=this._blockData; >+for(var key in iframeMap){iframeMap[key].release(); >+}}}}); >+ >+ >+ >+ >+/* ID: qx.ui.layout.CanvasLayout */ >+qx.Class.define("qx.ui.layout.CanvasLayout", >+{extend:qx.ui.core.Parent, >+construct:function(){this.base(arguments); > }, >-removeCommand:function(vCommand){delete this._commands[vCommand.toHashCode()]; >+members:{_createLayoutImpl:function(){return new qx.ui.layout.impl.CanvasLayoutImpl(this); >+}}}); >+ >+ >+ >+ >+/* ID: qx.ui.layout.impl.LayoutImpl */ >+qx.Class.define("qx.ui.layout.impl.LayoutImpl", >+{extend:qx.core.Object, >+construct:function(vWidget){this.base(arguments); >+this._widget=vWidget; > }, >-_checkKeyEventMatch:function(e){var vCommand; >-for(var vHash in this._commands){vCommand=this._commands[vHash]; >-if(vCommand.getEnabled()&&vCommand.matchesKeyEvent(e)){if(!vCommand.execute(e.getTarget())){e.preventDefault(); >-}break; >-}}}, >-attachEvents:function(){this.attachEventTypes(qx.event.handler.EventHandler.mouseEventTypes, >-this.__onmouseevent); >-this.attachEventTypes(qx.event.handler.EventHandler.dragEventTypes, >-this.__ondragevent); >-qx.event.handler.KeyEventHandler.getInstance()._attachEvents(); >-qx.html.EventRegistration.addEventListener(window, >-"blur", >-this.__onwindowblur); >-qx.html.EventRegistration.addEventListener(window, >-"focus", >-this.__onwindowfocus); >-qx.html.EventRegistration.addEventListener(window, >-"resize", >-this.__onwindowresize); >-document.body.onselect=document.onselectstart=document.onselectionchange=this.__onselectevent; >+members:{getWidget:function(){return this._widget; > }, >-detachEvents:function(){this.detachEventTypes(qx.event.handler.EventHandler.mouseEventTypes, >-this.__onmouseevent); >-this.detachEventTypes(qx.event.handler.EventHandler.dragEventTypes, >-this.__ondragevent); >-qx.event.handler.KeyEventHandler.getInstance()._detachEvents(); >-qx.html.EventRegistration.removeEventListener(window, >-"blur", >-this.__onwindowblur); >-qx.html.EventRegistration.removeEventListener(window, >-"focus", >-this.__onwindowfocus); >-qx.html.EventRegistration.removeEventListener(window, >-"resize", >-this.__onwindowresize); >-document.body.onselect=document.onselectstart=document.onselectionchange=null; >+computeChildBoxWidth:function(vChild){return vChild.getWidthValue()||vChild._computeBoxWidthFallback(); > }, >-attachEventTypes:function(vEventTypes, >-vFunctionPointer){try{var el=qx.core.Variant.isSet("qx.client", >-"gecko")?window:document.body; >-for(var i=0, >-l=vEventTypes.length;i<l;i++){qx.html.EventRegistration.addEventListener(el, >-vEventTypes[i], >-vFunctionPointer); >-}}catch(ex){throw new Error("qx.event.handler.EventHandler: Failed to attach window event types: "+vEventTypes+": "+ex); >-}}, >-detachEventTypes:function(vEventTypes, >-vFunctionPointer){try{var el=qx.core.Variant.isSet("qx.client", >-"gecko")?window:document.body; >-for(var i=0, >-l=vEventTypes.length;i<l;i++){qx.html.EventRegistration.removeEventListener(el, >-vEventTypes[i], >-vFunctionPointer); >-}}catch(ex){throw new Error("qx.event.handler.EventHandler: Failed to detach window event types: "+vEventTypes+": "+ex); >-}}, >-_onkeyevent_post:function(vDomEvent, >-vType, >-vKeyCode, >-vCharCode, >-vKeyIdentifier){var vDomTarget=qx.event.handler.EventHandler.getDomTarget(vDomEvent); >-var vFocusRoot=this.getFocusRoot(); >-var vTarget=this.getCaptureWidget()||(vFocusRoot==null?null:vFocusRoot.getActiveChild()); >-var vKeyEventObject=new qx.event.type.KeyEvent(vType, >-vDomEvent, >-vDomTarget, >-vTarget, >-null, >-vKeyCode, >-vCharCode, >-vKeyIdentifier); >-if(vType=="keydown"){this._checkKeyEventMatch(vKeyEventObject); >-} >-if(vTarget!=null&&vTarget.getEnabled()){switch(vKeyIdentifier){case "Escape":case "Tab":if(qx.Class.isDefined("qx.ui.menu.Manager")){qx.ui.menu.Manager.getInstance().update(vTarget, >-vType); >-}break; >-}if(!this.getAllowClientSelectAll()){if(vDomEvent.ctrlKey&&vKeyIdentifier=="A"){switch(vDomTarget.tagName.toLowerCase()){case "input":case "textarea":case "iframe":break; >-default:qx.event.handler.EventHandler.stopDomEvent(vDomEvent); >-}}}vTarget.dispatchEvent(vKeyEventObject); >-if(qx.Class.isDefined("qx.event.handler.DragAndDropHandler")){qx.event.handler.DragAndDropHandler.getInstance().handleKeyEvent(vKeyEventObject); >-}}vKeyEventObject.dispose(); >+computeChildBoxHeight:function(vChild){return vChild.getHeightValue()||vChild._computeBoxHeightFallback(); > }, >-_onmouseevent:qx.core.Variant.select("qx.client", >-{"mshtml":function(vDomEvent){if(!vDomEvent){vDomEvent=window.event; >-}var vDomTarget=qx.event.handler.EventHandler.getDomTarget(vDomEvent); >-var vType=vDomEvent.type; >-if(vType=="mousemove"){if(this._mouseIsDown&&vDomEvent.button==0){this._onmouseevent_post(vDomEvent, >-"mouseup"); >-this._mouseIsDown=false; >-}}else{if(vType=="mousedown"){this._mouseIsDown=true; >-}else if(vType=="mouseup"){this._mouseIsDown=false; >-}if(vType=="mouseup"&&!this._lastMouseDown&&((new Date).valueOf()-this._lastMouseEventDate)<250){this._onmouseevent_post(vDomEvent, >-"mousedown"); >-}else if(vType=="dblclick"&&this._lastMouseEventType=="mouseup"&&((new Date).valueOf()-this._lastMouseEventDate)<250){this._onmouseevent_post(vDomEvent, >-"click"); >-} >-switch(vType){case "mousedown":case "mouseup":case "click":case "dblclick":case "contextmenu":this._lastMouseEventType=vType; >-this._lastMouseEventDate=(new Date).valueOf(); >-this._lastMouseDown=vType=="mousedown"; >-}}this._onmouseevent_post(vDomEvent, >-vType, >-vDomTarget); >+computeChildNeededWidth:function(vChild){var vMinBox=vChild._computedMinWidthTypePercent?null:vChild.getMinWidthValue(); >+var vMaxBox=vChild._computedMaxWidthTypePercent?null:vChild.getMaxWidthValue(); >+var vBox=(vChild._computedWidthTypePercent||vChild._computedWidthTypeFlex?null:vChild.getWidthValue())||vChild.getPreferredBoxWidth()||0; >+return qx.lang.Number.limit(vBox, >+vMinBox, >+vMaxBox)+vChild.getMarginLeft()+vChild.getMarginRight(); >+}, >+computeChildNeededHeight:function(vChild){var vMinBox=vChild._computedMinHeightTypePercent?null:vChild.getMinHeightValue(); >+var vMaxBox=vChild._computedMaxHeightTypePercent?null:vChild.getMaxHeightValue(); >+var vBox=(vChild._computedHeightTypePercent||vChild._computedHeightTypeFlex?null:vChild.getHeightValue())||vChild.getPreferredBoxHeight()||0; >+return qx.lang.Number.limit(vBox, >+vMinBox, >+vMaxBox)+vChild.getMarginTop()+vChild.getMarginBottom(); >+}, >+computeChildrenNeededWidth_max:function(){for(var i=0, >+ch=this.getWidget().getVisibleChildren(), >+chl=ch.length, >+maxv=0;i<chl;i++){maxv=Math.max(maxv, >+ch[i].getNeededWidth()); >+}return maxv; >+}, >+computeChildrenNeededHeight_max:function(){for(var i=0, >+ch=this.getWidget().getVisibleChildren(), >+chl=ch.length, >+maxv=0;i<chl;i++){maxv=Math.max(maxv, >+ch[i].getNeededHeight()); >+}return maxv; > }, >-"default":function(vDomEvent){var vDomTarget=qx.event.handler.EventHandler.getDomTarget(vDomEvent); >-var vType=vDomEvent.type; >-switch(vType){case "DOMMouseScroll":vType="mousewheel"; >-break; >-case "click":case "dblclick":if(vDomEvent.which!==1){return; >-}}this._onmouseevent_post(vDomEvent, >-vType, >-vDomTarget); >-}}), >-_onmouseevent_click_fix:qx.core.Variant.select("qx.client", >-{"gecko":function(vDomTarget, >-vType, >-vDispatchTarget){var vReturn=false; >-switch(vType){case "mousedown":this._lastMouseDownDomTarget=vDomTarget; >-this._lastMouseDownDispatchTarget=vDispatchTarget; >-break; >-case "mouseup":if(this._lastMouseDownDispatchTarget===vDispatchTarget&&vDomTarget!==this._lastMouseDownDomTarget){vReturn=true; >-}else{this._lastMouseDownDomTarget=null; >-this._lastMouseDownDispatchTarget=null; >-}}return vReturn; >+computeChildrenNeededWidth_sum:function(){for(var i=0, >+ch=this.getWidget().getVisibleChildren(), >+chl=ch.length, >+sumv=0;i<chl;i++){sumv+=ch[i].getNeededWidth(); >+}return sumv; > }, >-"default":null}), >-_onmouseevent_post:function(vDomEvent, >-vType, >-vDomTarget){var vEventObject, >-vCaptureTarget, >-vDispatchTarget, >-vTarget, >-vOriginalTarget, >-vRelatedTarget, >-vFixClick, >-vTargetIsEnabled; >-vCaptureTarget=this.getCaptureWidget(); >-vOriginalTarget=qx.event.handler.EventHandler.getOriginalTargetObject(vDomTarget); >-if(!vCaptureTarget){vDispatchTarget=vTarget=qx.event.handler.EventHandler.getTargetObject(null, >-vOriginalTarget, >-true); >-}else{vDispatchTarget=vCaptureTarget; >-vTarget=qx.event.handler.EventHandler.getTargetObject(null, >-vOriginalTarget, >-true); >-}if(!vTarget){return; >-}vTargetIsEnabled=vTarget.getEnabled(); >-if(qx.core.Variant.isSet("qx.client", >-"gecko")){vFixClick=this._onmouseevent_click_fix(vDomTarget, >-vType, >-vDispatchTarget); >-}if(vType=="contextmenu"&&!this.getAllowClientContextMenu()){qx.event.handler.EventHandler.stopDomEvent(vDomEvent); >-}if(vTargetIsEnabled&&vType=="mousedown"){qx.event.handler.FocusHandler.mouseFocus=true; >-var vRoot=vTarget.getFocusRoot(); >-if(vRoot){this.setFocusRoot(vRoot); >-var vFocusTarget=vTarget; >-while(!vFocusTarget.isFocusable()&&vFocusTarget!=vRoot){vFocusTarget=vFocusTarget.getParent(); >-}vRoot.setFocusedChild(vFocusTarget); >-vRoot.setActiveChild(vTarget); >-}}switch(vType){case "mouseover":case "mouseout":vRelatedTarget=qx.event.handler.EventHandler.getRelatedTargetObjectFromEvent(vDomEvent); >-if(vRelatedTarget==vTarget){return; >-}}vEventObject=new qx.event.type.MouseEvent(vType, >-vDomEvent, >-vDomTarget, >-vTarget, >-vOriginalTarget, >-vRelatedTarget); >-qx.event.type.MouseEvent.storeEventState(vEventObject); >-if(vTargetIsEnabled){var vEventWasProcessed=false; >-vEventWasProcessed=vDispatchTarget?vDispatchTarget.dispatchEvent(vEventObject):true; >-this._onmouseevent_special_post(vType, >-vTarget, >-vOriginalTarget, >-vDispatchTarget, >-vEventWasProcessed, >-vEventObject, >-vDomEvent); >-}else{if(vType=="mouseover"){if(qx.Class.isDefined("qx.ui.popup.ToolTipManager")){qx.ui.popup.ToolTipManager.getInstance().handleMouseOver(vEventObject); >-}}}vEventObject.dispose(); >-vEventObject=null; >-qx.ui.core.Widget.flushGlobalQueues(); >-if(vFixClick){this._onmouseevent_post(vDomEvent, >-"click", >-this._lastMouseDownDomTarget); >-this._lastMouseDownDomTarget=null; >-this._lastMouseDownDispatchTarget=null; >+computeChildrenNeededHeight_sum:function(){for(var i=0, >+ch=this.getWidget().getVisibleChildren(), >+chl=ch.length, >+sumv=0;i<chl;i++){sumv+=ch[i].getNeededHeight(); >+}return sumv; >+}, >+computeChildrenNeededWidth:null, >+computeChildrenNeededHeight:null, >+updateSelfOnChildOuterWidthChange:function(vChild){}, >+updateSelfOnChildOuterHeightChange:function(vChild){}, >+updateChildOnInnerWidthChange:function(vChild){}, >+updateChildOnInnerHeightChange:function(vChild){}, >+updateSelfOnJobQueueFlush:function(vJobQueue){}, >+updateChildrenOnJobQueueFlush:function(vJobQueue){}, >+updateChildrenOnAddChild:function(vChild, >+vIndex){}, >+updateChildrenOnRemoveChild:function(vChild, >+vIndex){}, >+updateChildrenOnMoveChild:function(vChild, >+vIndex, >+vOldIndex){}, >+flushChildrenQueue:function(vChildrenQueue){var vWidget=this.getWidget(); >+for(var vHashCode in vChildrenQueue){vWidget._layoutChild(vChildrenQueue[vHashCode]); > }}, >-_onmouseevent_special_post:function(vType, >-vTarget, >-vOriginalTarget, >-vDispatchTarget, >-vEventWasProcessed, >-vEventObject, >-vDomEvent){switch(vType){case "mousedown":if(qx.Class.isDefined("qx.ui.popup.PopupManager")){qx.ui.popup.PopupManager.getInstance().update(vTarget); >+layoutChild:function(vChild, >+vJobs){}, >+layoutChild_sizeLimitX:qx.core.Variant.select("qx.client", >+{"mshtml":qx.lang.Function.returnTrue, >+"default":function(vChild, >+vJobs){if(vJobs.minWidth){vChild._computedMinWidthTypeNull?vChild._resetRuntimeMinWidth():vChild._renderRuntimeMinWidth(vChild.getMinWidthValue()); >+}else if(vJobs.initial&&!vChild._computedMinWidthTypeNull){vChild._renderRuntimeMinWidth(vChild.getMinWidthValue()); > } >-if(qx.Class.isDefined("qx.ui.menu.Manager")){qx.ui.menu.Manager.getInstance().update(vTarget, >-vType); >+if(vJobs.maxWidth){vChild._computedMaxWidthTypeNull?vChild._resetRuntimeMaxWidth():vChild._renderRuntimeMaxWidth(vChild.getMaxWidthValue()); >+}else if(vJobs.initial&&!vChild._computedMaxWidthTypeNull){vChild._renderRuntimeMaxWidth(vChild.getMaxWidthValue()); >+}}}), >+layoutChild_sizeLimitY:qx.core.Variant.select("qx.client", >+{"mshtml":qx.lang.Function.returnTrue, >+"default":function(vChild, >+vJobs){if(vJobs.minHeight){vChild._computedMinHeightTypeNull?vChild._resetRuntimeMinHeight():vChild._renderRuntimeMinHeight(vChild.getMinHeightValue()); >+}else if(vJobs.initial&&!vChild._computedMinHeightTypeNull){vChild._renderRuntimeMinHeight(vChild.getMinHeightValue()); > } >-if(qx.Class.isDefined("qx.ui.embed.IframeManager")){qx.ui.embed.IframeManager.getInstance().handleMouseDown(vEventObject); >-}break; >-case "mouseup":if(qx.Class.isDefined("qx.ui.menu.Manager")){qx.ui.menu.Manager.getInstance().update(vTarget, >-vType); >+if(vJobs.maxHeight){vChild._computedMaxHeightTypeNull?vChild._resetRuntimeMaxHeight():vChild._renderRuntimeMaxHeight(vChild.getMaxHeightValue()); >+}else if(vJobs.initial&&!vChild._computedMaxHeightTypeNull){vChild._renderRuntimeMaxHeight(vChild.getMaxHeightValue()); >+}}}), >+layoutChild_marginX:function(vChild, >+vJobs){if(vJobs.marginLeft||vJobs.initial){var vValueLeft=vChild.getMarginLeft(); >+vValueLeft!=null?vChild._renderRuntimeMarginLeft(vValueLeft):vChild._resetRuntimeMarginLeft(); > } >-if(qx.Class.isDefined("qx.ui.embed.IframeManager")){qx.ui.embed.IframeManager.getInstance().handleMouseUp(vEventObject); >-}break; >-case "mouseover":if(qx.Class.isDefined("qx.ui.popup.ToolTipManager")){qx.ui.popup.ToolTipManager.getInstance().handleMouseOver(vEventObject); >-}break; >-case "mouseout":if(qx.Class.isDefined("qx.ui.popup.ToolTipManager")){qx.ui.popup.ToolTipManager.getInstance().handleMouseOut(vEventObject); >-}break; >-}this._ignoreWindowBlur=vType==="mousedown"; >-if(qx.Class.isDefined("qx.event.handler.DragAndDropHandler")&&vTarget){qx.event.handler.DragAndDropHandler.getInstance().handleMouseEvent(vEventObject); >+if(vJobs.marginRight||vJobs.initial){var vValueRight=vChild.getMarginRight(); >+vValueRight!=null?vChild._renderRuntimeMarginRight(vValueRight):vChild._resetRuntimeMarginRight(); > }}, >-_ondragevent:function(vEvent){if(!vEvent){vEvent=window.event; >-}qx.event.handler.EventHandler.stopDomEvent(vEvent); >-}, >-_onselectevent:function(e){if(!e){e=window.event; >-}var target=qx.event.handler.EventHandler.getOriginalTargetObjectFromEvent(e); >-while(target){if(target.getSelectable()!=null){if(!target.getSelectable()){qx.event.handler.EventHandler.stopDomEvent(e); >-}break; >-}target=target.getParent(); >+layoutChild_marginY:function(vChild, >+vJobs){if(vJobs.marginTop||vJobs.initial){var vValueTop=vChild.getMarginTop(); >+vValueTop!=null?vChild._renderRuntimeMarginTop(vValueTop):vChild._resetRuntimeMarginTop(); >+} >+if(vJobs.marginBottom||vJobs.initial){var vValueBottom=vChild.getMarginBottom(); >+vValueBottom!=null?vChild._renderRuntimeMarginBottom(vValueBottom):vChild._resetRuntimeMarginBottom(); > }}, >-_focused:false, >-_onwindowblur:function(e){if(!this._focused||this._ignoreWindowBlur){return; >-}this._focused=false; >-this.setCaptureWidget(null); >-if(qx.Class.isDefined("qx.ui.popup.PopupManager")){qx.ui.popup.PopupManager.getInstance().update(); >-}if(qx.Class.isDefined("qx.ui.menu.Manager")){qx.ui.menu.Manager.getInstance().update(); >-}if(qx.Class.isDefined("qx.event.handler.DragAndDropHandler")){qx.event.handler.DragAndDropHandler.getInstance().globalCancelDrag(); >-}qx.ui.core.ClientDocument.getInstance().createDispatchEvent("windowblur"); >-}, >-_onwindowfocus:function(e){if(this._focused){return; >-}this._focused=true; >-qx.ui.core.ClientDocument.getInstance().createDispatchEvent("windowfocus"); >+layoutChild_sizeX_essentialWrapper:function(vChild, >+vJobs){return vChild._isWidthEssential()?this.layoutChild_sizeX(vChild, >+vJobs):vChild._resetRuntimeWidth(); > }, >-_onwindowresize:function(e){qx.ui.core.ClientDocument.getInstance().createDispatchEvent("windowresize"); >+layoutChild_sizeY_essentialWrapper:function(vChild, >+vJobs){return vChild._isHeightEssential()?this.layoutChild_sizeY(vChild, >+vJobs):vChild._resetRuntimeHeight(); > }}, >-destruct:function(){this.detachEvents(); >-this._disposeObjectDeep("_commands", >-1); >-this._disposeFields("__onmouseevent", >-"__ondragevent", >-"__onselectevent", >-"__onwindowblur", >-"__onwindowfocus", >-"__onwindowresize"); >-this._disposeFields("_lastMouseEventType", >-"_lastMouseDown", >-"_lastMouseEventDate", >-"_lastMouseDownDomTarget", >-"_lastMouseDownDispatchTarget"); >+defer:function(statics, >+members){members.computeChildrenNeededWidth=members.computeChildrenNeededWidth_max; >+members.computeChildrenNeededHeight=members.computeChildrenNeededHeight_max; >+}, >+destruct:function(){this._disposeFields("_widget"); > }}); > > > > >-/* ID: qx.dom.Node */ >-qx.Class.define("qx.dom.Node", >-{statics:{ELEMENT:1, >-ATTRIBUTE:2, >-TEXT:3, >-CDATA_SECTION:4, >-ENTITY_REFERENCE:5, >-ENTITY:6, >-PROCESSING_INSTRUCTION:7, >-COMMENT:8, >-DOCUMENT:9, >-DOCUMENT_TYPE:10, >-DOCUMENT_FRAGMENT:11, >-NOTATION:12, >-getDocument:function(node){if(this.isDocument(node)){return node; >-}return node.ownerDocument||node.document||null; >+/* ID: qx.lang.Number */ >+qx.Class.define("qx.lang.Number", >+{statics:{isInRange:function(nr, >+vmin, >+vmax){return nr>=vmin&&nr<=vmax; > }, >-getWindow:qx.core.Variant.select("qx.client", >-{"mshtml":function(node){return this.getDocument(node).parentWindow; >+isBetweenRange:function(nr, >+vmin, >+vmax){return nr>vmin&&nr<vmax; > }, >-"default":function(node){return this.getDocument(node).defaultView; >-}}), >-getDocumentElement:function(node){return this.getDocument(node).documentElement; >+limit:function(nr, >+vmin, >+vmax){if(typeof vmax==="number"&&nr>vmax){return vmax; >+}else if(typeof vmin==="number"&&nr<vmin){return vmin; >+}else{return nr; >+}}}}); >+ >+ >+ >+ >+/* ID: qx.ui.layout.impl.CanvasLayoutImpl */ >+qx.Class.define("qx.ui.layout.impl.CanvasLayoutImpl", >+{extend:qx.ui.layout.impl.LayoutImpl, >+construct:function(vWidget){this.base(arguments, >+vWidget); >+}, >+members:{computeChildBoxWidth:function(vChild){var vValue=null; >+if(vChild._computedLeftTypeNull||vChild._computedRightTypeNull){vValue=vChild.getWidthValue(); >+}else if(vChild._hasParent){vValue=this.getWidget().getInnerWidth()-vChild.getLeftValue()-vChild.getRightValue(); >+}return vValue||vChild._computeBoxWidthFallback(); >+}, >+computeChildBoxHeight:function(vChild){var vValue=null; >+if(vChild._computedTopTypeNull||vChild._computedBottomTypeNull){vValue=vChild.getHeightValue(); >+}else if(vChild._hasParent){vValue=this.getWidget().getInnerHeight()-vChild.getTopValue()-vChild.getBottomValue(); >+}return vValue||vChild._computeBoxHeightFallback(); > }, >-getBodyElement:function(node){return this.getDocument(node).body; >+computeChildNeededWidth:function(vChild){var vLeft=vChild._computedLeftTypePercent?null:vChild.getLeftValue(); >+var vRight=vChild._computedRightTypePercent?null:vChild.getRightValue(); >+var vMinBox=vChild._computedMinWidthTypePercent?null:vChild.getMinWidthValue(); >+var vMaxBox=vChild._computedMaxWidthTypePercent?null:vChild.getMaxWidthValue(); >+if(vLeft!=null&&vRight!=null){var vBox=vChild.getPreferredBoxWidth()||0; >+}else{var vBox=(vChild._computedWidthTypePercent?null:vChild.getWidthValue())||vChild.getPreferredBoxWidth()||0; >+}return qx.lang.Number.limit(vBox, >+vMinBox, >+vMaxBox)+vLeft+vRight+vChild.getMarginLeft()+vChild.getMarginRight(); > }, >-isElement:function(node){return !!(node&&node.nodeType===qx.dom.Node.ELEMENT); >+computeChildNeededHeight:function(vChild){var vTop=vChild._computedTopTypePercent?null:vChild.getTopValue(); >+var vBottom=vChild._computedBottomTypePercent?null:vChild.getBottomValue(); >+var vMinBox=vChild._computedMinHeightTypePercent?null:vChild.getMinHeightValue(); >+var vMaxBox=vChild._computedMaxHeightTypePercent?null:vChild.getMaxHeightValue(); >+if(vTop!=null&&vBottom!=null){var vBox=vChild.getPreferredBoxHeight()||0; >+}else{var vBox=(vChild._computedHeightTypePercent?null:vChild.getHeightValue())||vChild.getPreferredBoxHeight()||0; >+}return qx.lang.Number.limit(vBox, >+vMinBox, >+vMaxBox)+vTop+vBottom+vChild.getMarginTop()+vChild.getMarginBottom(); > }, >-isDocument:function(node){return !!(node&&node.nodeType===qx.dom.Node.DOCUMENT); >+updateChildOnInnerWidthChange:function(vChild){var vUpdatePercent=vChild._recomputePercentX(); >+var vUpdateRange=vChild._recomputeRangeX(); >+return vUpdatePercent||vUpdateRange; > }, >-isText:function(node){return !!(node&&node.nodeType===qx.dom.Node.TEXT); >+updateChildOnInnerHeightChange:function(vChild){var vUpdatePercent=vChild._recomputePercentY(); >+var vUpdateRange=vChild._recomputeRangeY(); >+return vUpdatePercent||vUpdateRange; > }, >-isWindow:function(node){return node.document&&this.getWindow(node.document)==node; >+layoutChild:function(vChild, >+vJobs){this.layoutChild_sizeX_essentialWrapper(vChild, >+vJobs); >+this.layoutChild_sizeY_essentialWrapper(vChild, >+vJobs); >+this.layoutChild_sizeLimitX(vChild, >+vJobs); >+this.layoutChild_sizeLimitY(vChild, >+vJobs); >+this.layoutChild_locationX(vChild, >+vJobs); >+this.layoutChild_locationY(vChild, >+vJobs); >+this.layoutChild_marginX(vChild, >+vJobs); >+this.layoutChild_marginY(vChild, >+vJobs); > }, >-getText:function(node){if(!node||!node.nodeType){return null; >+layoutChild_sizeX:qx.core.Variant.select("qx.client", >+{"mshtml|opera|webkit":function(vChild, >+vJobs){if(vJobs.initial||vJobs.width||vJobs.minWidth||vJobs.maxWidth||vJobs.left||vJobs.right){if(vChild._computedMinWidthTypeNull&&vChild._computedWidthTypeNull&&vChild._computedMaxWidthTypeNull&&!(!vChild._computedLeftTypeNull&&!vChild._computedRightTypeNull)){vChild._resetRuntimeWidth(); >+}else{vChild._renderRuntimeWidth(vChild.getBoxWidth()); >+}}}, >+"default":function(vChild, >+vJobs){if(vJobs.initial||vJobs.width){vChild._computedWidthTypeNull?vChild._resetRuntimeWidth():vChild._renderRuntimeWidth(vChild.getWidthValue()); >+}}}), >+layoutChild_sizeY:qx.core.Variant.select("qx.client", >+{"mshtml|opera|webkit":function(vChild, >+vJobs){if(vJobs.initial||vJobs.height||vJobs.minHeight||vJobs.maxHeight||vJobs.top||vJobs.bottom){if(vChild._computedMinHeightTypeNull&&vChild._computedHeightTypeNull&&vChild._computedMaxHeightTypeNull&&!(!vChild._computedTopTypeNull&&!vChild._computedBottomTypeNull)){vChild._resetRuntimeHeight(); >+}else{vChild._renderRuntimeHeight(vChild.getBoxHeight()); >+}}}, >+"default":function(vChild, >+vJobs){if(vJobs.initial||vJobs.height){vChild._computedHeightTypeNull?vChild._resetRuntimeHeight():vChild._renderRuntimeHeight(vChild.getHeightValue()); >+}}}), >+layoutChild_locationX:function(vChild, >+vJobs){var vWidget=this.getWidget(); >+if(vJobs.initial||vJobs.left||vJobs.parentPaddingLeft){vChild._computedLeftTypeNull?vChild._computedRightTypeNull&&vWidget.getPaddingLeft()>0?vChild._renderRuntimeLeft(vWidget.getPaddingLeft()):vChild._resetRuntimeLeft():vChild._renderRuntimeLeft(vChild.getLeftValue()+vWidget.getPaddingLeft()); > } >-switch(node.nodeType){case 1:var i, >-a=[], >-nodes=node.childNodes, >-length=nodes.length; >-for(i=0;i<length;i++){a[i]=this.getText(nodes[i]); >-}return a.join(""); >-case 2:return node.nodeValue; >-break; >-case 3:return node.nodeValue; >-break; >-}return null; >-}}}); >+if(vJobs.initial||vJobs.right||vJobs.parentPaddingRight){vChild._computedRightTypeNull?vChild._computedLeftTypeNull&&vWidget.getPaddingRight()>0?vChild._renderRuntimeRight(vWidget.getPaddingRight()):vChild._resetRuntimeRight():vChild._renderRuntimeRight(vChild.getRightValue()+vWidget.getPaddingRight()); >+}}, >+layoutChild_locationY:function(vChild, >+vJobs){var vWidget=this.getWidget(); >+if(vJobs.initial||vJobs.top||vJobs.parentPaddingTop){vChild._computedTopTypeNull?vChild._computedBottomTypeNull&&vWidget.getPaddingTop()>0?vChild._renderRuntimeTop(vWidget.getPaddingTop()):vChild._resetRuntimeTop():vChild._renderRuntimeTop(vChild.getTopValue()+vWidget.getPaddingTop()); >+} >+if(vJobs.initial||vJobs.bottom||vJobs.parentPaddingBottom){vChild._computedBottomTypeNull?vChild._computedTopTypeNull&&vWidget.getPaddingBottom()>0?vChild._renderRuntimeBottom(vWidget.getPaddingBottom()):vChild._resetRuntimeBottom():vChild._renderRuntimeBottom(vChild.getBottomValue()+vWidget.getPaddingBottom()); >+}}}}); > > > > >-/* ID: qx.event.handler.KeyEventHandler */ >-qx.Class.define("qx.event.handler.KeyEventHandler", >+/* ID: qx.ui.core.ClientDocument */ >+qx.Class.define("qx.ui.core.ClientDocument", > {type:"singleton", >-extend:qx.core.Target, >+extend:qx.ui.layout.CanvasLayout, > construct:function(){this.base(arguments); >-this.__onkeypress=qx.lang.Function.bind(this._onkeypress, >+this._window=window; >+this._document=window.document; >+this.setElement(this._document.body); >+this._document.body.style.position=""; >+if(qx.core.Variant.isSet("qx.client", >+"mshtml")&&(qx.core.Client.getInstance().getMajor()<7)){try{document.execCommand("BackgroundImageCache", >+false, >+true); >+}catch(err){}}this._cachedInnerWidth=this._document.body.offsetWidth; >+this._cachedInnerHeight=this._document.body.offsetHeight; >+this.addEventListener("windowresize", >+this._onwindowresize); >+this._modalWidgets=[]; >+this._modalNativeWindow=null; >+this.activateFocusRoot(); >+this.initHideFocus(); >+this.initSelectable(); >+qx.event.handler.EventHandler.getInstance().setFocusRoot(this); >+}, >+events:{"focus":"qx.event.type.Event", >+"windowblur":"qx.event.type.Event", >+"windowfocus":"qx.event.type.Event", >+"windowresize":"qx.event.type.Event"}, >+properties:{appearance:{refine:true, >+init:"client-document"}, >+enableElementFocus:{refine:true, >+init:false}, >+enabled:{refine:true, >+init:true}, >+selectable:{refine:true, >+init:false}, >+hideFocus:{refine:true, >+init:true}, >+globalCursor:{check:"String", >+nullable:true, >+themeable:true, >+apply:"_applyGlobalCursor", >+event:"changeGlobalCursor"}}, >+members:{_applyParent:qx.lang.Function.returnTrue, >+getTopLevelWidget:qx.lang.Function.returnThis, >+getWindowElement:function(){return this._window; >+}, >+getDocumentElement:function(){return this._document; >+}, >+getParent:qx.lang.Function.returnNull, >+getToolTip:qx.lang.Function.returnNull, >+isMaterialized:qx.lang.Function.returnTrue, >+isSeeable:qx.lang.Function.returnTrue, >+_isDisplayable:true, >+_hasParent:false, >+_initialLayoutDone:true, >+_getBlocker:function(){if(!this._blocker){this._blocker=new qx.ui.core.ClientDocumentBlocker; >+this._blocker.addEventListener("mousedown", >+this.blockHelper, > this); >-this.__onkeyupdown=qx.lang.Function.bind(this._onkeyupdown, >+this._blocker.addEventListener("mouseup", >+this.blockHelper, > this); >+this.add(this._blocker); >+}return this._blocker; > }, >-members:{_attachEvents:function(){var el=qx.core.Variant.isSet("qx.client", >-"gecko")?window:document.body; >-qx.html.EventRegistration.addEventListener(el, >-"keypress", >-this.__onkeypress); >-qx.html.EventRegistration.addEventListener(el, >-"keyup", >-this.__onkeyupdown); >-qx.html.EventRegistration.addEventListener(el, >-"keydown", >-this.__onkeyupdown); >+blockHelper:function(e){if(this._modalNativeWindow){if(!this._modalNativeWindow.isClosed()){this._modalNativeWindow.focus(); >+}else{this.debug("Window seems to be closed already! => Releasing Blocker"); >+this.release(this._modalNativeWindow); >+}}}, >+block:function(vActiveChild){this._getBlocker().show(); >+if(qx.Class.isDefined("qx.ui.window.Window")&&vActiveChild instanceof qx.ui.window.Window){this._modalWidgets.push(vActiveChild); >+var vOrigIndex=vActiveChild.getZIndex(); >+this._getBlocker().setZIndex(vOrigIndex); >+vActiveChild.setZIndex(vOrigIndex+1); >+}else if(qx.Class.isDefined("qx.client.NativeWindow")&&vActiveChild instanceof qx.client.NativeWindow){this._modalNativeWindow=vActiveChild; >+this._getBlocker().setZIndex(1e7); >+}}, >+release:function(vActiveChild){if(vActiveChild){if(qx.Class.isDefined("qx.client.NativeWindow")&&vActiveChild instanceof qx.client.NativeWindow){this._modalNativeWindow=null; >+}else{qx.lang.Array.remove(this._modalWidgets, >+vActiveChild); >+}}var l=this._modalWidgets.length; >+if(l==0){this._getBlocker().hide(); >+}else{var oldActiveChild=this._modalWidgets[l-1]; >+var o=oldActiveChild.getZIndex(); >+this._getBlocker().setZIndex(o); >+oldActiveChild.setZIndex(o+1); >+}}, >+createStyleElement:function(vCssText){return qx.html.StyleSheet.createElement(vCssText); > }, >-_detachEvents:function(){var el=qx.core.Variant.isSet("qx.client", >-"gecko")?window:document.body; >-qx.html.EventRegistration.removeEventListener(el, >-"keypress", >-this.__onkeypress); >-qx.html.EventRegistration.removeEventListener(el, >-"keyup", >-this.__onkeyupdown); >-qx.html.EventRegistration.removeEventListener(el, >-"keydown", >-this.__onkeyupdown); >+addCssRule:function(vSheet, >+vSelector, >+vStyle){return qx.html.StyleSheet.addRule(vSheet, >+vSelector, >+vStyle); > }, >-_onkeyupdown:qx.core.Variant.select("qx.client", >-{"mshtml":function(domEvent){domEvent=window.event||domEvent; >-var keyCode=domEvent.keyCode; >-var charcode=0; >-var type=domEvent.type; >-if(!(this._lastUpDownType[keyCode]=="keydown"&&type=="keydown")){this._idealKeyHandler(keyCode, >-charcode, >-type, >-domEvent); >-}if(type=="keydown"){if(this._isNonPrintableKeyCode(keyCode)|| >-keyCode== >-8||keyCode==9){this._idealKeyHandler(keyCode, >-charcode, >-"keypress", >-domEvent); >-}}this._lastUpDownType[keyCode]=type; >+removeCssRule:function(vSheet, >+vSelector){return qx.html.StyleSheet.removeRule(vSheet, >+vSelector); > }, >-"gecko":function(domEvent){var keyCode=this._keyCodeFix[domEvent.keyCode]||domEvent.keyCode; >-var charCode=domEvent.charCode; >-var type=domEvent.type; >-if(qx.core.Client.getInstance().runsOnWindows()){var keyIdentifier=keyCode?this._keyCodeToIdentifier(keyCode):this._charCodeToIdentifier(charCode); >-if(!(this._lastUpDownType[keyIdentifier]=="keypress"&&type=="keydown")){this._idealKeyHandler(keyCode, >-charCode, >-type, >-domEvent); >-}this._lastUpDownType[keyIdentifier]=type; >-}else{this._idealKeyHandler(keyCode, >-charCode, >-type, >-domEvent); >+removeAllCssRules:function(vSheet){return qx.html.StyleSheet.removeAllRules(vSheet); >+}, >+_applyGlobalCursor:qx.core.Variant.select("qx.client", >+{"mshtml":function(value, >+old){if(value=="pointer"){value="hand"; >+} >+if(old=="pointer"){old="hand"; >+}var elem, >+current; >+var list=this._cursorElements; >+if(list){for(var i=0, >+l=list.length;i<l;i++){elem=list[i]; >+if(elem.style.cursor==old){elem.style.cursor=elem._oldCursor; >+elem._oldCursor=null; >+}}}var all=document.all; >+var list=this._cursorElements=[]; >+if(value!=null&&value!=""&&value!="auto"){for(var i=0, >+l=all.length;i<l;i++){elem=all[i]; >+current=elem.style.cursor; >+if(current!=null&¤t!=""&¤t!="auto"){elem._oldCursor=current; >+elem.style.cursor=value; >+list.push(elem); >+}}document.body.style.cursor=value; >+}else{document.body.style.cursor=""; > }}, >-"webkit":function(domEvent){var keyCode=0; >-var charCode=0; >-var type=domEvent.type; >-if(qx.core.Client.getInstance().getVersion()<420){if(!this._lastCharCodeForType){this._lastCharCodeForType={}; >-}var isSafariSpecialKey=this._lastCharCodeForType[type]>63000; >-if(isSafariSpecialKey){this._lastCharCodeForType[type]=null; >-return; >-}this._lastCharCodeForType[type]=domEvent.charCode; >-} >-if(type=="keyup"||type=="keydown"){keyCode=this._charCode2KeyCode[domEvent.charCode]||domEvent.keyCode; >-}else{if(this._charCode2KeyCode[domEvent.charCode]){keyCode=this._charCode2KeyCode[domEvent.charCode]; >-}else{charCode=domEvent.charCode; >-}}this._idealKeyHandler(keyCode, >-charCode, >-type, >-domEvent); >+"default":function(value, >+old){if(!this._globalCursorStyleSheet){this._globalCursorStyleSheet=this.createStyleElement(); >+}this.removeCssRule(this._globalCursorStyleSheet, >+"*"); >+if(value){this.addCssRule(this._globalCursorStyleSheet, >+"*", >+"cursor:"+value+" !important"); >+}}}), >+_onwindowresize:function(e){if(qx.Class.isDefined("qx.ui.popup.PopupManager")){qx.ui.popup.PopupManager.getInstance().update(); >+}this._recomputeInnerWidth(); >+this._recomputeInnerHeight(); >+qx.ui.core.Widget.flushGlobalQueues(); > }, >-"opera":function(domEvent){this._idealKeyHandler(domEvent.keyCode, >-0, >-domEvent.type, >-domEvent); >-this._lastKeyCode=domEvent.keyCode; >+_computeInnerWidth:function(){return this._document.body.offsetWidth; > }, >-"default":function(){throw new Error("Unsupported browser for key event handler!"); >-}}), >-_onkeypress:qx.core.Variant.select("qx.client", >-{"mshtml":function(domEvent){var domEvent=window.event||domEvent; >-if(this._charCode2KeyCode[domEvent.keyCode]){this._idealKeyHandler(this._charCode2KeyCode[domEvent.keyCode], >-0, >-domEvent.type, >-domEvent); >-}else{this._idealKeyHandler(0, >-domEvent.keyCode, >-domEvent.type, >-domEvent); >+_computeInnerHeight:function(){return this._document.body.offsetHeight; > }}, >-"gecko":function(domEvent){var keyCode=this._keyCodeFix[domEvent.keyCode]||domEvent.keyCode; >-var charCode=domEvent.charCode; >-var type=domEvent.type; >-if(qx.core.Client.getInstance().runsOnWindows()){var keyIdentifier=keyCode?this._keyCodeToIdentifier(keyCode):this._charCodeToIdentifier(charCode); >-if(!(this._lastUpDownType[keyIdentifier]=="keypress"&&type=="keydown")){this._idealKeyHandler(keyCode, >-charCode, >-type, >-domEvent); >-}this._lastUpDownType[keyIdentifier]=type; >-}else{this._idealKeyHandler(keyCode, >-charCode, >-type, >-domEvent); >+settings:{"qx.enableApplicationLayout":true, >+"qx.boxModelCorrection":true}, >+defer:function(){if(qx.core.Setting.get("qx.boxModelCorrection")){var boxSizingAttr=qx.core.Client.getInstance().getEngineBoxSizingAttributes(); >+var borderBoxCss=boxSizingAttr.join(":border-box;")+":border-box;"; >+var contentBoxCss=boxSizingAttr.join(":content-box;")+":content-box;"; >+qx.html.StyleSheet.createElement("html,body { margin:0;border:0;padding:0; } "+"html { border:0 none; } "+"*{"+borderBoxCss+"} "+"img{"+contentBoxCss+"}"); >+} >+if(qx.core.Setting.get("qx.enableApplicationLayout")){qx.html.StyleSheet.createElement("html,body{width:100%;height:100%;overflow:hidden;}"); > }}, >-"webkit":function(domEvent){var keyCode=0; >-var charCode=0; >-var type=domEvent.type; >-if(qx.core.Client.getInstance().getVersion()<420){if(!this._lastCharCodeForType){this._lastCharCodeForType={}; >-}var isSafariSpecialKey=this._lastCharCodeForType[type]>63000; >-if(isSafariSpecialKey){this._lastCharCodeForType[type]=null; >-return; >-}this._lastCharCodeForType[type]=domEvent.charCode; >+destruct:function(){this._disposeObjects("_blocker"); >+this._disposeFields("_window", >+"_document", >+"_modalWidgets", >+"_modalNativeWindow", >+"_globalCursorStyleSheet"); >+}}); >+ >+ >+ >+ >+/* ID: qx.ui.basic.Terminator */ >+qx.Class.define("qx.ui.basic.Terminator", >+{extend:qx.ui.core.Widget, >+members:{renderPadding:function(changes){if(changes.paddingLeft){this._renderRuntimePaddingLeft(this.getPaddingLeft()); > } >-if(type=="keyup"||type=="keydown"){keyCode=this._charCode2KeyCode[domEvent.charCode]||domEvent.keyCode; >-}else{if(this._charCode2KeyCode[domEvent.charCode]){keyCode=this._charCode2KeyCode[domEvent.charCode]; >-}else{charCode=domEvent.charCode; >-}}this._idealKeyHandler(keyCode, >-charCode, >-type, >-domEvent); >+if(changes.paddingRight){this._renderRuntimePaddingRight(this.getPaddingRight()); >+} >+if(changes.paddingTop){this._renderRuntimePaddingTop(this.getPaddingTop()); >+} >+if(changes.paddingBottom){this._renderRuntimePaddingBottom(this.getPaddingBottom()); >+}}, >+_renderContent:function(){if(this._computedWidthTypePixel){this._cachedPreferredInnerWidth=null; >+}else{this._invalidatePreferredInnerWidth(); >+}if(this._computedHeightTypePixel){this._cachedPreferredInnerHeight=null; >+}else{this._invalidatePreferredInnerHeight(); >+}if(this._initialLayoutDone){this.addToJobQueue("load"); >+}}, >+_layoutPost:function(changes){if(changes.initial||changes.load||changes.width||changes.height){this._postApply(); >+}}, >+_postApply:qx.lang.Function.returnTrue, >+_computeBoxWidthFallback:function(){return this.getPreferredBoxWidth(); > }, >-"opera":function(domEvent){var keyCode=domEvent.keyCode; >-var type=domEvent.type; >-if(keyCode!=this._lastKeyCode){this._idealKeyHandler(0, >-this._lastKeyCode, >-type, >-domEvent); >-}else{if(this._keyCodeToIdentifierMap[keyCode]){this._idealKeyHandler(keyCode, >-0, >-type, >-domEvent); >-}else{this._idealKeyHandler(0, >-keyCode, >-type, >-domEvent); >-}}this._lastKeyCode=keyCode; >+_computeBoxHeightFallback:function(){return this.getPreferredBoxHeight(); > }, >-"default":function(){throw new Error("Unsupported browser for key event handler!"); >-}}), >-_specialCharCodeMap:{8:"Backspace", >-9:"Tab", >-13:"Enter", >-27:"Escape", >-32:"Space"}, >-_keyCodeToIdentifierMap:{16:"Shift", >-17:"Control", >-18:"Alt", >-20:"CapsLock", >-224:"Meta", >-37:"Left", >-38:"Up", >-39:"Right", >-40:"Down", >-33:"PageUp", >-34:"PageDown", >-35:"End", >-36:"Home", >-45:"Insert", >-46:"Delete", >-112:"F1", >-113:"F2", >-114:"F3", >-115:"F4", >-116:"F5", >-117:"F6", >-118:"F7", >-119:"F8", >-120:"F9", >-121:"F10", >-122:"F11", >-123:"F12", >-144:"NumLock", >-44:"PrintScreen", >-145:"Scroll", >-19:"Pause", >-91:"Win", >-93:"Apps"}, >-_numpadToCharCode:{96:"0".charCodeAt(0), >-97:"1".charCodeAt(0), >-98:"2".charCodeAt(0), >-99:"3".charCodeAt(0), >-100:"4".charCodeAt(0), >-101:"5".charCodeAt(0), >-102:"6".charCodeAt(0), >-103:"7".charCodeAt(0), >-104:"8".charCodeAt(0), >-105:"9".charCodeAt(0), >-106:"*".charCodeAt(0), >-107:"+".charCodeAt(0), >-109:"-".charCodeAt(0), >-110:",".charCodeAt(0), >-111:"/".charCodeAt(0)}, >-_charCodeA:"A".charCodeAt(0), >-_charCodeZ:"Z".charCodeAt(0), >-_charCode0:"0".charCodeAt(0), >-_charCode9:"9".charCodeAt(0), >-_isNonPrintableKeyCode:function(keyCode){return this._keyCodeToIdentifierMap[keyCode]?true:false; >+_computePreferredInnerWidth:qx.lang.Function.returnZero, >+_computePreferredInnerHeight:qx.lang.Function.returnZero, >+_isWidthEssential:function(){if(!this._computedLeftTypeNull&&!this._computedRightTypeNull){return true; >+} >+if(!this._computedWidthTypeNull&&!this._computedWidthTypeAuto){return true; >+} >+if(!this._computedMinWidthTypeNull&&!this._computedMinWidthTypeAuto){return true; >+} >+if(!this._computedMaxWidthTypeNull&&!this._computedMaxWidthTypeAuto){return true; >+} >+if(this._borderElement){return true; >+}return false; > }, >-_isIdentifiableKeyCode:function(keyCode){if(keyCode>=this._charCodeA&&keyCode<=this._charCodeZ){return true; >-}if(keyCode>=this._charCode0&&keyCode<=this._charCode9){return true; >-}if(this._specialCharCodeMap[keyCode]){return true; >-}if(this._numpadToCharCode[keyCode]){return true; >-}if(this._isNonPrintableKeyCode(keyCode)){return true; >+_isHeightEssential:function(){if(!this._computedTopTypeNull&&!this._computedBottomTypeNull){return true; >+} >+if(!this._computedHeightTypeNull&&!this._computedHeightTypeAuto){return true; >+} >+if(!this._computedMinHeightTypeNull&&!this._computedMinHeightTypeAuto){return true; >+} >+if(!this._computedMaxHeightTypeNull&&!this._computedMaxHeightTypeAuto){return true; >+} >+if(this._borderElement){return true; > }return false; >+}}}); >+ >+ >+ >+ >+/* ID: qx.ui.core.ClientDocumentBlocker */ >+qx.Class.define("qx.ui.core.ClientDocumentBlocker", >+{extend:qx.ui.basic.Terminator, >+construct:function(){this.base(arguments); >+this.initTop(); >+this.initLeft(); >+this.initWidth(); >+this.initHeight(); >+this.initZIndex(); >+}, >+properties:{appearance:{refine:true, >+init:"client-document-blocker"}, >+zIndex:{refine:true, >+init:1e8}, >+top:{refine:true, >+init:0}, >+left:{refine:true, >+init:0}, >+width:{refine:true, >+init:"100%"}, >+height:{refine:true, >+init:"100%"}, >+display:{refine:true, >+init:false}}, >+members:{getFocusRoot:function(){return null; >+}}}); >+ >+ >+ >+ >+/* ID: qx.theme.manager.Appearance */ >+qx.Class.define("qx.theme.manager.Appearance", >+{type:"singleton", >+extend:qx.util.manager.Object, >+construct:function(){this.base(arguments); >+this.__cache={}; >+this.__stateMap={}; >+this.__stateMapLength=1; > }, >-isValidKeyIdentifier:function(keyIdentifier){if(this._identifierToKeyCodeMap[keyIdentifier]){return true; >-} >-if(keyIdentifier.length!=1){return false; >+properties:{appearanceTheme:{check:"Theme", >+nullable:true, >+apply:"_applyAppearanceTheme", >+event:"changeAppearanceTheme"}}, >+members:{_applyAppearanceTheme:function(value, >+old){this._currentTheme=value; >+this._oldTheme=old; >+if(qx.theme.manager.Meta.getInstance().getAutoSync()){this.syncAppearanceTheme(); >+}}, >+syncAppearanceTheme:function(){if(!this._currentTheme&&!this._oldTheme){return; > } >-if(keyIdentifier>="0"&&keyIdentifier<="9"){return true; >+if(this._currentTheme){this.__cache[this._currentTheme.name]={}; >+}var app=qx.core.Init.getInstance().getApplication(); >+if(app&&app.getUiReady()){qx.ui.core.ClientDocument.getInstance()._recursiveAppearanceThemeUpdate(this._currentTheme, >+this._oldTheme); > } >-if(keyIdentifier>="A"&&keyIdentifier<="Z"){return true; >+if(this._oldTheme){delete this.__cache[this._oldTheme.name]; >+}delete this._currentTheme; >+delete this._oldTheme; >+}, >+styleFrom:function(id, >+states){var theme=this.getAppearanceTheme(); >+if(!theme){return; >+}return this.styleFromTheme(theme, >+id, >+states); >+}, >+styleFromTheme:function(theme, >+id, >+states){var entry=theme.appearances[id]; >+if(!entry){{this.warn("Missing appearance entry: "+id); >+}; >+return null; >+}if(!entry.style){if(entry.include){return this.styleFromTheme(theme, >+entry.include, >+states); >+}else{return null; >+}}var map=this.__stateMap; >+var helper=[id]; >+for(var state in states){if(!map[state]){map[state]=this.__stateMapLength++; >+}helper[map[state]]=true; >+}var unique=helper.join(); >+var cache=this.__cache[theme.name]; >+if(cache&&cache[unique]!==undefined){return cache[unique]; >+}var result; >+if(entry.include||entry.base){var local=entry.style(states); >+var incl; >+if(entry.include){incl=this.styleFromTheme(theme, >+entry.include, >+states); >+}result={}; >+if(entry.base){var base=this.styleFromTheme(entry.base, >+id, >+states); >+if(entry.include){for(var key in base){if(incl[key]===undefined&&local[key]===undefined){result[key]=base[key]; >+}}}else{for(var key in base){if(local[key]===undefined){result[key]=base[key]; >+}}}}if(entry.include){for(var key in incl){if(local[key]===undefined){result[key]=incl[key]; >+}}}for(var key in local){result[key]=local[key]; >+}}else{result=entry.style(states); >+}if(cache){cache[unique]=result||null; >+}return result||null; >+}}, >+destruct:function(){this._disposeFields("__cache", >+"__stateMap"); >+}}); >+ >+ >+ >+ >+/* ID: qx.theme.manager.Meta */ >+qx.Class.define("qx.theme.manager.Meta", >+{type:"singleton", >+extend:qx.core.Target, >+properties:{theme:{check:"Theme", >+nullable:true, >+apply:"_applyTheme", >+event:"changeTheme"}, >+autoSync:{check:"Boolean", >+init:true, >+apply:"_applyAutoSync"}}, >+members:{_applyTheme:function(value, >+old){var color=null; >+var border=null; >+var font=null; >+var widget=null; >+var icon=null; >+var appearance=null; >+if(value){color=value.meta.color||null; >+border=value.meta.border||null; >+font=value.meta.font||null; >+widget=value.meta.widget||null; >+icon=value.meta.icon||null; >+appearance=value.meta.appearance||null; > } >-switch(keyIdentifier){case "+":case "-":case "*":case "/":return true; >-default:return false; >+if(old){this.setAutoSync(false); >+}var colorMgr=qx.theme.manager.Color.getInstance(); >+var borderMgr=qx.theme.manager.Border.getInstance(); >+var fontMgr=qx.theme.manager.Font.getInstance(); >+var iconMgr=qx.theme.manager.Icon.getInstance(); >+var widgetMgr=qx.theme.manager.Widget.getInstance(); >+var appearanceMgr=qx.theme.manager.Appearance.getInstance(); >+colorMgr.setColorTheme(color); >+borderMgr.setBorderTheme(border); >+fontMgr.setFontTheme(font); >+widgetMgr.setWidgetTheme(widget); >+iconMgr.setIconTheme(icon); >+appearanceMgr.setAppearanceTheme(appearance); >+if(old){this.setAutoSync(true); > }}, >-_keyCodeToIdentifier:function(keyCode){if(this._isIdentifiableKeyCode(keyCode)){var numPadKeyCode=this._numpadToCharCode[keyCode]; >-if(numPadKeyCode){return String.fromCharCode(numPadKeyCode); >-}return (this._keyCodeToIdentifierMap[keyCode]||this._specialCharCodeMap[keyCode]||String.fromCharCode(keyCode)); >-}else{return "Unidentified"; >+_applyAutoSync:function(value, >+old){if(value){qx.theme.manager.Appearance.getInstance().syncAppearanceTheme(); >+qx.theme.manager.Icon.getInstance().syncIconTheme(); >+qx.theme.manager.Widget.getInstance().syncWidgetTheme(); >+qx.theme.manager.Font.getInstance().syncFontTheme(); >+qx.theme.manager.Border.getInstance().syncBorderTheme(); >+qx.theme.manager.Color.getInstance().syncColorTheme(); > }}, >-_charCodeToIdentifier:function(charCode){return this._specialCharCodeMap[charCode]||String.fromCharCode(charCode).toUpperCase(); >+initialize:function(){var setting=qx.core.Setting; >+var theme, >+obj; >+theme=setting.get("qx.theme"); >+if(theme){obj=qx.Theme.getByName(theme); >+if(!obj){throw new Error("The meta theme to use is not available: "+theme); >+}this.setTheme(obj); >+}theme=setting.get("qx.colorTheme"); >+if(theme){obj=qx.Theme.getByName(theme); >+if(!obj){throw new Error("The color theme to use is not available: "+theme); >+}qx.theme.manager.Color.getInstance().setColorTheme(obj); >+}theme=setting.get("qx.borderTheme"); >+if(theme){obj=qx.Theme.getByName(theme); >+if(!obj){throw new Error("The border theme to use is not available: "+theme); >+}qx.theme.manager.Border.getInstance().setBorderTheme(obj); >+}theme=setting.get("qx.fontTheme"); >+if(theme){obj=qx.Theme.getByName(theme); >+if(!obj){throw new Error("The font theme to use is not available: "+theme); >+}qx.theme.manager.Font.getInstance().setFontTheme(obj); >+}theme=setting.get("qx.widgetTheme"); >+if(theme){obj=qx.Theme.getByName(theme); >+if(!obj){throw new Error("The widget theme to use is not available: "+theme); >+}qx.theme.manager.Widget.getInstance().setWidgetTheme(obj); >+}theme=setting.get("qx.iconTheme"); >+if(theme){obj=qx.Theme.getByName(theme); >+if(!obj){throw new Error("The icon theme to use is not available: "+theme); >+}qx.theme.manager.Icon.getInstance().setIconTheme(obj); >+}theme=setting.get("qx.appearanceTheme"); >+if(theme){obj=qx.Theme.getByName(theme); >+if(!obj){throw new Error("The appearance theme to use is not available: "+theme); >+}qx.theme.manager.Appearance.getInstance().setAppearanceTheme(obj); >+}}, >+__queryThemes:function(key){var reg=qx.Theme.getAll(); >+var theme; >+var list=[]; >+for(var name in reg){theme=reg[name]; >+if(theme[key]){list.push(theme); >+}}return list; > }, >-_identifierToKeyCode:function(keyIdentifier){return this._identifierToKeyCodeMap[keyIdentifier]||keyIdentifier.charCodeAt(0); >+getMetaThemes:function(){return this.__queryThemes("meta"); > }, >-_idealKeyHandler:function(keyCode, >-charCode, >-eventType, >-domEvent){if(!keyCode&&!charCode){return; >-}var keyIdentifier; >-if(keyCode){keyIdentifier=this._keyCodeToIdentifier(keyCode); >-qx.event.handler.EventHandler.getInstance()._onkeyevent_post(domEvent, >-eventType, >-keyCode, >-charCode, >-keyIdentifier); >-}else{keyIdentifier=this._charCodeToIdentifier(charCode); >-qx.event.handler.EventHandler.getInstance()._onkeyevent_post(domEvent, >-"keypress", >-keyCode, >-charCode, >-keyIdentifier); >-qx.event.handler.EventHandler.getInstance()._onkeyevent_post(domEvent, >-"keyinput", >-keyCode, >-charCode, >-keyIdentifier); >-}}}, >-defer:function(statics, >-members, >-properties){if(!members._identifierToKeyCodeMap){members._identifierToKeyCodeMap={}; >-for(var key in members._keyCodeToIdentifierMap){members._identifierToKeyCodeMap[members._keyCodeToIdentifierMap[key]]=parseInt(key); >-} >-for(var key in members._specialCharCodeMap){members._identifierToKeyCodeMap[members._specialCharCodeMap[key]]=parseInt(key); >-}} >-if(qx.core.Variant.isSet("qx.client", >-"mshtml")){members._lastUpDownType={}; >-members._charCode2KeyCode={13:13, >-27:27}; >-}else if(qx.core.Variant.isSet("qx.client", >-"gecko")){members._lastUpDownType={}; >-members._keyCodeFix={12:members._identifierToKeyCode("NumLock")}; >-}else if(qx.core.Variant.isSet("qx.client", >-"webkit")){members._charCode2KeyCode={63289:members._identifierToKeyCode("NumLock"), >-63276:members._identifierToKeyCode("PageUp"), >-63277:members._identifierToKeyCode("PageDown"), >-63275:members._identifierToKeyCode("End"), >-63273:members._identifierToKeyCode("Home"), >-63234:members._identifierToKeyCode("Left"), >-63232:members._identifierToKeyCode("Up"), >-63235:members._identifierToKeyCode("Right"), >-63233:members._identifierToKeyCode("Down"), >-63272:members._identifierToKeyCode("Delete"), >-63302:members._identifierToKeyCode("Insert"), >-63236:members._identifierToKeyCode("F1"), >-63237:members._identifierToKeyCode("F2"), >-63238:members._identifierToKeyCode("F3"), >-63239:members._identifierToKeyCode("F4"), >-63240:members._identifierToKeyCode("F5"), >-63241:members._identifierToKeyCode("F6"), >-63242:members._identifierToKeyCode("F7"), >-63243:members._identifierToKeyCode("F8"), >-63244:members._identifierToKeyCode("F9"), >-63245:members._identifierToKeyCode("F10"), >-63246:members._identifierToKeyCode("F11"), >-63247:members._identifierToKeyCode("F12"), >-63248:members._identifierToKeyCode("PrintScreen"), >-3:members._identifierToKeyCode("Enter"), >-12:members._identifierToKeyCode("NumLock"), >-13:members._identifierToKeyCode("Enter")}; >-}else if(qx.core.Variant.isSet("qx.client", >-"opera")){members._lastKeyCode=null; >+getColorThemes:function(){return this.__queryThemes("colors"); >+}, >+getBorderThemes:function(){return this.__queryThemes("borders"); >+}, >+getFontThemes:function(){return this.__queryThemes("fonts"); >+}, >+getWidgetThemes:function(){return this.__queryThemes("widgets"); >+}, >+getIconThemes:function(){return this.__queryThemes("icons"); >+}, >+getAppearanceThemes:function(){return this.__queryThemes("appearances"); >+}}, >+settings:{"qx.theme":"qx.theme.ClassicRoyale", >+"qx.colorTheme":null, >+"qx.borderTheme":null, >+"qx.fontTheme":null, >+"qx.widgetTheme":null, >+"qx.appearanceTheme":null, >+"qx.iconTheme":null}}); >+ >+ >+ >+ >+/* ID: qx.theme.manager.Color */ >+qx.Class.define("qx.theme.manager.Color", >+{type:"singleton", >+extend:qx.util.manager.Value, >+properties:{colorTheme:{check:"Theme", >+nullable:true, >+apply:"_applyColorTheme", >+event:"changeColorTheme"}}, >+members:{_applyColorTheme:function(value){var dest=this._dynamic={}; >+if(value){var source=value.colors; >+var util=qx.util.ColorUtil; >+var temp; >+for(var key in source){temp=source[key]; >+if(typeof temp==="string"){if(!util.isCssString(temp)){throw new Error("Could not parse color: "+temp); >+}}else if(temp instanceof Array){temp=util.rgbToRgbString(temp); >+}else{throw new Error("Could not parse color: "+temp); >+}dest[key]=temp; >+}} >+if(qx.theme.manager.Meta.getInstance().getAutoSync()){this.syncColorTheme(); > }}, >-destruct:function(){this._detachEvents(); >-this._disposeFields("_lastUpDownType", >-"_lastKeyCode"); >-}}); >+syncColorTheme:function(){this._updateObjects(); >+}}}); > > > > >-/* ID: qx.event.type.DomEvent */ >-qx.Class.define("qx.event.type.DomEvent", >-{extend:qx.event.type.Event, >-construct:function(vType, >-vDomEvent, >-vDomTarget, >-vTarget, >-vOriginalTarget){this.base(arguments, >-vType); >-this.setDomEvent(vDomEvent); >-this.setDomTarget(vDomTarget); >-this.setTarget(vTarget); >-this.setOriginalTarget(vOriginalTarget); >+/* ID: qx.util.ColorUtil */ >+qx.Class.define("qx.util.ColorUtil", >+{statics:{REGEXP:{hex3:/^#([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/, >+hex6:/^#([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/, >+rgb:/^rgb\(\s*([0-9]{1,3}\.{0,1}[0-9]*)\s*,\s*([0-9]{1,3}\.{0,1}[0-9]*)\s*,\s*([0-9]{1,3}\.{0,1}[0-9]*)\s*\)$/}, >+SYSTEM:{activeborder:true, >+activecaption:true, >+appworkspace:true, >+background:true, >+buttonface:true, >+buttonhighlight:true, >+buttonshadow:true, >+buttontext:true, >+captiontext:true, >+graytext:true, >+highlight:true, >+highlighttext:true, >+inactiveborder:true, >+inactivecaption:true, >+inactivecaptiontext:true, >+infobackground:true, >+infotext:true, >+menu:true, >+menutext:true, >+scrollbar:true, >+threeddarkshadow:true, >+threedface:true, >+threedhighlight:true, >+threedlightshadow:true, >+threedshadow:true, >+window:true, >+windowframe:true, >+windowtext:true}, >+NAMED:{black:[0, >+0, >+0], >+silver:[192, >+192, >+192], >+gray:[128, >+128, >+128], >+white:[255, >+255, >+255], >+maroon:[128, >+0, >+0], >+red:[255, >+0, >+0], >+purple:[128, >+0, >+128], >+fuchsia:[255, >+0, >+255], >+green:[0, >+128, >+0], >+lime:[0, >+255, >+0], >+olive:[128, >+128, >+0], >+yellow:[255, >+255, >+0], >+navy:[0, >+0, >+128], >+blue:[0, >+0, >+255], >+teal:[0, >+128, >+128], >+aqua:[0, >+255, >+255], >+transparent:[-1, >+-1, >+-1], >+grey:[128, >+128, >+128], >+magenta:[255, >+0, >+255], >+orange:[255, >+165, >+0], >+brown:[165, >+42, >+42]}, >+isNamedColor:function(value){return this.NAMED[value]!==undefined; > }, >-statics:{SHIFT_MASK:1, >-CTRL_MASK:2, >-ALT_MASK:4, >-META_MASK:8}, >-properties:{bubbles:{_fast:true, >-defaultValue:true, >-noCompute:true}, >-propagationStopped:{_fast:true, >-defaultValue:false, >-noCompute:true}, >-domEvent:{_fast:true, >-setOnlyOnce:true, >-noCompute:true}, >-domTarget:{_fast:true, >-setOnlyOnce:true, >-noCompute:true}, >-modifiers:{_cached:true, >-defaultValue:null}}, >-members:{_computeModifiers:function(){var mask=0; >-var evt=this.getDomEvent(); >-if(evt.shiftKey)mask|=qx.event.type.DomEvent.SHIFT_MASK; >-if(evt.ctrlKey)mask|=qx.event.type.DomEvent.CTRL_MASK; >-if(evt.altKey)mask|=qx.event.type.DomEvent.ALT_MASK; >-if(evt.metaKey)mask|=qx.event.type.DomEvent.META_MASK; >-return mask; >+isSystemColor:function(value){return this.SYSTEM[value]!==undefined; > }, >-isCtrlPressed:function(){return this.getDomEvent().ctrlKey; >+isThemedColor:function(value){return qx.theme.manager.Color.getInstance().isDynamic(value); > }, >-isShiftPressed:function(){return this.getDomEvent().shiftKey; >+stringToRgb:function(str){if(this.isThemedColor(str)){var str=qx.theme.manager.Color.getInstance().resolveDynamic(str); >+} >+if(this.isNamedColor(str)){return this.NAMED[str]; >+}else if(this.isSystemColor(str)){throw new Error("Could not convert system colors to RGB: "+str); >+}else if(this.isRgbString(str)){return this.__rgbStringToRgb(); >+}else if(this.isHex3String(str)){return this.__hex3StringToRgb(); >+}else if(this.isHex6String(str)){return this.__hex6StringToRgb(); >+}throw new Error("Could not parse color: "+str); > }, >-isAltPressed:function(){return this.getDomEvent().altKey; >+cssStringToRgb:function(str){if(this.isNamedColor(str)){return this.NAMED[str]; >+}else if(this.isSystemColor(str)){throw new Error("Could not convert system colors to RGB: "+str); >+}else if(this.isRgbString(str)){return this.__rgbStringToRgb(); >+}else if(this.isHex3String(str)){return this.__hex3StringToRgb(); >+}else if(this.isHex6String(str)){return this.__hex6StringToRgb(); >+}throw new Error("Could not parse color: "+str); > }, >-isMetaPressed:function(){return this.getDomEvent().metaKey; >+stringToRgbString:function(str){return this.rgbToRgbString(this.stringToRgb(str)); >+}, >+rgbToRgbString:function(rgb){return "rgb("+rgb[0]+","+rgb[1]+","+rgb[2]+")"; >+}, >+rgbToHexString:function(rgb){return (qx.lang.String.pad(rgb[0].toString(16).toUpperCase(), >+2)+qx.lang.String.pad(rgb[1].toString(16).toUpperCase(), >+2)+qx.lang.String.pad(rgb[2].toString(16).toUpperCase(), >+2)); >+}, >+isValid:function(str){return this.isThemedColor(str)||this.isCssString(str); >+}, >+isCssString:function(str){return this.isSystemColor(str)||this.isNamedColor(str)||this.isHex3String(str)||this.isHex6String(str)||this.isRgbString(str); >+}, >+isHex3String:function(str){return this.REGEXP.hex3.test(str); >+}, >+isHex6String:function(str){return this.REGEXP.hex6.test(str); >+}, >+isRgbString:function(str){return this.REGEXP.rgb.test(str); >+}, >+__rgbStringToRgb:function(){var red=parseInt(RegExp.$1); >+var green=parseInt(RegExp.$2); >+var blue=parseInt(RegExp.$3); >+return [red, >+green, >+blue]; >+}, >+__hex3StringToRgb:function(){var red=parseInt(RegExp.$1, >+16)*17; >+var green=parseInt(RegExp.$2, >+16)*17; >+var blue=parseInt(RegExp.$3, >+16)*17; >+return [red, >+green, >+blue]; >+}, >+__hex6StringToRgb:function(){var red=(parseInt(RegExp.$1, >+16)*16)+parseInt(RegExp.$2, >+16); >+var green=(parseInt(RegExp.$3, >+16)*16)+parseInt(RegExp.$4, >+16); >+var blue=(parseInt(RegExp.$5, >+16)*16)+parseInt(RegExp.$6, >+16); >+return [red, >+green, >+blue]; >+}, >+hex3StringToRgb:function(value){if(this.isHex3String(value)){return this.__hex3StringToRgb(value); >+}throw new Error("Invalid hex3 value: "+value); >+}, >+hex6StringToRgb:function(value){if(this.isHex6String(value)){return this.__hex6StringToRgb(value); >+}throw new Error("Invalid hex6 value: "+value); >+}, >+hexStringToRgb:function(value){if(this.isHex3String(value)){return this.__hex3StringToRgb(value); >+} >+if(this.isHex6String(value)){return this.__hex6StringToRgb(value); >+}throw new Error("Invalid hex value: "+value); >+}, >+rgbToHsb:function(rgb){var hue, >+saturation, >+brightness; >+var red=rgb[0]; >+var green=rgb[1]; >+var blue=rgb[2]; >+var cmax=(red>green)?red:green; >+if(blue>cmax){cmax=blue; >+}var cmin=(red<green)?red:green; >+if(blue<cmin){cmin=blue; >+}brightness=cmax/255.0; >+if(cmax!=0){saturation=(cmax-cmin)/cmax; >+}else{saturation=0; >+} >+if(saturation==0){hue=0; >+}else{var redc=(cmax-red)/(cmax-cmin); >+var greenc=(cmax-green)/(cmax-cmin); >+var bluec=(cmax-blue)/(cmax-cmin); >+if(red==cmax){hue=bluec-greenc; >+}else if(green==cmax){hue=2.0+redc-bluec; >+}else{hue=4.0+greenc-redc; >+}hue=hue/6.0; >+if(hue<0){hue=hue+1.0; >+}}return [Math.round(hue*360), >+Math.round(saturation*100), >+Math.round(brightness*100)]; > }, >-isCtrlOrCommandPressed:function(){if(qx.core.Client.getInstance().runsOnMacintosh()){return this.getDomEvent().metaKey; >-}else{return this.getDomEvent().ctrlKey; >-}}, >-setDefaultPrevented:qx.core.Variant.select("qx.client", >-{"mshtml":function(vValue){if(!vValue){return this.error("It is not possible to set preventDefault to false if it was true before!", >-"setDefaultPrevented"); >-}this.getDomEvent().returnValue=false; >-this.base(arguments, >-vValue); >+hsbToRgb:function(hsb){var i, >+f, >+p, >+q, >+t; >+var hue=hsb[0]/360; >+var saturation=hsb[1]/100; >+var brightness=hsb[2]/100; >+if(hue>=1.0){hue%=1.0; >+} >+if(saturation>1.0){saturation=1.0; >+} >+if(brightness>1.0){brightness=1.0; >+}var tov=Math.floor(255*brightness); >+var rgb={}; >+if(saturation==0.0){rgb.red=rgb.green=rgb.blue=tov; >+}else{hue*=6.0; >+i=Math.floor(hue); >+f=hue-i; >+p=Math.floor(tov*(1.0-saturation)); >+q=Math.floor(tov*(1.0-(saturation*f))); >+t=Math.floor(tov*(1.0-(saturation*(1.0-f)))); >+switch(i){case 0:rgb.red=tov; >+rgb.green=t; >+rgb.blue=p; >+break; >+case 1:rgb.red=q; >+rgb.green=tov; >+rgb.blue=p; >+break; >+case 2:rgb.red=p; >+rgb.green=tov; >+rgb.blue=t; >+break; >+case 3:rgb.red=p; >+rgb.green=q; >+rgb.blue=tov; >+break; >+case 4:rgb.red=t; >+rgb.green=p; >+rgb.blue=tov; >+break; >+case 5:rgb.red=tov; >+rgb.green=p; >+rgb.blue=q; >+break; >+}}return rgb; > }, >-"default":function(vValue){if(!vValue){return this.error("It is not possible to set preventDefault to false if it was true before!", >-"setDefaultPrevented"); >-}this.getDomEvent().preventDefault(); >-this.getDomEvent().returnValue=false; >-this.base(arguments, >-vValue); >-}})}, >-destruct:function(){this._disposeFields("_valueDomEvent", >-"_valueDomTarget"); >-}}); >+randomColor:function(){var r=Math.round(Math.random()*255); >+var g=Math.round(Math.random()*255); >+var b=Math.round(Math.random()*255); >+return this.rgbToRgbString([r, >+g, >+b]); >+}}}); > > > > >-/* ID: qx.event.type.KeyEvent */ >-qx.Class.define("qx.event.type.KeyEvent", >-{extend:qx.event.type.DomEvent, >-construct:function(vType, >-vDomEvent, >-vDomTarget, >-vTarget, >-vOriginalTarget, >-vKeyCode, >-vCharCode, >-vKeyIdentifier){this.base(arguments, >-vType, >-vDomEvent, >-vDomTarget, >-vTarget, >-vOriginalTarget); >-this._keyCode=vKeyCode; >-this.setCharCode(vCharCode); >-this.setKeyIdentifier(vKeyIdentifier); >+/* ID: qx.theme.manager.Border */ >+qx.Class.define("qx.theme.manager.Border", >+{type:"singleton", >+extend:qx.util.manager.Value, >+properties:{borderTheme:{check:"Theme", >+nullable:true, >+apply:"_applyBorderTheme", >+event:"changeBorderTheme"}}, >+members:{resolveDynamic:function(value){return value instanceof qx.ui.core.Border?value:this._dynamic[value]; > }, >-statics:{keys:{esc:27, >-enter:13, >-tab:9, >-space:32, >-up:38, >-down:40, >-left:37, >-right:39, >-shift:16, >-ctrl:17, >-alt:18, >-f1:112, >-f2:113, >-f3:114, >-f4:115, >-f5:116, >-f6:117, >-f7:118, >-f8:119, >-f9:120, >-f10:121, >-f11:122, >-f12:123, >-print:124, >-del:46, >-backspace:8, >-insert:45, >-home:36, >-end:35, >-pageup:33, >-pagedown:34, >-numlock:144, >-numpad_0:96, >-numpad_1:97, >-numpad_2:98, >-numpad_3:99, >-numpad_4:100, >-numpad_5:101, >-numpad_6:102, >-numpad_7:103, >-numpad_8:104, >-numpad_9:105, >-numpad_divide:111, >-numpad_multiply:106, >-numpad_minus:109, >-numpad_plus:107}, >-codes:{}}, >-properties:{charCode:{_fast:true, >-setOnlyOnce:true, >-noCompute:true}, >-keyIdentifier:{_fast:true, >-setOnlyOnce:true, >-noCompute:true}}, >-members:{getKeyCode:function(){qx.log.Logger.deprecatedMethodWarning(arguments.callee, >-"Please use getKeyIdentifier() instead."); >-return this._keyCode; >-}}, >-defer:function(statics){for(var i in statics.keys){statics.codes[statics.keys[i]]=i; >-}}}); >+isDynamic:function(value){return value&&(value instanceof qx.ui.core.Border||this._dynamic[value]!==undefined); >+}, >+syncBorderTheme:function(){this._updateObjects(); >+}, >+updateObjectsEdge:function(border, >+edge){var reg=this._registry; >+var dynamics=this._dynamic; >+var entry; >+for(var key in reg){entry=reg[key]; >+if(entry.value===border||dynamics[entry.value]===border){entry.callback.call(entry.object, >+border, >+edge); >+}}}, >+_applyBorderTheme:function(value){var dest=this._dynamic; >+for(var key in dest){if(dest[key].themed){dest[key].dispose(); >+delete dest[key]; >+}} >+if(value){var source=value.borders; >+var border=qx.ui.core.Border; >+for(var key in source){dest[key]=(new border).set(source[key]); >+dest[key].themed=true; >+}} >+if(qx.theme.manager.Meta.getInstance().getAutoSync()){this.syncBorderTheme(); >+}}}}); > > > > >-/* ID: qx.event.type.MouseEvent */ >-qx.Class.define("qx.event.type.MouseEvent", >-{extend:qx.event.type.DomEvent, >-construct:function(vType, >-vDomEvent, >-vDomTarget, >-vTarget, >-vOriginalTarget, >-vRelatedTarget){this.base(arguments, >-vType, >-vDomEvent, >-vDomTarget, >-vTarget, >-vOriginalTarget); >-if(vRelatedTarget){this.setRelatedTarget(vRelatedTarget); >+/* ID: qx.ui.core.Border */ >+qx.Class.define("qx.ui.core.Border", >+{extend:qx.core.Object, >+construct:function(width, >+style, >+color){this.base(arguments); >+if(width!==undefined){this.setWidth(width); >+} >+if(style!==undefined){this.setStyle(style); >+} >+if(color!==undefined){this.setColor(color); > }}, >-statics:{C_BUTTON_LEFT:"left", >-C_BUTTON_MIDDLE:"middle", >-C_BUTTON_RIGHT:"right", >-C_BUTTON_NONE:"none", >-_screenX:0, >-_screenY:0, >-_clientX:0, >-_clientY:0, >-_pageX:0, >-_pageY:0, >-_button:null, >-buttons:qx.core.Variant.select("qx.client", >-{"mshtml":{left:1, >-right:2, >-middle:4}, >-"default":{left:0, >-right:2, >-middle:1}}), >-storeEventState:function(e){this._screenX=e.getScreenX(); >-this._screenY=e.getScreenY(); >-this._clientX=e.getClientX(); >-this._clientY=e.getClientY(); >-this._pageX=e.getPageX(); >-this._pageY=e.getPageY(); >-this._button=e.getButton(); >-}, >-getScreenX:function(){return this._screenX; >-}, >-getScreenY:function(){return this._screenY; >+statics:{fromString:function(str){var border=new qx.ui.core.Border; >+var parts=str.split(/\s+/); >+var part, >+temp; >+for(var i=0, >+l=parts.length;i<l;i++){part=parts[i]; >+switch(part){case "groove":case "ridge":case "inset":case "outset":case "solid":case "dotted":case "dashed":case "double":case "none":border.setStyle(part); >+break; >+default:temp=parseInt(part); >+if(temp===part||qx.lang.String.contains(part, >+"px")){border.setWidth(temp); >+}else{border.setColor(part); >+}break; >+}}return border; > }, >-getClientX:function(){return this._clientX; >+fromConfig:function(config){var border=new qx.ui.core.Border; >+border.set(config); >+return border; > }, >-getClientY:function(){return this._clientY; >+resetTop:qx.core.Variant.select("qx.client", >+{"gecko":function(widget){var style=widget._style; >+if(style){style.borderTopWidth=style.borderTopStyle=style.borderTopColor=style.MozBorderTopColors=""; >+}}, >+"default":function(widget){var style=widget._style; >+if(style){style.borderTopWidth=style.borderTopStyle=style.borderTopColor=""; >+}style=widget._innerStyle; >+if(style){style.borderTopWidth=style.borderTopStyle=style.borderTopColor=""; >+}}}), >+resetRight:qx.core.Variant.select("qx.client", >+{"gecko":function(widget){var style=widget._style; >+if(style){style.borderRightWidth=style.borderRightStyle=style.borderRightColor=style.MozBorderRightColors=""; >+}}, >+"default":function(widget){var style=widget._style; >+if(style){style.borderRightWidth=style.borderRightStyle=style.borderRightColor=""; >+}style=widget._innerStyle; >+if(style){style.borderRightWidth=style.borderRightStyle=style.borderRightColor=""; >+}}}), >+resetBottom:qx.core.Variant.select("qx.client", >+{"gecko":function(widget){var style=widget._style; >+if(style){style.borderBottomWidth=style.borderBottomStyle=style.borderBottomColor=style.MozBorderBottomColors=""; >+}}, >+"default":function(widget){var style=widget._style; >+if(style){style.borderBottomWidth=style.borderBottomStyle=style.borderBottomColor=""; >+}style=widget._innerStyle; >+if(style){style.borderBottomWidth=style.borderBottomStyle=style.borderBottomColor=""; >+}}}), >+resetLeft:qx.core.Variant.select("qx.client", >+{"gecko":function(widget){var style=widget._style; >+if(style){style.borderLeftWidth=style.borderLeftStyle=style.borderLeftColor=style.MozBorderLeftColors=""; >+}}, >+"default":function(widget){var style=widget._style; >+if(style){style.borderLeftWidth=style.borderLeftStyle=style.borderLeftColor=""; >+}style=widget._innerStyle; >+if(style){style.borderLeftWidth=style.borderLeftStyle=style.borderLeftColor=""; >+}}})}, >+properties:{widthTop:{check:"Number", >+init:0, >+apply:"_applyWidthTop"}, >+widthRight:{check:"Number", >+init:0, >+apply:"_applyWidthRight"}, >+widthBottom:{check:"Number", >+init:0, >+apply:"_applyWidthBottom"}, >+widthLeft:{check:"Number", >+init:0, >+apply:"_applyWidthLeft"}, >+styleTop:{nullable:true, >+check:["solid", >+"dotted", >+"dashed", >+"double", >+"outset", >+"inset", >+"ridge", >+"groove"], >+init:"solid", >+apply:"_applyStyleTop"}, >+styleRight:{nullable:true, >+check:["solid", >+"dotted", >+"dashed", >+"double", >+"outset", >+"inset", >+"ridge", >+"groove"], >+init:"solid", >+apply:"_applyStyleRight"}, >+styleBottom:{nullable:true, >+check:["solid", >+"dotted", >+"dashed", >+"double", >+"outset", >+"inset", >+"ridge", >+"groove"], >+init:"solid", >+apply:"_applyStyleBottom"}, >+styleLeft:{nullable:true, >+check:["solid", >+"dotted", >+"dashed", >+"double", >+"outset", >+"inset", >+"ridge", >+"groove"], >+init:"solid", >+apply:"_applyStyleLeft"}, >+colorTop:{nullable:true, >+check:"Color", >+apply:"_applyColorTop"}, >+colorRight:{nullable:true, >+check:"Color", >+apply:"_applyColorRight"}, >+colorBottom:{nullable:true, >+check:"Color", >+apply:"_applyColorBottom"}, >+colorLeft:{nullable:true, >+check:"Color", >+apply:"_applyColorLeft"}, >+colorInnerTop:{nullable:true, >+check:"Color", >+apply:"_applyColorInnerTop"}, >+colorInnerRight:{nullable:true, >+check:"Color", >+apply:"_applyColorInnerRight"}, >+colorInnerBottom:{nullable:true, >+check:"Color", >+apply:"_applyColorInnerBottom"}, >+colorInnerLeft:{nullable:true, >+check:"Color", >+apply:"_applyColorInnerLeft"}, >+left:{group:["widthLeft", >+"styleLeft", >+"colorLeft"]}, >+right:{group:["widthRight", >+"styleRight", >+"colorRight"]}, >+top:{group:["widthTop", >+"styleTop", >+"colorTop"]}, >+bottom:{group:["widthBottom", >+"styleBottom", >+"colorBottom"]}, >+width:{group:["widthTop", >+"widthRight", >+"widthBottom", >+"widthLeft"], >+mode:"shorthand"}, >+style:{group:["styleTop", >+"styleRight", >+"styleBottom", >+"styleLeft"], >+mode:"shorthand"}, >+color:{group:["colorTop", >+"colorRight", >+"colorBottom", >+"colorLeft"], >+mode:"shorthand"}, >+innerColor:{group:["colorInnerTop", >+"colorInnerRight", >+"colorInnerBottom", >+"colorInnerLeft"], >+mode:"shorthand"}}, >+members:{_applyWidthTop:function(value, >+old){this.__widthTop=value==null?"0px":value+"px"; >+this.__computeComplexTop(); >+this.__informManager("top"); > }, >-getPageX:function(){return this._pageX; >+_applyWidthRight:function(value, >+old){this.__widthRight=value==null?"0px":value+"px"; >+this.__computeComplexRight(); >+this.__informManager("right"); > }, >-getPageY:function(){return this._pageY; >+_applyWidthBottom:function(value, >+old){this.__widthBottom=value==null?"0px":value+"px"; >+this.__computeComplexBottom(); >+this.__informManager("bottom"); > }, >-getButton:function(){return this._button; >-}}, >-properties:{button:{_fast:true, >-readOnly:true}, >-wheelDelta:{_fast:true, >-readOnly:true}}, >-members:{getPageX:qx.core.Variant.select("qx.client", >-{"mshtml":function(){return this.getDomEvent().clientX+qx.bom.Viewport.getScrollLeft(window); >+_applyWidthLeft:function(value, >+old){this.__widthLeft=value==null?"0px":value+"px"; >+this.__computeComplexLeft(); >+this.__informManager("left"); > }, >-"default":function(){return this.getDomEvent().pageX; >-}}), >-getPageY:qx.core.Variant.select("qx.client", >-{"mshtml":function(){return this.getDomEvent().clientY+qx.bom.Viewport.getScrollTop(window); >+_applyColorTop:function(value, >+old){qx.theme.manager.Color.getInstance().connect(this._changeColorTop, >+this, >+value); > }, >-"default":function(){return this.getDomEvent().pageY; >-}}), >-getClientX:function(){return this.getDomEvent().clientX; >+_applyColorRight:function(value, >+old){qx.theme.manager.Color.getInstance().connect(this._changeColorRight, >+this, >+value); > }, >-getClientY:function(){return this.getDomEvent().clientY; >+_applyColorBottom:function(value, >+old){qx.theme.manager.Color.getInstance().connect(this._changeColorBottom, >+this, >+value); > }, >-getScreenX:function(){return this.getDomEvent().screenX; >+_applyColorLeft:function(value, >+old){qx.theme.manager.Color.getInstance().connect(this._changeColorLeft, >+this, >+value); > }, >-getScreenY:function(){return this.getDomEvent().screenY; >+_applyColorInnerTop:function(value, >+old){qx.theme.manager.Color.getInstance().connect(this._changeColorInnerTop, >+this, >+value); > }, >-isLeftButtonPressed:qx.core.Variant.select("qx.client", >-{"mshtml":function(){if(this.getType()=="click"){return true; >-}else{return this.getButton()===qx.event.type.MouseEvent.C_BUTTON_LEFT; >-}}, >-"default":function(){return this.getButton()===qx.event.type.MouseEvent.C_BUTTON_LEFT; >-}}), >-isMiddleButtonPressed:function(){return this.getButton()===qx.event.type.MouseEvent.C_BUTTON_MIDDLE; >+_applyColorInnerRight:function(value, >+old){qx.theme.manager.Color.getInstance().connect(this._changeColorInnerRight, >+this, >+value); > }, >-isRightButtonPressed:function(){return this.getButton()===qx.event.type.MouseEvent.C_BUTTON_RIGHT; >+_applyColorInnerBottom:function(value, >+old){qx.theme.manager.Color.getInstance().connect(this._changeColorInnerBottom, >+this, >+value); > }, >-__buttons:qx.core.Variant.select("qx.client", >-{"mshtml":{1:"left", >-2:"right", >-4:"middle"}, >-"default":{0:"left", >-2:"right", >-1:"middle"}}), >-_computeButton:function(){switch(this.getDomEvent().type){case "click":case "dblclick":return "left"; >-case "contextmenu":return "right"; >-default:return this.__buttons[this.getDomEvent().button]||"none"; >-}}, >-_computeWheelDelta:qx.core.Variant.select("qx.client", >-{"default":function(){return this.getDomEvent().wheelDelta/120; >+_applyColorInnerLeft:function(value, >+old){qx.theme.manager.Color.getInstance().connect(this._changeColorInnerLeft, >+this, >+value); > }, >-"gecko":function(){return -(this.getDomEvent().detail/3); >-}})}}); >- >- >- >- >-/* ID: qx.ui.embed.IframeManager */ >-qx.Class.define("qx.ui.embed.IframeManager", >-{type:"singleton", >-extend:qx.util.manager.Object, >-construct:function(){this.base(arguments); >-this._blocked={}; >+_applyStyleTop:function(){this.__informManager("top"); > }, >-members:{handleMouseDown:function(evt){var iframeMap=this._blockData=qx.lang.Object.copy(this.getAll()); >-for(var key in iframeMap){iframeMap[key].block(); >-}}, >-handleMouseUp:function(evt){var iframeMap=this._blockData; >-for(var key in iframeMap){iframeMap[key].release(); >-}}}}); >- >- >- >- >-/* ID: qx.ui.layout.CanvasLayout */ >-qx.Class.define("qx.ui.layout.CanvasLayout", >-{extend:qx.ui.core.Parent, >-construct:function(){this.base(arguments); >+_applyStyleRight:function(){this.__informManager("right"); > }, >-members:{_createLayoutImpl:function(){return new qx.ui.layout.impl.CanvasLayoutImpl(this); >-}}}); >- >- >- >- >-/* ID: qx.ui.layout.impl.LayoutImpl */ >-qx.Class.define("qx.ui.layout.impl.LayoutImpl", >-{extend:qx.core.Object, >-construct:function(vWidget){this.base(arguments); >-this._widget=vWidget; >+_applyStyleBottom:function(){this.__informManager("bottom"); > }, >-members:{getWidget:function(){return this._widget; >+_applyStyleLeft:function(){this.__informManager("left"); > }, >-computeChildBoxWidth:function(vChild){return vChild.getWidthValue()||vChild._computeBoxWidthFallback(); >+_changeColorTop:function(value){this.__colorTop=value; >+this.__computeComplexTop(); >+this.__informManager("top"); > }, >-computeChildBoxHeight:function(vChild){return vChild.getHeightValue()||vChild._computeBoxHeightFallback(); >+_changeColorInnerTop:function(value){this.__colorInnerTop=value; >+this.__computeComplexTop(); >+this.__informManager("top"); > }, >-computeChildNeededWidth:function(vChild){var vMinBox=vChild._computedMinWidthTypePercent?null:vChild.getMinWidthValue(); >-var vMaxBox=vChild._computedMaxWidthTypePercent?null:vChild.getMaxWidthValue(); >-var vBox=(vChild._computedWidthTypePercent||vChild._computedWidthTypeFlex?null:vChild.getWidthValue())||vChild.getPreferredBoxWidth()||0; >-return qx.lang.Number.limit(vBox, >-vMinBox, >-vMaxBox)+vChild.getMarginLeft()+vChild.getMarginRight(); >+_changeColorRight:function(value){this.__colorRight=value; >+this.__computeComplexRight(); >+this.__informManager("right"); > }, >-computeChildNeededHeight:function(vChild){var vMinBox=vChild._computedMinHeightTypePercent?null:vChild.getMinHeightValue(); >-var vMaxBox=vChild._computedMaxHeightTypePercent?null:vChild.getMaxHeightValue(); >-var vBox=(vChild._computedHeightTypePercent||vChild._computedHeightTypeFlex?null:vChild.getHeightValue())||vChild.getPreferredBoxHeight()||0; >-return qx.lang.Number.limit(vBox, >-vMinBox, >-vMaxBox)+vChild.getMarginTop()+vChild.getMarginBottom(); >+_changeColorInnerRight:function(value){this.__colorInnerRight=value; >+this.__computeComplexRight(); >+this.__informManager("right"); > }, >-computeChildrenNeededWidth_max:function(){for(var i=0, >-ch=this.getWidget().getVisibleChildren(), >-chl=ch.length, >-maxv=0;i<chl;i++){maxv=Math.max(maxv, >-ch[i].getNeededWidth()); >-}return maxv; >+_changeColorBottom:function(value){this.__colorBottom=value; >+this.__computeComplexBottom(); >+this.__informManager("bottom"); > }, >-computeChildrenNeededHeight_max:function(){for(var i=0, >-ch=this.getWidget().getVisibleChildren(), >-chl=ch.length, >-maxv=0;i<chl;i++){maxv=Math.max(maxv, >-ch[i].getNeededHeight()); >-}return maxv; >+_changeColorInnerBottom:function(value){this.__colorInnerBottom=value; >+this.__computeComplexBottom(); >+this.__informManager("bottom"); > }, >-computeChildrenNeededWidth_sum:function(){for(var i=0, >-ch=this.getWidget().getVisibleChildren(), >-chl=ch.length, >-sumv=0;i<chl;i++){sumv+=ch[i].getNeededWidth(); >-}return sumv; >+_changeColorLeft:function(value){this.__colorLeft=value; >+this.__computeComplexLeft(); >+this.__informManager("left"); > }, >-computeChildrenNeededHeight_sum:function(){for(var i=0, >-ch=this.getWidget().getVisibleChildren(), >-chl=ch.length, >-sumv=0;i<chl;i++){sumv+=ch[i].getNeededHeight(); >-}return sumv; >+_changeColorInnerLeft:function(value){this.__colorInnerLeft=value; >+this.__computeComplexLeft(); >+this.__informManager("left"); > }, >-computeChildrenNeededWidth:null, >-computeChildrenNeededHeight:null, >-updateSelfOnChildOuterWidthChange:function(vChild){}, >-updateSelfOnChildOuterHeightChange:function(vChild){}, >-updateChildOnInnerWidthChange:function(vChild){}, >-updateChildOnInnerHeightChange:function(vChild){}, >-updateSelfOnJobQueueFlush:function(vJobQueue){}, >-updateChildrenOnJobQueueFlush:function(vJobQueue){}, >-updateChildrenOnAddChild:function(vChild, >-vIndex){}, >-updateChildrenOnRemoveChild:function(vChild, >-vIndex){}, >-updateChildrenOnMoveChild:function(vChild, >-vIndex, >-vOldIndex){}, >-flushChildrenQueue:function(vChildrenQueue){var vWidget=this.getWidget(); >-for(var vHashCode in vChildrenQueue){vWidget._layoutChild(vChildrenQueue[vHashCode]); >+__computeComplexTop:function(){this.__complexTop=this.getWidthTop()===2&&this.__colorInnerTop!=null&&this.__colorTop!=this.__colorInnerTop; >+}, >+__computeComplexRight:function(){this.__complexRight=this.getWidthRight()===2&&this.__colorInnerRight!=null&&this.__colorRight!=this.__colorInnerRight; >+}, >+__computeComplexBottom:function(){this.__complexBottom=this.getWidthBottom()===2&&this.__colorInnerBottom!=null&&this.__colorBottom!=this.__colorInnerBottom; >+}, >+__computeComplexLeft:function(){this.__complexLeft=this.getWidthLeft()===2&&this.__colorInnerLeft!=null&&this.__colorLeft!=this.__colorInnerLeft; >+}, >+__informManager:function(edge){qx.theme.manager.Border.getInstance().updateObjectsEdge(this, >+edge); >+}, >+renderTop:qx.core.Variant.select("qx.client", >+{"gecko":function(obj){var style=obj._style; >+style.borderTopWidth=this.__widthTop||"0px"; >+style.borderTopColor=this.__colorTop||""; >+if(this.__complexTop){style.borderTopStyle="solid"; >+style.MozBorderTopColors=this.__colorTop+" "+this.__colorInnerTop; >+}else{style.borderTopStyle=this.getStyleTop()||"none"; >+style.MozBorderTopColors=""; > }}, >-layoutChild:function(vChild, >-vJobs){}, >-layoutChild_sizeLimitX:qx.core.Variant.select("qx.client", >-{"mshtml":qx.lang.Function.returnTrue, >-"default":function(vChild, >-vJobs){if(vJobs.minWidth){vChild._computedMinWidthTypeNull?vChild._resetRuntimeMinWidth():vChild._renderRuntimeMinWidth(vChild.getMinWidthValue()); >-}else if(vJobs.initial&&!vChild._computedMinWidthTypeNull){vChild._renderRuntimeMinWidth(vChild.getMinWidthValue()); >-} >-if(vJobs.maxWidth){vChild._computedMaxWidthTypeNull?vChild._resetRuntimeMaxWidth():vChild._renderRuntimeMaxWidth(vChild.getMaxWidthValue()); >-}else if(vJobs.initial&&!vChild._computedMaxWidthTypeNull){vChild._renderRuntimeMaxWidth(vChild.getMaxWidthValue()); >-}}}), >-layoutChild_sizeLimitY:qx.core.Variant.select("qx.client", >-{"mshtml":qx.lang.Function.returnTrue, >-"default":function(vChild, >-vJobs){if(vJobs.minHeight){vChild._computedMinHeightTypeNull?vChild._resetRuntimeMinHeight():vChild._renderRuntimeMinHeight(vChild.getMinHeightValue()); >-}else if(vJobs.initial&&!vChild._computedMinHeightTypeNull){vChild._renderRuntimeMinHeight(vChild.getMinHeightValue()); >-} >-if(vJobs.maxHeight){vChild._computedMaxHeightTypeNull?vChild._resetRuntimeMaxHeight():vChild._renderRuntimeMaxHeight(vChild.getMaxHeightValue()); >-}else if(vJobs.initial&&!vChild._computedMaxHeightTypeNull){vChild._renderRuntimeMaxHeight(vChild.getMaxHeightValue()); >-}}}), >-layoutChild_marginX:function(vChild, >-vJobs){if(vJobs.marginLeft||vJobs.initial){var vValueLeft=vChild.getMarginLeft(); >-vValueLeft!=null?vChild._renderRuntimeMarginLeft(vValueLeft):vChild._resetRuntimeMarginLeft(); >-} >-if(vJobs.marginRight||vJobs.initial){var vValueRight=vChild.getMarginRight(); >-vValueRight!=null?vChild._renderRuntimeMarginRight(vValueRight):vChild._resetRuntimeMarginRight(); >+"default":function(obj){var outer=obj._style; >+var inner=obj._innerStyle; >+if(this.__complexTop){if(!inner){obj.prepareEnhancedBorder(); >+inner=obj._innerStyle; >+}outer.borderTopWidth=inner.borderTopWidth="1px"; >+outer.borderTopStyle=inner.borderTopStyle="solid"; >+outer.borderTopColor=this.__colorTop; >+inner.borderTopColor=this.__colorInnerTop; >+}else{outer.borderTopWidth=this.__widthTop||"0px"; >+outer.borderTopStyle=this.getStyleTop()||"none"; >+outer.borderTopColor=this.__colorTop||""; >+if(inner){inner.borderTopWidth=inner.borderTopStyle=inner.borderTopColor=""; >+}}}}), >+renderRight:qx.core.Variant.select("qx.client", >+{"gecko":function(obj){var style=obj._style; >+style.borderRightWidth=this.__widthRight||"0px"; >+style.borderRightColor=this.__colorRight||""; >+if(this.__complexRight){style.borderRightStyle="solid"; >+style.MozBorderRightColors=this.__colorRight+" "+this.__colorInnerRight; >+}else{style.borderRightStyle=this.getStyleRight()||"none"; >+style.MozBorderRightColors=""; > }}, >-layoutChild_marginY:function(vChild, >-vJobs){if(vJobs.marginTop||vJobs.initial){var vValueTop=vChild.getMarginTop(); >-vValueTop!=null?vChild._renderRuntimeMarginTop(vValueTop):vChild._resetRuntimeMarginTop(); >-} >-if(vJobs.marginBottom||vJobs.initial){var vValueBottom=vChild.getMarginBottom(); >-vValueBottom!=null?vChild._renderRuntimeMarginBottom(vValueBottom):vChild._resetRuntimeMarginBottom(); >+"default":function(obj){var outer=obj._style; >+var inner=obj._innerStyle; >+if(this.__complexRight){if(!inner){obj.prepareEnhancedBorder(); >+inner=obj._innerStyle; >+}outer.borderRightWidth=inner.borderRightWidth="1px"; >+outer.borderRightStyle=inner.borderRightStyle="solid"; >+outer.borderRightColor=this.__colorRight; >+inner.borderRightColor=this.__colorInnerRight; >+}else{outer.borderRightWidth=this.__widthRight||"0px"; >+outer.borderRightStyle=this.getStyleRight()||"none"; >+outer.borderRightColor=this.__colorRight||""; >+if(inner){inner.borderRightWidth=inner.borderRightStyle=inner.borderRightColor=""; >+}}}}), >+renderBottom:qx.core.Variant.select("qx.client", >+{"gecko":function(obj){var style=obj._style; >+style.borderBottomWidth=this.__widthBottom||"0px"; >+style.borderBottomColor=this.__colorBottom||""; >+if(this.__complexBottom){style.borderBottomStyle="solid"; >+style.MozBorderBottomColors=this.__colorBottom+" "+this.__colorInnerBottom; >+}else{style.borderBottomStyle=this.getStyleBottom()||"none"; >+style.MozBorderBottomColors=""; > }}, >-layoutChild_sizeX_essentialWrapper:function(vChild, >-vJobs){return vChild._isWidthEssential()?this.layoutChild_sizeX(vChild, >-vJobs):vChild._resetRuntimeWidth(); >-}, >-layoutChild_sizeY_essentialWrapper:function(vChild, >-vJobs){return vChild._isHeightEssential()?this.layoutChild_sizeY(vChild, >-vJobs):vChild._resetRuntimeHeight(); >+"default":function(obj){var outer=obj._style; >+var inner=obj._innerStyle; >+if(this.__complexBottom){if(!inner){obj.prepareEnhancedBorder(); >+inner=obj._innerStyle; >+}outer.borderBottomWidth=inner.borderBottomWidth="1px"; >+outer.borderBottomStyle=inner.borderBottomStyle="solid"; >+outer.borderBottomColor=this.__colorBottom; >+inner.borderBottomColor=this.__colorInnerBottom; >+}else{outer.borderBottomWidth=this.__widthBottom||"0px"; >+outer.borderBottomStyle=this.getStyleBottom()||"none"; >+outer.borderBottomColor=this.__colorBottom||""; >+if(inner){inner.borderBottomWidth=inner.borderBottomStyle=inner.borderBottomColor=""; >+}}}}), >+renderLeft:qx.core.Variant.select("qx.client", >+{"gecko":function(obj){var style=obj._style; >+style.borderLeftWidth=this.__widthLeft||"0px"; >+style.borderLeftColor=this.__colorLeft||""; >+if(this.__complexLeft){style.borderLeftStyle="solid"; >+style.MozBorderLeftColors=this.__colorLeft+" "+this.__colorInnerLeft; >+}else{style.borderLeftStyle=this.getStyleLeft()||"none"; >+style.MozBorderLeftColors=""; > }}, >-defer:function(statics, >-members){members.computeChildrenNeededWidth=members.computeChildrenNeededWidth_max; >-members.computeChildrenNeededHeight=members.computeChildrenNeededHeight_max; >-}, >-destruct:function(){this._disposeFields("_widget"); >-}}); >+"default":function(obj){var outer=obj._style; >+var inner=obj._innerStyle; >+if(this.__complexLeft){if(!inner){obj.prepareEnhancedBorder(); >+inner=obj._innerStyle; >+}outer.borderLeftWidth=inner.borderLeftWidth="1px"; >+outer.borderLeftStyle=inner.borderLeftStyle="solid"; >+outer.borderLeftColor=this.__colorLeft; >+inner.borderLeftColor=this.__colorInnerLeft; >+}else{outer.borderLeftWidth=this.__widthLeft||"0px"; >+outer.borderLeftStyle=this.getStyleLeft()||"none"; >+outer.borderLeftColor=this.__colorLeft||""; >+if(inner){inner.borderLeftWidth=inner.borderLeftStyle=inner.borderLeftColor=""; >+}}}})}}); > > > > >-/* ID: qx.lang.Number */ >-qx.Class.define("qx.lang.Number", >-{statics:{isInRange:function(nr, >-vmin, >-vmax){return nr>=vmin&&nr<=vmax; >+/* ID: qx.theme.manager.Font */ >+qx.Class.define("qx.theme.manager.Font", >+{type:"singleton", >+extend:qx.util.manager.Value, >+properties:{fontTheme:{check:"Theme", >+nullable:true, >+apply:"_applyFontTheme", >+event:"changeFontTheme"}}, >+members:{resolveDynamic:function(value){return value instanceof qx.ui.core.Font?value:this._dynamic[value]; > }, >-isBetweenRange:function(nr, >-vmin, >-vmax){return nr>vmin&&nr<vmax; >+isDynamic:function(value){return value&&(value instanceof qx.ui.core.Font||this._dynamic[value]!==undefined); > }, >-limit:function(nr, >-vmin, >-vmax){if(typeof vmax==="number"&&nr>vmax){return vmax; >-}else if(typeof vmin==="number"&&nr<vmin){return vmin; >-}else{return nr; >+syncFontTheme:function(){this._updateObjects(); >+}, >+_applyFontTheme:function(value){var dest=this._dynamic; >+for(var key in dest){if(dest[key].themed){dest[key].dispose(); >+delete dest[key]; >+}} >+if(value){var source=value.fonts; >+var font=qx.ui.core.Font; >+for(var key in source){dest[key]=(new font).set(source[key]); >+dest[key].themed=true; >+}} >+if(qx.theme.manager.Meta.getInstance().getAutoSync()){this.syncFontTheme(); > }}}}); > > > > >-/* ID: qx.ui.layout.impl.CanvasLayoutImpl */ >-qx.Class.define("qx.ui.layout.impl.CanvasLayoutImpl", >-{extend:qx.ui.layout.impl.LayoutImpl, >-construct:function(vWidget){this.base(arguments, >-vWidget); >-}, >-members:{computeChildBoxWidth:function(vChild){var vValue=null; >-if(vChild._computedLeftTypeNull||vChild._computedRightTypeNull){vValue=vChild.getWidthValue(); >-}else if(vChild._hasParent){vValue=this.getWidget().getInnerWidth()-vChild.getLeftValue()-vChild.getRightValue(); >-}return vValue||vChild._computeBoxWidthFallback(); >-}, >-computeChildBoxHeight:function(vChild){var vValue=null; >-if(vChild._computedTopTypeNull||vChild._computedBottomTypeNull){vValue=vChild.getHeightValue(); >-}else if(vChild._hasParent){vValue=this.getWidget().getInnerHeight()-vChild.getTopValue()-vChild.getBottomValue(); >-}return vValue||vChild._computeBoxHeightFallback(); >-}, >-computeChildNeededWidth:function(vChild){var vLeft=vChild._computedLeftTypePercent?null:vChild.getLeftValue(); >-var vRight=vChild._computedRightTypePercent?null:vChild.getRightValue(); >-var vMinBox=vChild._computedMinWidthTypePercent?null:vChild.getMinWidthValue(); >-var vMaxBox=vChild._computedMaxWidthTypePercent?null:vChild.getMaxWidthValue(); >-if(vLeft!=null&&vRight!=null){var vBox=vChild.getPreferredBoxWidth()||0; >-}else{var vBox=(vChild._computedWidthTypePercent?null:vChild.getWidthValue())||vChild.getPreferredBoxWidth()||0; >-}return qx.lang.Number.limit(vBox, >-vMinBox, >-vMaxBox)+vLeft+vRight+vChild.getMarginLeft()+vChild.getMarginRight(); >-}, >-computeChildNeededHeight:function(vChild){var vTop=vChild._computedTopTypePercent?null:vChild.getTopValue(); >-var vBottom=vChild._computedBottomTypePercent?null:vChild.getBottomValue(); >-var vMinBox=vChild._computedMinHeightTypePercent?null:vChild.getMinHeightValue(); >-var vMaxBox=vChild._computedMaxHeightTypePercent?null:vChild.getMaxHeightValue(); >-if(vTop!=null&&vBottom!=null){var vBox=vChild.getPreferredBoxHeight()||0; >-}else{var vBox=(vChild._computedHeightTypePercent?null:vChild.getHeightValue())||vChild.getPreferredBoxHeight()||0; >-}return qx.lang.Number.limit(vBox, >-vMinBox, >-vMaxBox)+vTop+vBottom+vChild.getMarginTop()+vChild.getMarginBottom(); >-}, >-updateChildOnInnerWidthChange:function(vChild){var vUpdatePercent=vChild._recomputePercentX(); >-var vUpdateRange=vChild._recomputeRangeX(); >-return vUpdatePercent||vUpdateRange; >-}, >-updateChildOnInnerHeightChange:function(vChild){var vUpdatePercent=vChild._recomputePercentY(); >-var vUpdateRange=vChild._recomputeRangeY(); >-return vUpdatePercent||vUpdateRange; >-}, >-layoutChild:function(vChild, >-vJobs){this.layoutChild_sizeX_essentialWrapper(vChild, >-vJobs); >-this.layoutChild_sizeY_essentialWrapper(vChild, >-vJobs); >-this.layoutChild_sizeLimitX(vChild, >-vJobs); >-this.layoutChild_sizeLimitY(vChild, >-vJobs); >-this.layoutChild_locationX(vChild, >-vJobs); >-this.layoutChild_locationY(vChild, >-vJobs); >-this.layoutChild_marginX(vChild, >-vJobs); >-this.layoutChild_marginY(vChild, >-vJobs); >-}, >-layoutChild_sizeX:qx.core.Variant.select("qx.client", >-{"mshtml|opera|webkit":function(vChild, >-vJobs){if(vJobs.initial||vJobs.width||vJobs.minWidth||vJobs.maxWidth||vJobs.left||vJobs.right){if(vChild._computedMinWidthTypeNull&&vChild._computedWidthTypeNull&&vChild._computedMaxWidthTypeNull&&!(!vChild._computedLeftTypeNull&&!vChild._computedRightTypeNull)){vChild._resetRuntimeWidth(); >-}else{vChild._renderRuntimeWidth(vChild.getBoxWidth()); >-}}}, >-"default":function(vChild, >-vJobs){if(vJobs.initial||vJobs.width){vChild._computedWidthTypeNull?vChild._resetRuntimeWidth():vChild._renderRuntimeWidth(vChild.getWidthValue()); >-}}}), >-layoutChild_sizeY:qx.core.Variant.select("qx.client", >-{"mshtml|opera|webkit":function(vChild, >-vJobs){if(vJobs.initial||vJobs.height||vJobs.minHeight||vJobs.maxHeight||vJobs.top||vJobs.bottom){if(vChild._computedMinHeightTypeNull&&vChild._computedHeightTypeNull&&vChild._computedMaxHeightTypeNull&&!(!vChild._computedTopTypeNull&&!vChild._computedBottomTypeNull)){vChild._resetRuntimeHeight(); >-}else{vChild._renderRuntimeHeight(vChild.getBoxHeight()); >-}}}, >-"default":function(vChild, >-vJobs){if(vJobs.initial||vJobs.height){vChild._computedHeightTypeNull?vChild._resetRuntimeHeight():vChild._renderRuntimeHeight(vChild.getHeightValue()); >-}}}), >-layoutChild_locationX:function(vChild, >-vJobs){var vWidget=this.getWidget(); >-if(vJobs.initial||vJobs.left||vJobs.parentPaddingLeft){vChild._computedLeftTypeNull?vChild._computedRightTypeNull&&vWidget.getPaddingLeft()>0?vChild._renderRuntimeLeft(vWidget.getPaddingLeft()):vChild._resetRuntimeLeft():vChild._renderRuntimeLeft(vChild.getLeftValue()+vWidget.getPaddingLeft()); >+/* ID: qx.ui.core.Font */ >+qx.Class.define("qx.ui.core.Font", >+{extend:qx.core.Object, >+construct:function(size, >+family){this.base(arguments); >+if(size!==undefined){this.setSize(size); > } >-if(vJobs.initial||vJobs.right||vJobs.parentPaddingRight){vChild._computedRightTypeNull?vChild._computedLeftTypeNull&&vWidget.getPaddingRight()>0?vChild._renderRuntimeRight(vWidget.getPaddingRight()):vChild._resetRuntimeRight():vChild._renderRuntimeRight(vChild.getRightValue()+vWidget.getPaddingRight()); >+if(family!==undefined){this.setFamily(family); > }}, >-layoutChild_locationY:function(vChild, >-vJobs){var vWidget=this.getWidget(); >-if(vJobs.initial||vJobs.top||vJobs.parentPaddingTop){vChild._computedTopTypeNull?vChild._computedBottomTypeNull&&vWidget.getPaddingTop()>0?vChild._renderRuntimeTop(vWidget.getPaddingTop()):vChild._resetRuntimeTop():vChild._renderRuntimeTop(vChild.getTopValue()+vWidget.getPaddingTop()); >-} >-if(vJobs.initial||vJobs.bottom||vJobs.parentPaddingBottom){vChild._computedBottomTypeNull?vChild._computedTopTypeNull&&vWidget.getPaddingBottom()>0?vChild._renderRuntimeBottom(vWidget.getPaddingBottom()):vChild._resetRuntimeBottom():vChild._renderRuntimeBottom(vChild.getBottomValue()+vWidget.getPaddingBottom()); >-}}}}); >- >- >- >- >-/* ID: qx.ui.core.ClientDocument */ >-qx.Class.define("qx.ui.core.ClientDocument", >-{type:"singleton", >-extend:qx.ui.layout.CanvasLayout, >-construct:function(){this.base(arguments); >-this._window=window; >-this._document=window.document; >-this.setElement(this._document.body); >-this._document.body.style.position=""; >-if(qx.core.Variant.isSet("qx.client", >-"mshtml")&&(qx.core.Client.getInstance().getMajor()<7)){try{document.execCommand("BackgroundImageCache", >-false, >-true); >-}catch(err){}}this._cachedInnerWidth=this._document.body.offsetWidth; >-this._cachedInnerHeight=this._document.body.offsetHeight; >-this.addEventListener("windowresize", >-this._onwindowresize); >-this._modalWidgets=[]; >-this._modalNativeWindow=null; >-this.activateFocusRoot(); >-this.initHideFocus(); >-this.initSelectable(); >-qx.event.handler.EventHandler.getInstance().setFocusRoot(this); >+statics:{fromString:function(str){var font=new qx.ui.core.Font; >+var parts=str.split(/\s+/); >+var name=[]; >+var part; >+for(var i=0;i<parts.length;i++){switch(part=parts[i]){case "bold":font.setBold(true); >+break; >+case "italic":font.setItalic(true); >+break; >+case "underline":font.setDecoration("underline"); >+break; >+default:var temp=parseInt(part); >+if(temp==part||qx.lang.String.contains(part, >+"px")){font.setSize(temp); >+}else{name.push(part); >+}break; >+}} >+if(name.length>0){font.setFamily(name); >+}return font; > }, >-events:{"focus":"qx.event.type.Event", >-"windowblur":"qx.event.type.Event", >-"windowfocus":"qx.event.type.Event", >-"windowresize":"qx.event.type.Event"}, >-properties:{appearance:{refine:true, >-init:"client-document"}, >-enableElementFocus:{refine:true, >-init:false}, >-enabled:{refine:true, >-init:true}, >-selectable:{refine:true, >-init:false}, >-hideFocus:{refine:true, >-init:true}, >-globalCursor:{check:"String", >-nullable:true, >-themeable:true, >-apply:"_applyGlobalCursor", >-event:"changeGlobalCursor"}}, >-members:{_applyParent:qx.lang.Function.returnTrue, >-getTopLevelWidget:qx.lang.Function.returnThis, >-getWindowElement:function(){return this._window; >+fromConfig:function(config){var font=new qx.ui.core.Font; >+font.set(config); >+return font; > }, >-getDocumentElement:function(){return this._document; >+reset:function(widget){widget.removeStyleProperty("fontFamily"); >+widget.removeStyleProperty("fontSize"); >+widget.removeStyleProperty("fontWeight"); >+widget.removeStyleProperty("fontStyle"); >+widget.removeStyleProperty("textDecoration"); > }, >-getParent:qx.lang.Function.returnNull, >-getToolTip:qx.lang.Function.returnNull, >-isMaterialized:qx.lang.Function.returnTrue, >-isSeeable:qx.lang.Function.returnTrue, >-_isDisplayable:true, >-_hasParent:false, >-_initialLayoutDone:true, >-_getBlocker:function(){if(!this._blocker){this._blocker=new qx.ui.core.ClientDocumentBlocker; >-this._blocker.addEventListener("mousedown", >-this.blockHelper, >-this); >-this._blocker.addEventListener("mouseup", >-this.blockHelper, >-this); >-this.add(this._blocker); >-}return this._blocker; >+resetElement:function(element){var style=element.style; >+style.fontFamily=""; >+style.fontSize=""; >+style.fontWeight=""; >+style.fontStyle=""; >+style.textDecoration=""; > }, >-blockHelper:function(e){if(this._modalNativeWindow){if(!this._modalNativeWindow.isClosed()){this._modalNativeWindow.focus(); >-}else{this.debug("Window seems to be closed already! => Releasing Blocker"); >-this.release(this._modalNativeWindow); >-}}}, >-block:function(vActiveChild){this._getBlocker().show(); >-if(qx.Class.isDefined("qx.ui.window.Window")&&vActiveChild instanceof qx.ui.window.Window){this._modalWidgets.push(vActiveChild); >-var vOrigIndex=vActiveChild.getZIndex(); >-this._getBlocker().setZIndex(vOrigIndex); >-vActiveChild.setZIndex(vOrigIndex+1); >-}else if(qx.Class.isDefined("qx.client.NativeWindow")&&vActiveChild instanceof qx.client.NativeWindow){this._modalNativeWindow=vActiveChild; >-this._getBlocker().setZIndex(1e7); >-}}, >-release:function(vActiveChild){if(vActiveChild){if(qx.Class.isDefined("qx.client.NativeWindow")&&vActiveChild instanceof qx.client.NativeWindow){this._modalNativeWindow=null; >-}else{qx.lang.Array.remove(this._modalWidgets, >-vActiveChild); >-}}var l=this._modalWidgets.length; >-if(l==0){this._getBlocker().hide(); >-}else{var oldActiveChild=this._modalWidgets[l-1]; >-var o=oldActiveChild.getZIndex(); >-this._getBlocker().setZIndex(o); >-oldActiveChild.setZIndex(o+1); >+resetStyle:function(style){style.fontFamily=""; >+style.fontSize=""; >+style.fontWeight=""; >+style.fontStyle=""; >+style.textDecoration=""; > }}, >-createStyleElement:function(vCssText){return qx.html.StyleSheet.createElement(vCssText); >+properties:{size:{check:"Integer", >+nullable:true, >+apply:"_applySize"}, >+family:{check:"Array", >+nullable:true, >+apply:"_applyFamily"}, >+bold:{check:"Boolean", >+nullable:true, >+apply:"_applyBold"}, >+italic:{check:"Boolean", >+nullable:true, >+apply:"_applyItalic"}, >+decoration:{check:["underline", >+"line-through", >+"overline"], >+nullable:true, >+apply:"_applyDecoration"}}, >+members:{__size:null, >+__family:null, >+__bold:null, >+__italic:null, >+__decoration:null, >+_applySize:function(value, >+old){this.__size=value===null?null:value+"px"; > }, >-addCssRule:function(vSheet, >-vSelector, >-vStyle){return qx.html.StyleSheet.addRule(vSheet, >-vSelector, >-vStyle); >+_applyFamily:function(value, >+old){var family=""; >+for(var i=0, >+l=value.length;i<l;i++){if(value[i].indexOf(" ")>0){family+='"'+value[i]+'"'; >+}else{family+=value[i]; >+} >+if(i!=l-1){family+=","; >+}}this.__family=family; > }, >-removeCssRule:function(vSheet, >-vSelector){return qx.html.StyleSheet.removeRule(vSheet, >-vSelector); >+_applyBold:function(value, >+old){this.__bold=value===null?null:value?"bold":"normal"; > }, >-removeAllCssRules:function(vSheet){return qx.html.StyleSheet.removeAllRules(vSheet); >+_applyItalic:function(value, >+old){this.__italic=value===null?null:value?"italic":"normal"; > }, >-_applyGlobalCursor:qx.core.Variant.select("qx.client", >-{"mshtml":function(value, >-old){if(value=="pointer"){value="hand"; >-} >-if(old=="pointer"){old="hand"; >-}var elem, >-current; >-var list=this._cursorElements; >-if(list){for(var i=0, >-l=list.length;i<l;i++){elem=list[i]; >-if(elem.style.cursor==old){elem.style.cursor=elem._oldCursor; >-elem._oldCursor=null; >-}}}var all=document.all; >-var list=this._cursorElements=[]; >-if(value!=null&&value!=""&&value!="auto"){for(var i=0, >-l=all.length;i<l;i++){elem=all[i]; >-current=elem.style.cursor; >-if(current!=null&¤t!=""&¤t!="auto"){elem._oldCursor=current; >-elem.style.cursor=value; >-list.push(elem); >-}}document.body.style.cursor=value; >-}else{document.body.style.cursor=""; >-}}, >-"default":function(value, >-old){if(!this._globalCursorStyleSheet){this._globalCursorStyleSheet=this.createStyleElement(); >-}this.removeCssRule(this._globalCursorStyleSheet, >-"*"); >-if(value){this.addCssRule(this._globalCursorStyleSheet, >-"*", >-"cursor:"+value+" !important"); >-}}}), >-_onwindowresize:function(e){if(qx.Class.isDefined("qx.ui.popup.PopupManager")){qx.ui.popup.PopupManager.getInstance().update(); >-}this._recomputeInnerWidth(); >-this._recomputeInnerHeight(); >-qx.ui.core.Widget.flushGlobalQueues(); >+_applyDecoration:function(value, >+old){this.__decoration=value===null?null:value; > }, >-_computeInnerWidth:function(){return this._document.body.offsetWidth; >+render:function(widget){widget.setStyleProperty("fontFamily", >+this.__family); >+widget.setStyleProperty("fontSize", >+this.__size); >+widget.setStyleProperty("fontWeight", >+this.__bold); >+widget.setStyleProperty("fontStyle", >+this.__italic); >+widget.setStyleProperty("textDecoration", >+this.__decoration); > }, >-_computeInnerHeight:function(){return this._document.body.offsetHeight; >-}}, >-settings:{"qx.enableApplicationLayout":true, >-"qx.boxModelCorrection":true}, >-defer:function(){if(qx.core.Setting.get("qx.boxModelCorrection")){var boxSizingAttr=qx.core.Client.getInstance().getEngineBoxSizingAttributes(); >-var borderBoxCss=boxSizingAttr.join(":border-box;")+":border-box;"; >-var contentBoxCss=boxSizingAttr.join(":content-box;")+":content-box;"; >-qx.html.StyleSheet.createElement("html,body { margin:0;border:0;padding:0; } "+"html { border:0 none; } "+"*{"+borderBoxCss+"} "+"img{"+contentBoxCss+"}"); >-} >-if(qx.core.Setting.get("qx.enableApplicationLayout")){qx.html.StyleSheet.createElement("html,body{width:100%;height:100%;overflow:hidden;}"); >-}}, >-destruct:function(){this._disposeObjects("_blocker"); >-this._disposeFields("_window", >-"_document", >-"_modalWidgets", >-"_modalNativeWindow", >-"_globalCursorStyleSheet"); >-}}); >+renderStyle:function(style){style.fontFamily=this.__family||""; >+style.fontSize=this.__size||""; >+style.fontWeight=this.__bold||""; >+style.fontStyle=this.__italic||""; >+style.textDecoration=this.__decoration||""; >+}, >+renderElement:function(element){var style=element.style; >+style.fontFamily=this.__family||""; >+style.fontSize=this.__size||""; >+style.fontWeight=this.__bold||""; >+style.fontStyle=this.__italic||""; >+style.textDecoration=this.__decoration||""; >+}, >+generateStyle:function(){return (this.__family?"font-family:"+this.__family.replace(/\"/g, >+"'")+";":"")+(this.__size?"font-size:"+this.__size+";":"")+(this.__weight?"font-weight:"+this.__weight+";":"")+(this.__style?"font-style:"+this.__style+";":"")+(this.__decoration?"text-decoration:"+this.__decoration+";":""); >+}}}); > > > > >-/* ID: qx.ui.basic.Terminator */ >-qx.Class.define("qx.ui.basic.Terminator", >-{extend:qx.ui.core.Widget, >-members:{renderPadding:function(changes){if(changes.paddingLeft){this._renderRuntimePaddingLeft(this.getPaddingLeft()); >-} >-if(changes.paddingRight){this._renderRuntimePaddingRight(this.getPaddingRight()); >-} >-if(changes.paddingTop){this._renderRuntimePaddingTop(this.getPaddingTop()); >-} >-if(changes.paddingBottom){this._renderRuntimePaddingBottom(this.getPaddingBottom()); >-}}, >-_renderContent:function(){if(this._computedWidthTypePixel){this._cachedPreferredInnerWidth=null; >-}else{this._invalidatePreferredInnerWidth(); >-}if(this._computedHeightTypePixel){this._cachedPreferredInnerHeight=null; >-}else{this._invalidatePreferredInnerHeight(); >-}if(this._initialLayoutDone){this.addToJobQueue("load"); >-}}, >-_layoutPost:function(changes){if(changes.initial||changes.load||changes.width||changes.height){this._postApply(); >+/* ID: qx.theme.manager.Icon */ >+qx.Class.define("qx.theme.manager.Icon", >+{type:"singleton", >+extend:qx.core.Target, >+properties:{iconTheme:{check:"Theme", >+nullable:true, >+apply:"_applyIconTheme", >+event:"changeIconTheme"}}, >+members:{_applyIconTheme:function(value, >+old){if(qx.theme.manager.Meta.getInstance().getAutoSync()){this.syncIconTheme(); > }}, >-_postApply:qx.lang.Function.returnTrue, >-_computeBoxWidthFallback:function(){return this.getPreferredBoxWidth(); >-}, >-_computeBoxHeightFallback:function(){return this.getPreferredBoxHeight(); >-}, >-_computePreferredInnerWidth:qx.lang.Function.returnZero, >-_computePreferredInnerHeight:qx.lang.Function.returnZero, >-_isWidthEssential:function(){if(!this._computedLeftTypeNull&&!this._computedRightTypeNull){return true; >-} >-if(!this._computedWidthTypeNull&&!this._computedWidthTypeAuto){return true; >-} >-if(!this._computedMinWidthTypeNull&&!this._computedMinWidthTypeAuto){return true; >-} >-if(!this._computedMaxWidthTypeNull&&!this._computedMaxWidthTypeAuto){return true; >-} >-if(this._borderElement){return true; >-}return false; >-}, >-_isHeightEssential:function(){if(!this._computedTopTypeNull&&!this._computedBottomTypeNull){return true; >-} >-if(!this._computedHeightTypeNull&&!this._computedHeightTypeAuto){return true; >-} >-if(!this._computedMinHeightTypeNull&&!this._computedMinHeightTypeAuto){return true; >-} >-if(!this._computedMaxHeightTypeNull&&!this._computedMaxHeightTypeAuto){return true; >-} >-if(this._borderElement){return true; >-}return false; >+syncIconTheme:function(){var value=this.getIconTheme(); >+var alias=qx.io.Alias.getInstance(); >+value?alias.add("icon", >+value.icons.uri):alias.remove("icon"); > }}}); > > > > >-/* ID: qx.ui.core.ClientDocumentBlocker */ >-qx.Class.define("qx.ui.core.ClientDocumentBlocker", >-{extend:qx.ui.basic.Terminator, >+/* ID: qx.io.Alias */ >+qx.Class.define("qx.io.Alias", >+{type:"singleton", >+extend:qx.util.manager.Value, > construct:function(){this.base(arguments); >-this.initTop(); >-this.initLeft(); >-this.initWidth(); >-this.initHeight(); >-this.initZIndex(); >+this._aliases={}; >+this.add("static", >+qx.core.Setting.get("qx.resourceUri")+"/static"); > }, >-properties:{appearance:{refine:true, >-init:"client-document-blocker"}, >-zIndex:{refine:true, >-init:1e8}, >-top:{refine:true, >-init:0}, >-left:{refine:true, >-init:0}, >-width:{refine:true, >-init:"100%"}, >-height:{refine:true, >-init:"100%"}, >-display:{refine:true, >-init:false}}, >-members:{getFocusRoot:function(){return null; >+members:{_preprocess:function(value){var dynamics=this._dynamic; >+if(dynamics[value]===false){return value; >+}else if(dynamics[value]===undefined){if(value.charAt(0)==="/"||value.charAt(0)==="."||value.indexOf("http://")===0||value.indexOf("https://")==="0"||value.indexOf("file://")===0){dynamics[value]=false; >+return value; >+}var alias=value.substring(0, >+value.indexOf("/")); >+var resolved=this._aliases[alias]; >+if(resolved!==undefined){dynamics[value]=resolved+value.substring(alias.length); >+}}return value; >+}, >+add:function(alias, >+base){this._aliases[alias]=base; >+var dynamics=this._dynamic; >+var reg=this._registry; >+var entry; >+var paths={}; >+for(var path in dynamics){if(path.substring(0, >+path.indexOf("/"))===alias){dynamics[path]=base+path.substring(alias.length); >+paths[path]=true; >+}}for(var key in reg){entry=reg[key]; >+if(paths[entry.value]){entry.callback.call(entry.object, >+dynamics[entry.value]); >+}}}, >+remove:function(alias){delete this._aliases[alias]; >+}, >+resolve:function(path){if(path!==null){path=this._preprocess(path); >+}return this._dynamic[path]||path; >+}}, >+destruct:function(){this._disposeFields("_aliases"); >+}}); >+ >+ >+ >+ >+/* ID: qx.theme.manager.Widget */ >+qx.Class.define("qx.theme.manager.Widget", >+{type:"singleton", >+extend:qx.core.Target, >+properties:{widgetTheme:{check:"Theme", >+nullable:true, >+apply:"_applyWidgetTheme", >+event:"changeWidgetTheme"}}, >+members:{_applyWidgetTheme:function(value, >+old){if(qx.theme.manager.Meta.getInstance().getAutoSync()){this.syncWidgetTheme(); >+}}, >+syncWidgetTheme:function(){var value=this.getWidgetTheme(); >+var alias=qx.io.Alias.getInstance(); >+value?alias.add("widget", >+value.widgets.uri):alias.remove("widget"); > }}}); > > >@@ -10565,99 +10315,307 @@ > if(z1!=z2){return z1-z2; > }return 0; > }, >-getFirstWidget:function(parentContainer){return this._getFirst(parentContainer, >-null); >+getFirstWidget:function(parentContainer){return this._getFirst(parentContainer, >+null); >+}, >+getLastWidget:function(parentContainer){return this._getLast(parentContainer, >+null); >+}, >+getWidgetAfter:function(parentContainer, >+widget){if(parentContainer==widget){return this.getFirstWidget(parentContainer); >+} >+if(widget.getAnonymous()){widget=widget.getParent(); >+} >+if(widget==null){return []; >+}var vAll=[]; >+this._getAllAfter(parentContainer, >+widget, >+vAll); >+vAll.sort(this.compareTabOrder); >+return vAll.length>0?vAll[0]:this.getFirstWidget(parentContainer); >+}, >+getWidgetBefore:function(parentContainer, >+widget){if(parentContainer==widget){return this.getLastWidget(parentContainer); >+} >+if(widget.getAnonymous()){widget=widget.getParent(); >+} >+if(widget==null){return []; >+}var vAll=[]; >+this._getAllBefore(parentContainer, >+widget, >+vAll); >+vAll.sort(this.compareTabOrder); >+var len=vAll.length; >+return len>0?vAll[len-1]:this.getLastWidget(parentContainer); >+}, >+_getAllAfter:function(parent, >+widget, >+arr){var children=parent.getChildren(); >+var child; >+var len=children.length; >+for(var i=0;i<len;i++){child=children[i]; >+if(!(child instanceof qx.ui.core.Parent)&&!(child instanceof qx.ui.basic.Terminator)){continue; >+} >+if(child.isFocusable()&&child.getTabIndex()>0&&this.compareTabOrder(widget, >+child)<0){arr.push(children[i]); >+} >+if(!child.isFocusRoot()&&child instanceof qx.ui.core.Parent){this._getAllAfter(child, >+widget, >+arr); >+}}}, >+_getAllBefore:function(parent, >+widget, >+arr){var children=parent.getChildren(); >+var child; >+var len=children.length; >+for(var i=0;i<len;i++){child=children[i]; >+if(!(child instanceof qx.ui.core.Parent)&&!(child instanceof qx.ui.basic.Terminator)){continue; >+} >+if(child.isFocusable()&&child.getTabIndex()>0&&this.compareTabOrder(widget, >+child)>0){arr.push(child); >+} >+if(!child.isFocusRoot()&&child instanceof qx.ui.core.Parent){this._getAllBefore(child, >+widget, >+arr); >+}}}, >+_getFirst:function(parent, >+firstWidget){var children=parent.getChildren(); >+var child; >+var len=children.length; >+for(var i=0;i<len;i++){child=children[i]; >+if(!(child instanceof qx.ui.core.Parent)&&!(child instanceof qx.ui.basic.Terminator)){continue; >+} >+if(child.isFocusable()&&child.getTabIndex()>0){if(firstWidget==null||this.compareTabOrder(child, >+firstWidget)<0){firstWidget=child; >+}} >+if(!child.isFocusRoot()&&child instanceof qx.ui.core.Parent){firstWidget=this._getFirst(child, >+firstWidget); >+}}return firstWidget; >+}, >+_getLast:function(parent, >+lastWidget){var children=parent.getChildren(); >+var child; >+var len=children.length; >+for(var i=0;i<len;i++){child=children[i]; >+if(!(child instanceof qx.ui.core.Parent)&&!(child instanceof qx.ui.basic.Terminator)){continue; >+} >+if(child.isFocusable()&&child.getTabIndex()>0){if(lastWidget==null||this.compareTabOrder(child, >+lastWidget)>0){lastWidget=child; >+}} >+if(!child.isFocusRoot()&&child instanceof qx.ui.core.Parent){lastWidget=this._getLast(child, >+lastWidget); >+}}return lastWidget; >+}}, >+destruct:function(){this._disposeFields("_attachedWidget"); >+}}); >+ >+ >+ >+ >+/* ID: qx.html.Location */ >+qx.Class.define("qx.html.Location", >+{statics:{getPageOuterLeft:function(el){return qx.html.Location.getPageBoxLeft(el)-qx.html.Style.getMarginLeft(el); >+}, >+getPageOuterTop:function(el){return qx.html.Location.getPageBoxTop(el)-qx.html.Style.getMarginTop(el); >+}, >+getPageOuterRight:function(el){return qx.html.Location.getPageBoxRight(el)+qx.html.Style.getMarginRight(el); >+}, >+getPageOuterBottom:function(el){return qx.html.Location.getPageBoxBottom(el)+qx.html.Style.getMarginBottom(el); >+}, >+getClientOuterLeft:function(el){return qx.html.Location.getClientBoxLeft(el)-qx.html.Style.getMarginLeft(el); >+}, >+getClientOuterTop:function(el){return qx.html.Location.getClientBoxTop(el)-qx.html.Style.getMarginTop(el); >+}, >+getClientOuterRight:function(el){return qx.html.Location.getClientBoxRight(el)+qx.html.Style.getMarginRight(el); >+}, >+getClientOuterBottom:function(el){return qx.html.Location.getClientBoxBottom(el)+qx.html.Style.getMarginBottom(el); >+}, >+getClientBoxLeft:qx.core.Variant.select("qx.client", >+{"mshtml":function(el){return el.getBoundingClientRect().left; >+}, >+"gecko":function(el){return qx.html.Location.getClientAreaLeft(el)-qx.html.Style.getBorderLeft(el); >+}, >+"default":function(el){var sum=el.offsetLeft; >+while(el.tagName.toLowerCase()!="body"){el=el.offsetParent; >+sum+=el.offsetLeft-el.scrollLeft; >+}return sum; >+}}), >+getClientBoxTop:qx.core.Variant.select("qx.client", >+{"mshtml":function(el){return el.getBoundingClientRect().top; >+}, >+"gecko":function(el){return qx.html.Location.getClientAreaTop(el)-qx.html.Style.getBorderTop(el); >+}, >+"default":function(el){var sum=el.offsetTop; >+while(el.tagName.toLowerCase()!="body"){el=el.offsetParent; >+sum+=el.offsetTop-el.scrollTop; >+}return sum; >+}}), >+getClientBoxRight:qx.core.Variant.select("qx.client", >+{"mshtml":function(el){return el.getBoundingClientRect().right; >+}, >+"default":function(el){return qx.html.Location.getClientBoxLeft(el)+qx.html.Dimension.getBoxWidth(el); >+}}), >+getClientBoxBottom:qx.core.Variant.select("qx.client", >+{"mshtml":function(el){return el.getBoundingClientRect().bottom; >+}, >+"default":function(el){return qx.html.Location.getClientBoxTop(el)+qx.html.Dimension.getBoxHeight(el); >+}}), >+getPageBoxLeft:qx.core.Variant.select("qx.client", >+{"mshtml":function(el){return qx.html.Location.getClientBoxLeft(el)+qx.html.Scroll.getLeftSum(el); >+}, >+"gecko":function(el){return qx.html.Location.getPageAreaLeft(el)-qx.html.Style.getBorderLeft(el); >+}, >+"default":function(el){var sum=el.offsetLeft; >+while(el.tagName.toLowerCase()!="body"){el=el.offsetParent; >+sum+=el.offsetLeft; >+}return sum; >+}}), >+getPageBoxTop:qx.core.Variant.select("qx.client", >+{"mshtml":function(el){return qx.html.Location.getClientBoxTop(el)+qx.html.Scroll.getTopSum(el); >+}, >+"gecko":function(el){return qx.html.Location.getPageAreaTop(el)-qx.html.Style.getBorderTop(el); >+}, >+"default":function(el){var sum=el.offsetTop; >+while(el.tagName.toLowerCase()!="body"){el=el.offsetParent; >+sum+=el.offsetTop; >+}return sum; >+}}), >+getPageBoxRight:qx.core.Variant.select("qx.client", >+{"mshtml":function(el){return qx.html.Location.getClientBoxRight(el)+qx.html.Scroll.getLeftSum(el); >+}, >+"default":function(el){return qx.html.Location.getPageBoxLeft(el)+qx.html.Dimension.getBoxWidth(el); >+}}), >+getPageBoxBottom:qx.core.Variant.select("qx.client", >+{"mshtml":function(el){return qx.html.Location.getClientBoxBottom(el)+qx.html.Scroll.getTopSum(el); >+}, >+"default":function(el){return qx.html.Location.getPageBoxTop(el)+qx.html.Dimension.getBoxHeight(el); >+}}), >+getClientAreaLeft:qx.core.Variant.select("qx.client", >+{"gecko":function(el){return qx.html.Location.getPageAreaLeft(el)-qx.html.Scroll.getLeftSum(el); >+}, >+"default":function(el){return qx.html.Location.getClientBoxLeft(el)+qx.html.Style.getBorderLeft(el); >+}}), >+getClientAreaTop:qx.core.Variant.select("qx.client", >+{"gecko":function(el){return qx.html.Location.getPageAreaTop(el)-qx.html.Scroll.getTopSum(el); >+}, >+"default":function(el){return qx.html.Location.getClientBoxTop(el)+qx.html.Style.getBorderTop(el); >+}}), >+getClientAreaRight:function(el){return qx.html.Location.getClientAreaLeft(el)+qx.html.Dimension.getAreaWidth(el); >+}, >+getClientAreaBottom:function(el){return qx.html.Location.getClientAreaTop(el)+qx.html.Dimension.getAreaHeight(el); >+}, >+getPageAreaLeft:qx.core.Variant.select("qx.client", >+{"gecko":function(el){return el.ownerDocument.getBoxObjectFor(el).x; >+}, >+"default":function(el){return qx.html.Location.getPageBoxLeft(el)+qx.html.Style.getBorderLeft(el); >+}}), >+getPageAreaTop:qx.core.Variant.select("qx.client", >+{"gecko":function(el){return el.ownerDocument.getBoxObjectFor(el).y; >+}, >+"default":function(el){return qx.html.Location.getPageBoxTop(el)+qx.html.Style.getBorderTop(el); >+}}), >+getPageAreaRight:function(el){return qx.html.Location.getPageAreaLeft(el)+qx.html.Dimension.getAreaWidth(el); >+}, >+getPageAreaBottom:function(el){return qx.html.Location.getPageAreaTop(el)+qx.html.Dimension.getAreaHeight(el); >+}, >+getClientInnerLeft:function(el){return qx.html.Location.getClientAreaLeft(el)+qx.html.Style.getPaddingLeft(el); >+}, >+getClientInnerTop:function(el){return qx.html.Location.getClientAreaTop(el)+qx.html.Style.getPaddingTop(el); >+}, >+getClientInnerRight:function(el){return qx.html.Location.getClientInnerLeft(el)+qx.html.Dimension.getInnerWidth(el); >+}, >+getClientInnerBottom:function(el){return qx.html.Location.getClientInnerTop(el)+qx.html.Dimension.getInnerHeight(el); >+}, >+getPageInnerLeft:function(el){return qx.html.Location.getPageAreaLeft(el)+qx.html.Style.getPaddingLeft(el); >+}, >+getPageInnerTop:function(el){return qx.html.Location.getPageAreaTop(el)+qx.html.Style.getPaddingTop(el); >+}, >+getPageInnerRight:function(el){return qx.html.Location.getPageInnerLeft(el)+qx.html.Dimension.getInnerWidth(el); >+}, >+getPageInnerBottom:function(el){return qx.html.Location.getPageInnerTop(el)+qx.html.Dimension.getInnerHeight(el); >+}, >+getScreenBoxLeft:qx.core.Variant.select("qx.client", >+{"gecko":function(el){var sum=0; >+var p=el.parentNode; >+while(p.nodeType==1){sum+=p.scrollLeft; >+p=p.parentNode; >+}return el.ownerDocument.getBoxObjectFor(el).screenX-sum; >+}, >+"default":function(el){return qx.html.Location.getScreenDocumentLeft(el)+qx.html.Location.getPageBoxLeft(el); >+}}), >+getScreenBoxTop:qx.core.Variant.select("qx.client", >+{"gecko":function(el){var sum=0; >+var p=el.parentNode; >+while(p.nodeType==1){sum+=p.scrollTop; >+p=p.parentNode; >+}return el.ownerDocument.getBoxObjectFor(el).screenY-sum; >+}, >+"default":function(el){return qx.html.Location.getScreenDocumentTop(el)+qx.html.Location.getPageBoxTop(el); >+}}), >+getScreenBoxRight:function(el){return qx.html.Location.getScreenBoxLeft(el)+qx.html.Dimension.getBoxWidth(el); >+}, >+getScreenBoxBottom:function(el){return qx.html.Location.getScreenBoxTop(el)+qx.html.Dimension.getBoxHeight(el); >+}, >+getScreenOuterLeft:function(el){return qx.html.Location.getScreenBoxLeft(el)-qx.html.Style.getMarginLeft(el); >+}, >+getScreenOuterTop:function(el){return qx.html.Location.getScreenBoxTop(el)-qx.html.Style.getMarginTop(el); >+}, >+getScreenOuterRight:function(el){return qx.html.Location.getScreenBoxRight(el)+qx.html.Style.getMarginRight(el); > }, >-getLastWidget:function(parentContainer){return this._getLast(parentContainer, >-null); >+getScreenOuterBottom:function(el){return qx.html.Location.getScreenBoxBottom(el)+qx.html.Style.getMarginBottom(el); > }, >-getWidgetAfter:function(parentContainer, >-widget){if(parentContainer==widget){return this.getFirstWidget(parentContainer); >-} >-if(widget.getAnonymous()){widget=widget.getParent(); >-} >-if(widget==null){return []; >-}var vAll=[]; >-this._getAllAfter(parentContainer, >-widget, >-vAll); >-vAll.sort(this.compareTabOrder); >-return vAll.length>0?vAll[0]:this.getFirstWidget(parentContainer); >+getScreenAreaLeft:function(el){return qx.html.Location.getScreenBoxLeft(el)+qx.html.Dimension.getInsetLeft(el); > }, >-getWidgetBefore:function(parentContainer, >-widget){if(parentContainer==widget){return this.getLastWidget(parentContainer); >-} >-if(widget.getAnonymous()){widget=widget.getParent(); >-} >-if(widget==null){return []; >-}var vAll=[]; >-this._getAllBefore(parentContainer, >-widget, >-vAll); >-vAll.sort(this.compareTabOrder); >-var len=vAll.length; >-return len>0?vAll[len-1]:this.getLastWidget(parentContainer); >+getScreenAreaTop:function(el){return qx.html.Location.getScreenBoxTop(el)+qx.html.Dimension.getInsetTop(el); > }, >-_getAllAfter:function(parent, >-widget, >-arr){var children=parent.getChildren(); >-var child; >-var len=children.length; >-for(var i=0;i<len;i++){child=children[i]; >-if(!(child instanceof qx.ui.core.Parent)&&!(child instanceof qx.ui.basic.Terminator)){continue; >-} >-if(child.isFocusable()&&child.getTabIndex()>0&&this.compareTabOrder(widget, >-child)<0){arr.push(children[i]); >-} >-if(!child.isFocusRoot()&&child instanceof qx.ui.core.Parent){this._getAllAfter(child, >-widget, >-arr); >-}}}, >-_getAllBefore:function(parent, >-widget, >-arr){var children=parent.getChildren(); >-var child; >-var len=children.length; >-for(var i=0;i<len;i++){child=children[i]; >-if(!(child instanceof qx.ui.core.Parent)&&!(child instanceof qx.ui.basic.Terminator)){continue; >-} >-if(child.isFocusable()&&child.getTabIndex()>0&&this.compareTabOrder(widget, >-child)>0){arr.push(child); >-} >-if(!child.isFocusRoot()&&child instanceof qx.ui.core.Parent){this._getAllBefore(child, >-widget, >-arr); >-}}}, >-_getFirst:function(parent, >-firstWidget){var children=parent.getChildren(); >-var child; >-var len=children.length; >-for(var i=0;i<len;i++){child=children[i]; >-if(!(child instanceof qx.ui.core.Parent)&&!(child instanceof qx.ui.basic.Terminator)){continue; >-} >-if(child.isFocusable()&&child.getTabIndex()>0){if(firstWidget==null||this.compareTabOrder(child, >-firstWidget)<0){firstWidget=child; >-}} >-if(!child.isFocusRoot()&&child instanceof qx.ui.core.Parent){firstWidget=this._getFirst(child, >-firstWidget); >-}}return firstWidget; >+getScreenAreaRight:function(el){return qx.html.Location.getScreenBoxRight(el)-qx.html.Dimension.getInsetRight(el); > }, >-_getLast:function(parent, >-lastWidget){var children=parent.getChildren(); >-var child; >-var len=children.length; >-for(var i=0;i<len;i++){child=children[i]; >-if(!(child instanceof qx.ui.core.Parent)&&!(child instanceof qx.ui.basic.Terminator)){continue; >-} >-if(child.isFocusable()&&child.getTabIndex()>0){if(lastWidget==null||this.compareTabOrder(child, >-lastWidget)>0){lastWidget=child; >-}} >-if(!child.isFocusRoot()&&child instanceof qx.ui.core.Parent){lastWidget=this._getLast(child, >-lastWidget); >-}}return lastWidget; >-}}, >-destruct:function(){this._disposeFields("_attachedWidget"); >-}}); >+getScreenAreaBottom:function(el){return qx.html.Location.getScreenBoxBottom(el)-qx.html.Dimension.getInsetBottom(el); >+}, >+getScreenInnerLeft:function(el){return qx.html.Location.getScreenAreaLeft(el)+qx.html.Style.getPaddingLeft(el); >+}, >+getScreenInnerTop:function(el){return qx.html.Location.getScreenAreaTop(el)+qx.html.Style.getPaddingTop(el); >+}, >+getScreenInnerRight:function(el){return qx.html.Location.getScreenAreaRight(el)-qx.html.Style.getPaddingRight(el); >+}, >+getScreenInnerBottom:function(el){return qx.html.Location.getScreenAreaBottom(el)-qx.html.Style.getPaddingBottom(el); >+}, >+getScreenDocumentLeft:qx.core.Variant.select("qx.client", >+{"gecko":function(el){return qx.html.Location.getScreenOuterLeft(el.ownerDocument.body); >+}, >+"default":function(el){return el.document.parentWindow.screenLeft; >+}}), >+getScreenDocumentTop:qx.core.Variant.select("qx.client", >+{"gecko":function(el){return qx.html.Location.getScreenOuterTop(el.ownerDocument.body); >+}, >+"default":function(el){return el.document.parentWindow.screenTop; >+}}), >+getScreenDocumentRight:qx.core.Variant.select("qx.client", >+{"gecko":function(el){return qx.html.Location.getScreenOuterRight(el.ownerDocument.body); >+}, >+"default":function(el){}}), >+getScreenDocumentBottom:qx.core.Variant.select("qx.client", >+{"gecko":function(el){return qx.html.Location.getScreenOuterBottom(el.ownerDocument.body); >+}, >+"default":function(el){}})}}); >+ >+ >+ >+ >+/* ID: qx.html.Scroll */ >+qx.Class.define("qx.html.Scroll", >+{statics:{getLeftSum:function(el){var sum=0; >+var p=el.parentNode; >+while(p.nodeType==1){sum+=p.scrollLeft; >+p=p.parentNode; >+}return sum; >+}, >+getTopSum:function(el){var sum=0; >+var p=el.parentNode; >+while(p.nodeType==1){sum+=p.scrollTop; >+p=p.parentNode; >+}return sum; >+}}}); > > > >@@ -10706,194 +10664,110 @@ > > > >-/* ID: qx.client.Command */ >-qx.Class.define("qx.client.Command", >-{extend:qx.core.Target, >-events:{"execute":"qx.event.type.DataEvent"}, >-construct:function(shortcut, >-keyCode){this.base(arguments); >-this.__modifier={}; >-this.__key=null; >-if(shortcut!=null){this.setShortcut(shortcut); >-} >-if(keyCode!=null){this.warn("The use of keyCode in command is deprecated. Use keyIdentifier instead."); >-this.setKeyCode(keyCode); >-}{if(this.__modifier.Alt&&this.__key&&this.__key.length==1){if((this.__key>="A"&&this.__key<="Z")||(this.__key>="0"&&this.__key<="9")){this.warn("A shortcut containing Alt and a letter or number will not work under OS X!"); >-}}}; >-qx.event.handler.EventHandler.getInstance().addCommand(this); >-}, >-properties:{enabled:{init:true, >-check:"Boolean", >-event:"changeEnabled"}, >-shortcut:{check:"String", >-apply:"_applyShortcut", >-nullable:true}, >-keyCode:{check:"Number", >-nullable:true}, >-keyIdentifier:{check:"String", >-nullable:true}}, >-members:{getKeyCode:function(){return this._keyCode; >-}, >-setKeyCode:function(code){qx.log.Logger.deprecatedMethodWarning(arguments.callee); >-this._keyCode=code; >-}, >-execute:function(vTarget){if(this.hasEventListeners("execute")){var event=new qx.event.type.DataEvent("execute", >-vTarget); >-this.dispatchEvent(event, >-true); >-}return false; >-}, >-_applyShortcut:function(value, >-old){if(value){this.__modifier={}; >-this.__key=null; >-var a=value.split(/[-+\s]+/); >-var al=a.length; >-for(var i=0;i<al;i++){var identifier=this.__oldKeyNameToKeyIdentifier(a[i]); >-switch(identifier){case "Control":case "Shift":case "Meta":case "Alt":this.__modifier[identifier]=true; >-break; >-case "Unidentified":var msg="Not a valid key name for a command: "+a[i]; >-this.error(msg); >-throw msg; >-default:if(this.__key){var msg="You can only specify one non modifier key!"; >-this.error(msg); >-throw msg; >-}this.__key=identifier; >-}}}return true; >-}, >-matchesKeyEvent:function(e){var key=this.__key||this.getKeyIdentifier(); >-if(!key&&!this.getKeyCode()){return ; >-}if((this.__modifier.Shift&&!e.isShiftPressed())|| >-(this.__modifier.Control&&!e.isCtrlPressed())|| >-(this.__modifier.Alt&&!e.isAltPressed())){return false; >-} >-if(key){if(key==e.getKeyIdentifier()){return true; >-}}else{if(this.getKeyCode()==e.getKeyCode()){return true; >-}}return false; >-}, >-__oldKeyNameToKeyIdentifierMap:{esc:"Escape", >-ctrl:"Control", >-print:"PrintScreen", >-del:"Delete", >-pageup:"PageUp", >-pagedown:"PageDown", >-numlock:"NumLock", >-numpad_0:"0", >-numpad_1:"1", >-numpad_2:"2", >-numpad_3:"3", >-numpad_4:"4", >-numpad_5:"5", >-numpad_6:"6", >-numpad_7:"7", >-numpad_8:"8", >-numpad_9:"9", >-numpad_divide:"/", >-numpad_multiply:"*", >-numpad_minus:"-", >-numpad_plus:"+"}, >-__oldKeyNameToKeyIdentifier:function(keyName){var keyHandler=qx.event.handler.KeyEventHandler.getInstance(); >-var keyIdentifier="Unidentified"; >-if(keyHandler.isValidKeyIdentifier(keyName)){return keyName; >-} >-if(keyName.length==1&&keyName>="a"&&keyName<="z"){return keyName.toUpperCase(); >-}keyName=keyName.toLowerCase(); >-if(!qx.event.type.KeyEvent.keys[keyName]){return "Unidentified"; >-}var keyIdentifier=this.__oldKeyNameToKeyIdentifierMap[keyName]; >-if(keyIdentifier){return keyIdentifier; >-}else{return qx.lang.String.toFirstUp(keyName); >-}}, >-toString:function(){var keyCode=this.getKeyCode(); >-var key=this.__key||this.getKeyIdentifier(); >-var str=[]; >-for(var modifier in this.__modifier){str.push(qx.locale.Key.getKeyName("short", >-modifier)); >-} >-if(key){str.push(qx.locale.Key.getKeyName("short", >-key)); >-} >-if(keyCode!=null){var vTemp=qx.event.type.KeyEvent.codes[keyCode]; >-str.push(vTemp?qx.lang.String.toFirstUp(vTemp):String(keyCode)); >-}return str.join("-"); >-}}, >-destruct:function(){var mgr=qx.event.handler.EventHandler.getInstance(); >-if(mgr){mgr.removeCommand(this); >-}this._disposeFields("__modifier", >-"__key"); >-}}); >- >- >+/* ID: qx.html.Offset */ >+qx.Class.define("qx.html.Offset", >+{statics:{getLeft:qx.core.Variant.select("qx.client", >+{"gecko":function(el){var val=el.offsetLeft; >+var pa=el.parentNode; >+var pose=qx.html.Style.getStyleProperty(el, >+"position"); >+var posp=qx.html.Style.getStyleProperty(pa, >+"position"); >+if(pose!="absolute"&&pose!="fixed"){val-=qx.html.Style.getBorderLeft(pa); >+}if(posp!="absolute"&&posp!="fixed"){while(pa){pa=pa.parentNode; >+if(!pa||typeof pa.tagName!=="string"){break; >+}var posi=qx.html.Style.getStyleProperty(pa, >+"position"); >+if(posi=="absolute"||posi=="fixed"){val-=qx.html.Style.getBorderLeft(pa)+qx.html.Style.getPaddingLeft(pa); >+break; >+}}}return val; >+}, >+"default":function(el){return el.offsetLeft; >+}}), >+getTop:qx.core.Variant.select("qx.client", >+{"gecko":function(el){var val=el.offsetTop; >+var pa=el.parentNode; >+var pose=qx.html.Style.getStyleProperty(el, >+"position"); >+var posp=qx.html.Style.getStyleProperty(pa, >+"position"); >+if(pose!="absolute"&&pose!="fixed"){val-=qx.html.Style.getBorderTop(pa); >+}if(posp!="absolute"&&posp!="fixed"){while(pa){pa=pa.parentNode; >+if(!pa||typeof pa.tagName!=="string"){break; >+}var posi=qx.html.Style.getStyleProperty(pa, >+"position"); >+if(posi=="absolute"||posi=="fixed"){val-=qx.html.Style.getBorderTop(pa)+qx.html.Style.getPaddingTop(pa); >+break; >+}}}return val; >+}, >+"default":function(el){return el.offsetTop; >+}})}}); > > >-/* ID: qx.locale.Key */ >-qx.Class.define("qx.locale.Key", >-{statics:{getKeyName:function(size, >-keyIdentifier, >-locale){if(size!="short"&&size!="full"){throw new Error('format must be one of: "short", "full"'); >-}var key="key_"+size+"_"+keyIdentifier; >-var localizedKey=new qx.locale.LocalizedString(key, >-[], >-locale); >-if(localizedKey==key){return qx.locale.Key._keyNames[key]||keyIdentifier; >-}else{return localizedKey.toString(); >-}}}, >-defer:function(statics, >-members, >-properties){var keyNames={}; >-var Manager=qx.locale.Manager; >-keyNames[Manager.marktr("key_short_Backspace")]="Backspace"; >-keyNames[Manager.marktr("key_short_Tab")]="Tab"; >-keyNames[Manager.marktr("key_short_Space")]="Space"; >-keyNames[Manager.marktr("key_short_Enter")]="Enter"; >-keyNames[Manager.marktr("key_short_Shift")]="Shift"; >-keyNames[Manager.marktr("key_short_Control")]="Ctrl"; >-keyNames[Manager.marktr("key_short_Alt")]="Alt"; >-keyNames[Manager.marktr("key_short_CapsLock")]="Caps"; >-keyNames[Manager.marktr("key_short_Meta")]="Meta"; >-keyNames[Manager.marktr("key_short_Escape")]="Esc"; >-keyNames[Manager.marktr("key_short_Left")]="Left"; >-keyNames[Manager.marktr("key_short_Up")]="Up"; >-keyNames[Manager.marktr("key_short_Right")]="Right"; >-keyNames[Manager.marktr("key_short_Down")]="Down"; >-keyNames[Manager.marktr("key_short_PageUp")]="PgUp"; >-keyNames[Manager.marktr("key_short_PageDown")]="PgDn"; >-keyNames[Manager.marktr("key_short_End")]="End"; >-keyNames[Manager.marktr("key_short_Home")]="Home"; >-keyNames[Manager.marktr("key_short_Insert")]="Ins"; >-keyNames[Manager.marktr("key_short_Delete")]="Del"; >-keyNames[Manager.marktr("key_short_NumLock")]="Num"; >-keyNames[Manager.marktr("key_short_PrintScreen")]="Print"; >-keyNames[Manager.marktr("key_short_Scroll")]="Scroll"; >-keyNames[Manager.marktr("key_short_Pause")]="Pause"; >-keyNames[Manager.marktr("key_short_Win")]="Win"; >-keyNames[Manager.marktr("key_short_Apps")]="Apps"; >-keyNames[Manager.marktr("key_full_Backspace")]="Backspace"; >-keyNames[Manager.marktr("key_full_Tab")]="Tabulator"; >-keyNames[Manager.marktr("key_full_Space")]="Space"; >-keyNames[Manager.marktr("key_full_Enter")]="Enter"; >-keyNames[Manager.marktr("key_full_Shift")]="Shift"; >-keyNames[Manager.marktr("key_full_Control")]="Control"; >-keyNames[Manager.marktr("key_full_Alt")]="Alt"; >-keyNames[Manager.marktr("key_full_CapsLock")]="CapsLock"; >-keyNames[Manager.marktr("key_full_Meta")]="Meta"; >-keyNames[Manager.marktr("key_full_Escape")]="Escape"; >-keyNames[Manager.marktr("key_full_Left")]="Left"; >-keyNames[Manager.marktr("key_full_Up")]="Up"; >-keyNames[Manager.marktr("key_full_Right")]="Right"; >-keyNames[Manager.marktr("key_full_Down")]="Down"; >-keyNames[Manager.marktr("key_full_PageUp")]="PageUp"; >-keyNames[Manager.marktr("key_full_PageDown")]="PageDown"; >-keyNames[Manager.marktr("key_full_End")]="End"; >-keyNames[Manager.marktr("key_full_Home")]="Home"; >-keyNames[Manager.marktr("key_full_Insert")]="Insert"; >-keyNames[Manager.marktr("key_full_Delete")]="Delete"; >-keyNames[Manager.marktr("key_full_NumLock")]="NumLock"; >-keyNames[Manager.marktr("key_full_PrintScreen")]="PrintScreen"; >-keyNames[Manager.marktr("key_full_Scroll")]="Scroll"; >-keyNames[Manager.marktr("key_full_Pause")]="Pause"; >-keyNames[Manager.marktr("key_full_Win")]="Win"; >-keyNames[Manager.marktr("key_full_Apps")]="Apps"; >-statics._keyNames=keyNames; >-}}); >+ >+ >+/* ID: qx.html.ScrollIntoView */ >+qx.Class.define("qx.html.ScrollIntoView", >+{statics:{scrollX:function(vElement, >+vAlignLeft){var vParentWidth, >+vParentScrollLeft, >+vWidth, >+vHasScroll; >+var vParent=vElement.parentNode; >+var vOffset=vElement.offsetLeft; >+var vWidth=vElement.offsetWidth; >+while(vParent){switch(qx.html.Style.getStyleProperty(vParent, >+"overflow")){case "scroll":case "auto":case "-moz-scrollbars-horizontal":vHasScroll=true; >+break; >+default:switch(qx.html.Style.getStyleProperty(vParent, >+"overflowX")){case "scroll":case "auto":vHasScroll=true; >+break; >+default:vHasScroll=false; >+}} >+if(vHasScroll){vParentWidth=vParent.clientWidth; >+vParentScrollLeft=vParent.scrollLeft; >+if(vAlignLeft){vParent.scrollLeft=vOffset; >+}else if(vAlignLeft==false){vParent.scrollLeft=vOffset+vWidth-vParentWidth; >+}else if(vWidth>vParentWidth||vOffset<vParentScrollLeft){vParent.scrollLeft=vOffset; >+}else if((vOffset+vWidth)>(vParentScrollLeft+vParentWidth)){vParent.scrollLeft=vOffset+vWidth-vParentWidth; >+}vOffset=vParent.offsetLeft; >+vWidth=vParent.offsetWidth; >+}else{vOffset+=vParent.offsetLeft; >+} >+if(vParent.tagName.toLowerCase()=="body"){break; >+}vParent=vParent.offsetParent; >+}return true; >+}, >+scrollY:function(vElement, >+vAlignTop){var vParentHeight, >+vParentScrollTop, >+vHeight, >+vHasScroll; >+var vParent=vElement.parentNode; >+var vOffset=vElement.offsetTop; >+var vHeight=vElement.offsetHeight; >+while(vParent){switch(qx.html.Style.getStyleProperty(vParent, >+"overflow")){case "scroll":case "auto":case "-moz-scrollbars-vertical":vHasScroll=true; >+break; >+default:switch(qx.html.Style.getStyleProperty(vParent, >+"overflowY")){case "scroll":case "auto":vHasScroll=true; >+break; >+default:vHasScroll=false; >+}} >+if(vHasScroll){vParentHeight=vParent.clientHeight; >+vParentScrollTop=vParent.scrollTop; >+if(vAlignTop){vParent.scrollTop=vOffset; >+}else if(vAlignTop==false){vParent.scrollTop=vOffset+vHeight-vParentHeight; >+}else if(vHeight>vParentHeight||vOffset<vParentScrollTop){vParent.scrollTop=vOffset; >+}else if((vOffset+vHeight)>(vParentScrollTop+vParentHeight)){vParent.scrollTop=vOffset+vHeight-vParentHeight; >+}vOffset=vParent.offsetTop; >+vHeight=vParent.offsetHeight; >+}else{vOffset+=vParent.offsetTop; >+} >+if(vParent.tagName.toLowerCase()=="body"){break; >+}vParent=vParent.offsetParent; >+}return true; >+}}}); > > > >@@ -11033,65 +10907,211 @@ > if(this.hasEventListeners("load")){this.dispatchEvent(new qx.event.type.Event("load"), > true); > }}, >-__onerror:function(){if(this._isLoaded||this._isErroneous){return; >-}this.debug("Could not load: "+this._source); >-this._isLoaded=false; >-this._isErroneous=true; >-if(this.hasEventListeners("error")){this.dispatchEvent(new qx.event.type.Event("error"), >-true); >-}}}, >-destruct:function(){if(this._element){this._element.onload=this._element.onerror=null; >-}this._disposeFields("_element", >-"_isLoaded", >-"_isErroneous", >-"_isPng"); >+__onerror:function(){if(this._isLoaded||this._isErroneous){return; >+}this.debug("Could not load: "+this._source); >+this._isLoaded=false; >+this._isErroneous=true; >+if(this.hasEventListeners("error")){this.dispatchEvent(new qx.event.type.Event("error"), >+true); >+}}}, >+destruct:function(){if(this._element){this._element.onload=this._element.onerror=null; >+}this._disposeFields("_element", >+"_isLoaded", >+"_isErroneous", >+"_isPng"); >+}}); >+ >+ >+ >+ >+/* ID: qx.client.Command */ >+qx.Class.define("qx.client.Command", >+{extend:qx.core.Target, >+events:{"execute":"qx.event.type.DataEvent"}, >+construct:function(shortcut, >+keyCode){this.base(arguments); >+this.__modifier={}; >+this.__key=null; >+if(shortcut!=null){this.setShortcut(shortcut); >+} >+if(keyCode!=null){this.warn("The use of keyCode in command is deprecated. Use keyIdentifier instead."); >+this.setKeyCode(keyCode); >+}{if(this.__modifier.Alt&&this.__key&&this.__key.length==1){if((this.__key>="A"&&this.__key<="Z")||(this.__key>="0"&&this.__key<="9")){this.warn("A shortcut containing Alt and a letter or number will not work under OS X!"); >+}}}; >+qx.event.handler.EventHandler.getInstance().addCommand(this); >+}, >+properties:{enabled:{init:true, >+check:"Boolean", >+event:"changeEnabled"}, >+shortcut:{check:"String", >+apply:"_applyShortcut", >+nullable:true}, >+keyCode:{check:"Number", >+nullable:true}, >+keyIdentifier:{check:"String", >+nullable:true}}, >+members:{getKeyCode:function(){return this._keyCode; >+}, >+setKeyCode:function(code){qx.log.Logger.deprecatedMethodWarning(arguments.callee); >+this._keyCode=code; >+}, >+execute:function(vTarget){if(this.hasEventListeners("execute")){var event=new qx.event.type.DataEvent("execute", >+vTarget); >+this.dispatchEvent(event, >+true); >+}return false; >+}, >+_applyShortcut:function(value, >+old){if(value){this.__modifier={}; >+this.__key=null; >+var a=value.split(/[-+\s]+/); >+var al=a.length; >+for(var i=0;i<al;i++){var identifier=this.__oldKeyNameToKeyIdentifier(a[i]); >+switch(identifier){case "Control":case "Shift":case "Meta":case "Alt":this.__modifier[identifier]=true; >+break; >+case "Unidentified":var msg="Not a valid key name for a command: "+a[i]; >+this.error(msg); >+throw msg; >+default:if(this.__key){var msg="You can only specify one non modifier key!"; >+this.error(msg); >+throw msg; >+}this.__key=identifier; >+}}}return true; >+}, >+matchesKeyEvent:function(e){var key=this.__key||this.getKeyIdentifier(); >+if(!key&&!this.getKeyCode()){return ; >+}if((this.__modifier.Shift&&!e.isShiftPressed())|| >+(this.__modifier.Control&&!e.isCtrlPressed())|| >+(this.__modifier.Alt&&!e.isAltPressed())){return false; >+} >+if(key){if(key==e.getKeyIdentifier()){return true; >+}}else{if(this.getKeyCode()==e.getKeyCode()){return true; >+}}return false; >+}, >+__oldKeyNameToKeyIdentifierMap:{esc:"Escape", >+ctrl:"Control", >+print:"PrintScreen", >+del:"Delete", >+pageup:"PageUp", >+pagedown:"PageDown", >+numlock:"NumLock", >+numpad_0:"0", >+numpad_1:"1", >+numpad_2:"2", >+numpad_3:"3", >+numpad_4:"4", >+numpad_5:"5", >+numpad_6:"6", >+numpad_7:"7", >+numpad_8:"8", >+numpad_9:"9", >+numpad_divide:"/", >+numpad_multiply:"*", >+numpad_minus:"-", >+numpad_plus:"+"}, >+__oldKeyNameToKeyIdentifier:function(keyName){var keyHandler=qx.event.handler.KeyEventHandler.getInstance(); >+var keyIdentifier="Unidentified"; >+if(keyHandler.isValidKeyIdentifier(keyName)){return keyName; >+} >+if(keyName.length==1&&keyName>="a"&&keyName<="z"){return keyName.toUpperCase(); >+}keyName=keyName.toLowerCase(); >+if(!qx.event.type.KeyEvent.keys[keyName]){return "Unidentified"; >+}var keyIdentifier=this.__oldKeyNameToKeyIdentifierMap[keyName]; >+if(keyIdentifier){return keyIdentifier; >+}else{return qx.lang.String.toFirstUp(keyName); >+}}, >+toString:function(){var keyCode=this.getKeyCode(); >+var key=this.__key||this.getKeyIdentifier(); >+var str=[]; >+for(var modifier in this.__modifier){str.push(qx.locale.Key.getKeyName("short", >+modifier)); >+} >+if(key){str.push(qx.locale.Key.getKeyName("short", >+key)); >+} >+if(keyCode!=null){var vTemp=qx.event.type.KeyEvent.codes[keyCode]; >+str.push(vTemp?qx.lang.String.toFirstUp(vTemp):String(keyCode)); >+}return str.join("-"); >+}}, >+destruct:function(){var mgr=qx.event.handler.EventHandler.getInstance(); >+if(mgr){mgr.removeCommand(this); >+}this._disposeFields("__modifier", >+"__key"); > }}); > > > > >-/* ID: qx.application.Gui */ >-qx.Class.define("qx.application.Gui", >-{extend:qx.core.Target, >-implement:qx.application.IApplication, >-properties:{uiReady:{check:"Boolean", >-init:false}}, >-members:{main:function(){qx.ui.core.Widget.initScrollbarWidth(); >-qx.theme.manager.Meta.getInstance().initialize(); >-qx.event.handler.EventHandler.getInstance(); >-qx.ui.core.ClientDocument.getInstance(); >-qx.client.Timer.once(this._preload, >-this, >-0); >-}, >-close:function(){}, >-terminate:function(){}, >-_preload:function(){this.debug("preloading visible images..."); >-this.__preloader=new qx.io.image.PreloaderSystem(qx.io.image.Manager.getInstance().getVisibleImages(), >-this._preloaderDone, >-this); >-this.__preloader.start(); >-}, >-_preloaderDone:function(){this.setUiReady(true); >-this.__preloader.dispose(); >-this.__preloader=null; >-var start=(new Date).valueOf(); >-qx.ui.core.Widget.flushGlobalQueues(); >-this.info("render runtime: "+(new Date-start)+"ms"); >-qx.event.handler.EventHandler.getInstance().attachEvents(); >-qx.client.Timer.once(this._postload, >-this, >-100); >-}, >-_postload:function(){this.debug("preloading hidden images..."); >-this.__postloader=new qx.io.image.PreloaderSystem(qx.io.image.Manager.getInstance().getHiddenImages(), >-this._postloaderDone, >-this); >-this.__postloader.start(); >-}, >-_postloaderDone:function(){this.__postloader.dispose(); >-this.__postloader=null; >-}}}); >+/* ID: qx.locale.Key */ >+qx.Class.define("qx.locale.Key", >+{statics:{getKeyName:function(size, >+keyIdentifier, >+locale){if(size!="short"&&size!="full"){throw new Error('format must be one of: "short", "full"'); >+}var key="key_"+size+"_"+keyIdentifier; >+var localizedKey=new qx.locale.LocalizedString(key, >+[], >+locale); >+if(localizedKey==key){return qx.locale.Key._keyNames[key]||keyIdentifier; >+}else{return localizedKey.toString(); >+}}}, >+defer:function(statics, >+members, >+properties){var keyNames={}; >+var Manager=qx.locale.Manager; >+keyNames[Manager.marktr("key_short_Backspace")]="Backspace"; >+keyNames[Manager.marktr("key_short_Tab")]="Tab"; >+keyNames[Manager.marktr("key_short_Space")]="Space"; >+keyNames[Manager.marktr("key_short_Enter")]="Enter"; >+keyNames[Manager.marktr("key_short_Shift")]="Shift"; >+keyNames[Manager.marktr("key_short_Control")]="Ctrl"; >+keyNames[Manager.marktr("key_short_Alt")]="Alt"; >+keyNames[Manager.marktr("key_short_CapsLock")]="Caps"; >+keyNames[Manager.marktr("key_short_Meta")]="Meta"; >+keyNames[Manager.marktr("key_short_Escape")]="Esc"; >+keyNames[Manager.marktr("key_short_Left")]="Left"; >+keyNames[Manager.marktr("key_short_Up")]="Up"; >+keyNames[Manager.marktr("key_short_Right")]="Right"; >+keyNames[Manager.marktr("key_short_Down")]="Down"; >+keyNames[Manager.marktr("key_short_PageUp")]="PgUp"; >+keyNames[Manager.marktr("key_short_PageDown")]="PgDn"; >+keyNames[Manager.marktr("key_short_End")]="End"; >+keyNames[Manager.marktr("key_short_Home")]="Home"; >+keyNames[Manager.marktr("key_short_Insert")]="Ins"; >+keyNames[Manager.marktr("key_short_Delete")]="Del"; >+keyNames[Manager.marktr("key_short_NumLock")]="Num"; >+keyNames[Manager.marktr("key_short_PrintScreen")]="Print"; >+keyNames[Manager.marktr("key_short_Scroll")]="Scroll"; >+keyNames[Manager.marktr("key_short_Pause")]="Pause"; >+keyNames[Manager.marktr("key_short_Win")]="Win"; >+keyNames[Manager.marktr("key_short_Apps")]="Apps"; >+keyNames[Manager.marktr("key_full_Backspace")]="Backspace"; >+keyNames[Manager.marktr("key_full_Tab")]="Tabulator"; >+keyNames[Manager.marktr("key_full_Space")]="Space"; >+keyNames[Manager.marktr("key_full_Enter")]="Enter"; >+keyNames[Manager.marktr("key_full_Shift")]="Shift"; >+keyNames[Manager.marktr("key_full_Control")]="Control"; >+keyNames[Manager.marktr("key_full_Alt")]="Alt"; >+keyNames[Manager.marktr("key_full_CapsLock")]="CapsLock"; >+keyNames[Manager.marktr("key_full_Meta")]="Meta"; >+keyNames[Manager.marktr("key_full_Escape")]="Escape"; >+keyNames[Manager.marktr("key_full_Left")]="Left"; >+keyNames[Manager.marktr("key_full_Up")]="Up"; >+keyNames[Manager.marktr("key_full_Right")]="Right"; >+keyNames[Manager.marktr("key_full_Down")]="Down"; >+keyNames[Manager.marktr("key_full_PageUp")]="PageUp"; >+keyNames[Manager.marktr("key_full_PageDown")]="PageDown"; >+keyNames[Manager.marktr("key_full_End")]="End"; >+keyNames[Manager.marktr("key_full_Home")]="Home"; >+keyNames[Manager.marktr("key_full_Insert")]="Insert"; >+keyNames[Manager.marktr("key_full_Delete")]="Delete"; >+keyNames[Manager.marktr("key_full_NumLock")]="NumLock"; >+keyNames[Manager.marktr("key_full_PrintScreen")]="PrintScreen"; >+keyNames[Manager.marktr("key_full_Scroll")]="Scroll"; >+keyNames[Manager.marktr("key_full_Pause")]="Pause"; >+keyNames[Manager.marktr("key_full_Win")]="Win"; >+keyNames[Manager.marktr("key_full_Apps")]="Apps"; >+statics._keyNames=keyNames; >+}}); > > > >@@ -15193,99 +15213,45 @@ > > > >- >-/* ID: qx.ui.popup.ToolTipManager */ >-qx.Class.define("qx.ui.popup.ToolTipManager", >-{type:"singleton", >-extend:qx.util.manager.Object, >-properties:{currentToolTip:{check:"qx.ui.popup.ToolTip", >-nullable:true, >-apply:"_applyCurrentToolTip"}}, >-members:{_applyCurrentToolTip:function(value, >-old){if(old&&old.contains(value)){return; >-}if(old&&!old.isDisposed()){old.hide(); >-old._stopShowTimer(); >-old._stopHideTimer(); >-}if(value){value._startShowTimer(); >-}}, >-handleMouseOver:function(e){var vTarget=e.getTarget(); >-var vToolTip; >-if(!(vTarget instanceof qx.ui.core.Widget)&&vTarget.nodeType==1){vTarget=qx.event.handler.EventHandler.getTargetObject(vTarget); >-}while(vTarget!=null&&!(vToolTip=vTarget.getToolTip())){vTarget=vTarget.getParent(); >-}if(vToolTip!=null){vToolTip.setBoundToWidget(vTarget); >-}this.setCurrentToolTip(vToolTip); >-}, >-handleMouseOut:function(e){var vTarget=e.getTarget(); >-var vRelatedTarget=e.getRelatedTarget(); >-var vToolTip=this.getCurrentToolTip(); >-if(vToolTip&&(vRelatedTarget==vToolTip||vToolTip.contains(vRelatedTarget))){return; >-}if(vRelatedTarget&&vTarget&&vTarget.contains(vRelatedTarget)){return; >-}if(vToolTip&&!vRelatedTarget){this.setCurrentToolTip(null); >-}}, >-handleFocus:function(e){var vTarget=e.getTarget(); >-var vToolTip=vTarget.getToolTip(); >-if(vToolTip!=null){vToolTip.setBoundToWidget(vTarget); >-this.setCurrentToolTip(vToolTip); >-}}, >-handleBlur:function(e){var vTarget=e.getTarget(); >-if(!vTarget){return; >-}var vToolTip=this.getCurrentToolTip(); >-if(vToolTip&&vToolTip==vTarget.getToolTip()){this.setCurrentToolTip(null); >-}}}}); >- >- >- >- >-/* ID: qx.ui.pageview.AbstractPageView */ >-qx.Class.define("qx.ui.pageview.AbstractPageView", >-{type:"abstract", >-extend:qx.ui.layout.BoxLayout, >-construct:function(vBarClass, >-vPaneClass){this.base(arguments); >-this._bar=new vBarClass; >-this._pane=new vPaneClass; >-this.add(this._bar, >-this._pane); >-}, >-members:{getPane:function(){return this._pane; >-}, >-getBar:function(){return this._bar; >-}}, >-destruct:function(){this._disposeObjects("_bar", >-"_pane"); >-}}); >- >- >- >- >-/* ID: qx.ui.pageview.tabview.TabView */ >-qx.Class.define("qx.ui.pageview.tabview.TabView", >-{extend:qx.ui.pageview.AbstractPageView, >-construct:function(){this.base(arguments, >-qx.ui.pageview.tabview.Bar, >-qx.ui.pageview.tabview.Pane); >-}, >-properties:{appearance:{refine:true, >-init:"tab-view"}, >-orientation:{refine:true, >-init:"vertical"}, >-alignTabsToLeft:{check:"Boolean", >-init:true, >-apply:"_applyAlignTabsToLeft"}, >-placeBarOnTop:{check:"Boolean", >-init:true, >-apply:"_applyPlaceBarOnTop"}}, >-members:{_applyAlignTabsToLeft:function(value, >-old){var vBar=this._bar; >-vBar.setHorizontalChildrenAlign(value?"left":"right"); >-vBar._addChildrenToStateQueue(); >+ >+/* ID: qx.ui.popup.ToolTipManager */ >+qx.Class.define("qx.ui.popup.ToolTipManager", >+{type:"singleton", >+extend:qx.util.manager.Object, >+properties:{currentToolTip:{check:"qx.ui.popup.ToolTip", >+nullable:true, >+apply:"_applyCurrentToolTip"}}, >+members:{_applyCurrentToolTip:function(value, >+old){if(old&&old.contains(value)){return; >+}if(old&&!old.isDisposed()){old.hide(); >+old._stopShowTimer(); >+old._stopHideTimer(); >+}if(value){value._startShowTimer(); >+}}, >+handleMouseOver:function(e){var vTarget=e.getTarget(); >+var vToolTip; >+if(!(vTarget instanceof qx.ui.core.Widget)&&vTarget.nodeType==1){vTarget=qx.event.handler.EventHandler.getTargetObject(vTarget); >+}while(vTarget!=null&&!(vToolTip=vTarget.getToolTip())){vTarget=vTarget.getParent(); >+}if(vToolTip!=null){vToolTip.setBoundToWidget(vTarget); >+}this.setCurrentToolTip(vToolTip); > }, >-_applyPlaceBarOnTop:function(value, >-old){var vBar=this._bar; >-if(value){vBar.moveSelfToBegin(); >-}else{vBar.moveSelfToEnd(); >-}vBar._addChildrenToStateQueue(); >-}}}); >+handleMouseOut:function(e){var vTarget=e.getTarget(); >+var vRelatedTarget=e.getRelatedTarget(); >+var vToolTip=this.getCurrentToolTip(); >+if(vToolTip&&(vRelatedTarget==vToolTip||vToolTip.contains(vRelatedTarget))){return; >+}if(vRelatedTarget&&vTarget&&vTarget.contains(vRelatedTarget)){return; >+}if(vToolTip&&!vRelatedTarget){this.setCurrentToolTip(null); >+}}, >+handleFocus:function(e){var vTarget=e.getTarget(); >+var vToolTip=vTarget.getToolTip(); >+if(vToolTip!=null){vToolTip.setBoundToWidget(vTarget); >+this.setCurrentToolTip(vToolTip); >+}}, >+handleBlur:function(e){var vTarget=e.getTarget(); >+if(!vTarget){return; >+}var vToolTip=this.getCurrentToolTip(); >+if(vToolTip&&vToolTip==vTarget.getToolTip()){this.setCurrentToolTip(null); >+}}}}); > > > >@@ -15424,31 +15390,6 @@ > > > >-/* ID: qx.ui.pageview.AbstractPane */ >-qx.Class.define("qx.ui.pageview.AbstractPane", >-{type:"abstract", >-extend:qx.ui.layout.CanvasLayout}); >- >- >- >- >-/* ID: qx.ui.pageview.tabview.Pane */ >-qx.Class.define("qx.ui.pageview.tabview.Pane", >-{extend:qx.ui.pageview.AbstractPane, >-construct:function(){this.base(arguments); >-this.initZIndex(); >-this.initHeight(); >-}, >-properties:{appearance:{refine:true, >-init:"tab-view-pane"}, >-zIndex:{refine:true, >-init:1}, >-height:{refine:true, >-init:"1*"}}}); >- >- >- >- > /* ID: qx.ui.pageview.AbstractButton */ > qx.Class.define("qx.ui.pageview.AbstractButton", > {type:"abstract", >@@ -15642,6 +15583,85 @@ > > > >+/* ID: qx.ui.pageview.AbstractPane */ >+qx.Class.define("qx.ui.pageview.AbstractPane", >+{type:"abstract", >+extend:qx.ui.layout.CanvasLayout}); >+ >+ >+ >+ >+/* ID: qx.ui.pageview.tabview.Pane */ >+qx.Class.define("qx.ui.pageview.tabview.Pane", >+{extend:qx.ui.pageview.AbstractPane, >+construct:function(){this.base(arguments); >+this.initZIndex(); >+this.initHeight(); >+}, >+properties:{appearance:{refine:true, >+init:"tab-view-pane"}, >+zIndex:{refine:true, >+init:1}, >+height:{refine:true, >+init:"1*"}}}); >+ >+ >+ >+ >+/* ID: qx.ui.pageview.AbstractPageView */ >+qx.Class.define("qx.ui.pageview.AbstractPageView", >+{type:"abstract", >+extend:qx.ui.layout.BoxLayout, >+construct:function(vBarClass, >+vPaneClass){this.base(arguments); >+this._bar=new vBarClass; >+this._pane=new vPaneClass; >+this.add(this._bar, >+this._pane); >+}, >+members:{getPane:function(){return this._pane; >+}, >+getBar:function(){return this._bar; >+}}, >+destruct:function(){this._disposeObjects("_bar", >+"_pane"); >+}}); >+ >+ >+ >+ >+/* ID: qx.ui.pageview.tabview.TabView */ >+qx.Class.define("qx.ui.pageview.tabview.TabView", >+{extend:qx.ui.pageview.AbstractPageView, >+construct:function(){this.base(arguments, >+qx.ui.pageview.tabview.Bar, >+qx.ui.pageview.tabview.Pane); >+}, >+properties:{appearance:{refine:true, >+init:"tab-view"}, >+orientation:{refine:true, >+init:"vertical"}, >+alignTabsToLeft:{check:"Boolean", >+init:true, >+apply:"_applyAlignTabsToLeft"}, >+placeBarOnTop:{check:"Boolean", >+init:true, >+apply:"_applyPlaceBarOnTop"}}, >+members:{_applyAlignTabsToLeft:function(value, >+old){var vBar=this._bar; >+vBar.setHorizontalChildrenAlign(value?"left":"right"); >+vBar._addChildrenToStateQueue(); >+}, >+_applyPlaceBarOnTop:function(value, >+old){var vBar=this._bar; >+if(value){vBar.moveSelfToBegin(); >+}else{vBar.moveSelfToEnd(); >+}vBar._addChildrenToStateQueue(); >+}}}); >+ >+ >+ >+ > /* ID: qx.ui.toolbar.Button */ > qx.Class.define("qx.ui.toolbar.Button", > {extend:qx.ui.form.Button, >@@ -15690,20 +15710,6 @@ > > > >-/* ID: qx.ui.toolbar.PartHandle */ >-qx.Class.define("qx.ui.toolbar.PartHandle", >-{extend:qx.ui.layout.CanvasLayout, >-construct:function(){this.base(arguments); >-var l=new qx.ui.basic.Terminator; >-l.setAppearance("toolbar-part-handle-line"); >-this.add(l); >-}, >-properties:{appearance:{refine:true, >-init:"toolbar-part-handle"}}}); >- >- >- >- > /* ID: qx.ui.toolbar.MenuButton */ > qx.Class.define("qx.ui.toolbar.MenuButton", > {extend:qx.ui.toolbar.Button, >@@ -15821,6 +15827,20 @@ > > > >+/* ID: qx.ui.toolbar.PartHandle */ >+qx.Class.define("qx.ui.toolbar.PartHandle", >+{extend:qx.ui.layout.CanvasLayout, >+construct:function(){this.base(arguments); >+var l=new qx.ui.basic.Terminator; >+l.setAppearance("toolbar-part-handle-line"); >+this.add(l); >+}, >+properties:{appearance:{refine:true, >+init:"toolbar-part-handle"}}}); >+ >+ >+ >+ > /* ID: qx.ui.toolbar.ToolBar */ > qx.Class.define("qx.ui.toolbar.ToolBar", > {extend:qx.ui.layout.HorizontalBoxLayout, >@@ -15928,20 +15948,6 @@ > > > >-/* ID: qx.ui.toolbar.Separator */ >-qx.Class.define("qx.ui.toolbar.Separator", >-{extend:qx.ui.layout.CanvasLayout, >-construct:function(){this.base(arguments); >-var l=new qx.ui.basic.Terminator; >-l.setAppearance("toolbar-separator-line"); >-this.add(l); >-}, >-properties:{appearance:{refine:true, >-init:"toolbar-separator"}}}); >- >- >- >- > /* ID: qx.ui.toolbar.RadioButton */ > qx.Class.define("qx.ui.toolbar.RadioButton", > {extend:qx.ui.toolbar.CheckBox, >@@ -15977,6 +15983,20 @@ > > > >+/* ID: qx.ui.toolbar.Separator */ >+qx.Class.define("qx.ui.toolbar.Separator", >+{extend:qx.ui.layout.CanvasLayout, >+construct:function(){this.base(arguments); >+var l=new qx.ui.basic.Terminator; >+l.setAppearance("toolbar-separator-line"); >+this.add(l); >+}, >+properties:{appearance:{refine:true, >+init:"toolbar-separator"}}}); >+ >+ >+ >+ > /* ID: qx.ui.form.CheckBox */ > qx.Class.define("qx.ui.form.CheckBox", > {extend:qx.ui.basic.Atom, >@@ -16104,332 +16124,437 @@ > return this.base(arguments, > value, > old); >-}}, >-defer:function(statics, >-members){members.getBoxWidth=members.getPreferredBoxWidth; >-members.getBoxHeight=members.getPreferredBoxHeight; >-members.getInnerWidth=members.getPreferredBoxWidth; >-members.getInnerHeight=members.getPreferredBoxHeight; >-}}); >- >- >- >- >-/* ID: qx.ui.form.Spinner */ >-qx.Class.define("qx.ui.form.Spinner", >-{extend:qx.ui.layout.HorizontalBoxLayout, >-construct:function(vMin, >-vValue, >-vMax){this.base(arguments); >-if(qx.core.Variant.isSet("qx.client", >-"mshtml")){this.setStyleProperty("fontSize", >-"0px"); >-}this._textfield=new qx.ui.form.TextField; >-this._textfield.setBorder(null); >-this._textfield.setWidth("1*"); >-this._textfield.setAllowStretchY(true); >-this._textfield.setHeight(null); >-this._textfield.setLiveUpdate(true); >-this._textfield.setVerticalAlign("middle"); >-this._textfield.setAppearance("spinner-text-field"); >-this.add(this._textfield); >-this._buttonlayout=new qx.ui.layout.VerticalBoxLayout; >-this._buttonlayout.setWidth("auto"); >-this.add(this._buttonlayout); >-this._upbutton=new qx.ui.basic.Image; >-this._upbutton.setAppearance("spinner-button-up"); >-this._upbutton.setHeight("1*"); >-this._buttonlayout.add(this._upbutton); >-this._downbutton=new qx.ui.basic.Image; >-this._downbutton.setAppearance("spinner-button-down"); >-this._downbutton.setHeight("1*"); >-this._buttonlayout.add(this._downbutton); >-this._timer=new qx.client.Timer(this.getInterval()); >-this.setManager(new qx.util.range.Range()); >-this.initWrap(); >-this.addEventListener("keypress", >-this._onkeypress, >-this); >-this.addEventListener("keydown", >-this._onkeydown, >-this); >-this.addEventListener("keyup", >-this._onkeyup, >-this); >+}}, >+defer:function(statics, >+members){members.getBoxWidth=members.getPreferredBoxWidth; >+members.getBoxHeight=members.getPreferredBoxHeight; >+members.getInnerWidth=members.getPreferredBoxWidth; >+members.getInnerHeight=members.getPreferredBoxHeight; >+}}); >+ >+ >+ >+ >+/* ID: qx.ui.form.ComboBox */ >+qx.Class.define("qx.ui.form.ComboBox", >+{extend:qx.ui.layout.HorizontalBoxLayout, >+construct:function(){this.base(arguments); >+var l=this._list=new qx.ui.form.List; >+l.setAppearance("combo-box-list"); >+l.setTabIndex(-1); >+l.setEdge(0); >+var m=this._manager=this._list.getManager(); >+m.setMultiSelection(false); >+m.setDragSelection(false); >+var p=this._popup=new qx.ui.popup.Popup; >+p.setAppearance("combo-box-popup"); >+p.setRestrictToPageLeft(-100000); >+p.setRestrictToPageRight(-100000); >+p.setAutoHide(false); >+p.setHeight("auto"); >+p.add(l); >+var f=this._field=new qx.ui.form.TextField; >+f.setAppearance("combo-box-text-field"); >+f.setTabIndex(-1); >+f.setWidth("1*"); >+f.setAllowStretchY(true); >+f.setHeight(null); >+this.add(f); >+var b=this._button=new qx.ui.basic.Atom; >+b.setAppearance("combo-box-button"); >+b.setAllowStretchY(true); >+b.setTabIndex(-1); >+b.setHeight(null); >+this.add(b); >+this.addEventListener("mousedown", >+this._onmousedown); >+this.addEventListener("mouseup", >+this._onmouseup); >+this.addEventListener("click", >+this._onclick); >+this.addEventListener("mouseover", >+this._onmouseover); > this.addEventListener("mousewheel", >-this._onmousewheel, >-this); >-this._textfield.addEventListener("changeValue", >-this._ontextchange, >+this._onmousewheel); >+this.addEventListener("keydown", >+this._onkeydown); >+this.addEventListener("keypress", >+this._onkeypress); >+this.addEventListener("keyinput", >+this._onkeyinput); >+this.addEventListener("beforeDisappear", >+this._onbeforedisappear); >+this._popup.addEventListener("appear", >+this._onpopupappear, > this); >-this._textfield.addEventListener("input", >+this._field.addEventListener("input", > this._oninput, > this); >-this._textfield.addEventListener("blur", >-this._onblur, >-this); >-this._upbutton.addEventListener("mousedown", >-this._onmousedown, >-this); >-this._downbutton.addEventListener("mousedown", >-this._onmousedown, >+qx.locale.Manager.getInstance().addEventListener("changeLocale", >+this._onlocalechange, > this); >-this._timer.addEventListener("interval", >-this._oninterval, >+var vDoc=qx.ui.core.ClientDocument.getInstance(); >+vDoc.addEventListener("windowblur", >+this._testClosePopup, > this); >-if(vMin!=null){this.setMin(vMin); >-} >-if(vMax!=null){this.setMax(vMax); >-} >-if(vValue!=null){this.setValue(vValue); >-}this._checkValue=this.__checkValue; >-this._numberFormat=null; >+this.remapChildrenHandlingTo(l); >+this.initEditable(); >+this.initTabIndex(); > this.initWidth(); > this.initHeight(); >-this._last_value=""; >+this.initMinWidth(); > }, >-events:{"change":"qx.event.type.DataEvent"}, >+events:{"beforeInitialOpen":"qx.event.type.Event"}, > properties:{appearance:{refine:true, >-init:"spinner"}, >+init:"combo-box"}, >+allowStretchY:{refine:true, >+init:false}, > width:{refine:true, >-init:60}, >+init:120}, > height:{refine:true, >-init:22}, >-incrementAmount:{check:"Number", >-init:1, >-apply:"_applyIncrementAmount"}, >-wheelIncrementAmount:{check:"Number", >+init:"auto"}, >+minWidth:{refine:true, >+init:40}, >+tabIndex:{refine:true, > init:1}, >-pageIncrementAmount:{check:"Number", >-init:10}, >-interval:{check:"Integer", >-init:100}, >-firstInterval:{check:"Integer", >-init:500}, >-minTimer:{check:"Integer", >-init:20}, >-timerDecrease:{check:"Integer", >-init:2}, >-amountGrowth:{check:"Number", >-init:1.01}, >-wrap:{check:"Boolean", >-init:false, >-apply:"_applyWrap"}, > editable:{check:"Boolean", >-init:true, >-apply:"_applyEditable"}, >-manager:{check:"qx.util.range.IRange", >-apply:"_applyManager", >-dispose:true}, >-checkValueFunction:{apply:"_applyCheckValueFunction"}, >-numberFormat:{check:"qx.util.format.NumberFormat", >-apply:"_applyNumberFormat"}, >-selectTextOnInteract:{check:"Boolean", >-init:true}}, >-members:{_applyIncrementAmount:function(value, >-old){this._computedIncrementAmount=value; >+apply:"_applyEditable", >+event:"changeEditable", >+init:false}, >+selected:{check:"qx.ui.form.ListItem", >+nullable:true, >+apply:"_applySelected", >+event:"changeSelected"}, >+value:{check:"String", >+nullable:true, >+apply:"_applyValue", >+event:"changeValue"}, >+pagingInterval:{check:"Integer", >+init:10}}, >+members:{getManager:function(){return this._manager; >+}, >+getPopup:function(){return this._popup; >+}, >+getList:function(){return this._list; >+}, >+getField:function(){return this._field; >+}, >+getButton:function(){return this._button; >+}, >+_applySelected:function(value, >+old){this._fromSelected=true; >+if(!this._fromValue){this.setValue(value?value.getLabel().toString():""); >+}this._manager.setLeadItem(value); >+this._manager.setAnchorItem(value); >+if(value){this._manager.setSelectedItem(value); >+}else{this._manager.deselectAll(); >+}delete this._fromSelected; >+}, >+_applyValue:function(value, >+old){this._fromValue=true; >+if(!this._fromInput){if(this._field.getValue()==value){this._field.setValue(null); >+}this._field.setValue(value); >+}delete this._fromValue; > }, > _applyEditable:function(value, >-old){if(this._textfield){this._textfield.setReadOnly(!value); >-}}, >-_applyWrap:function(value, >-old){this.getManager().setWrap(value); >-this._onchange(); >+old){var f=this._field; >+f.setReadOnly(!value); >+f.setCursor(value?null:"default"); >+f.setSelectable(value); > }, >-_applyManager:function(value, >-old){if(old){old.removeEventListener("change", >-this._onchange, >-this); >+_oldSelected:null, >+_openPopup:function(){var p=this._popup; >+var el=this.getElement(); >+if(!p.isCreated()){this.createDispatchEvent("beforeInitialOpen"); > } >-if(value){value.addEventListener("change", >-this._onchange, >-this); >-}this._onchange(); >+if(this._list.getChildrenLength()==0){return; >+}p.positionRelativeTo(el, >+1, >+qx.html.Dimension.getBoxHeight(el)); >+p.setWidth(this.getBoxWidth()-2); >+p.setParent(this.getTopLevelWidget()); >+p.show(); >+this._oldSelected=this.getSelected(); >+this.setCapture(true); > }, >-_applyCheckValueFunction:function(value, >-old){this._checkValue=value; >+_closePopup:function(){this._popup.hide(); >+this.setCapture(false); > }, >-_applyNumberFormat:function(value, >-old){this._numberFormat=value; >-this.getManager().setPrecision(value.getMaximumFractionDigits()); >-this._onchange(); >+_testClosePopup:function(){if(this._popup.isSeeable()){this._closePopup(); >+}}, >+_togglePopup:function(){this._popup.isSeeable()?this._closePopup():this._openPopup(); > }, >-_computePreferredInnerWidth:function(){return 50; >+_onpopupappear:function(e){var vSelItem=this.getSelected(); >+if(vSelItem){vSelItem.scrollIntoView(); >+}}, >+_oninput:function(e){this._fromInput=true; >+this.setValue(this._field.getComputedValue()); >+var vSelected=this.getSelected(); >+if(vSelected&&vSelected.getLabel()!=this.getValue()){this.resetSelected(); >+}delete this._fromInput; > }, >-_computePreferredInnerHeight:function(){return 14; >+_onbeforedisappear:function(e){this._testClosePopup(); > }, >-_onkeypress:function(e){var vIdentifier=e.getKeyIdentifier(); >-if(vIdentifier=="Enter"&&!e.isAltPressed()){this._checkValue(true, >-false); >-if(this.getSelectTextOnInteract()){this._textfield.selectAll(); >-}}else{switch(vIdentifier){case "Up":case "Down":case "Left":case "Right":case "Shift":case "Control":case "Alt":case "Escape":case "Delete":case "Backspace":case "Insert":case "Home":case "End":case "PageUp":case "PageDown":case "NumLock":case "Tab":break; >-default:if((vIdentifier>="0"&&vIdentifier<="9")||(vIdentifier=='-')){return; >-} >-if(this._numberFormat){var locale=this._numberFormat._locale; >-if((vIdentifier==qx.locale.Number.getGroupSeparator(locale))||(vIdentifier==qx.locale.Number.getDecimalSeparator(locale)))return; >-}if(e.getModifiers()==0){e.preventDefault(); >-}}}}, >-_onkeydown:function(e){var vIdentifier=e.getKeyIdentifier(); >-if(this._intervalIncrease==null){switch(vIdentifier){case "Up":case "Down":this._intervalIncrease=vIdentifier=="Up"; >-this._intervalMode="single"; >-this._resetIncrements(); >-this._checkValue(true, >-false); >-this._increment(); >-this._timer.startWith(this.getFirstInterval()); >-break; >-case "PageUp":case "PageDown":this._intervalIncrease=vIdentifier=="PageUp"; >-this._intervalMode="page"; >-this._resetIncrements(); >-this._checkValue(true, >-false); >-this._pageIncrement(); >-this._timer.startWith(this.getFirstInterval()); >+_onlocalechange:function(e){var selected=this.getSelected(); >+this._applySelected(selected, >+selected); >+}, >+_onmousedown:function(e){if(!e.isLeftButtonPressed()){return; >+}var vTarget=e.getTarget(); >+switch(vTarget){case this._field:if(this.getEditable()){break; >+}case this._button:this._button.addState("pressed"); >+this._togglePopup(); >+this.setCapture(true); > break; >+default:break; >+}e.stopPropagation(); >+}, >+_onclick:function(e){if(!e.isLeftButtonPressed()){return; >+}var vTarget=e.getTarget(); >+switch(vTarget){case this._field:case this._button:case this:case this._list:break; >+default:if(vTarget instanceof qx.ui.form.ListItem&&vTarget.getParent()==this._list){this._list._onmousedown(e); >+this.setSelected(this._list.getSelectedItem()); >+this._closePopup(); >+this.setFocused(true); >+}else if(this._popup.isSeeable()){this._popup.hide(); >+this.setCapture(false); > }}}, >-_onkeyup:function(e){if(this._intervalIncrease!=null){switch(e.getKeyIdentifier()){case "Up":case "Down":case "PageUp":case "PageDown":this._timer.stop(); >-this._intervalIncrease=null; >-this._intervalMode=null; >+_onmouseup:function(e){this._button.removeState("pressed"); >+if(!this._popup.isSeeable()){this.setCapture(false); >+}}, >+_onmouseover:function(e){var vTarget=e.getTarget(); >+if(vTarget instanceof qx.ui.form.ListItem){var vManager=this._manager; >+vManager.deselectAll(); >+vManager.setLeadItem(vTarget); >+vManager.setAnchorItem(vTarget); >+vManager.setSelectedItem(vTarget); >+}}, >+_onmousewheel:function(e){if(!this._popup.isSeeable()){var toSelect; >+var isSelected=this.getSelected(); >+if(e.getWheelDelta()<0){toSelect=isSelected?this._manager.getNext(isSelected):this._manager.getFirst(); >+}else{toSelect=isSelected?this._manager.getPrevious(isSelected):this._manager.getLast(); >+} >+if(toSelect){this.setSelected(toSelect); >+}}else{var vTarget=e.getTarget(); >+if(vTarget!=this&&vTarget.getParent()!=this._list){this._popup.hide(); >+this.setCapture(false); > }}}, >-_onmousedown:function(e){if(!e.isLeftButtonPressed()){return; >-}this._checkValue(true); >-var vButton=e.getCurrentTarget(); >-vButton.addState("pressed"); >-vButton.addEventListener("mouseup", >-this._onmouseup, >-this); >-vButton.addEventListener("mouseout", >-this._onmouseup, >-this); >-this._intervalIncrease=vButton==this._upbutton; >-this._resetIncrements(); >-this._increment(); >-if(this.getSelectTextOnInteract()){this._textfield.selectAll(); >-}this._timer.setInterval(this.getFirstInterval()); >-this._timer.start(); >+_onkeydown:function(e){var vManager=this._manager; >+var vVisible=this._popup.isSeeable(); >+switch(e.getKeyIdentifier()){case "Enter":if(vVisible){this.setSelected(this._manager.getSelectedItem()); >+this._closePopup(); >+this.setFocused(true); >+}else{this._openPopup(); >+}e.stopPropagation(); >+return; >+case "Escape":if(vVisible){vManager.setLeadItem(this._oldSelected); >+vManager.setAnchorItem(this._oldSelected); >+vManager.setSelectedItem(this._oldSelected); >+this._field.setValue(this._oldSelected?this._oldSelected.getLabel():""); >+this._closePopup(); >+this.setFocused(true); >+e.stopPropagation(); >+}return; >+case "Down":if(e.isAltPressed()){this._togglePopup(); >+return; >+}break; >+}}, >+_onkeypress:function(e){var vVisible=this._popup.isSeeable(); >+var vManager=this._manager; >+switch(e.getKeyIdentifier()){case "PageUp":if(!vVisible){var vPrevious; >+var vTemp=this.getSelected(); >+if(vTemp){var vInterval=this.getPagingInterval(); >+do{vPrevious=vTemp; >+}while(--vInterval&&(vTemp=vManager.getPrevious(vPrevious))); >+}else{vPrevious=vManager.getLast(); >+}this.setSelected(vPrevious); >+return; >+}break; >+case "PageDown":if(!vVisible){var vNext; >+var vTemp=this.getSelected(); >+if(vTemp){var vInterval=this.getPagingInterval(); >+do{vNext=vTemp; >+}while(--vInterval&&(vTemp=vManager.getNext(vNext))); >+}else{vNext=vManager.getFirst(); >+}this.setSelected(vNext||null); >+return; >+}break; >+}if(!this.isEditable()||vVisible){this._list._onkeypress(e); >+}}, >+_onkeyinput:function(e){var vVisible=this._popup.isSeeable(); >+if(!this.isEditable()||vVisible){this._list._onkeyinput(e); >+}}, >+_visualizeBlur:function(){this.getField()._visualizeBlur(); >+this.removeState("focused"); > }, >-_onmouseup:function(e){var vButton=e.getCurrentTarget(); >-vButton.removeState("pressed"); >-vButton.removeEventListener("mouseup", >-this._onmouseup, >+_visualizeFocus:function(){this.getField()._visualizeFocus(); >+this.getField().selectAll(); >+this.addState("focused"); >+}}, >+destruct:function(){if(this._popup&&!qx.core.Object.inGlobalDispose()){this._popup.setParent(null); >+}var vDoc=qx.ui.core.ClientDocument.getInstance(); >+vDoc.removeEventListener("windowblur", >+this._testClosePopup, > this); >-vButton.removeEventListener("mouseout", >-this._onmouseup, >+var vMgr=qx.locale.Manager.getInstance(); >+vMgr.removeEventListener("changeLocale", >+this._onlocalechange, > this); >-if(this.getSelectTextOnInteract()){this._textfield.selectAll(); >-}this._textfield.setFocused(true); >-this._timer.stop(); >-this._intervalIncrease=null; >-}, >-_onmousewheel:function(e){this._checkValue(true); >-if(this.getManager().incrementValue){this.getManager().incrementValue(this.getWheelIncrementAmount()*e.getWheelDelta()); >-}else{var value=this.getManager().getValue()+(this.getWheelIncrementAmount()*e.getWheelDelta()); >-value=this.getManager().limit(value); >-this.getManager().setValue(value); >-}this._textfield.selectAll(); >+this._disposeObjects("_popup", >+"_list", >+"_manager", >+"_field", >+"_button"); >+}}); >+ >+ >+ >+ >+/* ID: qx.ui.form.List */ >+qx.Class.define("qx.ui.form.List", >+{extend:qx.ui.layout.VerticalBoxLayout, >+construct:function(){this.base(arguments); >+this._manager=new qx.ui.selection.SelectionManager(this); >+this.addEventListener("mouseover", >+this._onmouseover); >+this.addEventListener("mousedown", >+this._onmousedown); >+this.addEventListener("mouseup", >+this._onmouseup); >+this.addEventListener("click", >+this._onclick); >+this.addEventListener("dblclick", >+this._ondblclick); >+this.addEventListener("keydown", >+this._onkeydown); >+this.addEventListener("keypress", >+this._onkeypress); >+this.addEventListener("keyinput", >+this._onkeyinput); >+this.initOverflow(); >+this.initTabIndex(); > }, >-_ontextchange:function(e){this._last_value=e.getOldValue(); >+properties:{appearance:{refine:true, >+init:"list"}, >+overflow:{refine:true, >+init:"hidden"}, >+tabIndex:{refine:true, >+init:1}, >+enableInlineFind:{check:"Boolean", >+init:true}, >+markLeadingItem:{check:"Boolean", >+init:false}}, >+members:{_pressedString:"", >+getManager:function(){return this._manager; > }, >-_oninput:function(e){this._checkValue(true, >-true); >+getListItemTarget:function(vItem){while(vItem!=null&&vItem.getParent()!=this){vItem=vItem.getParent(); >+}return vItem; > }, >-_onchange:function(e){var vValue=this.getManager().getValue(); >-if(this._numberFormat){this._textfield.setValue(this._numberFormat.format(vValue)); >-}else{this._textfield.setValue(String(vValue)); >-} >-if(vValue==this.getMin()&&!this.getWrap()){this._downbutton.removeState("pressed"); >-this._downbutton.setEnabled(false); >-this._timer.stop(); >-}else{this._downbutton.resetEnabled(); >-} >-if(vValue==this.getMax()&&!this.getWrap()){this._upbutton.removeState("pressed"); >-this._upbutton.setEnabled(false); >-this._timer.stop(); >-}else{this._upbutton.resetEnabled(); >-}this.createDispatchDataEvent("change", >-vValue); >+getSelectedItem:function(){return this.getSelectedItems()[0]||null; > }, >-_onblur:function(e){this._checkValue(false); >+getSelectedItems:function(){return this._manager.getSelectedItems(); > }, >-setValue:function(nValue){this.getManager().setValue(this.getManager().limit(nValue)); >+_onmouseover:function(e){var vItem=this.getListItemTarget(e.getTarget()); >+if(vItem){this._manager.handleMouseOver(vItem, >+e); >+}}, >+_onmousedown:function(e){var vItem=this.getListItemTarget(e.getTarget()); >+if(vItem){this._manager.handleMouseDown(vItem, >+e); >+}}, >+_onmouseup:function(e){var vItem=this.getListItemTarget(e.getTarget()); >+if(vItem){this._manager.handleMouseUp(vItem, >+e); >+}}, >+_onclick:function(e){var vItem=this.getListItemTarget(e.getTarget()); >+if(vItem){this._manager.handleClick(vItem, >+e); >+}}, >+_ondblclick:function(e){var vItem=this.getListItemTarget(e.getTarget()); >+if(vItem){this._manager.handleDblClick(vItem, >+e); >+}}, >+_onkeydown:function(e){if(e.getKeyIdentifier()=="Enter"&&!e.isAltPressed()){var items=this.getSelectedItems(); >+for(var i=0;i<items.length;i++){items[i].createDispatchEvent("action"); >+}}}, >+_onkeypress:function(e){this._manager.handleKeyPress(e); > }, >-getValue:function(){this._checkValue(true); >-return this.getManager().getValue(); >+_lastKeyPress:0, >+_onkeyinput:function(e){if(!this.getEnableInlineFind()){return; >+}if(((new Date).valueOf()-this._lastKeyPress)>1000){this._pressedString=""; >+}this._pressedString+=String.fromCharCode(e.getCharCode()); >+var matchedItem=this.findString(this._pressedString, >+null); >+if(matchedItem){var oldVal=this._manager._getChangeValue(); >+var oldFireChange=this._manager.getFireChange(); >+this._manager.setFireChange(false); >+this._manager._deselectAll(); >+this._manager.setItemSelected(matchedItem, >+true); >+this._manager.setAnchorItem(matchedItem); >+this._manager.setLeadItem(matchedItem); >+matchedItem.scrollIntoView(); >+this._manager.setFireChange(oldFireChange); >+if(oldFireChange&&this._manager._hasChanged(oldVal)){this._manager._dispatchChange(); >+}}this._lastKeyPress=(new Date).valueOf(); >+e.preventDefault(); > }, >-resetValue:function(){this.getManager().resetValue(); >+_findItem:function(vUserValue, >+vStartIndex, >+vType){var vAllItems=this.getChildren(); >+if(vStartIndex==null){vStartIndex=vAllItems.indexOf(this.getSelectedItem()); >+if(vStartIndex==-1){vStartIndex=0; >+}}var methodName="matches"+vType; >+for(var i=vStartIndex;i<vAllItems.length;i++){if(vAllItems[i][methodName](vUserValue)){return vAllItems[i]; >+}}for(var i=0;i<vStartIndex;i++){if(vAllItems[i][methodName](vUserValue)){return vAllItems[i]; >+}}return null; > }, >-setMax:function(vMax){return this.getManager().setMax(vMax); >+findString:function(vText, >+vStartIndex){return this._findItem(vText, >+vStartIndex||0, >+"String"); > }, >-getMax:function(){return this.getManager().getMax(); >+findStringExact:function(vText, >+vStartIndex){return this._findItem(vText, >+vStartIndex||0, >+"StringExact"); > }, >-setMin:function(vMin){return this.getManager().setMin(vMin); >+findValue:function(vText, >+vStartIndex){return this._findItem(vText, >+vStartIndex||0, >+"Value"); > }, >-getMin:function(){return this.getManager().getMin(); >+findValueExact:function(vText, >+vStartIndex){return this._findItem(vText, >+vStartIndex||0, >+"ValueExact"); > }, >-_intervalIncrease:null, >-_oninterval:function(e){this._timer.stop(); >-this.setInterval(Math.max(this.getMinTimer(), >-this.getInterval()-this.getTimerDecrease())); >-if(this._intervalMode=="page"){this._pageIncrement(); >-}else{if(this.getInterval()==this.getMinTimer()){this._computedIncrementAmount=this.getAmountGrowth()*this._computedIncrementAmount; >-}this._increment(); >-}var wrap=this.getManager().getWrap(); >-switch(this._intervalIncrease){case true:if(this.getValue()==this.getMax()&&!wrap){return; >-}case false:if(this.getValue()==this.getMin()&&!wrap){return; >-}}this._timer.restartWith(this.getInterval()); >+_sortItemsCompare:function(a, >+b){return a.key<b.key?-1:a.key==b.key?0:1; > }, >-__checkValue:function(acceptEmpty, >-acceptEdit){var el=this._textfield.getInputElement(); >-if(!el){return; >-} >-if((el.value=="")||(el.value=="-")){if(!acceptEmpty){this.resetValue(); >-return; >-}}else{var str_val=el.value; >-var parsable_str; >-if(this._numberFormat){var groupSepEsc=qx.lang.String.escapeRegexpChars(qx.locale.Number.getGroupSeparator(this._numberFormat._locale)+""); >-var decimalSepEsc=qx.lang.String.escapeRegexpChars(qx.locale.Number.getDecimalSeparator(this._numberFormat._locale)+""); >-parsable_str=str_val.replace(new RegExp(decimalSepEsc), >-"."); >-parsable_str=parsable_str.replace(new RegExp(groupSepEsc, >-"g"), >-""); >-}else{parsable_str=str_val; >-}var val=parseFloat(parsable_str); >-var limitedVal=this.getManager().limit(val); >-var oldValue=this.getManager().getValue(); >-var fixedVal=limitedVal; >-if(isNaN(val)||(limitedVal!=val)||(val!=parsable_str)){if(acceptEdit){this._textfield.setValue(this._last_value); >-}else{if(isNaN(limitedVal)){fixedVal=oldValue; >-}else{fixedVal=limitedVal; >-}}} >-if(acceptEdit)return; >-var formattedValue; >-if(this._numberFormat){formattedValue=this._numberFormat.format(fixedVal); >-}else{formattedValue=String(fixedVal); >+sortItemsByString:function(vReverse){var sortitems=[]; >+var items=this.getChildren(); >+for(var i=0, >+l=items.length;i<l;i++){sortitems[i]={key:items[i].getLabel(), >+item:items[i]}; >+}sortitems.sort(this._sortItemsCompare); >+if(vReverse){sortitems.reverse(); > } >-if((fixedVal===oldValue)&&(str_val!==formattedValue)){this._textfield.setValue(formattedValue); >-}this.getManager().setValue(fixedVal); >-}}, >-_increment:function(){if(this.getManager().incrementValue){this.getManager().incrementValue((this._intervalIncrease?1:-1)*this._computedIncrementAmount); >-}else{var value=this.getManager().getValue()+((this._intervalIncrease?1:-1)*this._computedIncrementAmount); >-value=this.getManager().limit(value); >-this.getManager().setValue(value); >-}}, >-_pageIncrement:function(){if(this.getManager().pageIncrementValue){this.getManager().pageIncrementValue(); >-}else{var value=this.getManager().getValue()+((this._intervalIncrease?1:-1)*this.getPageIncrementAmount()); >-value=this.getManager().limit(value); >-this.getManager().setValue(value); >-}}, >-_resetIncrements:function(){this._computedIncrementAmount=this.getIncrementAmount(); >-this.resetInterval(); >+for(var i=0;i<l;i++){this.addAt(sortitems[i].item, >+i); > }}, >-destruct:function(){var mgr=this.getManager(); >-if(mgr){mgr.dispose(); >-}this._disposeObjects("_textfield", >-"_buttonlayout", >-"_upbutton", >-"_downbutton", >-"_timer"); >+sortItemsByValue:function(vReverse){var sortitems=[]; >+var items=this.getChildren(); >+for(var i=0, >+l=items.length;i<l;i++){sortitems[i]={key:items[i].getValue(), >+item:items[i]}; >+}sortitems.sort(this._sortItemsCompare); >+if(vReverse){sortitems.reverse(); >+} >+for(var i=0;i<l;i++){this.addAt(sortitems[i].item, >+i); >+}}}, >+destruct:function(){this._disposeObjects("_manager"); > }}); > > >@@ -16576,443 +16701,230 @@ > _applyEnabled:function(value, > old){if(this._inputElement){this._inputElement.disabled=value===false; > }return this.base(arguments, >-value, >-old); >-}, >-_applyValue:function(value, >-old){this._inValueProperty=true; >-if(this._inputElement){if(value===null){value=""; >-} >-if(this._inputElement.value!==value){this._inputElement.value=value; >-}}delete this._inValueProperty; >-}, >-_applyMaxLength:function(value, >-old){if(this._inputElement){this._inputElement.maxLength=value==null?"":value; >-}}, >-_applyReadOnly:function(value, >-old){if(this._inputElement){this._inputElement.readOnly=value; >-} >-if(value){this.addState("readonly"); >-}else{this.removeState("readonly"); >-}}, >-_applyTextColor:function(value, >-old){qx.theme.manager.Color.getInstance().connect(this._styleTextColor, >-this, >-value); >-}, >-_styleTextColor:function(value){this.__textColor=value; >-this._renderTextColor(); >-}, >-_renderTextColor:function(){var inp=this._inputElement; >-if(inp){inp.style.color=this.__textColor||""; >-}}, >-_applyFont:function(value, >-old){qx.theme.manager.Font.getInstance().connect(this._styleFont, >-this, >-value); >-}, >-_styleFont:function(value){this.__font=value; >-this._renderFont(); >-}, >-_renderFont:function(){var inp=this._inputElement; >-if(inp){var value=this.__font; >-value?value.renderElement(inp):qx.ui.core.Font.resetElement(inp); >-}}, >-_visualizeFocus:function(){this.base(arguments); >-if(!qx.event.handler.FocusHandler.mouseFocus&&this.getEnableElementFocus()){try{this._inputElement.focus(); >-}catch(ex){}}}, >-_visualizeBlur:function(){this.base(arguments); >-if(!qx.event.handler.FocusHandler.mouseFocus){try{this._inputElement.blur(); >-}catch(ex){}}}, >-getComputedValue:function(){if(this._inputElement){return this._inputElement.value; >-}return this.getValue(); >-}, >-getInputElement:function(){return this._inputElement||null; >-}, >-isValid:function(){var vValidator=this.getValidator(); >-return !vValidator||vValidator(this.getValue()); >-}, >-isComputedValid:function(){var vValidator=this.getValidator(); >-return !vValidator||vValidator(this.getComputedValue()); >-}, >-_computePreferredInnerWidth:function(){return 120; >-}, >-_computePreferredInnerHeight:function(){return 16; >-}, >-_ieFirstInputFix:qx.core.Variant.select("qx.client", >-{"mshtml":function(){this._inValueProperty=true; >-this._inputElement.value=this.getValue()===null?"":this.getValue(); >-this._firstInputFixApplied=true; >-delete this._inValueProperty; >-}, >-"default":null}), >-_afterAppear:qx.core.Variant.select("qx.client", >-{"mshtml":function(){this.base(arguments); >-if(!this._firstInputFixApplied&&this._inputElement){qx.client.Timer.once(this._ieFirstInputFix, >-this, >-1); >-}}, >-"default":function(){this.base(arguments); >-}}), >-_firstInputFixApplied:false, >-_textOnFocus:null, >-_oninputDom:qx.core.Variant.select("qx.client", >-{"mshtml":function(e){if(!this._inValueProperty&&e.propertyName==="value"){this.createDispatchDataEvent("input", >-this.getComputedValue()); >-}}, >-"default":function(e){this.createDispatchDataEvent("input", >-this.getComputedValue()); >-}}), >-_ontabfocus:function(){this.selectAll(); >-}, >-_onfocus:function(){this._textOnFocus=this.getComputedValue(); >-}, >-_onblur:function(){var vValue=this.getComputedValue().toString(); >-if(this._textOnFocus!=vValue){this.setValue(vValue); >-}if(this.getParent()!=null){this.setSelectionLength(0); >-}}, >-_oninput:function(){if(!this.isLiveUpdate()){return; >-}var vValue=this.getComputedValue().toString(); >-this.setValue(vValue); >-}, >-_onkeydown:function(e){if(e.getKeyIdentifier()=="Backspace"&&this.getReadOnly()){e.preventDefault(); >-}}, >-__getRange:qx.core.Variant.select("qx.client", >-{"mshtml":function(){this._visualPropertyCheck(); >-return this._inputElement.createTextRange(); >-}, >-"default":null}), >-__getSelectionRange:qx.core.Variant.select("qx.client", >-{"mshtml":function(){this._visualPropertyCheck(); >-return this.getTopLevelWidget().getDocumentElement().selection.createRange(); >-}, >-"default":null}), >-setSelectionStart:qx.core.Variant.select("qx.client", >-{"mshtml":function(vStart){this._visualPropertyCheck(); >-var vText=this._inputElement.value; >-var i=0; >-while(i<vStart){i=vText.indexOf("\r\n", >-i); >-if(i==-1){break; >-}vStart--; >-i++; >-}var vRange=this.__getRange(); >-vRange.collapse(); >-vRange.move("character", >-vStart); >-vRange.select(); >-}, >-"default":function(vStart){this._visualPropertyCheck(); >-this._inputElement.selectionStart=vStart; >-}}), >-getSelectionStart:qx.core.Variant.select("qx.client", >-{"mshtml":function(){this._visualPropertyCheck(); >-var vSelectionRange=this.__getSelectionRange(); >-if(!this._inputElement.contains(vSelectionRange.parentElement())){return -1; >-}var vRange=this.__getRange(); >-var len=this._inputElement.value.length; >-vRange.moveToBookmark(vSelectionRange.getBookmark()); >-vRange.moveEnd('character', >-len); >-return len-vRange.text.length; >-}, >-"default":function(){this._visualPropertyCheck(); >-return this._inputElement.selectionStart; >-}}), >-setSelectionLength:qx.core.Variant.select("qx.client", >-{"mshtml":function(vLength){this._visualPropertyCheck(); >-var vSelectionRange=this.__getSelectionRange(); >-if(!this._inputElement.contains(vSelectionRange.parentElement())){return; >-}vSelectionRange.collapse(); >-vSelectionRange.moveEnd("character", >-vLength); >-vSelectionRange.select(); >+value, >+old); > }, >-"default":function(vLength){this._visualPropertyCheck(); >-var el=this._inputElement; >-if(qx.util.Validation.isValidString(el.value)&&this.getVisibility()){el.selectionEnd=el.selectionStart+vLength; >-}}}), >-getSelectionLength:qx.core.Variant.select("qx.client", >-{"mshtml":function(){this._visualPropertyCheck(); >-var vSelectionRange=this.__getSelectionRange(); >-if(!this._inputElement.contains(vSelectionRange.parentElement())){return 0; >-}return vSelectionRange.text.length; >+_applyValue:function(value, >+old){this._inValueProperty=true; >+if(this._inputElement){if(value===null){value=""; >+} >+if(this._inputElement.value!==value){this._inputElement.value=value; >+}}delete this._inValueProperty; > }, >-"default":function(){this._visualPropertyCheck(); >-var el=this._inputElement; >-return el.selectionEnd-el.selectionStart; >-}}), >-setSelectionText:qx.core.Variant.select("qx.client", >-{"mshtml":function(vText){this._visualPropertyCheck(); >-var vStart=this.getSelectionStart(); >-var vSelectionRange=this.__getSelectionRange(); >-if(!this._inputElement.contains(vSelectionRange.parentElement())){return; >-}vSelectionRange.text=vText; >-this.setValue(this._inputElement.value); >-this.setSelectionStart(vStart); >-this.setSelectionLength(vText.length); >+_applyMaxLength:function(value, >+old){if(this._inputElement){this._inputElement.maxLength=value==null?"":value; >+}}, >+_applyReadOnly:function(value, >+old){if(this._inputElement){this._inputElement.readOnly=value; >+} >+if(value){this.addState("readonly"); >+}else{this.removeState("readonly"); >+}}, >+_applyTextColor:function(value, >+old){qx.theme.manager.Color.getInstance().connect(this._styleTextColor, >+this, >+value); > }, >-"default":function(vText){this._visualPropertyCheck(); >-var el=this._inputElement; >-var vOldText=el.value; >-var vStart=el.selectionStart; >-var vOldTextBefore=vOldText.substr(0, >-vStart); >-var vOldTextAfter=vOldText.substr(el.selectionEnd); >-var vValue=el.value=vOldTextBefore+vText+vOldTextAfter; >-el.selectionStart=vStart; >-el.selectionEnd=vStart+vText.length; >-this.setValue(vValue); >-}}), >-getSelectionText:qx.core.Variant.select("qx.client", >-{"mshtml":function(){this._visualPropertyCheck(); >-var vSelectionRange=this.__getSelectionRange(); >-if(!this._inputElement.contains(vSelectionRange.parentElement())){return ""; >-}return vSelectionRange.text; >+_styleTextColor:function(value){this.__textColor=value; >+this._renderTextColor(); > }, >-"default":function(){this._visualPropertyCheck(); >-return this._inputElement.value.substr(this.getSelectionStart(), >-this.getSelectionLength()); >-}}), >-selectAll:function(){this._visualPropertyCheck(); >-if(this.getValue()!=null){this.setSelectionStart(0); >-this.setSelectionLength(this._inputElement.value.length); >-}this._inputElement.select(); >-this._inputElement.focus(); >+_renderTextColor:function(){var inp=this._inputElement; >+if(inp){inp.style.color=this.__textColor||""; >+}}, >+_applyFont:function(value, >+old){qx.theme.manager.Font.getInstance().connect(this._styleFont, >+this, >+value); > }, >-selectFromTo:qx.core.Variant.select("qx.client", >-{"mshtml":function(vStart, >-vEnd){this._visualPropertyCheck(); >-this.setSelectionStart(vStart); >-this.setSelectionLength(vEnd-vStart); >+_styleFont:function(value){this.__font=value; >+this._renderFont(); > }, >-"default":function(vStart, >-vEnd){this._visualPropertyCheck(); >-var el=this._inputElement; >-el.selectionStart=vStart; >-el.selectionEnd=vEnd; >-}})}, >-destruct:function(){if(this._inputElement){if(qx.core.Variant.isSet("qx.client", >-"mshtml")){this._inputElement.onpropertychange=null; >-}else{this._inputElement.removeEventListener("input", >-this.__oninput, >-false); >-}}this._disposeFields("_inputElement", >-"__font", >-"__oninput"); >-}}); >- >- >- >- >-/* ID: qx.util.range.IRange */ >-qx.Interface.define("qx.util.range.IRange", >-{properties:{value:{}, >-min:{}, >-max:{}, >-wrap:{}}, >-members:{limit:function(value){return true; >-}}}); >- >- >- >- >-/* ID: qx.util.range.Range */ >-qx.Class.define("qx.util.range.Range", >-{extend:qx.core.Target, >-implement:[qx.util.range.IRange], >-events:{"change":"qx.event.type.Event"}, >-properties:{value:{check:"!isNaN(value)&&value>=this.getMin()&&value<=this.getMax()", >-nullable:true, >-event:"change", >-init:0}, >-precision:{check:"Integer", >-nullable:true, >-event:"change", >-init:0}, >-min:{check:"Number", >-apply:"_applyMin", >-event:"change", >-init:0}, >-max:{check:"Number", >-apply:"_applyMax", >-event:"change", >-init:100}, >-wrap:{check:"Boolean", >-init:false}}, >-members:{_applyMax:function(value, >-old){this.setValue(Math.min(this.getValue(), >-value)); >+_renderFont:function(){var inp=this._inputElement; >+if(inp){var value=this.__font; >+value?value.renderElement(inp):qx.ui.core.Font.resetElement(inp); >+}}, >+_visualizeFocus:function(){this.base(arguments); >+if(!qx.event.handler.FocusHandler.mouseFocus&&this.getEnableElementFocus()){try{this._inputElement.focus(); >+}catch(ex){}}}, >+_visualizeBlur:function(){this.base(arguments); >+if(!qx.event.handler.FocusHandler.mouseFocus){try{this._inputElement.blur(); >+}catch(ex){}}}, >+getComputedValue:function(){if(this._inputElement){return this._inputElement.value; >+}return this.getValue(); > }, >-_applyMin:function(value, >-old){this.setValue(Math.max(this.getValue(), >-value)); >+getInputElement:function(){return this._inputElement||null; > }, >-limit:function(value){var precision=this.getPrecision(); >-if(precision!=null)var mover=Math.pow(10, >-precision); >-if(this.getWrap()){if(precision!=null){var value=Math.round(value*mover)/mover; >-} >-if(value<this.getMin()){return (this.getMax()-(this.getMin()-value))+1; >-} >-if(value>this.getMax()){return (this.getMin()+(value-this.getMax()))-1; >-}} >-if(value<this.getMin()){return this.getMin(); >-} >-if(value>this.getMax()){return this.getMax(); >-} >-if(precision!=null){return Math.round(value*mover)/mover; >-}else{return value; >-}}}}); >- >- >- >- >-/* ID: qx.ui.form.List */ >-qx.Class.define("qx.ui.form.List", >-{extend:qx.ui.layout.VerticalBoxLayout, >-construct:function(){this.base(arguments); >-this._manager=new qx.ui.selection.SelectionManager(this); >-this.addEventListener("mouseover", >-this._onmouseover); >-this.addEventListener("mousedown", >-this._onmousedown); >-this.addEventListener("mouseup", >-this._onmouseup); >-this.addEventListener("click", >-this._onclick); >-this.addEventListener("dblclick", >-this._ondblclick); >-this.addEventListener("keydown", >-this._onkeydown); >-this.addEventListener("keypress", >-this._onkeypress); >-this.addEventListener("keyinput", >-this._onkeyinput); >-this.initOverflow(); >-this.initTabIndex(); >+isValid:function(){var vValidator=this.getValidator(); >+return !vValidator||vValidator(this.getValue()); > }, >-properties:{appearance:{refine:true, >-init:"list"}, >-overflow:{refine:true, >-init:"hidden"}, >-tabIndex:{refine:true, >-init:1}, >-enableInlineFind:{check:"Boolean", >-init:true}, >-markLeadingItem:{check:"Boolean", >-init:false}}, >-members:{_pressedString:"", >-getManager:function(){return this._manager; >+isComputedValid:function(){var vValidator=this.getValidator(); >+return !vValidator||vValidator(this.getComputedValue()); > }, >-getListItemTarget:function(vItem){while(vItem!=null&&vItem.getParent()!=this){vItem=vItem.getParent(); >-}return vItem; >+_computePreferredInnerWidth:function(){return 120; > }, >-getSelectedItem:function(){return this.getSelectedItems()[0]||null; >+_computePreferredInnerHeight:function(){return 16; > }, >-getSelectedItems:function(){return this._manager.getSelectedItems(); >+_ieFirstInputFix:qx.core.Variant.select("qx.client", >+{"mshtml":function(){this._inValueProperty=true; >+this._inputElement.value=this.getValue()===null?"":this.getValue(); >+this._firstInputFixApplied=true; >+delete this._inValueProperty; > }, >-_onmouseover:function(e){var vItem=this.getListItemTarget(e.getTarget()); >-if(vItem){this._manager.handleMouseOver(vItem, >-e); >-}}, >-_onmousedown:function(e){var vItem=this.getListItemTarget(e.getTarget()); >-if(vItem){this._manager.handleMouseDown(vItem, >-e); >+"default":null}), >+_afterAppear:qx.core.Variant.select("qx.client", >+{"mshtml":function(){this.base(arguments); >+if(!this._firstInputFixApplied&&this._inputElement){qx.client.Timer.once(this._ieFirstInputFix, >+this, >+1); > }}, >-_onmouseup:function(e){var vItem=this.getListItemTarget(e.getTarget()); >-if(vItem){this._manager.handleMouseUp(vItem, >-e); >+"default":function(){this.base(arguments); >+}}), >+_firstInputFixApplied:false, >+_textOnFocus:null, >+_oninputDom:qx.core.Variant.select("qx.client", >+{"mshtml":function(e){if(!this._inValueProperty&&e.propertyName==="value"){this.createDispatchDataEvent("input", >+this.getComputedValue()); > }}, >-_onclick:function(e){var vItem=this.getListItemTarget(e.getTarget()); >-if(vItem){this._manager.handleClick(vItem, >-e); >+"default":function(e){this.createDispatchDataEvent("input", >+this.getComputedValue()); >+}}), >+_ontabfocus:function(){this.selectAll(); >+}, >+_onfocus:function(){this._textOnFocus=this.getComputedValue(); >+}, >+_onblur:function(){var vValue=this.getComputedValue().toString(); >+if(this._textOnFocus!=vValue){this.setValue(vValue); >+}if(this.getParent()!=null){this.setSelectionLength(0); > }}, >-_ondblclick:function(e){var vItem=this.getListItemTarget(e.getTarget()); >-if(vItem){this._manager.handleDblClick(vItem, >-e); >+_oninput:function(){if(!this.isLiveUpdate()){return; >+}var vValue=this.getComputedValue().toString(); >+this.setValue(vValue); >+}, >+_onkeydown:function(e){if(e.getKeyIdentifier()=="Backspace"&&this.getReadOnly()){e.preventDefault(); > }}, >-_onkeydown:function(e){if(e.getKeyIdentifier()=="Enter"&&!e.isAltPressed()){var items=this.getSelectedItems(); >-for(var i=0;i<items.length;i++){items[i].createDispatchEvent("action"); >-}}}, >-_onkeypress:function(e){this._manager.handleKeyPress(e); >+__getRange:qx.core.Variant.select("qx.client", >+{"mshtml":function(){this._visualPropertyCheck(); >+return this._inputElement.createTextRange(); > }, >-_lastKeyPress:0, >-_onkeyinput:function(e){if(!this.getEnableInlineFind()){return; >-}if(((new Date).valueOf()-this._lastKeyPress)>1000){this._pressedString=""; >-}this._pressedString+=String.fromCharCode(e.getCharCode()); >-var matchedItem=this.findString(this._pressedString, >-null); >-if(matchedItem){var oldVal=this._manager._getChangeValue(); >-var oldFireChange=this._manager.getFireChange(); >-this._manager.setFireChange(false); >-this._manager._deselectAll(); >-this._manager.setItemSelected(matchedItem, >-true); >-this._manager.setAnchorItem(matchedItem); >-this._manager.setLeadItem(matchedItem); >-matchedItem.scrollIntoView(); >-this._manager.setFireChange(oldFireChange); >-if(oldFireChange&&this._manager._hasChanged(oldVal)){this._manager._dispatchChange(); >-}}this._lastKeyPress=(new Date).valueOf(); >-e.preventDefault(); >+"default":null}), >+__getSelectionRange:qx.core.Variant.select("qx.client", >+{"mshtml":function(){this._visualPropertyCheck(); >+return this.getTopLevelWidget().getDocumentElement().selection.createRange(); > }, >-_findItem:function(vUserValue, >-vStartIndex, >-vType){var vAllItems=this.getChildren(); >-if(vStartIndex==null){vStartIndex=vAllItems.indexOf(this.getSelectedItem()); >-if(vStartIndex==-1){vStartIndex=0; >-}}var methodName="matches"+vType; >-for(var i=vStartIndex;i<vAllItems.length;i++){if(vAllItems[i][methodName](vUserValue)){return vAllItems[i]; >-}}for(var i=0;i<vStartIndex;i++){if(vAllItems[i][methodName](vUserValue)){return vAllItems[i]; >-}}return null; >+"default":null}), >+setSelectionStart:qx.core.Variant.select("qx.client", >+{"mshtml":function(vStart){this._visualPropertyCheck(); >+var vText=this._inputElement.value; >+var i=0; >+while(i<vStart){i=vText.indexOf("\r\n", >+i); >+if(i==-1){break; >+}vStart--; >+i++; >+}var vRange=this.__getRange(); >+vRange.collapse(); >+vRange.move("character", >+vStart); >+vRange.select(); > }, >-findString:function(vText, >-vStartIndex){return this._findItem(vText, >-vStartIndex||0, >-"String"); >+"default":function(vStart){this._visualPropertyCheck(); >+this._inputElement.selectionStart=vStart; >+}}), >+getSelectionStart:qx.core.Variant.select("qx.client", >+{"mshtml":function(){this._visualPropertyCheck(); >+var vSelectionRange=this.__getSelectionRange(); >+if(!this._inputElement.contains(vSelectionRange.parentElement())){return -1; >+}var vRange=this.__getRange(); >+var len=this._inputElement.value.length; >+vRange.moveToBookmark(vSelectionRange.getBookmark()); >+vRange.moveEnd('character', >+len); >+return len-vRange.text.length; > }, >-findStringExact:function(vText, >-vStartIndex){return this._findItem(vText, >-vStartIndex||0, >-"StringExact"); >+"default":function(){this._visualPropertyCheck(); >+return this._inputElement.selectionStart; >+}}), >+setSelectionLength:qx.core.Variant.select("qx.client", >+{"mshtml":function(vLength){this._visualPropertyCheck(); >+var vSelectionRange=this.__getSelectionRange(); >+if(!this._inputElement.contains(vSelectionRange.parentElement())){return; >+}vSelectionRange.collapse(); >+vSelectionRange.moveEnd("character", >+vLength); >+vSelectionRange.select(); > }, >-findValue:function(vText, >-vStartIndex){return this._findItem(vText, >-vStartIndex||0, >-"Value"); >+"default":function(vLength){this._visualPropertyCheck(); >+var el=this._inputElement; >+if(qx.util.Validation.isValidString(el.value)&&this.getVisibility()){el.selectionEnd=el.selectionStart+vLength; >+}}}), >+getSelectionLength:qx.core.Variant.select("qx.client", >+{"mshtml":function(){this._visualPropertyCheck(); >+var vSelectionRange=this.__getSelectionRange(); >+if(!this._inputElement.contains(vSelectionRange.parentElement())){return 0; >+}return vSelectionRange.text.length; > }, >-findValueExact:function(vText, >-vStartIndex){return this._findItem(vText, >-vStartIndex||0, >-"ValueExact"); >+"default":function(){this._visualPropertyCheck(); >+var el=this._inputElement; >+return el.selectionEnd-el.selectionStart; >+}}), >+setSelectionText:qx.core.Variant.select("qx.client", >+{"mshtml":function(vText){this._visualPropertyCheck(); >+var vStart=this.getSelectionStart(); >+var vSelectionRange=this.__getSelectionRange(); >+if(!this._inputElement.contains(vSelectionRange.parentElement())){return; >+}vSelectionRange.text=vText; >+this.setValue(this._inputElement.value); >+this.setSelectionStart(vStart); >+this.setSelectionLength(vText.length); > }, >-_sortItemsCompare:function(a, >-b){return a.key<b.key?-1:a.key==b.key?0:1; >+"default":function(vText){this._visualPropertyCheck(); >+var el=this._inputElement; >+var vOldText=el.value; >+var vStart=el.selectionStart; >+var vOldTextBefore=vOldText.substr(0, >+vStart); >+var vOldTextAfter=vOldText.substr(el.selectionEnd); >+var vValue=el.value=vOldTextBefore+vText+vOldTextAfter; >+el.selectionStart=vStart; >+el.selectionEnd=vStart+vText.length; >+this.setValue(vValue); >+}}), >+getSelectionText:qx.core.Variant.select("qx.client", >+{"mshtml":function(){this._visualPropertyCheck(); >+var vSelectionRange=this.__getSelectionRange(); >+if(!this._inputElement.contains(vSelectionRange.parentElement())){return ""; >+}return vSelectionRange.text; > }, >-sortItemsByString:function(vReverse){var sortitems=[]; >-var items=this.getChildren(); >-for(var i=0, >-l=items.length;i<l;i++){sortitems[i]={key:items[i].getLabel(), >-item:items[i]}; >-}sortitems.sort(this._sortItemsCompare); >-if(vReverse){sortitems.reverse(); >-} >-for(var i=0;i<l;i++){this.addAt(sortitems[i].item, >-i); >-}}, >-sortItemsByValue:function(vReverse){var sortitems=[]; >-var items=this.getChildren(); >-for(var i=0, >-l=items.length;i<l;i++){sortitems[i]={key:items[i].getValue(), >-item:items[i]}; >-}sortitems.sort(this._sortItemsCompare); >-if(vReverse){sortitems.reverse(); >-} >-for(var i=0;i<l;i++){this.addAt(sortitems[i].item, >-i); >-}}}, >-destruct:function(){this._disposeObjects("_manager"); >+"default":function(){this._visualPropertyCheck(); >+return this._inputElement.value.substr(this.getSelectionStart(), >+this.getSelectionLength()); >+}}), >+selectAll:function(){this._visualPropertyCheck(); >+if(this.getValue()!=null){this.setSelectionStart(0); >+this.setSelectionLength(this._inputElement.value.length); >+}this._inputElement.select(); >+this._inputElement.focus(); >+}, >+selectFromTo:qx.core.Variant.select("qx.client", >+{"mshtml":function(vStart, >+vEnd){this._visualPropertyCheck(); >+this.setSelectionStart(vStart); >+this.setSelectionLength(vEnd-vStart); >+}, >+"default":function(vStart, >+vEnd){this._visualPropertyCheck(); >+var el=this._inputElement; >+el.selectionStart=vStart; >+el.selectionEnd=vEnd; >+}})}, >+destruct:function(){if(this._inputElement){if(qx.core.Variant.isSet("qx.client", >+"mshtml")){this._inputElement.onpropertychange=null; >+}else{this._inputElement.removeEventListener("input", >+this.__oninput, >+false); >+}}this._disposeFields("_inputElement", >+"__font", >+"__oninput"); > }}); > > >@@ -17070,6 +16982,14 @@ > > > >+/* ID: qx.ui.form.PasswordField */ >+qx.Class.define("qx.ui.form.PasswordField", >+{extend:qx.ui.form.TextField, >+members:{_inputType:"password"}}); >+ >+ >+ >+ > /* ID: qx.ui.form.RadioButton */ > qx.Class.define("qx.ui.form.RadioButton", > {extend:qx.ui.form.CheckBox, >@@ -17107,348 +17027,448 @@ > if(this.getManager()){this.getManager().setName(value); > }}, > _applyValue:function(value, >-old){if(this.isCreated()&&this._iconObject){this._iconObject.setValue(value); >-}}, >-_onkeydown:function(e){if(e.getKeyIdentifier()=="Enter"&&!e.isAltPressed()){this.setChecked(true); >-}}, >-_onkeypress:function(e){switch(e.getKeyIdentifier()){case "Left":case "Up":qx.event.handler.FocusHandler.mouseFocus=false; >-qx.event.handler.FocusHandler.mouseFocus=false; >-return this.getManager()?this.getManager().selectPrevious(this):true; >-case "Right":case "Down":qx.event.handler.FocusHandler.mouseFocus=false; >-return this.getManager()?this.getManager().selectNext(this):true; >-}}, >-_onclick:function(e){this.setChecked(true); >-}, >-_onkeyup:function(e){if(e.getKeyIdentifier()=="Space"){this.setChecked(true); >-}}}}); >- >- >- >- >-/* ID: qx.ui.form.TextArea */ >-qx.Class.define("qx.ui.form.TextArea", >-{extend:qx.ui.form.TextField, >-properties:{appearance:{refine:true, >-init:"text-area"}, >-allowStretchY:{refine:true, >-init:true}, >-spellCheck:{refine:true, >-init:true}, >-wrap:{check:"Boolean", >-init:true, >-apply:"_applyWrap"}}, >-members:{_inputTag:"textarea", >-_inputType:null, >-_inputOverflow:"auto", >-_applyElement:function(value, >-old){this.base(arguments, >-value, >-old); >-this._styleWrap(); >-}, >-_applyWrap:function(value, >-old){this._styleWrap(); >-}, >-_styleWrap:qx.core.Variant.select("qx.client", >-{"mshtml":function(){if(this._inputElement){this._inputElement.wrap=this.getWrap()?"soft":"off"; >+old){if(this.isCreated()&&this._iconObject){this._iconObject.setValue(value); > }}, >-"gecko":function(){if(this._inputElement){var wrapValue=this.getWrap()?"soft":"off"; >-var styleValue=this.getWrap()?"":"auto"; >-this._inputElement.setAttribute('wrap', >-wrapValue); >-this._inputElement.style.overflow=styleValue; >+_onkeydown:function(e){if(e.getKeyIdentifier()=="Enter"&&!e.isAltPressed()){this.setChecked(true); > }}, >-"default":function(){if(this._inputElement){this._inputElement.style.whiteSpace=this.getWrap()?"normal":"nowrap"; >-}}}), >-_computePreferredInnerHeight:function(){return 60; >-}}}); >- >- >- >- >-/* ID: qx.ui.form.PasswordField */ >-qx.Class.define("qx.ui.form.PasswordField", >-{extend:qx.ui.form.TextField, >-members:{_inputType:"password"}}); >+_onkeypress:function(e){switch(e.getKeyIdentifier()){case "Left":case "Up":qx.event.handler.FocusHandler.mouseFocus=false; >+qx.event.handler.FocusHandler.mouseFocus=false; >+return this.getManager()?this.getManager().selectPrevious(this):true; >+case "Right":case "Down":qx.event.handler.FocusHandler.mouseFocus=false; >+return this.getManager()?this.getManager().selectNext(this):true; >+}}, >+_onclick:function(e){this.setChecked(true); >+}, >+_onkeyup:function(e){if(e.getKeyIdentifier()=="Space"){this.setChecked(true); >+}}}}); > > > > >-/* ID: qx.ui.form.ComboBox */ >-qx.Class.define("qx.ui.form.ComboBox", >+/* ID: qx.ui.form.Spinner */ >+qx.Class.define("qx.ui.form.Spinner", > {extend:qx.ui.layout.HorizontalBoxLayout, >-construct:function(){this.base(arguments); >-var l=this._list=new qx.ui.form.List; >-l.setAppearance("combo-box-list"); >-l.setTabIndex(-1); >-l.setEdge(0); >-var m=this._manager=this._list.getManager(); >-m.setMultiSelection(false); >-m.setDragSelection(false); >-var p=this._popup=new qx.ui.popup.Popup; >-p.setAppearance("combo-box-popup"); >-p.setRestrictToPageLeft(-100000); >-p.setRestrictToPageRight(-100000); >-p.setAutoHide(false); >-p.setHeight("auto"); >-p.add(l); >-var f=this._field=new qx.ui.form.TextField; >-f.setAppearance("combo-box-text-field"); >-f.setTabIndex(-1); >-f.setWidth("1*"); >-f.setAllowStretchY(true); >-f.setHeight(null); >-this.add(f); >-var b=this._button=new qx.ui.basic.Atom; >-b.setAppearance("combo-box-button"); >-b.setAllowStretchY(true); >-b.setTabIndex(-1); >-b.setHeight(null); >-this.add(b); >-this.addEventListener("mousedown", >-this._onmousedown); >-this.addEventListener("mouseup", >-this._onmouseup); >-this.addEventListener("click", >-this._onclick); >-this.addEventListener("mouseover", >-this._onmouseover); >-this.addEventListener("mousewheel", >-this._onmousewheel); >-this.addEventListener("keydown", >-this._onkeydown); >+construct:function(vMin, >+vValue, >+vMax){this.base(arguments); >+if(qx.core.Variant.isSet("qx.client", >+"mshtml")){this.setStyleProperty("fontSize", >+"0px"); >+}this._textfield=new qx.ui.form.TextField; >+this._textfield.setBorder(null); >+this._textfield.setWidth("1*"); >+this._textfield.setAllowStretchY(true); >+this._textfield.setHeight(null); >+this._textfield.setLiveUpdate(true); >+this._textfield.setVerticalAlign("middle"); >+this._textfield.setAppearance("spinner-text-field"); >+this.add(this._textfield); >+this._buttonlayout=new qx.ui.layout.VerticalBoxLayout; >+this._buttonlayout.setWidth("auto"); >+this.add(this._buttonlayout); >+this._upbutton=new qx.ui.basic.Image; >+this._upbutton.setAppearance("spinner-button-up"); >+this._upbutton.setHeight("1*"); >+this._buttonlayout.add(this._upbutton); >+this._downbutton=new qx.ui.basic.Image; >+this._downbutton.setAppearance("spinner-button-down"); >+this._downbutton.setHeight("1*"); >+this._buttonlayout.add(this._downbutton); >+this._timer=new qx.client.Timer(this.getInterval()); >+this.setManager(new qx.util.range.Range()); >+this.initWrap(); > this.addEventListener("keypress", >-this._onkeypress); >-this.addEventListener("keyinput", >-this._onkeyinput); >-this.addEventListener("beforeDisappear", >-this._onbeforedisappear); >-this._popup.addEventListener("appear", >-this._onpopupappear, >+this._onkeypress, > this); >-this._field.addEventListener("input", >+this.addEventListener("keydown", >+this._onkeydown, >+this); >+this.addEventListener("keyup", >+this._onkeyup, >+this); >+this.addEventListener("mousewheel", >+this._onmousewheel, >+this); >+this._textfield.addEventListener("changeValue", >+this._ontextchange, >+this); >+this._textfield.addEventListener("input", > this._oninput, > this); >-qx.locale.Manager.getInstance().addEventListener("changeLocale", >-this._onlocalechange, >+this._textfield.addEventListener("blur", >+this._onblur, >+this); >+this._upbutton.addEventListener("mousedown", >+this._onmousedown, >+this); >+this._downbutton.addEventListener("mousedown", >+this._onmousedown, >+this); >+this._timer.addEventListener("interval", >+this._oninterval, >+this); >+if(vMin!=null){this.setMin(vMin); >+} >+if(vMax!=null){this.setMax(vMax); >+} >+if(vValue!=null){this.setValue(vValue); >+}this._checkValue=this.__checkValue; >+this._numberFormat=null; >+this.initWidth(); >+this.initHeight(); >+this._last_value=""; >+}, >+events:{"change":"qx.event.type.DataEvent"}, >+properties:{appearance:{refine:true, >+init:"spinner"}, >+width:{refine:true, >+init:60}, >+height:{refine:true, >+init:22}, >+incrementAmount:{check:"Number", >+init:1, >+apply:"_applyIncrementAmount"}, >+wheelIncrementAmount:{check:"Number", >+init:1}, >+pageIncrementAmount:{check:"Number", >+init:10}, >+interval:{check:"Integer", >+init:100}, >+firstInterval:{check:"Integer", >+init:500}, >+minTimer:{check:"Integer", >+init:20}, >+timerDecrease:{check:"Integer", >+init:2}, >+amountGrowth:{check:"Number", >+init:1.01}, >+wrap:{check:"Boolean", >+init:false, >+apply:"_applyWrap"}, >+editable:{check:"Boolean", >+init:true, >+apply:"_applyEditable"}, >+manager:{check:"qx.util.range.IRange", >+apply:"_applyManager", >+dispose:true}, >+checkValueFunction:{apply:"_applyCheckValueFunction"}, >+numberFormat:{check:"qx.util.format.NumberFormat", >+apply:"_applyNumberFormat"}, >+selectTextOnInteract:{check:"Boolean", >+init:true}}, >+members:{_applyIncrementAmount:function(value, >+old){this._computedIncrementAmount=value; >+}, >+_applyEditable:function(value, >+old){if(this._textfield){this._textfield.setReadOnly(!value); >+}}, >+_applyWrap:function(value, >+old){this.getManager().setWrap(value); >+this._onchange(); >+}, >+_applyManager:function(value, >+old){if(old){old.removeEventListener("change", >+this._onchange, >+this); >+} >+if(value){value.addEventListener("change", >+this._onchange, >+this); >+}this._onchange(); >+}, >+_applyCheckValueFunction:function(value, >+old){this._checkValue=value; >+}, >+_applyNumberFormat:function(value, >+old){this._numberFormat=value; >+this.getManager().setPrecision(value.getMaximumFractionDigits()); >+this._onchange(); >+}, >+_computePreferredInnerWidth:function(){return 50; >+}, >+_computePreferredInnerHeight:function(){return 14; >+}, >+_onkeypress:function(e){var vIdentifier=e.getKeyIdentifier(); >+if(vIdentifier=="Enter"&&!e.isAltPressed()){this._checkValue(true, >+false); >+if(this.getSelectTextOnInteract()){this._textfield.selectAll(); >+}}else{switch(vIdentifier){case "Up":case "Down":case "Left":case "Right":case "Shift":case "Control":case "Alt":case "Escape":case "Delete":case "Backspace":case "Insert":case "Home":case "End":case "PageUp":case "PageDown":case "NumLock":case "Tab":break; >+default:if((vIdentifier>="0"&&vIdentifier<="9")||(vIdentifier=='-')){return; >+} >+if(this._numberFormat){var locale=this._numberFormat._locale; >+if((vIdentifier==qx.locale.Number.getGroupSeparator(locale))||(vIdentifier==qx.locale.Number.getDecimalSeparator(locale)))return; >+}if(e.getModifiers()==0){e.preventDefault(); >+}}}}, >+_onkeydown:function(e){var vIdentifier=e.getKeyIdentifier(); >+if(this._intervalIncrease==null){switch(vIdentifier){case "Up":case "Down":this._intervalIncrease=vIdentifier=="Up"; >+this._intervalMode="single"; >+this._resetIncrements(); >+this._checkValue(true, >+false); >+this._increment(); >+this._timer.startWith(this.getFirstInterval()); >+break; >+case "PageUp":case "PageDown":this._intervalIncrease=vIdentifier=="PageUp"; >+this._intervalMode="page"; >+this._resetIncrements(); >+this._checkValue(true, >+false); >+this._pageIncrement(); >+this._timer.startWith(this.getFirstInterval()); >+break; >+}}}, >+_onkeyup:function(e){if(this._intervalIncrease!=null){switch(e.getKeyIdentifier()){case "Up":case "Down":case "PageUp":case "PageDown":this._timer.stop(); >+this._intervalIncrease=null; >+this._intervalMode=null; >+}}}, >+_onmousedown:function(e){if(!e.isLeftButtonPressed()){return; >+}this._checkValue(true); >+var vButton=e.getCurrentTarget(); >+vButton.addState("pressed"); >+vButton.addEventListener("mouseup", >+this._onmouseup, > this); >-var vDoc=qx.ui.core.ClientDocument.getInstance(); >-vDoc.addEventListener("windowblur", >-this._testClosePopup, >+vButton.addEventListener("mouseout", >+this._onmouseup, > this); >-this.remapChildrenHandlingTo(l); >-this.initEditable(); >-this.initTabIndex(); >-this.initWidth(); >-this.initHeight(); >-this.initMinWidth(); >-}, >-events:{"beforeInitialOpen":"qx.event.type.Event"}, >-properties:{appearance:{refine:true, >-init:"combo-box"}, >-allowStretchY:{refine:true, >-init:false}, >-width:{refine:true, >-init:120}, >-height:{refine:true, >-init:"auto"}, >-minWidth:{refine:true, >-init:40}, >-tabIndex:{refine:true, >-init:1}, >-editable:{check:"Boolean", >-apply:"_applyEditable", >-event:"changeEditable", >-init:false}, >-selected:{check:"qx.ui.form.ListItem", >-nullable:true, >-apply:"_applySelected", >-event:"changeSelected"}, >-value:{check:"String", >-nullable:true, >-apply:"_applyValue", >-event:"changeValue"}, >-pagingInterval:{check:"Integer", >-init:10}}, >-members:{getManager:function(){return this._manager; >+this._intervalIncrease=vButton==this._upbutton; >+this._resetIncrements(); >+this._increment(); >+if(this.getSelectTextOnInteract()){this._textfield.selectAll(); >+}this._timer.setInterval(this.getFirstInterval()); >+this._timer.start(); > }, >-getPopup:function(){return this._popup; >+_onmouseup:function(e){var vButton=e.getCurrentTarget(); >+vButton.removeState("pressed"); >+vButton.removeEventListener("mouseup", >+this._onmouseup, >+this); >+vButton.removeEventListener("mouseout", >+this._onmouseup, >+this); >+if(this.getSelectTextOnInteract()){this._textfield.selectAll(); >+}this._textfield.setFocused(true); >+this._timer.stop(); >+this._intervalIncrease=null; > }, >-getList:function(){return this._list; >+_onmousewheel:function(e){this._checkValue(true); >+if(this.getManager().incrementValue){this.getManager().incrementValue(this.getWheelIncrementAmount()*e.getWheelDelta()); >+}else{var value=this.getManager().getValue()+(this.getWheelIncrementAmount()*e.getWheelDelta()); >+value=this.getManager().limit(value); >+this.getManager().setValue(value); >+}this._textfield.selectAll(); > }, >-getField:function(){return this._field; >+_ontextchange:function(e){this._last_value=e.getOldValue(); > }, >-getButton:function(){return this._button; >+_oninput:function(e){this._checkValue(true, >+true); > }, >-_applySelected:function(value, >-old){this._fromSelected=true; >-if(!this._fromValue){this.setValue(value?value.getLabel().toString():""); >-}this._manager.setLeadItem(value); >-this._manager.setAnchorItem(value); >-if(value){this._manager.setSelectedItem(value); >-}else{this._manager.deselectAll(); >-}delete this._fromSelected; >+_onchange:function(e){var vValue=this.getManager().getValue(); >+if(this._numberFormat){this._textfield.setValue(this._numberFormat.format(vValue)); >+}else{this._textfield.setValue(String(vValue)); >+} >+if(vValue==this.getMin()&&!this.getWrap()){this._downbutton.removeState("pressed"); >+this._downbutton.setEnabled(false); >+this._timer.stop(); >+}else{this._downbutton.resetEnabled(); >+} >+if(vValue==this.getMax()&&!this.getWrap()){this._upbutton.removeState("pressed"); >+this._upbutton.setEnabled(false); >+this._timer.stop(); >+}else{this._upbutton.resetEnabled(); >+}this.createDispatchDataEvent("change", >+vValue); > }, >-_applyValue:function(value, >-old){this._fromValue=true; >-if(!this._fromInput){if(this._field.getValue()==value){this._field.setValue(null); >-}this._field.setValue(value); >-}delete this._fromValue; >+_onblur:function(e){this._checkValue(false); > }, >-_applyEditable:function(value, >-old){var f=this._field; >-f.setReadOnly(!value); >-f.setCursor(value?null:"default"); >-f.setSelectable(value); >+setValue:function(nValue){this.getManager().setValue(this.getManager().limit(nValue)); > }, >-_oldSelected:null, >-_openPopup:function(){var p=this._popup; >-var el=this.getElement(); >-if(!p.isCreated()){this.createDispatchEvent("beforeInitialOpen"); >-} >-if(this._list.getChildrenLength()==0){return; >-}p.positionRelativeTo(el, >-1, >-qx.html.Dimension.getBoxHeight(el)); >-p.setWidth(this.getBoxWidth()-2); >-p.setParent(this.getTopLevelWidget()); >-p.show(); >-this._oldSelected=this.getSelected(); >-this.setCapture(true); >+getValue:function(){this._checkValue(true); >+return this.getManager().getValue(); > }, >-_closePopup:function(){this._popup.hide(); >-this.setCapture(false); >+resetValue:function(){this.getManager().resetValue(); > }, >-_testClosePopup:function(){if(this._popup.isSeeable()){this._closePopup(); >-}}, >-_togglePopup:function(){this._popup.isSeeable()?this._closePopup():this._openPopup(); >+setMax:function(vMax){return this.getManager().setMax(vMax); > }, >-_onpopupappear:function(e){var vSelItem=this.getSelected(); >-if(vSelItem){vSelItem.scrollIntoView(); >-}}, >-_oninput:function(e){this._fromInput=true; >-this.setValue(this._field.getComputedValue()); >-var vSelected=this.getSelected(); >-if(vSelected&&vSelected.getLabel()!=this.getValue()){this.resetSelected(); >-}delete this._fromInput; >+getMax:function(){return this.getManager().getMax(); > }, >-_onbeforedisappear:function(e){this._testClosePopup(); >+setMin:function(vMin){return this.getManager().setMin(vMin); > }, >-_onlocalechange:function(e){var selected=this.getSelected(); >-this._applySelected(selected, >-selected); >+getMin:function(){return this.getManager().getMin(); > }, >-_onmousedown:function(e){if(!e.isLeftButtonPressed()){return; >-}var vTarget=e.getTarget(); >-switch(vTarget){case this._field:if(this.getEditable()){break; >-}case this._button:this._button.addState("pressed"); >-this._togglePopup(); >-this.setCapture(true); >-break; >-default:break; >-}e.stopPropagation(); >+_intervalIncrease:null, >+_oninterval:function(e){this._timer.stop(); >+this.setInterval(Math.max(this.getMinTimer(), >+this.getInterval()-this.getTimerDecrease())); >+if(this._intervalMode=="page"){this._pageIncrement(); >+}else{if(this.getInterval()==this.getMinTimer()){this._computedIncrementAmount=this.getAmountGrowth()*this._computedIncrementAmount; >+}this._increment(); >+}var wrap=this.getManager().getWrap(); >+switch(this._intervalIncrease){case true:if(this.getValue()==this.getMax()&&!wrap){return; >+}case false:if(this.getValue()==this.getMin()&&!wrap){return; >+}}this._timer.restartWith(this.getInterval()); > }, >-_onclick:function(e){if(!e.isLeftButtonPressed()){return; >-}var vTarget=e.getTarget(); >-switch(vTarget){case this._field:case this._button:case this:case this._list:break; >-default:if(vTarget instanceof qx.ui.form.ListItem&&vTarget.getParent()==this._list){this._list._onmousedown(e); >-this.setSelected(this._list.getSelectedItem()); >-this._closePopup(); >-this.setFocused(true); >-}else if(this._popup.isSeeable()){this._popup.hide(); >-this.setCapture(false); >-}}}, >-_onmouseup:function(e){this._button.removeState("pressed"); >-if(!this._popup.isSeeable()){this.setCapture(false); >-}}, >-_onmouseover:function(e){var vTarget=e.getTarget(); >-if(vTarget instanceof qx.ui.form.ListItem){var vManager=this._manager; >-vManager.deselectAll(); >-vManager.setLeadItem(vTarget); >-vManager.setAnchorItem(vTarget); >-vManager.setSelectedItem(vTarget); >-}}, >-_onmousewheel:function(e){if(!this._popup.isSeeable()){var toSelect; >-var isSelected=this.getSelected(); >-if(e.getWheelDelta()<0){toSelect=isSelected?this._manager.getNext(isSelected):this._manager.getFirst(); >-}else{toSelect=isSelected?this._manager.getPrevious(isSelected):this._manager.getLast(); >+__checkValue:function(acceptEmpty, >+acceptEdit){var el=this._textfield.getInputElement(); >+if(!el){return; > } >-if(toSelect){this.setSelected(toSelect); >-}}else{var vTarget=e.getTarget(); >-if(vTarget!=this&&vTarget.getParent()!=this._list){this._popup.hide(); >-this.setCapture(false); >-}}}, >-_onkeydown:function(e){var vManager=this._manager; >-var vVisible=this._popup.isSeeable(); >-switch(e.getKeyIdentifier()){case "Enter":if(vVisible){this.setSelected(this._manager.getSelectedItem()); >-this._closePopup(); >-this.setFocused(true); >-}else{this._openPopup(); >-}e.stopPropagation(); >-return; >-case "Escape":if(vVisible){vManager.setLeadItem(this._oldSelected); >-vManager.setAnchorItem(this._oldSelected); >-vManager.setSelectedItem(this._oldSelected); >-this._field.setValue(this._oldSelected?this._oldSelected.getLabel():""); >-this._closePopup(); >-this.setFocused(true); >-e.stopPropagation(); >-}return; >-case "Down":if(e.isAltPressed()){this._togglePopup(); >-return; >-}break; >-}}, >-_onkeypress:function(e){var vVisible=this._popup.isSeeable(); >-var vManager=this._manager; >-switch(e.getKeyIdentifier()){case "PageUp":if(!vVisible){var vPrevious; >-var vTemp=this.getSelected(); >-if(vTemp){var vInterval=this.getPagingInterval(); >-do{vPrevious=vTemp; >-}while(--vInterval&&(vTemp=vManager.getPrevious(vPrevious))); >-}else{vPrevious=vManager.getLast(); >-}this.setSelected(vPrevious); >-return; >-}break; >-case "PageDown":if(!vVisible){var vNext; >-var vTemp=this.getSelected(); >-if(vTemp){var vInterval=this.getPagingInterval(); >-do{vNext=vTemp; >-}while(--vInterval&&(vTemp=vManager.getNext(vNext))); >-}else{vNext=vManager.getFirst(); >-}this.setSelected(vNext||null); >+if((el.value=="")||(el.value=="-")){if(!acceptEmpty){this.resetValue(); > return; >-}break; >-}if(!this.isEditable()||vVisible){this._list._onkeypress(e); >+}}else{var str_val=el.value; >+var parsable_str; >+if(this._numberFormat){var groupSepEsc=qx.lang.String.escapeRegexpChars(qx.locale.Number.getGroupSeparator(this._numberFormat._locale)+""); >+var decimalSepEsc=qx.lang.String.escapeRegexpChars(qx.locale.Number.getDecimalSeparator(this._numberFormat._locale)+""); >+parsable_str=str_val.replace(new RegExp(decimalSepEsc), >+"."); >+parsable_str=parsable_str.replace(new RegExp(groupSepEsc, >+"g"), >+""); >+}else{parsable_str=str_val; >+}var val=parseFloat(parsable_str); >+var limitedVal=this.getManager().limit(val); >+var oldValue=this.getManager().getValue(); >+var fixedVal=limitedVal; >+if(isNaN(val)||(limitedVal!=val)||(val!=parsable_str)){if(acceptEdit){this._textfield.setValue(this._last_value); >+}else{if(isNaN(limitedVal)){fixedVal=oldValue; >+}else{fixedVal=limitedVal; >+}}} >+if(acceptEdit)return; >+var formattedValue; >+if(this._numberFormat){formattedValue=this._numberFormat.format(fixedVal); >+}else{formattedValue=String(fixedVal); >+} >+if((fixedVal===oldValue)&&(str_val!==formattedValue)){this._textfield.setValue(formattedValue); >+}this.getManager().setValue(fixedVal); > }}, >-_onkeyinput:function(e){var vVisible=this._popup.isSeeable(); >-if(!this.isEditable()||vVisible){this._list._onkeyinput(e); >+_increment:function(){if(this.getManager().incrementValue){this.getManager().incrementValue((this._intervalIncrease?1:-1)*this._computedIncrementAmount); >+}else{var value=this.getManager().getValue()+((this._intervalIncrease?1:-1)*this._computedIncrementAmount); >+value=this.getManager().limit(value); >+this.getManager().setValue(value); > }}, >-_visualizeBlur:function(){this.getField()._visualizeBlur(); >-this.removeState("focused"); >-}, >-_visualizeFocus:function(){this.getField()._visualizeFocus(); >-this.getField().selectAll(); >-this.addState("focused"); >+_pageIncrement:function(){if(this.getManager().pageIncrementValue){this.getManager().pageIncrementValue(); >+}else{var value=this.getManager().getValue()+((this._intervalIncrease?1:-1)*this.getPageIncrementAmount()); >+value=this.getManager().limit(value); >+this.getManager().setValue(value); > }}, >-destruct:function(){if(this._popup&&!qx.core.Object.inGlobalDispose()){this._popup.setParent(null); >-}var vDoc=qx.ui.core.ClientDocument.getInstance(); >-vDoc.removeEventListener("windowblur", >-this._testClosePopup, >-this); >-var vMgr=qx.locale.Manager.getInstance(); >-vMgr.removeEventListener("changeLocale", >-this._onlocalechange, >-this); >-this._disposeObjects("_popup", >-"_list", >-"_manager", >-"_field", >-"_button"); >+_resetIncrements:function(){this._computedIncrementAmount=this.getIncrementAmount(); >+this.resetInterval(); >+}}, >+destruct:function(){var mgr=this.getManager(); >+if(mgr){mgr.dispose(); >+}this._disposeObjects("_textfield", >+"_buttonlayout", >+"_upbutton", >+"_downbutton", >+"_timer"); > }}); > > > > >+/* ID: qx.util.range.IRange */ >+qx.Interface.define("qx.util.range.IRange", >+{properties:{value:{}, >+min:{}, >+max:{}, >+wrap:{}}, >+members:{limit:function(value){return true; >+}}}); >+ >+ >+ >+ >+/* ID: qx.util.range.Range */ >+qx.Class.define("qx.util.range.Range", >+{extend:qx.core.Target, >+implement:[qx.util.range.IRange], >+events:{"change":"qx.event.type.Event"}, >+properties:{value:{check:"!isNaN(value)&&value>=this.getMin()&&value<=this.getMax()", >+nullable:true, >+event:"change", >+init:0}, >+precision:{check:"Integer", >+nullable:true, >+event:"change", >+init:0}, >+min:{check:"Number", >+apply:"_applyMin", >+event:"change", >+init:0}, >+max:{check:"Number", >+apply:"_applyMax", >+event:"change", >+init:100}, >+wrap:{check:"Boolean", >+init:false}}, >+members:{_applyMax:function(value, >+old){this.setValue(Math.min(this.getValue(), >+value)); >+}, >+_applyMin:function(value, >+old){this.setValue(Math.max(this.getValue(), >+value)); >+}, >+limit:function(value){var precision=this.getPrecision(); >+if(precision!=null)var mover=Math.pow(10, >+precision); >+if(this.getWrap()){if(precision!=null){var value=Math.round(value*mover)/mover; >+} >+if(value<this.getMin()){return (this.getMax()-(this.getMin()-value))+1; >+} >+if(value>this.getMax()){return (this.getMin()+(value-this.getMax()))-1; >+}} >+if(value<this.getMin()){return this.getMin(); >+} >+if(value>this.getMax()){return this.getMax(); >+} >+if(precision!=null){return Math.round(value*mover)/mover; >+}else{return value; >+}}}}); >+ >+ >+ >+ >+/* ID: qx.ui.form.TextArea */ >+qx.Class.define("qx.ui.form.TextArea", >+{extend:qx.ui.form.TextField, >+properties:{appearance:{refine:true, >+init:"text-area"}, >+allowStretchY:{refine:true, >+init:true}, >+spellCheck:{refine:true, >+init:true}, >+wrap:{check:"Boolean", >+init:true, >+apply:"_applyWrap"}}, >+members:{_inputTag:"textarea", >+_inputType:null, >+_inputOverflow:"auto", >+_applyElement:function(value, >+old){this.base(arguments, >+value, >+old); >+this._styleWrap(); >+}, >+_applyWrap:function(value, >+old){this._styleWrap(); >+}, >+_styleWrap:qx.core.Variant.select("qx.client", >+{"mshtml":function(){if(this._inputElement){this._inputElement.wrap=this.getWrap()?"soft":"off"; >+}}, >+"gecko":function(){if(this._inputElement){var wrapValue=this.getWrap()?"soft":"off"; >+var styleValue=this.getWrap()?"":"auto"; >+this._inputElement.setAttribute('wrap', >+wrapValue); >+this._inputElement.style.overflow=styleValue; >+}}, >+"default":function(){if(this._inputElement){this._inputElement.style.whiteSpace=this.getWrap()?"normal":"nowrap"; >+}}}), >+_computePreferredInnerHeight:function(){return 60; >+}}}); >+ >+ >+ >+ > /* ID: qx.ui.groupbox.GroupBox */ > qx.Class.define("qx.ui.groupbox.GroupBox", > {extend:qx.ui.layout.CanvasLayout, >@@ -18110,113 +18130,54 @@ > old){value===true?this.addState("checked"):this.removeState("checked"); > }, > execute:function(){this._processExecute(); >-this.base(arguments); >-}, >-_processExecute:function(){this.toggleChecked(); >-}}}); >- >- >- >- >-/* ID: qx.ui.menu.RadioButton */ >-qx.Class.define("qx.ui.menu.RadioButton", >-{extend:qx.ui.menu.CheckBox, >-properties:{appearance:{refine:true, >-init:"menu-radio-button"}, >-manager:{check:"qx.ui.selection.RadioManager", >-nullable:true, >-apply:"_applyManager"}}, >-members:{_applyChecked:function(value, >-old){this.base(arguments, >-value, >-old); >-var vManager=this.getManager(); >-if(vManager){vManager.handleItemChecked(this, >-value); >-}}, >-_applyManager:function(value, >-old){if(old){old.remove(this); >-} >-if(value){value.add(this); >-}}, >-_applyName:function(value, >-old){if(this.getManager()){this.getManager().setName(value); >-}}, >-_processExecute:function(){this.setChecked(true); >-}}}); >- >- >- >- >-/* ID: qx.ui.menubar.MenuBar */ >-qx.Class.define("qx.ui.menubar.MenuBar", >-{extend:qx.ui.toolbar.ToolBar}); >- >- >- >- >-/* ID: qx.ui.menubar.Button */ >-qx.Class.define("qx.ui.menubar.Button", >-{extend:qx.ui.toolbar.MenuButton}); >- >- >- >- >-/* ID: qx.event.type.DragEvent */ >-qx.Class.define("qx.event.type.DragEvent", >-{extend:qx.event.type.MouseEvent, >-construct:function(vType, >-vMouseEvent, >-vTarget, >-vRelatedTarget){this._mouseEvent=vMouseEvent; >-var vOriginalTarget=null; >-switch(vType){case "dragstart":case "dragover":vOriginalTarget=vMouseEvent.getOriginalTarget(); >-}this.base(arguments, >-vType, >-vMouseEvent.getDomEvent(), >-vTarget.getElement(), >-vTarget, >-vOriginalTarget, >-vRelatedTarget); >-}, >-members:{getMouseEvent:function(){return this._mouseEvent; >-}, >-startDrag:function(){if(this.getType()!="dragstart"){throw new Error("qx.event.type.DragEvent startDrag can only be called during the dragstart event: "+this.getType()); >-}this.stopPropagation(); >-qx.event.handler.DragAndDropHandler.getInstance().startDrag(); >-}, >-addData:function(sType, >-oData){qx.event.handler.DragAndDropHandler.getInstance().addData(sType, >-oData); >-}, >-getData:function(sType){return qx.event.handler.DragAndDropHandler.getInstance().getData(sType); >-}, >-clearData:function(){qx.event.handler.DragAndDropHandler.getInstance().clearData(); >-}, >-getDropDataTypes:function(){return qx.event.handler.DragAndDropHandler.getInstance().getDropDataTypes(); >-}, >-addAction:function(sAction){qx.event.handler.DragAndDropHandler.getInstance().addAction(sAction); >-}, >-removeAction:function(sAction){qx.event.handler.DragAndDropHandler.getInstance().removeAction(sAction); >-}, >-getAction:function(){return qx.event.handler.DragAndDropHandler.getInstance().getCurrentAction(); >-}, >-clearActions:function(){qx.event.handler.DragAndDropHandler.getInstance().clearActions(); >-}, >-setFeedbackWidget:function(widget, >-deltaX, >-deltaY, >-autoDisposeWidget){qx.event.handler.DragAndDropHandler.getInstance().setFeedbackWidget(widget, >-deltaX, >-deltaY, >-autoDisposeWidget); >-}, >-setCursorPosition:function(deltaX, >-deltaY){qx.event.handler.DragAndDropHandler.getInstance().setCursorPosition(deltaX, >-deltaY); >+this.base(arguments); >+}, >+_processExecute:function(){this.toggleChecked(); >+}}}); >+ >+ >+ >+ >+/* ID: qx.ui.menu.RadioButton */ >+qx.Class.define("qx.ui.menu.RadioButton", >+{extend:qx.ui.menu.CheckBox, >+properties:{appearance:{refine:true, >+init:"menu-radio-button"}, >+manager:{check:"qx.ui.selection.RadioManager", >+nullable:true, >+apply:"_applyManager"}}, >+members:{_applyChecked:function(value, >+old){this.base(arguments, >+value, >+old); >+var vManager=this.getManager(); >+if(vManager){vManager.handleItemChecked(this, >+value); > }}, >-destruct:function(){this._disposeFields("_mouseEvent"); >-}}); >+_applyManager:function(value, >+old){if(old){old.remove(this); >+} >+if(value){value.add(this); >+}}, >+_applyName:function(value, >+old){if(this.getManager()){this.getManager().setName(value); >+}}, >+_processExecute:function(){this.setChecked(true); >+}}}); >+ >+ >+ >+ >+/* ID: qx.ui.menubar.Button */ >+qx.Class.define("qx.ui.menubar.Button", >+{extend:qx.ui.toolbar.MenuButton}); >+ >+ >+ >+ >+/* ID: qx.ui.menubar.MenuBar */ >+qx.Class.define("qx.ui.menubar.MenuBar", >+{extend:qx.ui.toolbar.ToolBar}); > > > >@@ -18438,80 +18399,242 @@ > if(vNewCursor!=vOldCursor){vNewCursor._style.display=""; > }this.__cursor=vNewCursor; > }, >-supportsDrop:function(vWidget){var vTypes=vWidget.getDropDataTypes(); >-if(!vTypes){return false; >-} >-for(var i=0;i<vTypes.length;i++){if(vTypes[i] in this.__data){return true; >-}}return false; >+supportsDrop:function(vWidget){var vTypes=vWidget.getDropDataTypes(); >+if(!vTypes){return false; >+} >+for(var i=0;i<vTypes.length;i++){if(vTypes[i] in this.__data){return true; >+}}return false; >+}, >+addAction:function(vAction, >+vForce){this.__actions[vAction]=true; >+if(vForce||this.getCurrentAction()==null){this.setCurrentAction(vAction); >+}}, >+clearActions:function(){this.__actions={}; >+this.setCurrentAction(null); >+}, >+removeAction:function(vAction){delete this.__actions[vAction]; >+if(this.getCurrentAction()==vAction){this.setCurrentAction(null); >+}}, >+setAction:function(vAction){if(vAction!=null&&!(vAction in this.__actions)){this.addAction(vAction, >+true); >+}else{this.setCurrentAction(vAction); >+}}, >+_evalNewAction:function(vKeyShift, >+vKeyCtrl, >+vKeyAlt){if(vKeyShift&&vKeyCtrl&&"alias" in this.__actions){return "alias"; >+}else if(vKeyShift&&vKeyAlt&&"copy" in this.__actions){return "copy"; >+}else if(vKeyShift&&"move" in this.__actions){return "move"; >+}else if(vKeyAlt&&"alias" in this.__actions){return "alias"; >+}else if(vKeyCtrl&&"copy" in this.__actions){return "copy"; >+}else{for(var vAction in this.__actions){return vAction; >+}}return null; >+}, >+setFeedbackWidget:function(widget, >+deltaX, >+deltaY, >+autoDisposeWidget){this.__feedbackWidget=widget; >+this.__feedbackDeltaX=(deltaX!=null)?deltaX:10; >+this.__feedbackDeltaY=(deltaY!=null)?deltaY:10; >+this.__feedbackAutoDispose=autoDisposeWidget?true:false; >+}, >+_renderFeedbackWidget:function(){if(this.__feedbackWidget){this.__feedbackWidget.setVisibility(true); >+this.__feedbackWidget._renderRuntimeLeft(this.__dragCache.pageX+this.__feedbackDeltaX); >+this.__feedbackWidget._renderRuntimeTop(this.__dragCache.pageY+this.__feedbackDeltaY); >+}}}, >+destruct:function(){this._disposeObjectDeep("__cursors", >+1); >+this._disposeObjects("__feedbackWidget"); >+this._disposeFields("__dragCache", >+"__data", >+"__actions", >+"__lastDestinationEvent"); >+}}); >+ >+ >+ >+ >+/* ID: qx.event.type.DragEvent */ >+qx.Class.define("qx.event.type.DragEvent", >+{extend:qx.event.type.MouseEvent, >+construct:function(vType, >+vMouseEvent, >+vTarget, >+vRelatedTarget){this._mouseEvent=vMouseEvent; >+var vOriginalTarget=null; >+switch(vType){case "dragstart":case "dragover":vOriginalTarget=vMouseEvent.getOriginalTarget(); >+}this.base(arguments, >+vType, >+vMouseEvent.getDomEvent(), >+vTarget.getElement(), >+vTarget, >+vOriginalTarget, >+vRelatedTarget); >+}, >+members:{getMouseEvent:function(){return this._mouseEvent; >+}, >+startDrag:function(){if(this.getType()!="dragstart"){throw new Error("qx.event.type.DragEvent startDrag can only be called during the dragstart event: "+this.getType()); >+}this.stopPropagation(); >+qx.event.handler.DragAndDropHandler.getInstance().startDrag(); >+}, >+addData:function(sType, >+oData){qx.event.handler.DragAndDropHandler.getInstance().addData(sType, >+oData); >+}, >+getData:function(sType){return qx.event.handler.DragAndDropHandler.getInstance().getData(sType); >+}, >+clearData:function(){qx.event.handler.DragAndDropHandler.getInstance().clearData(); >+}, >+getDropDataTypes:function(){return qx.event.handler.DragAndDropHandler.getInstance().getDropDataTypes(); >+}, >+addAction:function(sAction){qx.event.handler.DragAndDropHandler.getInstance().addAction(sAction); >+}, >+removeAction:function(sAction){qx.event.handler.DragAndDropHandler.getInstance().removeAction(sAction); >+}, >+getAction:function(){return qx.event.handler.DragAndDropHandler.getInstance().getCurrentAction(); >+}, >+clearActions:function(){qx.event.handler.DragAndDropHandler.getInstance().clearActions(); >+}, >+setFeedbackWidget:function(widget, >+deltaX, >+deltaY, >+autoDisposeWidget){qx.event.handler.DragAndDropHandler.getInstance().setFeedbackWidget(widget, >+deltaX, >+deltaY, >+autoDisposeWidget); >+}, >+setCursorPosition:function(deltaX, >+deltaY){qx.event.handler.DragAndDropHandler.getInstance().setCursorPosition(deltaX, >+deltaY); >+}}, >+destruct:function(){this._disposeFields("_mouseEvent"); >+}}); >+ >+ >+ >+ >+/* ID: qx.html.Iframe */ >+qx.Class.define("qx.html.Iframe", >+{statics:{getWindow:qx.core.Variant.select("qx.client", >+{"mshtml":function(vIframe){try{return vIframe.contentWindow; >+}catch(ex){return null; >+}}, >+"default":function(vIframe){try{var vDoc=qx.html.Iframe.getDocument(vIframe); >+return vDoc?vDoc.defaultView:null; >+}catch(ex){return null; >+}}}), >+getDocument:qx.core.Variant.select("qx.client", >+{"mshtml":function(vIframe){try{var vWin=qx.html.Iframe.getWindow(vIframe); >+return vWin?vWin.document:null; >+}catch(ex){return null; >+}}, >+"default":function(vIframe){try{return vIframe.contentDocument; >+}catch(ex){return null; >+}}}), >+getBody:function(vIframe){var vDoc=qx.html.Iframe.getDocument(vIframe); >+return vDoc?vDoc.getElementsByTagName("body")[0]:null; >+}}}); >+ >+ >+ >+ >+/* ID: qx.io.remote.AbstractRemoteTransport */ >+qx.Class.define("qx.io.remote.AbstractRemoteTransport", >+{type:"abstract", >+extend:qx.core.Target, >+construct:function(){this.base(arguments); >+}, >+events:{"created":"qx.event.type.Event", >+"configured":"qx.event.type.Event", >+"sending":"qx.event.type.Event", >+"receiving":"qx.event.type.Event", >+"completed":"qx.event.type.Event", >+"aborted":"qx.event.type.Event", >+"failed":"qx.event.type.Event", >+"timeout":"qx.event.type.Event"}, >+properties:{url:{check:"String", >+nullable:true}, >+method:{check:"String", >+nullable:true}, >+asynchronous:{check:"Boolean", >+nullable:true}, >+data:{check:"String", >+nullable:true}, >+username:{check:"String", >+nullable:true}, >+password:{check:"String", >+nullable:true}, >+state:{check:["created", >+"configured", >+"sending", >+"receiving", >+"completed", >+"aborted", >+"timeout", >+"failed"], >+init:"created", >+event:"changeState", >+apply:"_applyState"}, >+requestHeaders:{check:"Object", >+nullable:true}, >+parameters:{check:"Object", >+nullable:true}, >+formFields:{check:"Object", >+nullable:true}, >+responseType:{check:"String", >+nullable:true}, >+useBasicHttpAuth:{check:"Boolean", >+nullable:true}}, >+members:{send:function(){throw new Error("send is abstract"); >+}, >+abort:function(){{if(qx.core.Setting.get("qx.ioRemoteDebug")){this.warn("Aborting..."); >+}}; >+this.setState("aborted"); >+}, >+timeout:function(){{if(qx.core.Setting.get("qx.ioRemoteDebug")){this.warn("Timeout..."); >+}}; >+this.setState("timeout"); >+}, >+failed:function(){{if(qx.core.Setting.get("qx.ioRemoteDebug")){this.warn("Failed..."); >+}}; >+this.setState("failed"); >+}, >+setRequestHeader:function(vLabel, >+vValue){throw new Error("setRequestHeader is abstract"); >+}, >+getResponseHeader:function(vLabel){throw new Error("getResponseHeader is abstract"); >+}, >+getResponseHeaders:function(){throw new Error("getResponseHeaders is abstract"); >+}, >+getStatusCode:function(){throw new Error("getStatusCode is abstract"); >+}, >+getStatusText:function(){throw new Error("getStatusText is abstract"); > }, >-addAction:function(vAction, >-vForce){this.__actions[vAction]=true; >-if(vForce||this.getCurrentAction()==null){this.setCurrentAction(vAction); >-}}, >-clearActions:function(){this.__actions={}; >-this.setCurrentAction(null); >+getResponseText:function(){throw new Error("getResponseText is abstract"); > }, >-removeAction:function(vAction){delete this.__actions[vAction]; >-if(this.getCurrentAction()==vAction){this.setCurrentAction(null); >-}}, >-setAction:function(vAction){if(vAction!=null&&!(vAction in this.__actions)){this.addAction(vAction, >-true); >-}else{this.setCurrentAction(vAction); >-}}, >-_evalNewAction:function(vKeyShift, >-vKeyCtrl, >-vKeyAlt){if(vKeyShift&&vKeyCtrl&&"alias" in this.__actions){return "alias"; >-}else if(vKeyShift&&vKeyAlt&&"copy" in this.__actions){return "copy"; >-}else if(vKeyShift&&"move" in this.__actions){return "move"; >-}else if(vKeyAlt&&"alias" in this.__actions){return "alias"; >-}else if(vKeyCtrl&&"copy" in this.__actions){return "copy"; >-}else{for(var vAction in this.__actions){return vAction; >-}}return null; >+getResponseXml:function(){throw new Error("getResponseXml is abstract"); > }, >-setFeedbackWidget:function(widget, >-deltaX, >-deltaY, >-autoDisposeWidget){this.__feedbackWidget=widget; >-this.__feedbackDeltaX=(deltaX!=null)?deltaX:10; >-this.__feedbackDeltaY=(deltaY!=null)?deltaY:10; >-this.__feedbackAutoDispose=autoDisposeWidget?true:false; >+getFetchedLength:function(){throw new Error("getFetchedLength is abstract"); > }, >-_renderFeedbackWidget:function(){if(this.__feedbackWidget){this.__feedbackWidget.setVisibility(true); >-this.__feedbackWidget._renderRuntimeLeft(this.__dragCache.pageX+this.__feedbackDeltaX); >-this.__feedbackWidget._renderRuntimeTop(this.__dragCache.pageY+this.__feedbackDeltaY); >-}}}, >-destruct:function(){this._disposeObjectDeep("__cursors", >-1); >-this._disposeObjects("__feedbackWidget"); >-this._disposeFields("__dragCache", >-"__data", >-"__actions", >-"__lastDestinationEvent"); >-}}); >- >- >- >- >-/* ID: qx.html.Iframe */ >-qx.Class.define("qx.html.Iframe", >-{statics:{getWindow:qx.core.Variant.select("qx.client", >-{"mshtml":function(vIframe){try{return vIframe.contentWindow; >-}catch(ex){return null; >-}}, >-"default":function(vIframe){try{var vDoc=qx.html.Iframe.getDocument(vIframe); >-return vDoc?vDoc.defaultView:null; >-}catch(ex){return null; >-}}}), >-getDocument:qx.core.Variant.select("qx.client", >-{"mshtml":function(vIframe){try{var vWin=qx.html.Iframe.getWindow(vIframe); >-return vWin?vWin.document:null; >-}catch(ex){return null; >-}}, >-"default":function(vIframe){try{return vIframe.contentDocument; >-}catch(ex){return null; >-}}}), >-getBody:function(vIframe){var vDoc=qx.html.Iframe.getDocument(vIframe); >-return vDoc?vDoc.getElementsByTagName("body")[0]:null; >+_applyState:function(value, >+old){{if(qx.core.Setting.get("qx.ioRemoteDebug")){this.debug("State: "+value); >+}}; >+switch(value){case "created":this.createDispatchEvent("created"); >+break; >+case "configured":this.createDispatchEvent("configured"); >+break; >+case "sending":this.createDispatchEvent("sending"); >+break; >+case "receiving":this.createDispatchEvent("receiving"); >+break; >+case "completed":this.createDispatchEvent("completed"); >+break; >+case "aborted":this.createDispatchEvent("aborted"); >+break; >+case "failed":this.createDispatchEvent("failed"); >+break; >+case "timeout":this.createDispatchEvent("timeout"); >+break; >+}return true; > }}}); > > >@@ -18724,187 +18847,84 @@ > value.setAsynchronous(vRequest.getAsynchronous()); > value.setUsername(vRequest.getUsername()); > value.setPassword(vRequest.getPassword()); >-value.setParameters(vRequest.getParameters()); >-value.setFormFields(vRequest.getFormFields()); >-value.setRequestHeaders(vRequest.getRequestHeaders()); >-value.setData(vRequest.getData()); >-value.setResponseType(vRequest.getResponseType()); >-value.addEventListener("sending", >-this._onsending, >-this); >-value.addEventListener("receiving", >-this._onreceiving, >-this); >-value.addEventListener("completed", >-this._oncompleted, >-this); >-value.addEventListener("aborted", >-this._onabort, >-this); >-value.addEventListener("timeout", >-this._ontimeout, >-this); >-value.addEventListener("failed", >-this._onfailed, >-this); >-}}, >-_applyState:function(value, >-old){{if(qx.core.Setting.get("qx.ioRemoteDebug")){this.debug("State: "+old+" => "+value); >-}}; >-switch(value){case "sending":this.createDispatchEvent("sending"); >-break; >-case "receiving":this.createDispatchEvent("receiving"); >-break; >-case "completed":case "aborted":case "timeout":case "failed":var vImpl=this.getImplementation(); >-if(!vImpl){break; >-} >-if(this.hasEventListeners(value)){var vResponse=new qx.io.remote.Response(value); >-if(value=="completed"){var vContent=vImpl.getResponseContent(); >-vResponse.setContent(vContent); >-if(vContent===null){{if(qx.core.Setting.get("qx.ioRemoteDebug")){this.debug("Altered State: "+value+" => failed"); >-}}; >-value="failed"; >-}}vResponse.setStatusCode(vImpl.getStatusCode()); >-vResponse.setResponseHeaders(vImpl.getResponseHeaders()); >-this.dispatchEvent(vResponse); >-}this.setImplementation(null); >-vImpl.dispose(); >-break; >-}}}, >-settings:{"qx.ioRemoteDebug":false, >-"qx.ioRemoteDebugData":false}, >-destruct:function(){var vImpl=this.getImplementation(); >-if(vImpl){this.setImplementation(null); >-vImpl.dispose(); >-}this.setRequest(null); >-}}); >- >- >- >- >-/* ID: qx.io.remote.Response */ >-qx.Class.define("qx.io.remote.Response", >-{extend:qx.event.type.Event, >-construct:function(eventType){this.base(arguments, >-eventType); >-}, >-properties:{state:{check:"Integer", >-nullable:true}, >-statusCode:{check:"Integer", >-nullable:true}, >-content:{nullable:true}, >-responseHeaders:{check:"Object", >-nullable:true}}, >-members:{getResponseHeader:function(vHeader){var vAll=this.getResponseHeaders(); >-if(vAll){return vAll[vHeader]||null; >-}return null; >-}, >-getData:function(){qx.log.Logger.deprecatedMethodWarning(arguments.callee, >-"This method is no longer needed since the event object is now an instance of the Response class."); >-return this; >-}}}); >- >- >- >- >-/* ID: qx.io.remote.AbstractRemoteTransport */ >-qx.Class.define("qx.io.remote.AbstractRemoteTransport", >-{type:"abstract", >-extend:qx.core.Target, >-construct:function(){this.base(arguments); >-}, >-events:{"created":"qx.event.type.Event", >-"configured":"qx.event.type.Event", >-"sending":"qx.event.type.Event", >-"receiving":"qx.event.type.Event", >-"completed":"qx.event.type.Event", >-"aborted":"qx.event.type.Event", >-"failed":"qx.event.type.Event", >-"timeout":"qx.event.type.Event"}, >-properties:{url:{check:"String", >-nullable:true}, >-method:{check:"String", >-nullable:true}, >-asynchronous:{check:"Boolean", >-nullable:true}, >-data:{check:"String", >-nullable:true}, >-username:{check:"String", >-nullable:true}, >-password:{check:"String", >-nullable:true}, >-state:{check:["created", >-"configured", >-"sending", >-"receiving", >-"completed", >-"aborted", >-"timeout", >-"failed"], >-init:"created", >-event:"changeState", >-apply:"_applyState"}, >-requestHeaders:{check:"Object", >-nullable:true}, >-parameters:{check:"Object", >-nullable:true}, >-formFields:{check:"Object", >-nullable:true}, >-responseType:{check:"String", >-nullable:true}, >-useBasicHttpAuth:{check:"Boolean", >-nullable:true}}, >-members:{send:function(){throw new Error("send is abstract"); >-}, >-abort:function(){{if(qx.core.Setting.get("qx.ioRemoteDebug")){this.warn("Aborting..."); >-}}; >-this.setState("aborted"); >-}, >-timeout:function(){{if(qx.core.Setting.get("qx.ioRemoteDebug")){this.warn("Timeout..."); >-}}; >-this.setState("timeout"); >-}, >-failed:function(){{if(qx.core.Setting.get("qx.ioRemoteDebug")){this.warn("Failed..."); >-}}; >-this.setState("failed"); >-}, >-setRequestHeader:function(vLabel, >-vValue){throw new Error("setRequestHeader is abstract"); >-}, >-getResponseHeader:function(vLabel){throw new Error("getResponseHeader is abstract"); >-}, >-getResponseHeaders:function(){throw new Error("getResponseHeaders is abstract"); >-}, >-getStatusCode:function(){throw new Error("getStatusCode is abstract"); >-}, >-getStatusText:function(){throw new Error("getStatusText is abstract"); >-}, >-getResponseText:function(){throw new Error("getResponseText is abstract"); >-}, >-getResponseXml:function(){throw new Error("getResponseXml is abstract"); >-}, >-getFetchedLength:function(){throw new Error("getFetchedLength is abstract"); >-}, >+value.setParameters(vRequest.getParameters()); >+value.setFormFields(vRequest.getFormFields()); >+value.setRequestHeaders(vRequest.getRequestHeaders()); >+value.setData(vRequest.getData()); >+value.setResponseType(vRequest.getResponseType()); >+value.addEventListener("sending", >+this._onsending, >+this); >+value.addEventListener("receiving", >+this._onreceiving, >+this); >+value.addEventListener("completed", >+this._oncompleted, >+this); >+value.addEventListener("aborted", >+this._onabort, >+this); >+value.addEventListener("timeout", >+this._ontimeout, >+this); >+value.addEventListener("failed", >+this._onfailed, >+this); >+}}, > _applyState:function(value, >-old){{if(qx.core.Setting.get("qx.ioRemoteDebug")){this.debug("State: "+value); >+old){{if(qx.core.Setting.get("qx.ioRemoteDebug")){this.debug("State: "+old+" => "+value); > }}; >-switch(value){case "created":this.createDispatchEvent("created"); >-break; >-case "configured":this.createDispatchEvent("configured"); >-break; >-case "sending":this.createDispatchEvent("sending"); >+switch(value){case "sending":this.createDispatchEvent("sending"); > break; > case "receiving":this.createDispatchEvent("receiving"); > break; >-case "completed":this.createDispatchEvent("completed"); >-break; >-case "aborted":this.createDispatchEvent("aborted"); >-break; >-case "failed":this.createDispatchEvent("failed"); >-break; >-case "timeout":this.createDispatchEvent("timeout"); >+case "completed":case "aborted":case "timeout":case "failed":var vImpl=this.getImplementation(); >+if(!vImpl){break; >+} >+if(this.hasEventListeners(value)){var vResponse=new qx.io.remote.Response(value); >+if(value=="completed"){var vContent=vImpl.getResponseContent(); >+vResponse.setContent(vContent); >+if(vContent===null){{if(qx.core.Setting.get("qx.ioRemoteDebug")){this.debug("Altered State: "+value+" => failed"); >+}}; >+value="failed"; >+}}vResponse.setStatusCode(vImpl.getStatusCode()); >+vResponse.setResponseHeaders(vImpl.getResponseHeaders()); >+this.dispatchEvent(vResponse); >+}this.setImplementation(null); >+vImpl.dispose(); > break; >-}return true; >+}}}, >+settings:{"qx.ioRemoteDebug":false, >+"qx.ioRemoteDebugData":false}, >+destruct:function(){var vImpl=this.getImplementation(); >+if(vImpl){this.setImplementation(null); >+vImpl.dispose(); >+}this.setRequest(null); >+}}); >+ >+ >+ >+ >+/* ID: qx.io.remote.Response */ >+qx.Class.define("qx.io.remote.Response", >+{extend:qx.event.type.Event, >+construct:function(eventType){this.base(arguments, >+eventType); >+}, >+properties:{state:{check:"Integer", >+nullable:true}, >+statusCode:{check:"Integer", >+nullable:true}, >+content:{nullable:true}, >+responseHeaders:{check:"Object", >+nullable:true}}, >+members:{getResponseHeader:function(vHeader){var vAll=this.getResponseHeaders(); >+if(vAll){return vAll[vHeader]||null; >+}return null; >+}, >+getData:function(){qx.log.Logger.deprecatedMethodWarning(arguments.callee, >+"This method is no longer needed since the event object is now an instance of the Response class."); >+return this; > }}}); > > >@@ -18995,9 +19015,10 @@ > }while(i<input.length); > return output; > }; >-vRequest.onreadystatechange=qx.lang.Function.bind(this._onreadystatechange, >+var xxx=qx.lang.Function.bind(this._onreadystatechange, > this); >-if(this.getUsername()){if(this.getUseBasicHttpAuth()){vRequest.open(vMethod, >+if(vAsynchronous){vRequest.onreadystatechange=xxx; >+}if(this.getUsername()){if(this.getUseBasicHttpAuth()){vRequest.open(vMethod, > vUrl, > vAsynchronous); > vRequest.setRequestHeader('Authorization', >@@ -19023,7 +19044,7 @@ > "send"); > this.failed(); > }return; >-}if(!vAsynchronous){this._onreadystatechange(); >+}if(!vAsynchronous){xxx(); > }}, > failedLocally:function(){if(this.getState()==="failed"){return; > }this.warn("Could not load from file: "+this.getUrl()); >@@ -19253,228 +19274,94 @@ > }this._form.action=vUrl; > this._form.method=vMethod; > this._data.appendChild(document.createTextNode(this.getData())); >-this._form.submit(); >-this.setState("sending"); >-}, >-_onload:function(e){if(this._form.src){return; >-}this._switchReadyState(qx.io.remote.IframeTransport._numericMap.complete); >-}, >-_onreadystatechange:function(e){this._switchReadyState(qx.io.remote.IframeTransport._numericMap[this._frame.readyState]); >-}, >-_switchReadyState:function(vReadyState){switch(this.getState()){case "completed":case "aborted":case "failed":case "timeout":this.warn("Ignore Ready State Change"); >-return; >-}while(this._lastReadyState<vReadyState){this.setState(qx.io.remote.Exchange._nativeMap[++this._lastReadyState]); >-}}, >-setRequestHeader:function(vLabel, >-vValue){}, >-getResponseHeader:function(vLabel){return null; >-}, >-getResponseHeaders:function(){return {}; >-}, >-getStatusCode:function(){return 200; >-}, >-getStatusText:function(){return ""; >-}, >-getIframeWindow:function(){return qx.html.Iframe.getWindow(this._frame); >-}, >-getIframeDocument:function(){return qx.html.Iframe.getDocument(this._frame); >-}, >-getIframeBody:function(){return qx.html.Iframe.getBody(this._frame); >-}, >-getIframeTextContent:function(){var vBody=this.getIframeBody(); >-if(!vBody){return null; >-} >-if(!vBody.firstChild){return ""; >-}if(vBody.firstChild.tagName&&vBody.firstChild.tagName.toLowerCase()=="pre"){return vBody.firstChild.innerHTML; >-}else{return vBody.innerHTML; >-}}, >-getIframeHtmlContent:function(){var vBody=this.getIframeBody(); >-return vBody?vBody.innerHTML:null; >-}, >-getFetchedLength:function(){return 0; >-}, >-getResponseContent:function(){if(this.getState()!=="completed"){{if(qx.core.Setting.get("qx.ioRemoteDebug")){this.warn("Transfer not complete, ignoring content!"); >-}}; >-return null; >-}{if(qx.core.Setting.get("qx.ioRemoteDebug")){this.debug("Returning content for responseType: "+this.getResponseType()); >-}}; >-var vText=this.getIframeTextContent(); >-switch(this.getResponseType()){case qx.util.Mime.TEXT:{if(qx.core.Setting.get("qx.ioRemoteDebugData")){this.debug("Response: "+this._responseContent); >-}}; >-return vText; >-break; >-case qx.util.Mime.HTML:vText=this.getIframeHtmlContent(); >-{if(qx.core.Setting.get("qx.ioRemoteDebugData")){this.debug("Response: "+this._responseContent); >-}}; >-return vText; >-break; >-case qx.util.Mime.JSON:vText=this.getIframeHtmlContent(); >-{if(qx.core.Setting.get("qx.ioRemoteDebugData")){this.debug("Response: "+this._responseContent); >-}}; >-try{return vText&&vText.length>0?qx.io.Json.parseQx(vText):null; >-}catch(ex){return this.error("Could not execute json: ("+vText+")", >-ex); >-}case qx.util.Mime.JAVASCRIPT:vText=this.getIframeHtmlContent(); >-{if(qx.core.Setting.get("qx.ioRemoteDebugData")){this.debug("Response: "+this._responseContent); >-}}; >-try{return vText&&vText.length>0?window.eval(vText):null; >-}catch(ex){return this.error("Could not execute javascript: ("+vText+")", >-ex); >-}case qx.util.Mime.XML:vText=this.getIframeDocument(); >-{if(qx.core.Setting.get("qx.ioRemoteDebugData")){this.debug("Response: "+this._responseContent); >-}}; >-return vText; >-default:this.warn("No valid responseType specified ("+this.getResponseType()+")!"); >-return null; >-}}}, >-defer:function(statics, >-members, >-properties){qx.io.remote.Exchange.registerType(qx.io.remote.IframeTransport, >-"qx.io.remote.IframeTransport"); >-}, >-destruct:function(){if(this._frame){this._frame.onload=null; >-this._frame.onreadystatechange=null; >-if(qx.core.Variant.isSet("qx.client", >-"gecko")){this._frame.src=qx.io.Alias.getInstance().resolve("static/image/blank.gif"); >-}document.body.removeChild(this._frame); >-} >-if(this._form){document.body.removeChild(this._form); >-}this._disposeFields("_frame", >-"_form"); >-}}); >- >- >- >- >-/* ID: qx.io.remote.RequestQueue */ >-qx.Class.define("qx.io.remote.RequestQueue", >-{type:"singleton", >-extend:qx.core.Target, >-construct:function(){this.base(arguments); >-this._queue=[]; >-this._active=[]; >-this._totalRequests=0; >-this._timer=new qx.client.Timer(500); >-this._timer.addEventListener("interval", >-this._oninterval, >-this); >-}, >-properties:{enabled:{init:true, >-check:"Boolean", >-apply:"_applyEnabled"}, >-maxTotalRequests:{check:"Integer", >-nullable:true}, >-maxConcurrentRequests:{check:"Integer", >-init:3}, >-defaultTimeout:{check:"Integer", >-init:5000}}, >-members:{_debug:function(){var vText=this._active.length+"/"+(this._queue.length+this._active.length); >-{if(qx.core.Setting.get("qx.ioRemoteDebug")){this.debug("Progress: "+vText); >-window.status="Request-Queue Progress: "+vText; >-}}; >-}, >-_check:function(){this._debug(); >-if(this._active.length==0&&this._queue.length==0){this._timer.stop(); >-}if(!this.getEnabled()){return; >-}if(this._active.length>=this.getMaxConcurrentRequests()||this._queue.length==0){return; >-}if(this.getMaxTotalRequests()!=null&&this._totalRequests>=this.getMaxTotalRequests()){return; >-}var vRequest=this._queue.shift(); >-var vTransport=new qx.io.remote.Exchange(vRequest); >-this._totalRequests++; >-this._active.push(vTransport); >-this._debug(); >-vTransport.addEventListener("sending", >-vRequest._onsending, >-vRequest); >-vTransport.addEventListener("receiving", >-vRequest._onreceiving, >-vRequest); >-vTransport.addEventListener("completed", >-vRequest._oncompleted, >-vRequest); >-vTransport.addEventListener("aborted", >-vRequest._onaborted, >-vRequest); >-vTransport.addEventListener("timeout", >-vRequest._ontimeout, >-vRequest); >-vTransport.addEventListener("failed", >-vRequest._onfailed, >-vRequest); >-vTransport.addEventListener("sending", >-this._onsending, >-this); >-vTransport.addEventListener("completed", >-this._oncompleted, >-this); >-vTransport.addEventListener("aborted", >-this._oncompleted, >-this); >-vTransport.addEventListener("timeout", >-this._oncompleted, >-this); >-vTransport.addEventListener("failed", >-this._oncompleted, >-this); >-vTransport._start=(new Date).valueOf(); >-vTransport.send(); >-if(this._queue.length>0){this._check(); >-}}, >-_remove:function(vTransport){qx.lang.Array.remove(this._active, >-vTransport); >-vTransport.dispose(); >-this._check(); >+this._form.submit(); >+this.setState("sending"); > }, >-_activeCount:0, >-_onsending:function(e){{if(qx.core.Setting.get("qx.ioRemoteDebug")){this._activeCount++; >-e.getTarget()._counted=true; >-this.debug("ActiveCount: "+this._activeCount); >-}}; >+_onload:function(e){if(this._form.src){return; >+}this._switchReadyState(qx.io.remote.IframeTransport._numericMap.complete); > }, >-_oncompleted:function(e){{if(qx.core.Setting.get("qx.ioRemoteDebug")){if(e.getTarget()._counted){this._activeCount--; >-this.debug("ActiveCount: "+this._activeCount); >-}}}; >-this._remove(e.getTarget()); >+_onreadystatechange:function(e){this._switchReadyState(qx.io.remote.IframeTransport._numericMap[this._frame.readyState]); > }, >-_oninterval:function(e){var vActive=this._active; >-if(vActive.length==0){this._timer.stop(); >+_switchReadyState:function(vReadyState){switch(this.getState()){case "completed":case "aborted":case "failed":case "timeout":this.warn("Ignore Ready State Change"); > return; >-}var vCurrent=(new Date).valueOf(); >-var vTransport; >-var vRequest; >-var vDefaultTimeout=this.getDefaultTimeout(); >-var vTimeout; >-var vTime; >-for(var i=vActive.length-1;i>=0;i--){vTransport=vActive[i]; >-vRequest=vTransport.getRequest(); >-if(vRequest.isAsynchronous()){vTimeout=vRequest.getTimeout(); >-if(vTimeout==0){continue; >-} >-if(vTimeout==null){vTimeout=vDefaultTimeout; >-}vTime=vCurrent-vTransport._start; >-if(vTime>vTimeout){this.warn("Timeout: transport "+vTransport.toHashCode()); >-this.warn(vTime+"ms > "+vTimeout+"ms"); >-vTransport.timeout(); >-}}}}, >-_applyEnabled:function(value, >-old){if(value){this._check(); >-}this._timer.setEnabled(value); >+}while(this._lastReadyState<vReadyState){this.setState(qx.io.remote.Exchange._nativeMap[++this._lastReadyState]); >+}}, >+setRequestHeader:function(vLabel, >+vValue){}, >+getResponseHeader:function(vLabel){return null; > }, >-add:function(vRequest){vRequest.setState("queued"); >-this._queue.push(vRequest); >-this._check(); >-if(this.getEnabled()){this._timer.start(); >+getResponseHeaders:function(){return {}; >+}, >+getStatusCode:function(){return 200; >+}, >+getStatusText:function(){return ""; >+}, >+getIframeWindow:function(){return qx.html.Iframe.getWindow(this._frame); >+}, >+getIframeDocument:function(){return qx.html.Iframe.getDocument(this._frame); >+}, >+getIframeBody:function(){return qx.html.Iframe.getBody(this._frame); >+}, >+getIframeTextContent:function(){var vBody=this.getIframeBody(); >+if(!vBody){return null; >+} >+if(!vBody.firstChild){return ""; >+}if(vBody.firstChild.tagName&&vBody.firstChild.tagName.toLowerCase()=="pre"){return vBody.firstChild.innerHTML; >+}else{return vBody.innerHTML; > }}, >-abort:function(vRequest){var vTransport=vRequest.getTransport(); >-if(vTransport){vTransport.abort(); >-}else if(qx.lang.Array.contains(this._queue, >-vRequest)){qx.lang.Array.remove(this._queue, >-vRequest); >+getIframeHtmlContent:function(){var vBody=this.getIframeBody(); >+return vBody?vBody.innerHTML:null; >+}, >+getFetchedLength:function(){return 0; >+}, >+getResponseContent:function(){if(this.getState()!=="completed"){{if(qx.core.Setting.get("qx.ioRemoteDebug")){this.warn("Transfer not complete, ignoring content!"); >+}}; >+return null; >+}{if(qx.core.Setting.get("qx.ioRemoteDebug")){this.debug("Returning content for responseType: "+this.getResponseType()); >+}}; >+var vText=this.getIframeTextContent(); >+switch(this.getResponseType()){case qx.util.Mime.TEXT:{if(qx.core.Setting.get("qx.ioRemoteDebugData")){this.debug("Response: "+this._responseContent); >+}}; >+return vText; >+break; >+case qx.util.Mime.HTML:vText=this.getIframeHtmlContent(); >+{if(qx.core.Setting.get("qx.ioRemoteDebugData")){this.debug("Response: "+this._responseContent); >+}}; >+return vText; >+break; >+case qx.util.Mime.JSON:vText=this.getIframeHtmlContent(); >+{if(qx.core.Setting.get("qx.ioRemoteDebugData")){this.debug("Response: "+this._responseContent); >+}}; >+try{return vText&&vText.length>0?qx.io.Json.parseQx(vText):null; >+}catch(ex){return this.error("Could not execute json: ("+vText+")", >+ex); >+}case qx.util.Mime.JAVASCRIPT:vText=this.getIframeHtmlContent(); >+{if(qx.core.Setting.get("qx.ioRemoteDebugData")){this.debug("Response: "+this._responseContent); >+}}; >+try{return vText&&vText.length>0?window.eval(vText):null; >+}catch(ex){return this.error("Could not execute javascript: ("+vText+")", >+ex); >+}case qx.util.Mime.XML:vText=this.getIframeDocument(); >+{if(qx.core.Setting.get("qx.ioRemoteDebugData")){this.debug("Response: "+this._responseContent); >+}}; >+return vText; >+default:this.warn("No valid responseType specified ("+this.getResponseType()+")!"); >+return null; > }}}, >-destruct:function(){this._disposeObjectDeep("_active", >-1); >-this._disposeObjects("_timer"); >-this._disposeFields("_queue"); >+defer:function(statics, >+members, >+properties){qx.io.remote.Exchange.registerType(qx.io.remote.IframeTransport, >+"qx.io.remote.IframeTransport"); >+}, >+destruct:function(){if(this._frame){this._frame.onload=null; >+this._frame.onreadystatechange=null; >+if(qx.core.Variant.isSet("qx.client", >+"gecko")){this._frame.src=qx.io.Alias.getInstance().resolve("static/image/blank.gif"); >+}document.body.removeChild(this._frame); >+} >+if(this._form){document.body.removeChild(this._form); >+}this._disposeFields("_frame", >+"_form"); > }}); > > >@@ -19680,6 +19567,141 @@ > > > >+/* ID: qx.io.remote.RequestQueue */ >+qx.Class.define("qx.io.remote.RequestQueue", >+{type:"singleton", >+extend:qx.core.Target, >+construct:function(){this.base(arguments); >+this._queue=[]; >+this._active=[]; >+this._totalRequests=0; >+this._timer=new qx.client.Timer(500); >+this._timer.addEventListener("interval", >+this._oninterval, >+this); >+}, >+properties:{enabled:{init:true, >+check:"Boolean", >+apply:"_applyEnabled"}, >+maxTotalRequests:{check:"Integer", >+nullable:true}, >+maxConcurrentRequests:{check:"Integer", >+init:3}, >+defaultTimeout:{check:"Integer", >+init:5000}}, >+members:{_debug:function(){var vText=this._active.length+"/"+(this._queue.length+this._active.length); >+{if(qx.core.Setting.get("qx.ioRemoteDebug")){this.debug("Progress: "+vText); >+window.status="Request-Queue Progress: "+vText; >+}}; >+}, >+_check:function(){this._debug(); >+if(this._active.length==0&&this._queue.length==0){this._timer.stop(); >+}if(!this.getEnabled()){return; >+}if((this._queue.length>0&&this._queue[0].isAsynchronous()&&this._active.length>=this.getMaxConcurrentRequests())||this._queue.length==0){return; >+}if(this.getMaxTotalRequests()!=null&&this._totalRequests>=this.getMaxTotalRequests()){return; >+}var vRequest=this._queue.shift(); >+var vTransport=new qx.io.remote.Exchange(vRequest); >+this._totalRequests++; >+this._active.push(vTransport); >+this._debug(); >+vTransport.addEventListener("sending", >+vRequest._onsending, >+vRequest); >+vTransport.addEventListener("receiving", >+vRequest._onreceiving, >+vRequest); >+vTransport.addEventListener("completed", >+vRequest._oncompleted, >+vRequest); >+vTransport.addEventListener("aborted", >+vRequest._onaborted, >+vRequest); >+vTransport.addEventListener("timeout", >+vRequest._ontimeout, >+vRequest); >+vTransport.addEventListener("failed", >+vRequest._onfailed, >+vRequest); >+vTransport.addEventListener("sending", >+this._onsending, >+this); >+vTransport.addEventListener("completed", >+this._oncompleted, >+this); >+vTransport.addEventListener("aborted", >+this._oncompleted, >+this); >+vTransport.addEventListener("timeout", >+this._oncompleted, >+this); >+vTransport.addEventListener("failed", >+this._oncompleted, >+this); >+vTransport._start=(new Date).valueOf(); >+vTransport.send(); >+if(this._queue.length>0){this._check(); >+}}, >+_remove:function(vTransport){qx.lang.Array.remove(this._active, >+vTransport); >+vTransport.dispose(); >+this._check(); >+}, >+_activeCount:0, >+_onsending:function(e){{if(qx.core.Setting.get("qx.ioRemoteDebug")){this._activeCount++; >+e.getTarget()._counted=true; >+this.debug("ActiveCount: "+this._activeCount); >+}}; >+}, >+_oncompleted:function(e){{if(qx.core.Setting.get("qx.ioRemoteDebug")){if(e.getTarget()._counted){this._activeCount--; >+this.debug("ActiveCount: "+this._activeCount); >+}}}; >+this._remove(e.getTarget()); >+}, >+_oninterval:function(e){var vActive=this._active; >+if(vActive.length==0){this._timer.stop(); >+return; >+}var vCurrent=(new Date).valueOf(); >+var vTransport; >+var vRequest; >+var vDefaultTimeout=this.getDefaultTimeout(); >+var vTimeout; >+var vTime; >+for(var i=vActive.length-1;i>=0;i--){vTransport=vActive[i]; >+vRequest=vTransport.getRequest(); >+if(vRequest.isAsynchronous()){vTimeout=vRequest.getTimeout(); >+if(vTimeout==0){continue; >+} >+if(vTimeout==null){vTimeout=vDefaultTimeout; >+}vTime=vCurrent-vTransport._start; >+if(vTime>vTimeout){this.warn("Timeout: transport "+vTransport.toHashCode()); >+this.warn(vTime+"ms > "+vTimeout+"ms"); >+vTransport.timeout(); >+}}}}, >+_applyEnabled:function(value, >+old){if(value){this._check(); >+}this._timer.setEnabled(value); >+}, >+add:function(vRequest){vRequest.setState("queued"); >+if(vRequest.isAsynchronous())this._queue.push(vRequest); >+else this._queue.unshift(vRequest); >+this._check(); >+if(this.getEnabled()){this._timer.start(); >+}}, >+abort:function(vRequest){var vTransport=vRequest.getTransport(); >+if(vTransport){vTransport.abort(); >+}else if(qx.lang.Array.contains(this._queue, >+vRequest)){qx.lang.Array.remove(this._queue, >+vRequest); >+}}}, >+destruct:function(){this._disposeObjectDeep("_active", >+1); >+this._disposeObjects("_timer"); >+this._disposeFields("_queue"); >+}}); >+ >+ >+ >+ > /* ID: qx.ui.embed.Iframe */ > qx.Class.define("qx.ui.embed.Iframe", > {extend:qx.ui.basic.Terminator, >Index: js/qx.js >=================================================================== >RCS file: /cvsroot/technology/org.eclipse.rap/org.eclipse.rap.rwt.q07/js/qx.js,v >retrieving revision 1.9 >diff -u -r1.9 qx.js >--- js/qx.js 1 Sep 2008 22:33:44 -0000 1.9 >+++ js/qx.js 6 Oct 2008 08:49:29 -0000 >@@ -1,191 +1,191 @@ >-$=["","qx.client","Boolean","auto","qx.event.type.Event","Integer","String","none","string","right",';',"left","mousedown","mshtml","pressed","completed","keydown","bottom","singleton","Number","top","gecko","mouseup","on",".","set","scroll","failed","object","sending","width","height","timeout","aborted",'computed=this.',"abandoned","hidden","function","px","receiving","keypress","0","solid","over","style",'=value;',"Enter",":","other",'this.',"number","abstract","0px","click","absolute","off","100%","center","boolean","active","Left","mouseover","middle","overflow","Right","undefined","qx.ui.core.Widget","div","borderTopWidth","Up","maximized","configured","borderLeftWidth","minWidth","maxWidth","maxHeight","Down","minHeight","position",";","init","frame","load"," ","Space","interval","qx.event.type.MouseEvent","PageUp","keyup","input","Color","CSS1Compat","selected","&","qx.io.remote.Response","error",'</span>','if(this.',"qx.event.type.DataEvent","PageDown","locationX",",",'}',"shorthand","dblclick","mouseout","reset","change","qx.aspects",'"',"both","scrollY","scrollX","locationY","get","]","inherit","vertical",'delete this.',"Object","unstyle","Theme","checked","fixed","changeValue","Control","body","NumLock","execute","Escape","created","unload","horizontal","icon",'!==undefined)',"/","Alt","-","1*","translucent","*","ie4+","Shift","qx.event.type.DragEvent","filter",")","refresh","webkit","mousemove","dragover","Home","qx.ui.popup.ToolTipManager","qx.ui.menu.Manager","marginTop","opera","_","normal","khtml","display","marginLeft","qx.ui.menu.Menu","1px","End","alias","copy","_applyChecked","qx.ui.popup.PopupManager","dotted","qx.event.type.FocusEvent","Delete","groove","double","9","%","A","overflowX","qx.ui.selection.RadioManager","dragstart","static","overflowY","\n","_applyIcon",'return this.','else if(this.',"mousewheel","disabled","qx.event.type.KeyEvent","dashed","Tab","_applyManager","outset","Backspace","inset","appear","?","label","ridge","=","queued","blur","MozOutline","white","resize","Insert","hand","1px dotted invert","_applyResizable","$",'!==undefined){',"_applyValue","fontSize","marginBottom","Unidentified","_manager","outline","paddingTop","widget","left-reversed","this.","contextmenu","changeLocale","top-reversed","textarea","Meta","focused","marginRight","minimized",'=true;',"middle-reversed","center-reversed",'old=this.',"paddingBottom","move","color",": ","qx.event.handler.DragAndDropHandler","focus","PrintScreen","border-box","iframe","opaque","qx.ui.popup.ToolTip","paddingLeft","_applyClip","textAlign","paddingRight","+","safari2","Pause","_labelObject","only_plus","beforeunload","100px","focusin","text","value","_applyLabel","down","short","dragenter","_applyName","changeSelected","qx.ui.embed.IframeManager","qx.deprecationWarnings","justify","focusout","Scroll","_applySelected","=''","changeShow","changeChecked","_applyWrap","disappear",'","',"-moz-scrollbars-vertical"," ","lead","}","bold","Apps","Label","-moz-scrollbars-horizontal","n-resize","windowblur","_timer","dragdrop","Win","_applyTextAlign","qx.resourceUri","g","changeState",'typeof value === "number" && isFinite(value)',"pointer","qx.io.remote.XmlHttpTransport","qx.io.remote.IframeTransport","default","_applyState","_iconObject","lastChild",')',"keyinput","only_minus","_applyEnabled","qx.ui.form.Button","underline","e-resize","qx.ui.core.Parent","_frame",'",value);',"zIndex","Connection dropped","dragout","_childrenQueue","a","_compute","F1","(","addAtEnd","treeClose","appearances","_applyEditable","nowrap","removeAll","cursor","indexOf","qx.application.Gui","Content-Type","addAfter","win","_element","nw-resize","F2","__init$","fontStyle","'","<","_list","styleTop","plus","F12","dragleave","log","borderBottomWidth","parent","_layout","F3","8",":content-box;","6","up","meta","gecko|opera|webkit","padding","nocache","tabIndex","F11","opacity","qx.ui.embed.Flash","styleRight","KhtmlOpacity","unknown","styleLeft","F4","7","windowresize","_applySource","Value",":border-box;","no-cache","MozUserSelect","line","F10","backgroundRepeat","clipHeight","soft","italic","_invalidate",' </div>',"Assertion Failure","Pragma","fontWeight",'if(old===computed)return value;',"KhtmlUserSelect","noComputed","F5","4","]);",'else ','<span class="objectBox-number">',"removeChild","treeOpenWhileEmpty","colors","changeSource","alignLeft","character","Ready","barBottom","|","treeOpenWithContent",'";',"colorBottom","beforeDisappear","5","F6","DOMMouseScroll","widthBottom","addAt",'undefined',"CapsLock","#FCE1D8","drag","qx.allowUrlSettings","cross","Array","whiteSpace","qx.io.image.Preloader","toggle","colorTop","2","F7","-khtml-box-sizing","add","]\n","borderRightWidth","page","0 none","qx.enableAspect","Cache-Control","ne-resize","margin","_pane","_recompute","3","F8","&#","(a[","backgroundImage","qx.io.remote.AbstractRemoteTransport","text/css","F9","qx.allowUrlVariants","file:","alignRight","hasComputed","minus","styleBottom","widthRight","before","_applyMenu","dragexit","{","toString","clipTop","qx.ui.pageview.AbstractPage","lazyopaque","static/image/blank.gif","qx.event.type.ChangeEvent"," messages removed)","boxSizing","anchor",'.$$properties.',"qx.log.appender.Native","changeEnabled","fonts",'if(computed===undefined)computed=null;',"textDecoration","_applyElement","qx.util.range.IRange","_objects","qx.ui.pageview.AbstractButton","draggesture","Function","fontFamily","widthTop","end","first","Margin","v","&",":constructor","addBefore","event","1","Padding","<br>","icons","colorRight","addAtBegin","backgroundColor","dragend","qx.client.Command","_blocker","concat","qx.core.Object",'!(',"qx.ui.form.ListItem","MozOpacity","Z","ignore","__user$","readonly","return this.","qx.ui.window.Window","tree-folder","barTop","changeName","head","qx.ui.window.Manager","slice","qx.io.remote.Exchange","qx.event.handler.FocusHandler","[","WebkitUserSelect","qx.io.remote.Request","removeAt","dragmove","clipLeft",'@import "',"Element","borders",'',"lineHeight","onscroll","widgets","userSelect","();","widthLeft","clipWidth","qx.client.NativeWindow",'if(old===undefined)old=null;',"remove","colorLeft","changeSelection","lastIndexOf","s","\r\n","menu-button-arrow","qx.Class.","_focusHandler","Border",' * { box-sizing: border-box; -moz-box-sizing: border-box; -webkit-box-sizing: border-box }',"_applyActive","_valueOriginalTarget","__feedbackWidget","pre","javascript:void(0)","Linux","borderBottomStyle","Font","Use proxy","qx.ui.menu.CheckBox","resizableEast","qx.Interface","qx.ui.tree.TreeFolder",'value !== null && window.document',' <input id="marker" type="button" value="Add divider"/>     Filter: <input name="filter" id="filter" type="text" value="',"qx.ui.form.TextField",')a[i].',"_applyFocusRoot","qx.ui.basic.Inline","_applyAllowClose","Not implemented","localeCompare",' html, body, input, pre{ font-size: 11px; font-family: Tahoma, sans-serif; line-height : 1 }','var inherit=prop.$$inherit;',"Not modified","_applyLocale","text-field","./resource","pixelBottom","menu-layout"," (nightly)","_cachedVisibleChildren","_applyText","qx.html.Dimension","_applyFont","Use getValue() instead!","_applySpacing","Macintosh","_hideTimer","tab-view-pane"," - ","progress","static/html/blank.html","qx.lang.Core","__inherit$","matches","changeBorderTheme","Use removeHtmlProperty instead","radio-button","_applySize","border","resizableNorth","qx.core.Log.debug","this.removeStyleProperty('padding","Partial content","MacPPC","quote","Print","qx.application"," ","__onload","qx.Class","qx.logAppender","qx.event.handler.EventHandler","Win32","qx.iconTheme","forEach","1.0","qx.ui.menu.Separator",' <div id="control">',"autoComplete",' is not (yet) ready!");',"changeElement","key_full_Meta","(measure start) ","progid:DXImageTransform.Microsoft.AlphaImageLoader(src='","Height","qx.version","qx.log.appender.Window","_layoutChanges","changeParent","_applyMarginBottom","_applySelectable","_applyPreloader","qx.bom.element.Dimension","_applyAnchorItem","cursor:","application/x-www-form-urlencoded","extend","Pixel","qx.ui.toolbar.RadioButton","_applyBackgroundImage","firefox","qx.ui.menu.MenuLayoutImpl","n","changeTextColor","borderBottom",'computed=value;',"qx.boxModelCorrection"," WARN: ",'Does not allow any arguments!',"__states",'return value;'," DEBUG: ","complete","_horizontalLayout","changeAnonymous","key_short_NumLock","qx.locale.Manager","key_short_Left","_applyOpen","toolbar-button","qx.io.image.Manager","OmniWeb","_applyMinHeight","[^\\.0-9]","key_short_Right","ms","See other",'!',"-webkit-box-sizing","tree-icon","_data_","_showTimer","qx.net.Http","line-through","qx.ui.form.ComboBox","_captionTitle",'if(!clazz.$$propertiesAttached)qx.core.Property.attach(clazz);',"changeActiveChild","U",']._autoCloseWindow()}catch(e){}">',"_applyShowInterval","var a=arguments[0] instanceof Array?arguments[0]:arguments;",'</div>',"C","Bad gateway",'value !== null && value.$$type === "Mixin"',"_applyBoundToWidget","icon/16/places/folder.png","qx.ui.pageview.AbstractPane","gray","split","_applyBackgroundRepeat","Log window message: Starting error recording, any errors below this line will prevent the log window from closing","list",'=computed;',"qx.ui.popup.Popup","qx.locale.Key","Type","qx.util.format.NumberFormat","replace","qx.ui.menubar.MenuBar","qx.io.Alias","_captionBar","<hr/>","_applyBottom","tab-view-button","_valueRelatedTarget","changeResizeMethod",":constructor wrapper","_closeTimer","_applyRootOpenClose",'value !== null && value.$$type === "Interface"',"qx.Mixin","_applyBorder","beforeAppear",'">',"_applyRight","__cache","_applyMax","_check","o","_indentObject","property","qx.ui.layout.BoxLayout","_applyMaxHeight","Galeon","force","after","userFocus","tab-view-page","parentPaddingBottom","qx.lang.Generics","qx.ui.basic.ScrollBar","key_short_End","warn","changeLeadItem",' <div id="lines">',"client-document-blocker","push","qx.core.Log.error","qx.log.DefaultFilter","qx.util.Normalization","key_full_Win","Log window message: Stopping error recording, discarding ","key_full_Up","key_full_PrintScreen","_selectedItems","hasOwnProperty","qx.ui.basic.Image","_applyColorBottom","_atom","_icons","key_short_Delete","Request-URL too large","Not acceptable","toolbar-part-handle-line","_applyAllowMaximize",'_treeRowStructureFields','typeof value === "number" && isFinite(value) && value%1 === 0',"_applyNumberFormat","_buttonlayout",'!(value instanceof ','value !== null && qx.theme.manager.Font.getInstance().isDynamic(value)',"qx.html.Scroll","changeIcon","html,body { margin:0;border:0;padding:0; } ","_applyMin","_applyStretchChildrenOrthogonalAxis","<img style=\"position:absolute;top:0px;left:","pixelHeight","qx.ui.pageview.AbstractBar"," !important","_lastMouseDownDispatchTarget","key_full_Control",'(backup);',"[Mixin ","Tabulator","__all","_applyFocused","lines","qx.ui.tree.Tree",'if(computed===inherit){',"qx.log.Filter","_scrollBar","key_full_Down","Connection closed by server","native","key_full_Alt","PgDn","_applyScrolling","borderTop",'<body onload="qx = opener.qx;" onunload="try{qx.log.WindowAppender._registeredAppenders[',"sort","key_full_Space","qx.ui.pageview.tabview.TabView",' </style>',"safari","scrollbar-blocker","_applyPaddingTop","qx.ui.core.Font","changeEditable","qx.ui.layout.impl.LayoutImpl","_applyCheckValueFunction",';}',"changeRight","\\\"","unshift","Ins","menu-check-box","Windows","tab-view-bar",'!==undefined&&',"iconSelected","getFirstActiveChild","qx.core.Log.info","Null","changeFont","_applyOverflow",'<iframe name="','value instanceof Date',"/static","borderLeftStyle","window-captionbar-restore-button",'if((computed===undefined||computed===inherit)&&','character',"_applyHideInterval","transparent","_applyReadOnly","BODY","_applyIncrementAmount","qx.ui.form.InputCheckSymbol","changeFocusedChild",'(value);',"changeHtml","changeColorTheme"," errors have been recorded, keeping log window open.</b>","a=qx.lang.Array.fromShortHand(qx.lang.Array.fromArguments(a));","(passed time: ",">>> ",'_labelObject','<span class="objectBox-function">',"last","_resetRuntime","_handle","qooxdoo","Moved temporarily","_applyButton",' hr { border: 0 none; border-bottom: 1px solid #ccc; margin: 8px 0; padding: 0; height: 1px }','if(clazz.$$includes){var mixins=clazz.$$flatIncludes;','wrap',"scrolling","verticalAlign","substring","[object Error]","match",'#',"https://","destructor","icon/16/status/folder-open.png",'value !== null && value.$$type === "Class"',"_applyAutoSync","ValueExact"," at ",'typeof value === "string" && qx.util.ColorUtil.isValid(value)',"key_short_Backspace","__",'var a=this.getChildren();if(a)for(var i=0,l=a.length;i<l;i++){',"qx.ui.layout.impl.VerticalBoxLayoutImpl","qx.log.appender.HtmlElement","parentPaddingLeft","debug","_applyAppearance","_blockerNode","_styleProperties","_applyOpacity","qx.html.Offset","reverseChildrenOrder",",height=","qxvariant",'if(mixins[i].$$constructor){mixins[i].$$constructor.apply(this,arguments);}}}',"Alpha(Opacity=",'Authorization',"charAt","_applyBorderTheme","\\$1","parentPaddingRight","_applyZIndex","')","_aliases","check-box","_applyOpenInterval","window","px\" src=\"",'var backup=computed;',"_applyPaddingLeft","qx.core.LegacyProperty","true","_lastUpDownType",'for(var i=0,l=mixins.length;i<l;i++){',"_applyFontTheme","Please use getKeyIdentifier() instead.","_applyTabIndex",'if(this.classname===',"start_plus","qx.debug",'if(value!==inherit)',"key_short_Scroll","HTTP version not supported",'if(a[i].',"(!this.","font-size:","single","MSXML2.XMLHTTP.4.0","qx.locale.LocalizedString","combo-box-popup","qx.ui.menubar.Button","changeBackgroundColor","qx.fontTheme","[Interface ","_translationCatalog","qx.theme.manager.Color","_restoreButton","nodrop","_captionFlex",'var clazz=arguments.callee.constructor;',"borderTopStyle","window-captionbar-close-button","__useinit$","changeModal",'Undefined value is not allowed!',"Interface","__actions","window-statusbar","qx.bom.element.Style",'Is invalid!',"colorInnerBottom","id","netnewswire","qx.ui.layout.HorizontalBoxLayout","': ",">","client-document","borderRightStyle","changeMoveMethod","X-Qooxdoo-Response-Type","key_short_Space",'</span></td>',"_markerBtn","ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=","_applyMaxLength","Firefox","-moz-box-sizing","img","_showTimeStamp","_field","Gray() Alpha(Opacity=30)","_htmlAttributes",'){',"qx.application.IApplication","key_short_CapsLock","qx.minLogLevel","anonymous: ","MozBoxSizing"," (#","Use getUseDoubleClick instead","_closeButtonImage","spinner-button-down","tree-element-label","0.0","info","__onmouseevent","key_full_Scroll","=((v==null)?0:v)+'px'","_valueDomEvent","qx.io.remote.RequestQueue","_applyColorInnerBottom","qx.ui.toolbar.CheckBox","_applyLeft","window-captionbar","_borderElement","[object ","_maximizeButton","qx.appearanceTheme","Server timeout","__onwindowblur","clip","Mozilla","Log window message: <b>Note: ","_applyCloseInterval","dir",'</span></td></tr>',"Server error",'var prop=qx.core.Property;',"changeBottom","width=500,height=250,dependent=yes,resizable=yes,status=no,location=no,menubar=no,toolbar=no,scrollbars=no",'<table>',"qx.ui.resizer.IResizable","Del","_mouseEvent","_layoutImpl","_applyShowCloseButton","_cached","0px none",'<span class="selectorId">#',')prop.error(this,5,"',"qx.theme.manager.Icon","qx.core.Version","Num","_openTimer","tree-folder-icon","toLocaleUpperCase",' <span class="nodeName">','\", "',"Width","qx.theme.manager.Border","pixelWidth","_applyVerticalChildrenAlign","group-box","__manager","qx.log.Logger","key_full_PageDown"," [not readable: ","key_full_Escape","ae","initial","_computed","_applyShowClose","tab-view","_applyTheme","0x","__key","_requestHeaders"," ms) ","_applyPage","omniweb",'-','!==inherit){',"changeOpen","changeFocused","changeTheme","qx.eventMonitorNoListeners","key_short_Insert",'X',"end_minus","getLastActiveChild",'value !== null && (qx.locale.Manager.getInstance().isDynamic(value) || typeof value === "string")',"_fields","_applyIconWidth","_lastMouseEventDate","_statusBar","_queue","_applyGlobalCursor","_applyStyleBottom","MaxWidth","image","qx.core.Package","_applyInterval","galeon","join","qx.ui.resizer.MResizable","qx.html.StyleSheet","_appenderArr","AppleWebKit","Legacy properties are deprecated","Use setHtmlProperty instead","_remappingChildTable","toolbar=no,scrollbars=no,resizable=yes,","qx.ui.core.ClientDocument","qx.util.manager.Object","right-reversed","toolbar-part-handle","qx.ui.form.RadioButton",">","other gecko","form","qx.util.Compare","no","resizer-frame","qx.ui.groupbox.GroupBox","qx.ui.basic.Atom","Percent","window-captionbar-icon","_applyBackgroundColor","combo-box-button","_applyCaption","qx.colorTheme","http://",'.classname)this.$$initialized=true;',"menu-radio-button","_applyResponseType","_valueData",'else{',"key_full_Enter","qx.core.Init","_applyHorizontalChildrenAlign","Ae",'<span class="selectorTag">',"Conflict",'#lines { width: 100%; height: expression((document.body.offsetHeight - 30) + "px"); }',"changeCapture","map","O","__theme$","_applyShowMaximize",'value !== null && value.nodeType !== undefined',"_filterArr",'></iframe>',"Ctrl","key_short_Home","rgb(",'computed=undefined;delete this.',"RealPlayer","_lastMouseEventType","font-style:","qx.core.Log.assert","_applyMarginTop","_applyHoverItem","Microsoft.XMLHTTP",'return retval;',"_applyVisibility",'if(computed===undefined||computed===inherit){',"splice","qx.theme.ClassicRoyale","_applyMaxWidth",'typeof value === "string"',"resizableWest","changeZIndex",'if(value!==null)',"--- Object: ",'typeof value === "string" && value.length > 0',"_applyActiveWindow","popup","_hideTimeStamp","Unknown status code","key_","create","Not available","_inlineEvents","_applyIconTheme","_applyWidthRight","qx.lang.Object","_window","key_short_PageDown","_upbutton","member","key_full_Tab",'throw new Error("Property ',"visibility","_applyStatus",'value !== null && qx.theme.manager.Border.getInstance().isDynamic(value)',"MacIntel","spinner-button-up","No content","changeMode","_applyFocusHandler","qx.core.Log.log","z","Top","qx.core.Log.warn","command","qx.ui.form.Spinner","This method is no longer needed since the event object is now an instance of the Response class.","_applyDisplay","_document","styleFloat","_attachedWidget","qx.ui.tree.SelectionManager","valueOf","__user$excludeSpecificTreeLines","start_minus","_applyShowStatusbar","mozBoxSizing",'name="',"form_","qx.dom.String","ue","qx.io.remote.ScriptTransport","_applyHtml","unix","changeFontTheme",'<span class="objectBox-null">',"body {}","type","qx.ui.form.PasswordField","search","key_short_Down","qx.core.Aspect"," errors.","mac","qx.ui.core.Border",'Requires exactly one argument!',"_divDataSets","toolbar",'if(value===null)prop.error(this,4,"',"_widget","Parsed","_previousParentFolder","qx.bom.Document",'Basic ',"qx.ui.toolbar.ToolBar","window-captionbar-maximize-button",'value !== null && value.$$type === "Theme"',"key_short_Tab","_lastKeyCode",' pre { margin: 0; padding: 4px 8px; font-family: Consolas, "Bitstream Vera Sans Mono", monospace; }',"MSIE","Forbidden","qx.html.Entity","_applyCaptureWidget","anonymous","_lastMouseDown",'</span>="<span class="nodeValue">',"cssFloat","toolbar-part","qx.ui.tree.TreeRowStructure",'Referer','!(value && qx.Class.hasInterface(value.constructor, ',"qx.ui.basic.Label",".gif","qx.ui.basic.ScrollArea","Use getUseTreeLines instead","[Theme ","_popup","Proxy authentication required","qx.ui.popup.PopupAtom","group-box-legend","beforeInsertDom","_applyAutoCloseWithErrors","_legendObject","qx.io.image.PreloaderSystem","Use getHideNode instead","qx.html.EventRegistration","_innerStyle","icon/16/actions/document-new.png","verticalChildrenAlign","qx.html.Window","qx.bom.element.Location","Ue","_applyStyleRight",'===value)return value;',"-1","Object is null","<html><head><title>","=[not readable: ","end_plus"," in method ","qx.ui.basic.Terminator","_applyColorRight","__dragCache","_iframeNode","_applyWidthBottom",'if(value===undefined)prop.error(this,2,"',"#FEF0D2","_oldParent","key_short_Up","_applyItalic","key_full_Insert",'value=this.',"_statusText","_formFields","tree",'<span class="objectBox-selector">',"menu-button","_minimizeButton","qx.ui.selection.SelectionManager","_active","qx.ui.tree.AbstractTreeElement","_applyAllowMinimize","MSXML2.XMLHTTP.3.0","_applyHideFocus","progid:DXImageTransform.Microsoft.Shadow(color='Gray', Direction=135, Strength=4)","qx.ui.embed.HtmlEmbed","_applyLeadItem","bottom-reversed","commandLine","_applyImplementation","qx.core.Log.dir","qx.core.MUserData",'value instanceof RegExp',"_logEventQueue","toolbar-separator-line","qx.event.type.DomEvent","<pre>Could not execute json: \n","__ondragevent","_valueOldValue","_applyLoaded","())","qx.util.range.Range","_applyParent","qx.core.Variant","qx.core.Target",""","/source/class/","__listeners","beforeRemoveDom","_applyColorInnerRight","frame_","_applyMarginLeft","Request entity too large","qx.html.Location","Gecko","qx.log.LogEventProcessor","_closeButton","pixelTop","'",' of an instance of ',"text-decoration:","_applyShow","_applyFocusedChild",'<div class="objectBox-element">',"changeAnchorItem","password","key_short_Alt","_parentLogger",' #lines{ top: 30px; left: 0; right: 0; bottom: 0; position: absolute; overflow: auto; }',"qx.lang.Array","_applyColorLeft",'</div><div class="objectBox-element"></<span class="nodeTag">',"toLocaleLowerCase","KDE","_children","Esc","qx.ui.pageview.tabview.Pane","yes","_applyMethod","_modify","qx.ui.pageview.tabview.Page","</title></head>","every","\\\\","addChild","changeValidator","__font","qx.util.Mime","_change","box-sizing","_applyIconPosition","changeDisplay","_applyWidth",'/></div>',"changeMaxHeight","qx.locale.MTranslation","changeMinHeight",'return null;',"unselectable","Caps","qx.ui.layout.CanvasLayout","spinner","_remappingChildTarget","_applyWidgetTheme","html { border:0 none; } ","cursor-dnd-","_image","', ((v==null)?0:v)+'px')","atom","_value",'_indentObject',"qx.preloaderTimeout","changeShowCloseButton","shift","qx.theme.manager.Appearance","org.w3c.dom.svg","Current stack trace",'Null value is not allowed!','<iframe onload="parent.qx.ui.embed.Iframe.load(this)"',"pixelLeft","toolbar-separator","file://","qx.event.handler.KeyEventHandler","key_full_Shift","Request time-out","Bad request","key_full_NumLock"," with incoming value '","menu-separator","key_full_End","link",'Could not change or apply init value after constructing phase!',"  ","qxsetting","orientation","changeOverflow","qx.ui.toolbar.Part","__stateMap","_applyCurrentToolTip",'value instanceof Function',"_htmlProperties","...","__intervalHandler","qx.ui.menu.ButtonLayoutImpl","_req","qx.log.appender.FireBug","parseerror","_valueCurrentTarget","qx.core.Log.dirxml","__oninput","_applySpellCheck","window-statusbar-text","width=","toLowerCase",'<span class="objectBox-string">"',"key_full_Delete"," of class ","icon/16/actions/dialog-cancel.png","cross_plus","_applyMinWidth","\" />","Multiple choices","Win64","changeIconTheme","_applyCommand","menu-separator-line","w","qx.ui.menu.Button","qx.html.Iframe","PgUp",'", computed, old);',"borderRight",",top=","_applyAlignTabsToLeft","1px 0",'value !== null && typeof value === "object"','value instanceof Array',"_applyFrameName","_applyAlwaysShowPlusMinusSymbol",'<tr>',"changeWindowManager","__visible","qx.ui.layout.impl.HorizontalBoxLayoutImpl","key_full_Apps","name","_filterTextWords",",left=","qx_log_","_applyTextColor","changeCaption","e","_applyColorInnerTop","pixelRight","_applyMaximum","} ","MozUserFocus","qx.theme.manager.Widget","_applyMarginRight","_applyStyleLeft","Flex","removeDom","key_full_Pause","font-family:",'var computed, old=this.',"_applyHeight","qx.core.Log","key_full_PageUp",' html, body{ padding: 0; margin: 0; border : 0 none; }',"_modalNativeWindow","_isErroneous","[Class ","resizer","_applyWidthTop","_style","changeLeft","_valueDomTarget","changeWidth","changeTop","__cursors","menu","__onselectevent","Payment required","font-weight:","_bar",'</span>"',"constructor","qx.ui.resizer.ResizablePopup",'<span class="objectBox-object">',"this.setStyleProperty('padding","windowfocus",':',"BSD","qx.core.Log.clear","qx.ui.menu.Layout","konqueror","changeMoveable","qx.Theme","qx.ui.pageview.tabview.Bar","gif","_applyHideNode","_applyUseTreeLines","_valueValue","Moved permanently","_applyShortcut","changeStatus","qx.ui.toolbar.MenuButton","_captionIcon","_parameters",'"</span>',"qx.util.Validation","qx.util.ColorUtil","_valueTarget","-resize","borderLeft","cross_minus","changeActive","_arrowObject","horizontalChildrenAlign"," INFO: ","_applyShowCaption","_applyTop","changeGlobalCursor",'<td class="propertyNameCell"><span class="propertyName">',"()","key_short_PrintScreen","MSHTML-specific HTTP status code","toUpperCase","_button",'var pa=this.getParent();if(pa)computed=pa.',"_applyDestinationWidget","_dynamic"," logRow-","firstChild","reverse","changeHeight","ss","X-Requested-With","qx.theme","qx.ui.selection.Selection","spinner-text-field","insertDom","oe","_applyFamily","combo-box","key_short_Enter","stretchChildrenOrthogonalAxis","tree-folder-label","window-captionbar-minimize-button",'value !== null && value.type !== undefined',"combo-box-text-field","Error: Could not get a reference to the sheet object",'value !== null && value.nodeType === 1 && value.attributes',"Not found",'value !== null && typeof value === "object" && !(value instanceof Array) && !(value instanceof qx.core.Object)',"_applyShowMinimize","qx.ui.embed.Iframe","_applyShowIcon",'(computed, old);',"changeAppearance",'</table>',"qx.ui.pageview.AbstractPageView","is","tree-element-icon",'()</span>','value !== null && value.nodeType === 9 && value.documentElement',"Gone","#FFEEEE","\n</pre>","Unauthorized","_applyPaddingBottom",".apply(this._remappingChildTarget, arguments)","You can only specify one non modifier key!","_registry","closetab","*{","action","_applyOrientation","qx.ui.toolbar.PartHandle","qx.borderTheme","qx.log.MLogging",'old=computed=this.',"_applyColorTheme","qx.core.Client","qx.ui.toolbar.Separator","qx.theme.manager.Meta","changeSpacing","key_short_Apps","key_short_Win","_applyIconHeight",'<<span class="nodeTag">',"shiira",'===undefined)return;',"_applyActiveChild","substr","MaxHeight",'<span class="selectorClass">.',"null","_modalWidgets","qx.dom.Node","_applyCursor","__storage","changeVisibility","__lastDestinationEvent","colorInnerTop","realplayer","other webkit","_lastMouseDownDomTarget","_isPng","_applyUseAdvancedFlexAllocation","text-area","dirxml","list-item"," ---\n","qx.html.String",'))',"_filterInput","key_full_Home",'var retval=clazz.$$original.apply(this,arguments);',"camino",' #control { top: 0; left: 0; right: 0; padding: 4px 8px; background: #eee; border-bottom: 1px solid #ccc; height: 30px }',"__data","qx.ui.core.ClientDocumentBlocker"," ERROR: ","u","activeX","qx.client.Timer","[object Object]","qx.lang.Function","Out of resources","qx.dev.StackTrace","qx.core.Setting","qx.ui.menu.RadioButton","_applyModal","_globalCursorStyleSheet","_line","Oe","/static/log/log.html","Method not allowed","_applyAppearanceTheme","content-box","Ok",'if(','value instanceof Error','anonymous',"Unsupported media type","#F1FBF3","key_full_Left","qx.core.Property","qx.ui.form.List","Precondition failed","changeMenu","combo-box-list","__borderObject","_form","Error in property ","<","_applyProhibitCaching","_applyType","MinWidth","this._style.","_applyExcludeSpecificTreeLines","tree-label","_applyStyleTop","getFirstChild","marker",'"></iframe>',"window-captionbar-title"," (r","Gateway time-out","resizableSouth","html",'else if(computed===undefined)',"qx.core.Log.timeEnd",'></div><div class="nodeChildren">',"qx.widgetTheme","spacing","__modifier","X-Qooxdoo-Version","Alpha(Opacity=0)","-moz-scrollbars-none",'else this.',"_textfield","visible","Bottom","explorer","qx.core.Log.time","colorInnerLeft","_applyOpenItem"," FATAL: ","Safari","hideFocus","MSXML2.XMLHTTP.6.0","_applyDisabledIcon","_applyPaddingRight","changeBorder",'></span></div>',"en","__userData","beforeInitialOpen","Length required","_applyWidthLeft","--- End of object ---","qx.isSource","_logLinesDiv","logRow","_inputElement","__onwindowresize","changeCurrentAction","changeMinWidth",'var computed, old;','}else{',"stylesheet","_isCreated",'<td><span class="propertyValue">',"qx.util.manager.Value","qx.core.Bootstrap","toLocaleString","_shortcutObject","parentPaddingTop","horizontalAlign","qx.enableApplicationLayout","_jobQueue","key_short_Escape","some",'</body></html>',"_containerObject","StringExact","qx.ui.toolbar.Button","Not a valid key name for a command: ",'typeof value === "boolean"',"changeDirection","Mixin","charCodeAt","qx.net.HttpRequest","qx.lang.Number","box","',sizingMethod='scale')","[\xE4\xF6\xFC\xDF\xC4\xD6\xDC]","changeTabIndex","qx.lang.String","_renderRuntime","_applyCapture","_appender",'.checkMap[value]===undefined','.check.call(this, value)',"tool-tip","overline","getLastChild","qx.html.ScrollIntoView","key_short_Meta","_applyReverseChildrenOrder","key_short_PageUp","key_short_Pause","_applyDecoration","qx.widgetDebugId","!isNaN(value)&&value>=this.getMin()&&value<=this.getMax()","rect(","colorInnerRight","_isLoaded","_downbutton","MSXML2.XMLHTTP","_applyCloseButtonImage","_items","__onwindowfocus","qx.ui.layout.VerticalBoxLayout","_applyPlaceBarOnTop","full","Auto","pop","BackgroundImageCache","isPrototypeOf","qx.ui.form.CheckBox","qx.application.Basic","X11",'_iconObject',"NetNewsWire","qx.compatibility","_applyColorInnerLeft","qx.ui.form.TextArea","qx.bom.Viewport","key_full_Right","group-box-frame","url(","img{","button","key_full_Backspace","_applyBold","changeWidgetTheme",' <pre id="log" wrap="wrap"></pre>','this.createDispatchChangeEvent("',"_applyColorTop","html,body{width:100%;height:100%;overflow:hidden;}","changeOpenMenu","qx.log.appender.Abstract","qx.html.Style","_scrollContent","qx.locale.Locale","_checkValue","useAdvancedFlexAllocation","return this._remappingChildTarget.","changeOrientation","key_short_Shift","qx.ui.pageview.tabview.Button","__oninterval","key_short_Control","qx.ui.basic.HorizontalSpacer","Shiira","qx.theme.manager.Font","changeMaxWidth","MinHeight","key_full_CapsLock","qx.io.image.PreloaderManager","Camino","qx.ui.layout.impl.CanvasLayoutImpl","qx.ui.tree.TreeFile","_commands","_applyMode","tree-element",' <style type="text/css">','<div class="nodeText">',"_frameObject","changeAppearanceTheme"," ["];if(!window.qxsettings)qxsettings={};if(qxsettings["qx.theme"]==undefined)qxsettings["qx.theme"]="org.eclipse.swt.theme.Default";if(qxsettings["qx.logAppender"]==undefined)qxsettings["qx.logAppender"]="qx.log.appender.Native";if(qxsettings["qx.version"]==undefined)qxsettings["qx.version"]="0.7.3 (r11170)";if(qxsettings["qx.isSource"]==undefined)qxsettings["qx.isSource"]=false;if(!window.qxvariants)qxvariants={};qxvariants["qx.compatibility"]="off";qxvariants["qx.debug"]="off";qx={Class:{createNamespace:function($0,$1){var $2=$0.split($[24]);var $3=window;var $4=$2[0];for(var $5=0,$6=$2.length-1;$5<$6;$5++,$4=$2[$5]){if(!$3[$4]){$3=$3[$4]={};}else{$3=$3[$4];}}$3[$4]=$1;return $4;},define:function($0,$1){if(!$1){var $1={statics:{}};}this.createNamespace($0,$1.statics);if($1.defer){$1.defer($1.statics);}qx.core.Bootstrap.__registry[$0]=$1.statics;}}};qx.Class.define($[1694],{statics:{LOADSTART:new Date,time:function(){return new Date().getTime();},since:function(){return this.time()-this.LOADSTART;},__registry:{}}}); >-qx.Class.define($[584]);if(!Error.prototype.toString||Error.prototype.toString()==$[846]){Error.prototype.toString=function(){return this.message;};}if(!Array.prototype.indexOf){Array.prototype.indexOf=function($0,$1){if($1==null){$1=0;}else if($1<0){$1=Math.max(0,this.length+$1);}for(var $2=$1;$2<this.length;$2++){if(this[$2]===$0){return $2;}}return -1;};}if(!Array.prototype.lastIndexOf){Array.prototype.lastIndexOf=function($0,$1){if($1==null){$1=this.length-1;}else if($1<0){$1=Math.max(0,this.length+$1);}for(var $2=$1;$2>=0;$2--){if(this[$2]===$0){return $2;}}return -1;};}if(!Array.prototype.forEach){Array.prototype.forEach=function($0,$1){var $2=this.length;for(var $3=0;$3<$2;$3++){$0.call($1,this[$3],$3,this);}};}if(!Array.prototype.filter){Array.prototype.filter=function($0,$1){var $2=this.length;var $3=[];for(var $4=0;$4<$2;$4++){if($0.call($1,this[$4],$4,this)){$3.push(this[$4]);}}return $3;};}if(!Array.prototype.map){Array.prototype.map=function($0,$1){var $2=this.length;var $3=[];for(var $4=0;$4<$2;$4++){$3.push($0.call($1,this[$4],$4,this));}return $3;};}if(!Array.prototype.some){Array.prototype.some=function($0,$1){var $2=this.length;for(var $3=0;$3<$2;$3++){if($0.call($1,this[$3],$3,this)){return true;}}return false;};}if(!Array.prototype.every){Array.prototype.every=function($0,$1){var $2=this.length;for(var $3=0;$3<$2;$3++){if(!$0.call($1,this[$3],$3,this)){return false;}}return true;};}if(!String.prototype.quote){String.prototype.quote=function(){return $[109]+this.replace(/\\/g,$[1322]).replace(/\"/g,$[798])+$[109];};} >-qx.Class.define($[724],{statics:{__map:{"Array":[$[1051],$[1512],$[785],$[731],$[1747],$[1352],$[799],$[1114],$[492],$[508],$[324],$[533],$[607],$[1093],$[144],$[1702],$[1321]],"String":[$[597],$[845],$[1392],$[1505],$[875],$[1711],$[324],$[533],$[1311],$[1003],$[562],$[847],$[1177],$[692],$[683],$[1572],$[492],$[508]]},__wrap:function($0,$1){return function($2){return $0.prototype[$1].apply($2,Array.prototype.slice.call(arguments,1));};},__init:function(){var $0=qx.lang.Generics.__map;for(var $1 in $0){var $2=window[$1];var $3=$0[$1];for(var $4=0,$5=$3.length;$4<$5;$4++){var $6=$3[$4];if(!$2[$6]){$2[$6]=qx.lang.Generics.__wrap($2,$6);}}}}},defer:function($0){$0.__init();}}); >-qx.Class.define($[1609],{statics:{__settings:{},define:function($0,$1){if($1===undefined){throw new Error('Default value of setting "'+$0+'" must be defined!');}if(!this.__settings[$0]){this.__settings[$0]={};}else if(this.__settings[$0].defaultValue!==undefined){throw new Error('Setting "'+$0+'" is already defined!');}this.__settings[$0].defaultValue=$1;},get:function($0){var $1=this.__settings[$0];if($1===undefined){throw new Error('Setting "'+$0+'" is not defined.');}if($1.value!==undefined){return $1.value;}return $1.defaultValue;},__init:function(){if(window.qxsettings){for(var $0 in qxsettings){if(($0.split($[24])).length<2){throw new Error('Malformed settings key "'+$0+'". Must be following the schema "namespace.key".');}if(!this.__settings[$0]){this.__settings[$0]={};}this.__settings[$0].value=qxsettings[$0];}window.qxsettings=undefined;try{delete window.qxsettings;}catch(ex){}this.__loadUrlSettings();}},__loadUrlSettings:function(){if(this.get($[411])!=true){return;}var $0=document.location.search.slice(1).split($[93]);for(var $1=0;$1<$0.length;$1++){var $2=$0[$1].split($[47]);if($2.length!=3||$2[0]!=$[1372]){continue;}var $3=$2[1];if(!this.__settings[$3]){this.__settings[$3]={};}this.__settings[$3].value=decodeURIComponent($2[2]);}}},defer:function($0){$0.define($[411],false);$0.define($[440],false);$0.define($[288],$[568]);$0.define($[1681],true);$0.__init();}}); >-qx.Class.define($[1308],{statics:{fromArguments:function($0){return Array.prototype.slice.call($0,0);},fromCollection:function($0){return Array.prototype.slice.call($0,0);},fromShortHand:function($0){var $1=$0.length;if($1>4||$1==0){this.error("Invalid number of arguments!");}var $2=qx.lang.Array.copy($0);switch($1){case 1:$2[1]=$2[2]=$2[3]=$2[0];break;case 2:$2[2]=$2[0];case 3:$2[3]=$2[1];}return $2;},copy:function($0){return $0.concat();},clone:function($0){return $0.concat();},getLast:function($0){return $0[$0.length-1];},getFirst:function($0){return $0[0];},insertAt:function($0,$1,$2){$0.splice($2,0,$1);return $0;},insertBefore:function($0,$1,$2){var $3=$0.indexOf($2);if($3==-1){$0.push($1);}else{$0.splice($3,0,$1);}return $0;},insertAfter:function($0,$1,$2){var $3=$0.indexOf($2);if($3==-1||$3==($0.length-1)){$0.push($1);}else{$0.splice($3+1,0,$1);}return $0;},removeAt:function($0,$1){return $0.splice($1,1)[0];},removeAll:function($0){return $0.length=0;},append:function($0,$1){{};Array.prototype.push.apply($0,$1);return $0;},remove:function($0,$1){var $2=$0.indexOf($1);if($2!=-1){$0.splice($2,1);return $1;}},contains:function($0,$1){return $0.indexOf($1)!=-1;},equals:function($0,$1){if($0.length!==$1.length){return false;}for(var $2=0,$3=$0.length;$2<$3;$2++){if($0[$2]!==$1[$2]){return false;}}return true;}}}); >-qx.Class.define($[1282],{statics:{__variants:{},__cache:{},compilerIsSet:function(){return true;},define:function($0,$1,$2){{};if(!this.__variants[$0]){this.__variants[$0]={};}else{}this.__variants[$0].allowedValues=$1;this.__variants[$0].defaultValue=$2;},get:function($0){var $1=this.__variants[$0];{};if($1.value!==undefined){return $1.value;}return $1.defaultValue;},__init:function(){if(window.qxvariants){for(var $0 in qxvariants){{};if(!this.__variants[$0]){this.__variants[$0]={};}this.__variants[$0].value=qxvariants[$0];}window.qxvariants=undefined;try{delete window.qxvariants;}catch(ex){}this.__loadUrlVariants(this.__variants);}},__loadUrlVariants:function(){if(qx.core.Setting.get($[440])!=true){return;}var $0=document.location.search.slice(1).split($[93]);for(var $1=0;$1<$0.length;$1++){var $2=$0[$1].split($[47]);if($2.length!=3||$2[0]!=$[871]){continue;}var $3=$2[1];if(!this.__variants[$3]){this.__variants[$3]={};}this.__variants[$3].value=decodeURIComponent($2[2]);}},select:function($0,$1){{};for(var $2 in $1){if(this.isSet($0,$2)){return $1[$2];}}if($1[$[295]]!==undefined){return $1[$[295]];}{};},isSet:function($0,$1){var $2=$0+$[207]+$1;if(this.__cache[$2]!==undefined){return this.__cache[$2];}var $3=false;if($1.indexOf($[397])<0){$3=this.get($0)===$1;}else{var $4=$1.split($[397]);for(var $5=0,$6=$4.length;$5<$6;$5++){if(this.get($0)===$4[$5]){$3=true;break;}}}this.__cache[$2]=$3;return $3;},__isValidArray:function($0){return typeof $0===$[28]&&$0!==null&&$0 instanceof Array;},__isValidObject:function($0){return typeof $0===$[28]&&$0!==null&&!($0 instanceof Array);},__arrayContains:function($0,$1){for(var $2=0,$3=$0.length;$2<$3;$2++){if($0[$2]==$1){return true;}}return false;}},defer:function($0){$0.define($[897],[$[23],$[55]],$[23]);$0.define($[1755],[$[23],$[55]],$[23]);$0.define($[1033],[$[23],$[55]],$[55]);$0.define($[108],[$[23],$[55]],$[55]);$0.define($[263],[$[23],$[55]],$[23]);$0.__init();}}); >-qx.Class.define($[1179],{statics:{__registry:[],wrap:function($0,$1,$2){if(!qx.core.Setting.get($[426])){return $1;}var $3=[];var $4=[];for(var $5=0;$5<this.__registry.length;$5++){var $6=this.__registry[$5];if($0.match($6.re)&&($2==$6.type||$6.type==$[140])){var $7=$6.pos;if($7==$[447]){$3.push($6.fcn);}else{$4.push($6.fcn);}}}if($3.length==0&&$4.length==0){return $1;}var $8=function(){for(var $5=0;$5<$3.length;$5++){$3[$5].call(this,$0,$1,$2,arguments);}var $9=$1.apply(this,arguments);for(var $5=0;$5<$4.length;$5++){$4[$5].call(this,$0,$1,$2,arguments,$9);}return $9;};if($2!=$[178]){$8.self=$1.self;$8.base=$1.base;}$1.wrapper=$8;return $8;},addAdvice:function($0,$1,$2,$3){if($0!=$[447]&&$0!=$[720]){throw new Error("Unknown position: '"+$0+"'");}this.__registry.push({pos:$0,type:$1,re:$2,fcn:$3});}},defer:function(){qx.core.Setting.define($[426],false);}}); >-qx.Class.define($[1561],{statics:{__init:function(){var $0=window.location.protocol===$[441];var $1=navigator.userAgent;var $2=navigator.vendor;var $3=navigator.product;var $4=navigator.platform;var $5=false;var $6;var $7=null;var $8=null;var $9=0;var $a=0;var $b=0;var $c=0;var $d=null;var $e=null;var $f;if(window.opera&&/Opera[\s\/]([0-9\.]*)/.test($1)){$7=$[154];$8=RegExp.$1;$6=$[154];$8=$8.substring(0,3)+$[24]+$8.substring(3);$d=$1.indexOf($[1198])!==-1?$[13]:$1.indexOf($[979])!==-1?$[21]:null;}else if(typeof $2===$[8]&&$2===$[1312]&&/KHTML\/([0-9-\.]*)/.test($1)){$7=$[157];$6=$[1473];$8=RegExp.$1;}else if($1.indexOf($[1055])!=-1&&/AppleWebKit\/([^ ]+)/.test($1)){$7=$[147];$8=RegExp.$1;$e=$8.indexOf($[246])!=-1;var $g=RegExp($[656]).exec($8);if($g){$8=$8.slice(0,$g.index);}if($1.indexOf($[1668])!=-1){$6=$[789];}else if($1.indexOf($[654])!=-1){$6=$[1027];}else if($1.indexOf($[1785])!=-1){$6=$[1569];}else if($1.indexOf($[1754])!=-1){$6=$[930];}else if($1.indexOf($[1104])!=-1){$6=$[1583];}else{$6=$[1584];}if($e){$6+=$[571];}}else if(window.controllers&&typeof $3===$[8]&&$3===$[1293]&&/rv\:([^\);]+)(\)|;)/.test($1)){$7=$[21];$8=RegExp.$1;if($1.indexOf($[943])!=-1){$6=$[633];}else if($1.indexOf($[1791])!=-1){$6=$[1597];}else if($1.indexOf($[718])!=-1){$6=$[1050];}else{$6=$[1066];}}else if(/MSIE\s+([^\);]+)(\)|;)/.test($1)){$7=$[13];$8=RegExp.$1;$6=$[1663];$5=!window.external;}if($8){$f=$8.split($[24]);$9=$f[0]||0;$a=$f[1]||0;$b=$f[2]||0;$c=$f[3]||0;}var $h=[];switch($7){case $[21]:$h.push($[944]);break;case $[157]:$h.push($[420]);break;case $[147]:$h.push($[420]);$h.push($[661]);break;case $[13]:break;default:break;}$h.push($[1328]);var $i=document.compatMode!==$[91];var $j=$[1675];var $k=($7==$[13]?navigator.userLanguage:navigator.language).toLowerCase();var $l=null;var $m=$k.indexOf($[137]);if($m!=-1){$l=$k.substr($m+1);$k=$k.substr(0,$m);}var $n=$[7];var $o=false;var $p=false;var $q=false;var $r=false;if($4.indexOf($[802])!=-1||$4.indexOf($[605])!=-1||$4.indexOf($[1401])!=-1){$o=true;$n=$[328];}else if($4.indexOf($[578])!=-1||$4.indexOf($[596])!=-1||$4.indexOf($[1143])!=-1){$p=true;$n=$[1181];}else if($4.indexOf($[1752])!=-1||$4.indexOf($[546])!=-1||$4.indexOf($[1470])!=-1){$q=true;$n=$[1171];}else{$r=true;$n=$[48];}var $s=false;var $t=false;var $u=false;var $v=false;if($7==$[13]){$s=true;}if(document.implementation&&document.implementation.hasFeature){if(document.implementation.hasFeature($[1354],$[608])){$t=$u=true;}}this._runsLocally=$0;this._engineName=$7;this._engineNameMshtml=$7===$[13];this._engineNameGecko=$7===$[21];this._engineNameOpera=$7===$[154];this._engineNameKhtml=$7===$[157];this._engineNameWebkit=$7===$[147];this._engineVersion=parseFloat($8);this._engineVersionMajor=parseInt($9);this._engineVersionMinor=parseInt($a);this._engineVersionRevision=parseInt($b);this._engineVersionBuild=parseInt($c);this._engineQuirksMode=$i;this._engineBoxSizingAttributes=$h;this._engineEmulation=$d;this._browserName=$6;this._defaultLocale=$j;this._browserPlatform=$n;this._browserPlatformWindows=$o;this._browserPlatformMacintosh=$p;this._browserPlatformUnix=$q;this._browserPlatformOther=$r;this._browserModeHta=$5;this._browserLocale=$k;this._browserLocaleVariant=$l;this._gfxVml=$s;this._gfxSvg=$t;this._gfxSvgBuiltin=$u;this._gfxSvgPlugin=$v;this._fireBugActive=(window.console&&console.log&&console.debug&&console.assert);this._supportsTextContent=(document.documentElement.textContent!==undefined);this._supportsInnerText=(document.documentElement.innerText!==undefined);this._supportsXPath=!!document.evaluate;this._supportsElementExtensions=!!window.HTMLElement;},getRunsLocally:function(){return this._runsLocally;},getEngine:function(){return this._engineName;},getBrowser:function(){return this._browserName;},getVersion:function(){return this._engineVersion;},getMajor:function(){return this._engineVersionMajor;},getMinor:function(){return this._engineVersionMinor;},getRevision:function(){return this._engineVersionRevision;},getBuild:function(){return this._engineVersionBuild;},getEmulation:function(){return this._engineEmulation;},isMshtml:function(){return this._engineNameMshtml;},isGecko:function(){return this._engineNameGecko;},isOpera:function(){return this._engineNameOpera;},isKhtml:function(){return this._engineNameKhtml;},isWebkit:function(){return this._engineNameWebkit;},isSafari2:function(){return this._engineNameWebkit&&(this._engineVersion<420);},isInQuirksMode:function(){return this._engineQuirksMode;},getLocale:function(){return this._browserLocale;},getLocaleVariant:function(){return this._browserLocaleVariant;},getDefaultLocale:function(){return this._defaultLocale;},usesDefaultLocale:function(){return this._browserLocale===this._defaultLocale;},getEngineBoxSizingAttributes:function(){return this._engineBoxSizingAttributes;},getPlatform:function(){return this._browserPlatform;},runsOnWindows:function(){return this._browserPlatformWindows;},runsOnMacintosh:function(){return this._browserPlatformMacintosh;},runsOnUnix:function(){return this._browserPlatformUnix;},supportsVml:function(){return this._gfxVml;},supportsSvg:function(){return this._gfxSvg;},usesSvgBuiltin:function(){return this._gfxSvgBuiltin;},usesSvgPlugin:function(){return this._gfxSvgPlugin;},isFireBugActive:function(){return this._fireBugActive;},supportsTextContent:function(){return this._supportsTextContent;},supportsInnerText:function(){return this._supportsInnerText;},getInstance:function(){return this;}},defer:function($0,$1,$2){$0.__init();qx.core.Variant.define($[1],[$[21],$[13],$[154],$[147],$[157]],qx.core.Client.getInstance().getEngine());}}); >-qx.Class.define($[1133],{statics:{isEmpty:function($0){for(var $1 in $0){return false;}return true;},hasMinLength:function($0,$1){var $2=0;for(var $3 in $0){if((++$2)>=$1){return true;}}return false;},getLength:function($0){var $1=0;for(var $2 in $0){$1++;}return $1;},_shadowedKeys:[$[1749],$[740],$[1695],$[451],$[1160]],getKeys:qx.core.Variant.select($[1],{"mshtml":function($0){var $1=[];for(var $2 in $0){$1.push($2);}for(var $3=0,$4=this._shadowedKeys,$5=$4.length;$3<$5;$3++){if($0.hasOwnProperty($4[$3])){$1.push($4[$3]);}}return $1;},"default":function($0){var $1=[];for(var $2 in $0){$1.push($2);}return $1;}}),getKeysAsString:function($0){var $1=qx.lang.Object.getKeys($0);if($1.length==0){return $[0];}return $[109]+$1.join($[1005])+$[109];},getValues:function($0){var $1=[];for(var $2 in $0){$1.push($0[$2]);}return $1;},mergeWith:function($0,$1,$2){if($2===undefined){$2=true;}for(var $3 in $1){if($2||$0[$3]===undefined){$0[$3]=$1[$3];}}return $0;},carefullyMergeWith:function($0,$1){qx.log.Logger.deprecatedMethodWarning(arguments.callee);return qx.lang.Object.mergeWith($0,$1,false);},merge:function($0,$1){var $2=arguments.length;for(var $3=1;$3<$2;$3++){qx.lang.Object.mergeWith($0,arguments[$3]);}return $0;},copy:function($0){var $1={};for(var $2 in $0){$1[$2]=$0[$2];}return $1;},invert:function($0){var $1={};for(var $2 in $0){$1[$0[$2].toString()]=$2;}return $1;},getKeyFromValue:function($0,$1){for(var $2 in $0){if($0[$2]===$1){return $2;}}return null;},select:function($0,$1){return $1[$0];},fromArray:function($0){var $1={};for(var $2=0,$3=$0.length;$2<$3;$2++){{};$1[$0[$2].toString()]=true;}return $1;}}}); >-qx.Class.define($[602],{statics:{define:function($0,$1){if(!$1){var $1={};}if($1.include&&!($1.include instanceof Array)){$1.include=[$1.include];}if($1.implement&&!($1.implement instanceof Array)){$1.implement=[$1.implement];}if(!$1.hasOwnProperty($[629])&&!$1.type){$1.type=$[178];}{};var $2=this.__createClass($0,$1.type,$1.extend,$1.statics,$1.construct,$1.destruct);if($1.extend){if($1.properties){this.__addProperties($2,$1.properties,true);}if($1.members){this.__addMembers($2,$1.members,true,true);}if($1.events){this.__addEvents($2,$1.events,true);}if($1.include){for(var $3=0,$4=$1.include.length;$3<$4;$3++){this.__addMixin($2,$1.include[$3],false);}}}if($1.settings){for(var $5 in $1.settings){qx.core.Setting.define($5,$1.settings[$5]);}}if($1.variants){for(var $5 in $1.variants){qx.core.Variant.define($5,$1.variants[$5].allowedValues,$1.variants[$5].defaultValue);}}if($1.defer){$1.defer.self=$2;$1.defer($2,$2.prototype,{add:function($0,$1){var $6={};$6[$0]=$1;qx.Class.__addProperties($2,$6,true);}});}if($1.implement){for(var $3=0,$4=$1.implement.length;$3<$4;$3++){this.__addInterface($2,$1.implement[$3]);}}},createNamespace:function($0,$1){var $2=$0.split($[24]);var $3=window;var $4=$2[0];for(var $5=0,$6=$2.length-1;$5<$6;$5++,$4=$2[$5]){if(!$3[$4]){$3=$3[$4]={};}else{$3=$3[$4];}}{};$3[$4]=$1;return $4;},isDefined:function($0){return this.getByName($0)!==undefined;},getTotalNumber:function(){return qx.lang.Object.getLength(this.__registry);},getByName:function($0){return this.__registry[$0];},include:function($0,$1){{};qx.Class.__addMixin($0,$1,false);},patch:function($0,$1){{};qx.Class.__addMixin($0,$1,true);},isSubClassOf:function($0,$1){if(!$0){return false;}if($0==$1){return true;}if($0.prototype instanceof $1){return true;}return false;},getPropertyDefinition:function($0,$1){while($0){if($0.$$properties&&$0.$$properties[$1]){return $0.$$properties[$1];}$0=$0.superclass;}return null;},getByProperty:function($0,$1){while($0){if($0.$$properties&&$0.$$properties[$1]){return $0;}$0=$0.superclass;}return null;},hasProperty:function($0,$1){return !!this.getPropertyDefinition($0,$1);},getEventType:function($0,$1){var $0=$0.constructor;while($0.superclass){if($0.$$events&&$0.$$events[$1]!==undefined){return $0.$$events[$1];}$0=$0.superclass;}return null;},supportsEvent:function($0,$1){return !!this.getEventType($0,$1);},hasOwnMixin:function($0,$1){return $0.$$includes&&$0.$$includes.indexOf($1)!==-1;},getByMixin:function($0,$1){var $2,$3,$4;while($0){if($0.$$includes){$2=$0.$$flatIncludes;for($3=0,$4=$2.length;$3<$4;$3++){if($2[$3]===$1){return $0;}}}$0=$0.superclass;}return null;},getMixins:function($0){var $1=[];while($0){if($0.$$includes){$1.push.apply($1,$0.$$flatIncludes);}$0=$0.superclass;}return $1;},hasMixin:function($0,$1){return !!this.getByMixin($0,$1);},hasOwnInterface:function($0,$1){return $0.$$implements&&$0.$$implements.indexOf($1)!==-1;},getByInterface:function($0,$1){var $2,$3,$4;while($0){if($0.$$implements){$2=$0.$$flatImplements;for($3=0,$4=$2.length;$3<$4;$3++){if($2[$3]===$1){return $0;}}}$0=$0.superclass;}return null;},getInterfaces:function($0){var $1=[];while($0){if($0.$$implements){$1.push.apply($1,$0.$$flatImplements);}$0=$0.superclass;}return $1;},hasInterface:function($0,$1){return !!this.getByInterface($0,$1);},implementsInterface:function($0,$1){if(this.hasInterface($0,$1)){return true;}try{qx.Interface.assert($0,$1,false);return true;}catch(ex){}return false;},getInstance:function(){if(!this.$$instance){this.$$allowconstruct=true;this.$$instance=new this;delete this.$$allowconstruct;}return this.$$instance;},genericToString:function(){return $[1449]+this.classname+$[115];},__registry:qx.core.Bootstrap.__registry,__allowedKeys:null,__staticAllowedKeys:null,__validateConfig:function(){},__createClass:function($0,$1,$2,$3,$4,$5){var $6;if(!$2&&qx.core.Variant.isSet($[108],$[55])){$6=$3||{};}else{$6={};if($2){if(!$4){$4=this.__createDefaultConstructor();}$6=this.__wrapConstructor($4,$0,$1);}if($3){var $7;for(var $8=0,$9=qx.lang.Object.getKeys($3),$a=$9.length;$8<$a;$8++){$7=$9[$8];if(qx.core.Variant.isSet($[108],$[23])){var $b=$3[$7];if($b instanceof Function){$b=qx.core.Aspect.wrap($0+$[24]+$7,$b,$[178]);}$6[$7]=$b;}else{$6[$7]=$3[$7];}}}}var $c=this.createNamespace($0,$6,false);$6.name=$6.classname=$0;$6.basename=$c;if(!$6.hasOwnProperty($[451])){$6.toString=this.genericToString;}if($2){var $d=$2.prototype;var $e=this.__createEmptyFunction();$e.prototype=$d;var $f=new $e;$6.prototype=$f;$f.name=$f.classname=$0;$f.basename=$c;$4.base=$6.superclass=$2;$4.self=$6.constructor=$f.constructor=$6;if($5){if(qx.core.Variant.isSet($[108],$[23])){$5=qx.core.Aspect.wrap($0,$5,$[850]);}$6.$$destructor=$5;}}{};this.__registry[$0]=$6;return $6;},__addEvents:function($0,$1,$2){var $3,$3;if($0.$$events){for(var $3 in $1){$0.$$events[$3]=$1[$3];}}else{$0.$$events=$1;}},__addProperties:function($0,$1,$2){var $3;if($2===undefined){$2=false;}var $4=!!$0.$$propertiesAttached;for(var $5 in $1){$3=$1[$5];{};$3.name=$5;if(!$3.refine){if($0.$$properties===undefined){$0.$$properties={};}$0.$$properties[$5]=$3;}if($3.init!==undefined){$0.prototype[$[332]+$5]=$3.init;}if($3.event!==undefined){var $6={};$6[$3.event]=$[456];this.__addEvents($0,$6,$2);}if($3.inheritable){qx.core.Property.$$inheritable[$5]=true;}if($4){qx.core.Property.attachMethods($0,$5,$3);}if($3._fast){qx.core.LegacyProperty.addFastProperty($3,$0.prototype);}else if($3._cached){qx.core.LegacyProperty.addCachedProperty($3,$0.prototype);}else if($3._legacy){qx.core.LegacyProperty.addProperty($3,$0.prototype);}}},__validateProperty:null,__addMembers:function($0,$1,$2,$3){var $4=$0.prototype;var $5,$6;for(var $7=0,$8=qx.lang.Object.getKeys($1),$9=$8.length;$7<$9;$7++){$5=$8[$7];$6=$1[$5];{};if($3!==false&&$6 instanceof Function){if($4[$5]){$6.base=$4[$5];}$6.self=$0;if(qx.core.Variant.isSet($[108],$[23])){$6=qx.core.Aspect.wrap($0.classname+$[24]+$5,$6,$[1137]);}}$4[$5]=$6;}},__addInterface:function($0,$1){{};var $2=qx.Interface.flatten([$1]);if($0.$$implements){$0.$$implements.push($1);$0.$$flatImplements.push.apply($0.$$flatImplements,$2);}else{$0.$$implements=[$1];$0.$$flatImplements=$2;}},__addMixin:function($0,$1,$2){{};var $3=qx.Mixin.flatten([$1]);var $4;for(var $5=0,$6=$3.length;$5<$6;$5++){$4=$3[$5];if($4.$$events){this.__addEvents($0,$4.$$events,$2);}if($4.$$properties){this.__addProperties($0,$4.$$properties,$2);}if($4.$$members){this.__addMembers($0,$4.$$members,$2,false);}}if($0.$$includes){$0.$$includes.push($1);$0.$$flatIncludes.push.apply($0.$$flatIncludes,$3);}else{$0.$$includes=[$1];$0.$$flatIncludes=$3;}},__createDefaultConstructor:function(){function $0(){arguments.callee.base.apply(this,arguments);}return $0;},__createEmptyFunction:function(){return function(){};},__wrapConstructor:function($0,$1,$2){var $3=[];$3.push($[917]);{};$3.push($[669]);$3.push($[1596]);$3.push($[841]);$3.push($[891]);$3.push($[872]);$3.push($[895],$1,$[1080]);$3.push($[1111]);var $4=new Function($3.join($[0]));if(qx.core.Variant.isSet($[108],$[23])){var $5=qx.core.Aspect.wrap($1,$4,$[1464]);$4.$$original=$0;$4.constructor=$5;$4=$5;}if($2===$[18]){$4.getInstance=this.getInstance;}$4.$$original=$0;$0.wrapper=$4;return $4;}},defer:function($0){if(qx.core.Variant.isSet($[108],$[23])){for(var $1 in $0){if($0[$1] instanceof Function){$0[$1]=qx.core.Aspect.wrap($[537]+$1,$0[$1],$[178]);}}}}}); >-qx.Class.define($[705],{statics:{define:function($0,$1){if($1){if($1.include&&!($1.include instanceof Array)){$1.include=[$1.include];}{};var $2=$1.statics?$1.statics:{};for(var $3 in $2){$2[$3].mixin=$2;}if($1.construct){$2.$$constructor=$1.construct;}if($1.include){$2.$$includes=$1.include;}if($1.properties){$2.$$properties=$1.properties;}if($1.members){$2.$$members=$1.members;}for(var $3 in $2.$$members){if($2.$$members[$3] instanceof Function){$2.$$members[$3].mixin=$2;}}if($1.events){$2.$$events=$1.events;}if($1.destruct){$2.$$destructor=$1.destruct;}}else{var $2={};}$2.$$type=$[1710];$2.name=$0;$2.toString=this.genericToString;$2.basename=qx.Class.createNamespace($0,$2);this.__registry[$0]=$2;return $2;},checkCompatibility:function($0){var $1=this.flatten($0);var $2=$1.length;if($2<2){return true;}var $3={};var $4={};var $5={};var $6;for(var $7=0;$7<$2;$7++){$6=$1[$7];for(var $8 in $6.events){if($5[$8]){throw new Error('Conflict between mixin "'+$6.name+'" and "'+$5[$8]+'" in member "'+$8+'"!');}$5[$8]=$6.name;}for(var $8 in $6.properties){if($3[$8]){throw new Error('Conflict between mixin "'+$6.name+'" and "'+$3[$8]+'" in property "'+$8+'"!');}$3[$8]=$6.name;}for(var $8 in $6.members){if($4[$8]){throw new Error('Conflict between mixin "'+$6.name+'" and "'+$4[$8]+'" in member "'+$8+'"!');}$4[$8]=$6.name;}}return true;},isCompatible:function($0,$1){var $2=qx.Class.getMixins($1);$2.push($0);return qx.Mixin.checkCompatibility($2);},getByName:function($0){return this.__registry[$0];},isDefined:function($0){return this.getByName($0)!==undefined;},getTotalNumber:function(){return qx.lang.Object.getLength(this.__registry);},flatten:function($0){if(!$0){return [];}var $1=$0.concat();for(var $2=0,$3=$0.length;$2<$3;$2++){if($0[$2].$$includes){$1.push.apply($1,this.flatten($0[$2].$$includes));}}return $1;},genericToString:function(){return $[768]+this.name+$[115];},__registry:{},__allowedKeys:null,__validateConfig:function(){}}}); >-qx.Class.define($[552],{statics:{define:function($0,$1){if($1){if($1.extend&&!($1.extend instanceof Array)){$1.extend=[$1.extend];}{};var $2=$1.statics?$1.statics:{};if($1.extend){$2.$$extends=$1.extend;}if($1.properties){$2.$$properties=$1.properties;}if($1.members){$2.$$members=$1.members;}if($1.events){$2.$$events=$1.events;}}else{var $2={};}$2.$$type=$[923];$2.name=$0;$2.toString=this.genericToString;$2.basename=qx.Class.createNamespace($0,$2);qx.Interface.__registry[$0]=$2;return $2;},getByName:function($0){return this.__registry[$0];},isDefined:function($0){return this.getByName($0)!==undefined;},getTotalNumber:function(){return qx.lang.Object.getLength(this.__registry);},flatten:function($0){if(!$0){return [];}var $1=$0.concat();for(var $2=0,$3=$0.length;$2<$3;$2++){if($0[$2].$$extends){$1.push.apply($1,this.flatten($0[$2].$$extends));}}return $1;},assert:function($0,$1,$2){var $3=$1.$$members;if($3){var $4=$0.prototype;for(var $5 in $3){if(typeof $3[$5]===$[37]){if(typeof $4[$5]!==$[37]){throw new Error('Implementation of method "'+$5+'" is missing in class "'+$0.classname+'" required by interface "'+$1.name+'"');}if($2===true&&!qx.Class.hasInterface($0,$1)){$4[$5]=this.__wrapInterfaceMember($1,$4[$5],$5,$3[$5]);}}else{if(typeof $4[$5]===undefined){if(typeof $4[$5]!==$[37]){throw new Error('Implementation of member "'+$5+'" is missing in class "'+$0.classname+'" required by interface "'+$1.name+'"');}}}}}if($1.$$properties){for(var $5 in $1.$$properties){if(!qx.Class.hasProperty($0,$5)){throw new Error('The property "'+$5+'" is not supported by Class "'+$0.classname+'"!');}}}if($1.$$events){for(var $5 in $1.$$events){if(!qx.Class.supportsEvent($0,$5)){throw new Error('The event "'+$5+'" is not supported by Class "'+$0.classname+'"!');}}}var $6=$1.$$extends;if($6){for(var $7=0,$8=$6.length;$7<$8;$7++){this.assert($0,$6[$7],$2);}}},genericToString:function(){return $[911]+this.name+$[115];},__registry:{},__wrapInterfaceMember:function(){},__allowedKeys:null,__validateConfig:function(){}}}); >+$=["","qx.client","Boolean","auto","qx.event.type.Event","Integer","String","none","string","right",';',"left","mousedown","mshtml","pressed","completed","keydown","bottom","singleton","Number","top","gecko","mouseup","on",".","set","scroll","failed","object","sending","width","height","timeout","aborted",'computed=this.',"abandoned","hidden","function","px","receiving","keypress","0","solid","over","style",'=value;',"Enter",":","other",'this.',"number","abstract","0px","click","absolute","off","100%","center","boolean","active","Left","mouseover","middle","overflow","Right","undefined","qx.ui.core.Widget","div","borderTopWidth","Up","maximized","configured","borderLeftWidth","minWidth","maxWidth","maxHeight","Down","minHeight","position",";","init","frame","load"," ","keyup","Space","interval","qx.event.type.MouseEvent","PageUp","input","Color","CSS1Compat","selected","&","qx.io.remote.Response","error",'</span>','if(this.',"qx.event.type.DataEvent","PageDown","locationX",",",'}',"shorthand","dblclick","mouseout","reset","change","qx.aspects",'"',"both","scrollY","scrollX","locationY","get","]","inherit","vertical",'delete this.',"Object","unstyle","Theme","checked","fixed","changeValue","Control","body","NumLock","execute","Escape","created","unload","horizontal","icon",'!==undefined)',"/","Alt","-","1*","translucent","*","ie4+","Shift","qx.event.type.DragEvent","filter",")","refresh","webkit","mousemove","dragover","Home","qx.ui.popup.ToolTipManager","qx.ui.menu.Manager","marginTop","opera","_","normal","khtml","display","marginLeft","qx.ui.menu.Menu","1px","End","alias","copy","_applyChecked","qx.ui.popup.PopupManager","dotted","qx.event.type.FocusEvent","Delete","groove","double","9","%","A","overflowX","qx.ui.selection.RadioManager","dragstart","static","overflowY","\n","_applyIcon",'return this.','else if(this.',"mousewheel","disabled","qx.event.type.KeyEvent","dashed","Tab","_applyManager","outset","Backspace","inset","appear","?","label","ridge","=","queued","blur","MozOutline","white","resize","Insert","hand","1px dotted invert","_applyResizable","$",'!==undefined){',"_applyValue","fontSize","marginBottom","Unidentified","_manager","outline","paddingTop","widget","left-reversed","this.","contextmenu","changeLocale","top-reversed","textarea","Meta","focused","marginRight","minimized",'=true;',"middle-reversed","center-reversed",'old=this.',"paddingBottom","move","color",": ","qx.event.handler.DragAndDropHandler","focus","PrintScreen","border-box","iframe","opaque","qx.ui.popup.ToolTip","paddingLeft","_applyClip","textAlign","paddingRight","+","safari2","Pause","_labelObject","only_plus","beforeunload","100px","focusin","text","value","_applyLabel","down","short","dragenter","_applyName","changeSelected","qx.ui.embed.IframeManager","qx.deprecationWarnings","justify","focusout","Scroll","_applySelected","=''","changeShow","changeChecked","_applyWrap","disappear",'","',"-moz-scrollbars-vertical"," ","lead","}","bold","Apps","Label","-moz-scrollbars-horizontal","n-resize","windowblur","_timer","dragdrop","Win","_applyTextAlign","qx.resourceUri","g","changeState",'typeof value === "number" && isFinite(value)',"pointer","qx.io.remote.XmlHttpTransport","qx.io.remote.IframeTransport","default","_applyState","_iconObject","lastChild",')',"keyinput","only_minus","_applyEnabled","qx.ui.form.Button","underline","e-resize","qx.ui.core.Parent","_frame",'",value);',"zIndex","Connection dropped","dragout","_childrenQueue","a","_compute","F1","(","addAtEnd","treeClose","appearances","_applyEditable","nowrap","removeAll","cursor","indexOf","qx.application.Gui","Content-Type","addAfter","win","_element","nw-resize","F2","__init$","fontStyle","'","<","_list","styleTop","plus","dragleave","log","borderBottomWidth","parent","_layout","F3","8",":content-box;","6","up","meta","gecko|opera|webkit","padding","nocache","tabIndex","F11","opacity","qx.ui.embed.Flash","styleRight","KhtmlOpacity","unknown","styleLeft","F4","7","windowresize","_applySource","Value",":border-box;","no-cache","MozUserSelect","line","F10","backgroundRepeat","clipHeight","soft","italic","_invalidate",' </div>',"colorRight","Assertion Failure","Pragma","fontWeight",'if(old===computed)return value;',"KhtmlUserSelect","noComputed","F5","4","]);","remove",'else ','<span class="objectBox-number">',"removeChild","treeOpenWhileEmpty","colors","changeSource","alignLeft","character","Ready","barBottom","|","treeOpenWithContent",'";',"colorBottom","beforeDisappear","5","F6","DOMMouseScroll","widthBottom","addAt",'undefined',"CapsLock","#FCE1D8","drag","qx.allowUrlSettings","cross","Array","whiteSpace","qx.io.image.Preloader","toggle","colorTop","2","F7","-khtml-box-sizing","add","]\n","borderRightWidth","page","0 none","qx.enableAspect","Cache-Control","ne-resize","margin","_pane","_recompute","3","F8","&#","(a[","backgroundImage","qx.io.remote.AbstractRemoteTransport","text/css","F9","qx.allowUrlVariants","file:","alignRight","hasComputed","minus","styleBottom","widthRight","before","_applyMenu","dragexit","{","toString","clipTop","qx.ui.pageview.AbstractPage","lazyopaque","static/image/blank.gif","qx.event.type.ChangeEvent"," messages removed)","boxSizing","anchor",'.$$properties.',"qx.log.appender.Native","changeEnabled","addBefore","fonts",'if(computed===undefined)computed=null;',"textDecoration","_applyElement","qx.util.range.IRange","qx.ui.pageview.AbstractButton","draggesture","Function","fontFamily","widthTop","end","first","Margin","v","&",":constructor","event","1","Padding","<br>","icons","addAtBegin","backgroundColor","dragend","qx.client.Command","_blocker","F12","concat","qx.core.Object",'!(',"qx.ui.form.ListItem","MozOpacity","_objects","Z","ignore","__user$","readonly","return this.","qx.ui.window.Window","tree-folder","barTop","changeName","head","qx.ui.window.Manager","slice","qx.io.remote.Exchange","qx.event.handler.FocusHandler","[","WebkitUserSelect","qx.io.remote.Request","removeAt","dragmove","clipLeft",'@import "',"Element","borders",'',"lineHeight","onscroll","widgets","userSelect","();","widthLeft","clipWidth","qx.client.NativeWindow",'if(old===undefined)old=null;',"colorLeft","changeSelection","lastIndexOf","s","\r\n","menu-button-arrow","qx.Class.","_focusHandler","Border",' * { box-sizing: border-box; -moz-box-sizing: border-box; -webkit-box-sizing: border-box }',"_applyActive","_valueOriginalTarget","__feedbackWidget","pre","javascript:void(0)","Linux","borderBottomStyle","Font","Use proxy","qx.ui.menu.CheckBox","resizableEast","qx.Interface","qx.ui.tree.TreeFolder",'value !== null && window.document',' <input id="marker" type="button" value="Add divider"/>     Filter: <input name="filter" id="filter" type="text" value="',"qx.ui.form.TextField",')a[i].',"_applyFocusRoot","qx.ui.basic.Inline","_applyAllowClose","Not implemented","localeCompare",' html, body, input, pre{ font-size: 11px; font-family: Tahoma, sans-serif; line-height : 1 }','var inherit=prop.$$inherit;',"Not modified","_applyLocale","text-field","./resource","pixelBottom","menu-layout"," (nightly)","_cachedVisibleChildren","_applyText","qx.html.Dimension","_applyFont","Use getValue() instead!","_applySpacing","Macintosh","_hideTimer","tab-view-pane"," - ","progress","static/html/blank.html","qx.lang.Core","__inherit$","matches","changeBorderTheme","Use removeHtmlProperty instead","radio-button","_applySize","border","resizableNorth","qx.core.Log.debug","this.removeStyleProperty('padding","Partial content","MacPPC","quote","Print","qx.application"," ","__onload","qx.Class","qx.logAppender","qx.event.handler.EventHandler","Win32","qx.iconTheme","forEach","1.0","qx.ui.menu.Separator",' <div id="control">',"autoComplete",' is not (yet) ready!");',"changeElement","key_full_Meta","(measure start) ","progid:DXImageTransform.Microsoft.AlphaImageLoader(src='","Height","qx.version","qx.log.appender.Window","_layoutChanges","changeParent","_applyMarginBottom","_applySelectable","_applyPreloader","qx.bom.element.Dimension","_applyAnchorItem","cursor:","application/x-www-form-urlencoded","extend","Pixel","qx.ui.toolbar.RadioButton","_applyBackgroundImage","firefox","qx.ui.menu.MenuLayoutImpl","n","changeTextColor","borderBottom",'computed=value;',"qx.boxModelCorrection"," WARN: ",'Does not allow any arguments!',"__states",'return value;'," DEBUG: ","complete","_horizontalLayout","changeAnonymous","key_short_NumLock","qx.locale.Manager","key_short_Left","_applyOpen","toolbar-button","qx.io.image.Manager","OmniWeb","_applyMinHeight","[^\\.0-9]","key_short_Right","ms","See other",'!',"-webkit-box-sizing","tree-icon","_data_","_showTimer","qx.net.Http","line-through","qx.ui.form.ComboBox","qx_log_","_captionTitle",'if(!clazz.$$propertiesAttached)qx.core.Property.attach(clazz);',"changeActiveChild","U",']._autoCloseWindow()}catch(e){}">',"_applyShowInterval","var a=arguments[0] instanceof Array?arguments[0]:arguments;",'</div>',"C","Bad gateway",'value !== null && value.$$type === "Mixin"',"_applyBoundToWidget","icon/16/places/folder.png","qx.ui.pageview.AbstractPane","gray","split","_applyBackgroundRepeat","Log window message: Starting error recording, any errors below this line will prevent the log window from closing","list",'=computed;',"qx.ui.popup.Popup","qx.locale.Key","Type","qx.util.format.NumberFormat","replace","qx.ui.menubar.MenuBar","qx.io.Alias","_captionBar","<hr/>","_applyBottom","tab-view-button","_valueRelatedTarget","changeResizeMethod",":constructor wrapper","_closeTimer","_applyRootOpenClose",'value !== null && value.$$type === "Interface"',"qx.Mixin","_applyBorder","beforeAppear",'">',"_applyRight","__cache","_applyMax","_check","o","_indentObject","property","qx.ui.layout.BoxLayout","_applyMaxHeight","Galeon","force","after","userFocus","tab-view-page","parentPaddingBottom","qx.lang.Generics","qx.ui.basic.ScrollBar","key_short_End","warn","changeLeadItem",' <div id="lines">',"client-document-blocker","push","qx.core.Log.error","qx.log.DefaultFilter","qx.util.Normalization","key_full_Win","Log window message: Stopping error recording, discarding ","key_full_Up","key_full_PrintScreen","_selectedItems","hasOwnProperty","qx.ui.basic.Image","_applyColorBottom","_atom","_icons","key_short_Delete","Request-URL too large","Not acceptable","toolbar-part-handle-line","_applyAllowMaximize",'_treeRowStructureFields','typeof value === "number" && isFinite(value) && value%1 === 0',"_applyNumberFormat","_buttonlayout",'!(value instanceof ','value !== null && qx.theme.manager.Font.getInstance().isDynamic(value)',"qx.html.Scroll","changeIcon","html,body { margin:0;border:0;padding:0; } ","_applyMin","_applyStretchChildrenOrthogonalAxis","<img style=\"position:absolute;top:0px;left:","pixelHeight","qx.ui.pageview.AbstractBar"," !important","_lastMouseDownDispatchTarget","key_full_Control",'(backup);',"[Mixin ","Tabulator","__all","_applyFocused","lines","qx.ui.tree.Tree",'if(computed===inherit){',"qx.log.Filter","_scrollBar","key_full_Down","Connection closed by server","native","key_full_Alt","PgDn","_applyScrolling","borderTop",'<body onload="qx = opener.qx;" onunload="try{qx.log.WindowAppender._registeredAppenders[',"sort","key_full_Space","qx.ui.pageview.tabview.TabView",' </style>',"safari","scrollbar-blocker","_applyPaddingTop","qx.ui.core.Font","changeEditable","qx.ui.layout.impl.LayoutImpl","_applyCheckValueFunction",';}',"qx.fontTheme","\\\"","unshift","Ins","menu-check-box","Windows","tab-view-bar",'!==undefined&&',"iconSelected","getFirstActiveChild","qx.core.Log.info","Null","changeFont","_applyOverflow",'<iframe name="','value instanceof Date',"/static","borderLeftStyle","window-captionbar-restore-button",'if((computed===undefined||computed===inherit)&&','character',"_applyHideInterval","transparent","_applyReadOnly","BODY","_applyIncrementAmount","qx.ui.form.InputCheckSymbol","changeFocusedChild",'(value);',"changeHtml","changeColorTheme"," errors have been recorded, keeping log window open.</b>","a=qx.lang.Array.fromShortHand(qx.lang.Array.fromArguments(a));","(passed time: ",">>> ",'_labelObject','<span class="objectBox-function">',"last","_resetRuntime","_handle","qooxdoo","Moved temporarily","_applyButton",' hr { border: 0 none; border-bottom: 1px solid #ccc; margin: 8px 0; padding: 0; height: 1px }','if(clazz.$$includes){var mixins=clazz.$$flatIncludes;','wrap',"scrolling","verticalAlign","substring","[object Error]","match",'#',"https://","destructor","icon/16/status/folder-open.png",'value !== null && value.$$type === "Class"',"_applyAutoSync","ValueExact"," at ",'typeof value === "string" && qx.util.ColorUtil.isValid(value)',"key_short_Backspace","__",'var a=this.getChildren();if(a)for(var i=0,l=a.length;i<l;i++){',"qx.ui.layout.impl.VerticalBoxLayoutImpl","qx.log.appender.HtmlElement","debug","_applyAppearance","_blockerNode","_styleProperties","_applyOpacity","qx.html.Offset","reverseChildrenOrder",",height=","qxvariant",'if(mixins[i].$$constructor){mixins[i].$$constructor.apply(this,arguments);}}}',"Alpha(Opacity=",'Authorization',"charAt","_applyBorderTheme","\\$1","parentPaddingRight","_applyZIndex","')","_aliases","check-box","_applyOpenInterval","window","px\" src=\"",'var backup=computed;',"_applyPaddingLeft","qx.core.LegacyProperty","true","_lastUpDownType",'for(var i=0,l=mixins.length;i<l;i++){',"_applyFontTheme","Please use getKeyIdentifier() instead.","_applyTabIndex",'if(this.classname===',"start_plus","qx.debug",'if(value!==inherit)',"key_short_Scroll","HTTP version not supported",'if(a[i].',"(!this.","font-size:","single","MSXML2.XMLHTTP.4.0","qx.locale.LocalizedString","combo-box-popup","qx.ui.menubar.Button","changeBackgroundColor","changeRight","[Interface ","_translationCatalog","qx.theme.manager.Color","_restoreButton","nodrop","_captionFlex","borderTopStyle","window-captionbar-close-button","__useinit$","changeModal",'Undefined value is not allowed!',"Interface","__actions","window-statusbar","qx.bom.element.Style",'Is invalid!',"colorInnerBottom","id","netnewswire","qx.ui.layout.HorizontalBoxLayout","': ",">","client-document","borderRightStyle","changeMoveMethod","X-Qooxdoo-Response-Type","key_short_Space",'</span></td>',"_markerBtn","ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=","_applyMaxLength","Firefox","-moz-box-sizing","img","_showTimeStamp","_field","Gray() Alpha(Opacity=30)","_htmlAttributes",'){',"qx.application.IApplication","key_short_CapsLock","qx.minLogLevel","anonymous: ","MozBoxSizing"," (#","Use getUseDoubleClick instead","_closeButtonImage","spinner-button-down","tree-element-label","0.0","info","__onmouseevent","key_full_Scroll","=((v==null)?0:v)+'px'","_valueDomEvent","qx.io.remote.RequestQueue","_applyColorInnerBottom","qx.ui.toolbar.CheckBox","_applyLeft","window-captionbar","_borderElement","[object ","_maximizeButton","qx.appearanceTheme","Server timeout","__onwindowblur","clip","Mozilla","Log window message: <b>Note: ","_applyCloseInterval","dir",'</span></td></tr>',"Server error",'var prop=qx.core.Property;',"changeBottom","width=500,height=250,dependent=yes,resizable=yes,status=no,location=no,menubar=no,toolbar=no,scrollbars=no",'<table>',"qx.ui.resizer.IResizable","Del","_mouseEvent","_layoutImpl","_applyShowCloseButton","_cached","0px none",'<span class="selectorId">#',')prop.error(this,5,"',"qx.theme.manager.Icon","qx.core.Version","Num","_openTimer","tree-folder-icon","toLocaleUpperCase",' <span class="nodeName">','\", "',"Width","qx.theme.manager.Border","pixelWidth","_applyVerticalChildrenAlign","group-box","__manager","qx.log.Logger","key_full_PageDown"," [not readable: ","key_full_Escape","ae","explorer","_computed","_applyShowClose","tab-view","_applyTheme","0x","__key","_requestHeaders"," ms) ","_applyPage","omniweb",'-','!==inherit){',"changeOpen","changeFocused","changeTheme","qx.eventMonitorNoListeners","key_short_Insert",'X',"end_minus","getLastActiveChild",'value !== null && (qx.locale.Manager.getInstance().isDynamic(value) || typeof value === "string")',"_fields","_applyIconWidth","_lastMouseEventDate","_statusBar","_queue","_applyGlobalCursor","_applyStyleBottom","MaxWidth","image","qx.core.Package","_applyInterval","galeon","join","removeDom","qx.ui.resizer.MResizable","qx.html.StyleSheet","_appenderArr","AppleWebKit","Legacy properties are deprecated","Use setHtmlProperty instead","_remappingChildTable","toolbar=no,scrollbars=no,resizable=yes,","qx.ui.core.ClientDocument","qx.util.manager.Object","right-reversed","toolbar-part-handle","qx.ui.form.RadioButton",">","other gecko","form","qx.util.Compare","no","resizer-frame","qx.ui.groupbox.GroupBox","qx.ui.basic.Atom","Percent","window-captionbar-icon","_applyBackgroundColor","combo-box-button","_applyCaption","qx.colorTheme","http://",'.classname)this.$$initialized=true;',"menu-radio-button","_applyResponseType","_valueData",'else{',"key_full_Enter","qx.core.Init","_applyHorizontalChildrenAlign","Ae",'<span class="selectorTag">',"Conflict",'#lines { width: 100%; height: expression((document.body.offsetHeight - 30) + "px"); }',"changeCapture","map","O","__theme$","_applyShowMaximize",'value !== null && value.nodeType !== undefined',"_filterArr",'></iframe>',"Ctrl","key_short_Home","rgb(",'computed=undefined;delete this.',"RealPlayer","_lastMouseEventType","font-style:","qx.core.Log.assert","_applyMarginTop","_applyHoverItem","Microsoft.XMLHTTP",'return retval;',"_applyVisibility",'if(computed===undefined||computed===inherit){',"splice","qx.theme.ClassicRoyale","_applyMaxWidth",'typeof value === "string"',"changeZIndex",'if(value!==null)',"--- Object: ",'typeof value === "string" && value.length > 0',"_applyActiveWindow","popup","_hideTimeStamp","Unknown status code","key_","create","Not available","_inlineEvents","_applyIconTheme","_applyWidthRight","qx.lang.Object","_window","key_short_PageDown","_upbutton","member","key_full_Tab",'throw new Error("Property ',"visibility","_applyStatus",'value !== null && qx.theme.manager.Border.getInstance().isDynamic(value)',"MacIntel","spinner-button-up","No content","changeMode","_applyFocusHandler","qx.core.Log.log","z","Top","qx.core.Log.warn","command","qx.ui.form.Spinner","This method is no longer needed since the event object is now an instance of the Response class.","_applyDisplay","_document","styleFloat","_attachedWidget","qx.ui.tree.SelectionManager","valueOf","__user$excludeSpecificTreeLines","start_minus","_applyShowStatusbar","mozBoxSizing",'name="',"form_","qx.dom.String","ue","qx.io.remote.ScriptTransport","_applyHtml","unix","changeFontTheme",'<span class="objectBox-null">',"body {}","type","qx.ui.form.PasswordField","search","key_short_Down","qx.core.Aspect"," errors.","mac","qx.ui.core.Border",'Requires exactly one argument!',"_divDataSets","toolbar",'if(value===null)prop.error(this,4,"',"_widget","Parsed","_previousParentFolder","qx.bom.Document",'Basic ',"qx.ui.toolbar.ToolBar","window-captionbar-maximize-button",'value !== null && value.$$type === "Theme"',"key_short_Tab","_lastKeyCode",' pre { margin: 0; padding: 4px 8px; font-family: Consolas, "Bitstream Vera Sans Mono", monospace; }',"MSIE","Forbidden","qx.html.Entity","_applyCaptureWidget","anonymous","_lastMouseDown",'</span>="<span class="nodeValue">',"cssFloat","toolbar-part","qx.ui.tree.TreeRowStructure",'Referer','!(value && qx.Class.hasInterface(value.constructor, ',"qx.ui.basic.Label",".gif","qx.ui.basic.ScrollArea","Use getUseTreeLines instead","[Theme ","_popup","Proxy authentication required","qx.ui.popup.PopupAtom","group-box-legend","beforeInsertDom","_applyAutoCloseWithErrors","_legendObject","qx.io.image.PreloaderSystem","Use getHideNode instead","qx.html.EventRegistration","_innerStyle","icon/16/actions/document-new.png","verticalChildrenAlign","qx.html.Window","qx.bom.element.Location","Ue","_applyStyleRight",'===value)return value;',"-1","Object is null","<html><head><title>","=[not readable: ","end_plus"," in method ","qx.ui.basic.Terminator","_applyColorRight","__dragCache","_iframeNode","_applyWidthBottom",'if(value===undefined)prop.error(this,2,"',"#FEF0D2","_oldParent","key_short_Up","_applyItalic","key_full_Insert",'value=this.',"_statusText","_formFields","tree",'<span class="objectBox-selector">',"menu-button","_minimizeButton","qx.ui.selection.SelectionManager","_active","qx.ui.tree.AbstractTreeElement","_applyAllowMinimize","MSXML2.XMLHTTP.3.0","_applyHideFocus","progid:DXImageTransform.Microsoft.Shadow(color='Gray', Direction=135, Strength=4)","qx.ui.embed.HtmlEmbed","_applyLeadItem","bottom-reversed","commandLine","_applyImplementation","qx.core.Log.dir","qx.core.MUserData",'value instanceof RegExp',"_logEventQueue","toolbar-separator-line","qx.event.type.DomEvent","<pre>Could not execute json: \n","__ondragevent","_valueOldValue","_applyLoaded","())","qx.util.range.Range","_applyParent","qx.core.Variant","qx.core.Target",""","/source/class/","__listeners","beforeRemoveDom","frame_","_applyMarginLeft","Request entity too large","qx.html.Location","Gecko","qx.log.LogEventProcessor","_closeButton","pixelTop","'",' of an instance of ',"text-decoration:","_applyShow","_applyFocusedChild",'<div class="objectBox-element">',"changeWidth","changeAnchorItem","password","key_short_Alt","_parentLogger",' #lines{ top: 30px; left: 0; right: 0; bottom: 0; position: absolute; overflow: auto; }',"qx.lang.Array","_applyColorLeft",'</div><div class="objectBox-element"></<span class="nodeTag">',"toLocaleLowerCase","KDE","_children","Esc","qx.ui.pageview.tabview.Pane","yes","_applyMethod","_modify","qx.ui.pageview.tabview.Page","</title></head>","every","\\\\","addChild","changeValidator","__font","qx.util.Mime","_change","box-sizing","_applyIconPosition","changeDisplay","_applyWidth","_applyColorInnerRight",'/></div>',"changeMaxHeight","qx.locale.MTranslation","changeMinHeight",'return null;',"unselectable","Caps","qx.ui.layout.CanvasLayout","spinner","_remappingChildTarget","_applyWidgetTheme","html { border:0 none; } ","cursor-dnd-","_image","', ((v==null)?0:v)+'px')","atom","_value",'_indentObject',"qx.preloaderTimeout","changeShowCloseButton","shift","qx.theme.manager.Appearance","parentPaddingLeft","org.w3c.dom.svg","Current stack trace",'Null value is not allowed!','<iframe onload="parent.qx.ui.embed.Iframe.load(this)"',"pixelLeft","toolbar-separator","file://","qx.event.handler.KeyEventHandler","key_full_Shift","Request time-out","Bad request","key_full_NumLock"," with incoming value '","menu-separator","key_full_End","link",'Could not change or apply init value after constructing phase!',"  ","qxsetting","orientation","changeOverflow","qx.ui.toolbar.Part","__stateMap","_applyCurrentToolTip",'value instanceof Function',"_htmlProperties","...","__intervalHandler","qx.ui.menu.ButtonLayoutImpl","_req","qx.log.appender.FireBug","parseerror","_valueCurrentTarget","qx.core.Log.dirxml","__oninput","_applySpellCheck","window-statusbar-text","width=","toLowerCase",'<span class="objectBox-string">"',"key_full_Delete"," of class ","icon/16/actions/dialog-cancel.png","cross_plus","_applyMinWidth","\" />","Multiple choices","Win64","changeIconTheme","_applyCommand","menu-separator-line","w","qx.ui.menu.Button","qx.html.Iframe","PgUp",'", computed, old);',"borderRight",",top=","_applyAlignTabsToLeft","1px 0",'value !== null && typeof value === "object"','value instanceof Array',"_applyFrameName","_applyAlwaysShowPlusMinusSymbol",'<tr>',"changeWindowManager","__visible","qx.ui.layout.impl.HorizontalBoxLayoutImpl","key_full_Apps","name","_filterTextWords",",left=","_applyTextColor","changeCaption","e","_applyColorInnerTop","pixelRight","_applyMaximum","} ","MozUserFocus","qx.theme.manager.Widget","_applyMarginRight","_applyStyleLeft","Flex","key_full_Pause","font-family:",'var computed, old=this.',"_applyHeight","qx.core.Log","key_full_PageUp",' html, body{ padding: 0; margin: 0; border : 0 none; }',"_modalNativeWindow","_isErroneous","resizableWest","[Class ","resizer","_applyWidthTop","_style","changeLeft","_valueDomTarget","changeTop","__cursors","menu","__onselectevent","Payment required","font-weight:","_bar",'</span>"',"constructor","qx.ui.resizer.ResizablePopup",'<span class="objectBox-object">',"this.setStyleProperty('padding","windowfocus",':',"BSD","qx.core.Log.clear","qx.ui.menu.Layout","konqueror","changeMoveable","qx.Theme","qx.ui.pageview.tabview.Bar","gif","_applyHideNode","_applyUseTreeLines","_valueValue","Moved permanently","_applyShortcut","changeStatus","qx.ui.toolbar.MenuButton","_captionIcon","_parameters",'"</span>',"qx.util.Validation","qx.util.ColorUtil","_valueTarget","-resize","borderLeft","cross_minus","changeActive","_arrowObject","horizontalChildrenAlign"," INFO: ","_applyShowCaption","_applyTop","changeGlobalCursor",'<td class="propertyNameCell"><span class="propertyName">',"()","key_short_PrintScreen","MSHTML-specific HTTP status code","toUpperCase","_button",'var pa=this.getParent();if(pa)computed=pa.',"_applyDestinationWidget","_dynamic"," logRow-","firstChild","reverse","changeHeight","ss","X-Requested-With","qx.theme","qx.ui.selection.Selection","spinner-text-field","insertDom","oe","_applyFamily","combo-box","key_short_Enter","stretchChildrenOrthogonalAxis","tree-folder-label","window-captionbar-minimize-button","qx.borderTheme",'value !== null && value.type !== undefined',"combo-box-text-field","Error: Could not get a reference to the sheet object",'value !== null && value.nodeType === 1 && value.attributes',"Not found",'value !== null && typeof value === "object" && !(value instanceof Array) && !(value instanceof qx.core.Object)',"_applyShowMinimize","qx.ui.embed.Iframe","_applyShowIcon",'(computed, old);',"changeAppearance",'</table>',"qx.ui.pageview.AbstractPageView","is","tree-element-icon",'()</span>','value !== null && value.nodeType === 9 && value.documentElement',"Gone","#FFEEEE","\n</pre>","Unauthorized","_applyPaddingBottom",".apply(this._remappingChildTarget, arguments)","You can only specify one non modifier key!","_registry","closetab","*{","action","_applyOrientation","qx.ui.toolbar.PartHandle","qx.log.MLogging",'old=computed=this.',"_applyColorTheme","qx.core.Client","qx.ui.toolbar.Separator","qx.theme.manager.Meta","changeSpacing","key_short_Apps","key_short_Win","_applyIconHeight",'<<span class="nodeTag">',"shiira",'===undefined)return;',"_applyActiveChild","substr","MaxHeight",'<span class="selectorClass">.',"null","_modalWidgets","qx.dom.Node","_applyCursor","__storage","changeVisibility","__lastDestinationEvent","colorInnerTop","realplayer","other webkit","_lastMouseDownDomTarget","_isPng","_applyUseAdvancedFlexAllocation","text-area","dirxml","list-item"," ---\n","qx.html.String",'))',"_filterInput","key_full_Home",'var retval=clazz.$$original.apply(this,arguments);',"camino",' #control { top: 0; left: 0; right: 0; padding: 4px 8px; background: #eee; border-bottom: 1px solid #ccc; height: 30px }',"__data","qx.ui.core.ClientDocumentBlocker"," ERROR: ","u","activeX","qx.client.Timer","[object Object]","qx.lang.Function","Out of resources","qx.dev.StackTrace","qx.core.Setting","qx.ui.menu.RadioButton","_applyModal","_globalCursorStyleSheet","_line","Oe","/static/log/log.html","Method not allowed","_applyAppearanceTheme","content-box","Ok",'if(','value instanceof Error','anonymous',"Unsupported media type","#F1FBF3","key_full_Left","qx.core.Property","qx.ui.form.List","Precondition failed","changeMenu","combo-box-list","__borderObject","_form","Error in property ","<","_applyProhibitCaching","_applyType","MinWidth","this._style.","_applyExcludeSpecificTreeLines","tree-label","_applyStyleTop","getFirstChild","marker",'"></iframe>',"window-captionbar-title"," (r","Gateway time-out","resizableSouth","html",'else if(computed===undefined)',"qx.core.Log.timeEnd",'></div><div class="nodeChildren">',"qx.widgetTheme","spacing","__modifier","X-Qooxdoo-Version","Alpha(Opacity=0)","-moz-scrollbars-none",'else this.',"_textfield","visible","Bottom","initial","qx.core.Log.time","colorInnerLeft","_applyOpenItem"," FATAL: ","Safari","hideFocus","MSXML2.XMLHTTP.6.0","_applyDisabledIcon","_applyPaddingRight","changeBorder",'></span></div>',"en","__userData","beforeInitialOpen","Length required","_applyWidthLeft","--- End of object ---","qx.isSource","_logLinesDiv","logRow",'var clazz=arguments.callee.constructor;',"_inputElement","__onwindowresize","changeCurrentAction","changeMinWidth",'var computed, old;','}else{',"stylesheet","_isCreated",'<td><span class="propertyValue">',"qx.util.manager.Value","qx.core.Bootstrap","toLocaleString","_shortcutObject","parentPaddingTop","horizontalAlign","qx.enableApplicationLayout","_jobQueue","key_short_Escape","some",'</body></html>',"_containerObject","StringExact","qx.ui.toolbar.Button","Not a valid key name for a command: ",'typeof value === "boolean"',"changeDirection","Mixin","charCodeAt","qx.net.HttpRequest","qx.lang.Number","box","',sizingMethod='scale')","[\xE4\xF6\xFC\xDF\xC4\xD6\xDC]","changeTabIndex","qx.lang.String","_renderRuntime","_applyCapture","_appender",'.checkMap[value]===undefined','.check.call(this, value)',"tool-tip","overline","getLastChild","qx.html.ScrollIntoView","key_short_Meta","_applyReverseChildrenOrder","key_short_PageUp","key_short_Pause","_applyDecoration","qx.widgetDebugId","!isNaN(value)&&value>=this.getMin()&&value<=this.getMax()","rect(","colorInnerRight","_isLoaded","_downbutton","MSXML2.XMLHTTP","_applyCloseButtonImage","_items","__onwindowfocus","qx.ui.layout.VerticalBoxLayout","_applyPlaceBarOnTop","full","Auto","pop","BackgroundImageCache","isPrototypeOf","qx.ui.form.CheckBox","qx.application.Basic","X11",'_iconObject',"NetNewsWire","qx.compatibility","_applyColorInnerLeft","qx.ui.form.TextArea","qx.bom.Viewport","key_full_Right","group-box-frame","url(","img{","button","key_full_Backspace","_applyBold","changeWidgetTheme",' <pre id="log" wrap="wrap"></pre>','this.createDispatchChangeEvent("',"_applyColorTop","html,body{width:100%;height:100%;overflow:hidden;}","changeOpenMenu","qx.log.appender.Abstract","qx.html.Style","_scrollContent","qx.locale.Locale","_checkValue","useAdvancedFlexAllocation","return this._remappingChildTarget.","changeOrientation","key_short_Shift","qx.ui.pageview.tabview.Button","__oninterval","key_short_Control","qx.ui.basic.HorizontalSpacer","Shiira","qx.theme.manager.Font","changeMaxWidth","MinHeight","key_full_CapsLock","qx.io.image.PreloaderManager","Camino","qx.ui.layout.impl.CanvasLayoutImpl","qx.ui.tree.TreeFile","_commands","_applyMode","tree-element",' <style type="text/css">','<div class="nodeText">',"_frameObject","changeAppearanceTheme"," ["];if(!window.qxsettings)qxsettings={};if(qxsettings["qx.theme"]==undefined)qxsettings["qx.theme"]="org.eclipse.swt.theme.Default";if(qxsettings["qx.logAppender"]==undefined)qxsettings["qx.logAppender"]="qx.log.appender.Native";if(qxsettings["qx.version"]==undefined)qxsettings["qx.version"]="0.7.3 (r11170)";if(qxsettings["qx.isSource"]==undefined)qxsettings["qx.isSource"]=false;if(!window.qxvariants)qxvariants={};qxvariants["qx.compatibility"]="off";qxvariants["qx.debug"]="off";qx={Class:{createNamespace:function($0,$1){var $2=$0.split($[24]);var $3=window;var $4=$2[0];for(var $5=0,$6=$2.length-1;$5<$6;$5++,$4=$2[$5]){if(!$3[$4]){$3=$3[$4]={};}else{$3=$3[$4];}}$3[$4]=$1;return $4;},define:function($0,$1){if(!$1){var $1={statics:{}};}this.createNamespace($0,$1.statics);if($1.defer){$1.defer($1.statics);}qx.core.Bootstrap.__registry[$0]=$1.statics;}}};qx.Class.define($[1694],{statics:{LOADSTART:new Date,time:function(){return new Date().getTime();},since:function(){return this.time()-this.LOADSTART;},__registry:{}}}); >+qx.Class.define($[584]);if(!Error.prototype.toString||Error.prototype.toString()==$[847]){Error.prototype.toString=function(){return this.message;};}if(!Array.prototype.indexOf){Array.prototype.indexOf=function($0,$1){if($1==null){$1=0;}else if($1<0){$1=Math.max(0,this.length+$1);}for(var $2=$1;$2<this.length;$2++){if(this[$2]===$0){return $2;}}return -1;};}if(!Array.prototype.lastIndexOf){Array.prototype.lastIndexOf=function($0,$1){if($1==null){$1=this.length-1;}else if($1<0){$1=Math.max(0,this.length+$1);}for(var $2=$1;$2>=0;$2--){if(this[$2]===$0){return $2;}}return -1;};}if(!Array.prototype.forEach){Array.prototype.forEach=function($0,$1){var $2=this.length;for(var $3=0;$3<$2;$3++){$0.call($1,this[$3],$3,this);}};}if(!Array.prototype.filter){Array.prototype.filter=function($0,$1){var $2=this.length;var $3=[];for(var $4=0;$4<$2;$4++){if($0.call($1,this[$4],$4,this)){$3.push(this[$4]);}}return $3;};}if(!Array.prototype.map){Array.prototype.map=function($0,$1){var $2=this.length;var $3=[];for(var $4=0;$4<$2;$4++){$3.push($0.call($1,this[$4],$4,this));}return $3;};}if(!Array.prototype.some){Array.prototype.some=function($0,$1){var $2=this.length;for(var $3=0;$3<$2;$3++){if($0.call($1,this[$3],$3,this)){return true;}}return false;};}if(!Array.prototype.every){Array.prototype.every=function($0,$1){var $2=this.length;for(var $3=0;$3<$2;$3++){if(!$0.call($1,this[$3],$3,this)){return false;}}return true;};}if(!String.prototype.quote){String.prototype.quote=function(){return $[109]+this.replace(/\\/g,$[1321]).replace(/\"/g,$[799])+$[109];};} >+qx.Class.define($[725],{statics:{__map:{"Array":[$[1050],$[1511],$[786],$[732],$[1747],$[1352],$[800],$[1114],$[492],$[509],$[324],$[533],$[607],$[1093],$[144],$[1702],$[1320]],"String":[$[597],$[846],$[1393],$[1504],$[875],$[1711],$[324],$[533],$[1310],$[1002],$[562],$[848],$[1176],$[693],$[684],$[1571],$[492],$[509]]},__wrap:function($0,$1){return function($2){return $0.prototype[$1].apply($2,Array.prototype.slice.call(arguments,1));};},__init:function(){var $0=qx.lang.Generics.__map;for(var $1 in $0){var $2=window[$1];var $3=$0[$1];for(var $4=0,$5=$3.length;$4<$5;$4++){var $6=$3[$4];if(!$2[$6]){$2[$6]=qx.lang.Generics.__wrap($2,$6);}}}}},defer:function($0){$0.__init();}}); >+qx.Class.define($[1608],{statics:{__settings:{},define:function($0,$1){if($1===undefined){throw new Error('Default value of setting "'+$0+'" must be defined!');}if(!this.__settings[$0]){this.__settings[$0]={};}else if(this.__settings[$0].defaultValue!==undefined){throw new Error('Setting "'+$0+'" is already defined!');}this.__settings[$0].defaultValue=$1;},get:function($0){var $1=this.__settings[$0];if($1===undefined){throw new Error('Setting "'+$0+'" is not defined.');}if($1.value!==undefined){return $1.value;}return $1.defaultValue;},__init:function(){if(window.qxsettings){for(var $0 in qxsettings){if(($0.split($[24])).length<2){throw new Error('Malformed settings key "'+$0+'". Must be following the schema "namespace.key".');}if(!this.__settings[$0]){this.__settings[$0]={};}this.__settings[$0].value=qxsettings[$0];}window.qxsettings=undefined;try{delete window.qxsettings;}catch(ex){}this.__loadUrlSettings();}},__loadUrlSettings:function(){if(this.get($[412])!=true){return;}var $0=document.location.search.slice(1).split($[93]);for(var $1=0;$1<$0.length;$1++){var $2=$0[$1].split($[47]);if($2.length!=3||$2[0]!=$[1373]){continue;}var $3=$2[1];if(!this.__settings[$3]){this.__settings[$3]={};}this.__settings[$3].value=decodeURIComponent($2[2]);}}},defer:function($0){$0.define($[412],false);$0.define($[441],false);$0.define($[288],$[568]);$0.define($[1680],true);$0.__init();}}); >+qx.Class.define($[1307],{statics:{fromArguments:function($0){return Array.prototype.slice.call($0,0);},fromCollection:function($0){return Array.prototype.slice.call($0,0);},fromShortHand:function($0){var $1=$0.length;if($1>4||$1==0){this.error("Invalid number of arguments!");}var $2=qx.lang.Array.copy($0);switch($1){case 1:$2[1]=$2[2]=$2[3]=$2[0];break;case 2:$2[2]=$2[0];case 3:$2[3]=$2[1];}return $2;},copy:function($0){return $0.concat();},clone:function($0){return $0.concat();},getLast:function($0){return $0[$0.length-1];},getFirst:function($0){return $0[0];},insertAt:function($0,$1,$2){$0.splice($2,0,$1);return $0;},insertBefore:function($0,$1,$2){var $3=$0.indexOf($2);if($3==-1){$0.push($1);}else{$0.splice($3,0,$1);}return $0;},insertAfter:function($0,$1,$2){var $3=$0.indexOf($2);if($3==-1||$3==($0.length-1)){$0.push($1);}else{$0.splice($3+1,0,$1);}return $0;},removeAt:function($0,$1){return $0.splice($1,1)[0];},removeAll:function($0){return $0.length=0;},append:function($0,$1){{};Array.prototype.push.apply($0,$1);return $0;},remove:function($0,$1){var $2=$0.indexOf($1);if($2!=-1){$0.splice($2,1);return $1;}},contains:function($0,$1){return $0.indexOf($1)!=-1;},equals:function($0,$1){if($0.length!==$1.length){return false;}for(var $2=0,$3=$0.length;$2<$3;$2++){if($0[$2]!==$1[$2]){return false;}}return true;}}}); >+qx.Class.define($[1281],{statics:{__variants:{},__cache:{},compilerIsSet:function(){return true;},define:function($0,$1,$2){{};if(!this.__variants[$0]){this.__variants[$0]={};}else{}this.__variants[$0].allowedValues=$1;this.__variants[$0].defaultValue=$2;},get:function($0){var $1=this.__variants[$0];{};if($1.value!==undefined){return $1.value;}return $1.defaultValue;},__init:function(){if(window.qxvariants){for(var $0 in qxvariants){{};if(!this.__variants[$0]){this.__variants[$0]={};}this.__variants[$0].value=qxvariants[$0];}window.qxvariants=undefined;try{delete window.qxvariants;}catch(ex){}this.__loadUrlVariants(this.__variants);}},__loadUrlVariants:function(){if(qx.core.Setting.get($[441])!=true){return;}var $0=document.location.search.slice(1).split($[93]);for(var $1=0;$1<$0.length;$1++){var $2=$0[$1].split($[47]);if($2.length!=3||$2[0]!=$[871]){continue;}var $3=$2[1];if(!this.__variants[$3]){this.__variants[$3]={};}this.__variants[$3].value=decodeURIComponent($2[2]);}},select:function($0,$1){{};for(var $2 in $1){if(this.isSet($0,$2)){return $1[$2];}}if($1[$[295]]!==undefined){return $1[$[295]];}{};},isSet:function($0,$1){var $2=$0+$[207]+$1;if(this.__cache[$2]!==undefined){return this.__cache[$2];}var $3=false;if($1.indexOf($[398])<0){$3=this.get($0)===$1;}else{var $4=$1.split($[398]);for(var $5=0,$6=$4.length;$5<$6;$5++){if(this.get($0)===$4[$5]){$3=true;break;}}}this.__cache[$2]=$3;return $3;},__isValidArray:function($0){return typeof $0===$[28]&&$0!==null&&$0 instanceof Array;},__isValidObject:function($0){return typeof $0===$[28]&&$0!==null&&!($0 instanceof Array);},__arrayContains:function($0,$1){for(var $2=0,$3=$0.length;$2<$3;$2++){if($0[$2]==$1){return true;}}return false;}},defer:function($0){$0.define($[897],[$[23],$[55]],$[23]);$0.define($[1755],[$[23],$[55]],$[23]);$0.define($[1032],[$[23],$[55]],$[55]);$0.define($[108],[$[23],$[55]],$[55]);$0.define($[263],[$[23],$[55]],$[23]);$0.__init();}}); >+qx.Class.define($[1178],{statics:{__registry:[],wrap:function($0,$1,$2){if(!qx.core.Setting.get($[427])){return $1;}var $3=[];var $4=[];for(var $5=0;$5<this.__registry.length;$5++){var $6=this.__registry[$5];if($0.match($6.re)&&($2==$6.type||$6.type==$[140])){var $7=$6.pos;if($7==$[448]){$3.push($6.fcn);}else{$4.push($6.fcn);}}}if($3.length==0&&$4.length==0){return $1;}var $8=function(){for(var $5=0;$5<$3.length;$5++){$3[$5].call(this,$0,$1,$2,arguments);}var $9=$1.apply(this,arguments);for(var $5=0;$5<$4.length;$5++){$4[$5].call(this,$0,$1,$2,arguments,$9);}return $9;};if($2!=$[178]){$8.self=$1.self;$8.base=$1.base;}$1.wrapper=$8;return $8;},addAdvice:function($0,$1,$2,$3){if($0!=$[448]&&$0!=$[721]){throw new Error("Unknown position: '"+$0+"'");}this.__registry.push({pos:$0,type:$1,re:$2,fcn:$3});}},defer:function(){qx.core.Setting.define($[427],false);}}); >+qx.Class.define($[1560],{statics:{__init:function(){var $0=window.location.protocol===$[442];var $1=navigator.userAgent;var $2=navigator.vendor;var $3=navigator.product;var $4=navigator.platform;var $5=false;var $6;var $7=null;var $8=null;var $9=0;var $a=0;var $b=0;var $c=0;var $d=null;var $e=null;var $f;if(window.opera&&/Opera[\s\/]([0-9\.]*)/.test($1)){$7=$[154];$8=RegExp.$1;$6=$[154];$8=$8.substring(0,3)+$[24]+$8.substring(3);$d=$1.indexOf($[1197])!==-1?$[13]:$1.indexOf($[978])!==-1?$[21]:null;}else if(typeof $2===$[8]&&$2===$[1311]&&/KHTML\/([0-9-\.]*)/.test($1)){$7=$[157];$6=$[1472];$8=RegExp.$1;}else if($1.indexOf($[1055])!=-1&&/AppleWebKit\/([^ ]+)/.test($1)){$7=$[147];$8=RegExp.$1;$e=$8.indexOf($[246])!=-1;var $g=RegExp($[656]).exec($8);if($g){$8=$8.slice(0,$g.index);}if($1.indexOf($[1667])!=-1){$6=$[790];}else if($1.indexOf($[654])!=-1){$6=$[1026];}else if($1.indexOf($[1785])!=-1){$6=$[1568];}else if($1.indexOf($[1754])!=-1){$6=$[929];}else if($1.indexOf($[1104])!=-1){$6=$[1582];}else{$6=$[1583];}if($e){$6+=$[571];}}else if(window.controllers&&typeof $3===$[8]&&$3===$[1291]&&/rv\:([^\);]+)(\)|;)/.test($1)){$7=$[21];$8=RegExp.$1;if($1.indexOf($[942])!=-1){$6=$[633];}else if($1.indexOf($[1791])!=-1){$6=$[1596];}else if($1.indexOf($[719])!=-1){$6=$[1049];}else{$6=$[1066];}}else if(/MSIE\s+([^\);]+)(\)|;)/.test($1)){$7=$[13];$8=RegExp.$1;$6=$[1016];$5=!window.external;}if($8){$f=$8.split($[24]);$9=$f[0]||0;$a=$f[1]||0;$b=$f[2]||0;$c=$f[3]||0;}var $h=[];switch($7){case $[21]:$h.push($[943]);break;case $[157]:$h.push($[421]);break;case $[147]:$h.push($[421]);$h.push($[661]);break;case $[13]:break;default:break;}$h.push($[1327]);var $i=document.compatMode!==$[91];var $j=$[1674];var $k=($7==$[13]?navigator.userLanguage:navigator.language).toLowerCase();var $l=null;var $m=$k.indexOf($[137]);if($m!=-1){$l=$k.substr($m+1);$k=$k.substr(0,$m);}var $n=$[7];var $o=false;var $p=false;var $q=false;var $r=false;if($4.indexOf($[803])!=-1||$4.indexOf($[605])!=-1||$4.indexOf($[1402])!=-1){$o=true;$n=$[328];}else if($4.indexOf($[578])!=-1||$4.indexOf($[596])!=-1||$4.indexOf($[1142])!=-1){$p=true;$n=$[1180];}else if($4.indexOf($[1752])!=-1||$4.indexOf($[546])!=-1||$4.indexOf($[1469])!=-1){$q=true;$n=$[1170];}else{$r=true;$n=$[48];}var $s=false;var $t=false;var $u=false;var $v=false;if($7==$[13]){$s=true;}if(document.implementation&&document.implementation.hasFeature){if(document.implementation.hasFeature($[1355],$[608])){$t=$u=true;}}this._runsLocally=$0;this._engineName=$7;this._engineNameMshtml=$7===$[13];this._engineNameGecko=$7===$[21];this._engineNameOpera=$7===$[154];this._engineNameKhtml=$7===$[157];this._engineNameWebkit=$7===$[147];this._engineVersion=parseFloat($8);this._engineVersionMajor=parseInt($9);this._engineVersionMinor=parseInt($a);this._engineVersionRevision=parseInt($b);this._engineVersionBuild=parseInt($c);this._engineQuirksMode=$i;this._engineBoxSizingAttributes=$h;this._engineEmulation=$d;this._browserName=$6;this._defaultLocale=$j;this._browserPlatform=$n;this._browserPlatformWindows=$o;this._browserPlatformMacintosh=$p;this._browserPlatformUnix=$q;this._browserPlatformOther=$r;this._browserModeHta=$5;this._browserLocale=$k;this._browserLocaleVariant=$l;this._gfxVml=$s;this._gfxSvg=$t;this._gfxSvgBuiltin=$u;this._gfxSvgPlugin=$v;this._fireBugActive=(window.console&&console.log&&console.debug&&console.assert);this._supportsTextContent=(document.documentElement.textContent!==undefined);this._supportsInnerText=(document.documentElement.innerText!==undefined);this._supportsXPath=!!document.evaluate;this._supportsElementExtensions=!!window.HTMLElement;},getRunsLocally:function(){return this._runsLocally;},getEngine:function(){return this._engineName;},getBrowser:function(){return this._browserName;},getVersion:function(){return this._engineVersion;},getMajor:function(){return this._engineVersionMajor;},getMinor:function(){return this._engineVersionMinor;},getRevision:function(){return this._engineVersionRevision;},getBuild:function(){return this._engineVersionBuild;},getEmulation:function(){return this._engineEmulation;},isMshtml:function(){return this._engineNameMshtml;},isGecko:function(){return this._engineNameGecko;},isOpera:function(){return this._engineNameOpera;},isKhtml:function(){return this._engineNameKhtml;},isWebkit:function(){return this._engineNameWebkit;},isSafari2:function(){return this._engineNameWebkit&&(this._engineVersion<420);},isInQuirksMode:function(){return this._engineQuirksMode;},getLocale:function(){return this._browserLocale;},getLocaleVariant:function(){return this._browserLocaleVariant;},getDefaultLocale:function(){return this._defaultLocale;},usesDefaultLocale:function(){return this._browserLocale===this._defaultLocale;},getEngineBoxSizingAttributes:function(){return this._engineBoxSizingAttributes;},getPlatform:function(){return this._browserPlatform;},runsOnWindows:function(){return this._browserPlatformWindows;},runsOnMacintosh:function(){return this._browserPlatformMacintosh;},runsOnUnix:function(){return this._browserPlatformUnix;},supportsVml:function(){return this._gfxVml;},supportsSvg:function(){return this._gfxSvg;},usesSvgBuiltin:function(){return this._gfxSvgBuiltin;},usesSvgPlugin:function(){return this._gfxSvgPlugin;},isFireBugActive:function(){return this._fireBugActive;},supportsTextContent:function(){return this._supportsTextContent;},supportsInnerText:function(){return this._supportsInnerText;},getInstance:function(){return this;}},defer:function($0,$1,$2){$0.__init();qx.core.Variant.define($[1],[$[21],$[13],$[154],$[147],$[157]],qx.core.Client.getInstance().getEngine());}}); >+qx.Class.define($[1132],{statics:{isEmpty:function($0){for(var $1 in $0){return false;}return true;},hasMinLength:function($0,$1){var $2=0;for(var $3 in $0){if((++$2)>=$1){return true;}}return false;},getLength:function($0){var $1=0;for(var $2 in $0){$1++;}return $1;},_shadowedKeys:[$[1749],$[741],$[1695],$[452],$[1159]],getKeys:qx.core.Variant.select($[1],{"mshtml":function($0){var $1=[];for(var $2 in $0){$1.push($2);}for(var $3=0,$4=this._shadowedKeys,$5=$4.length;$3<$5;$3++){if($0.hasOwnProperty($4[$3])){$1.push($4[$3]);}}return $1;},"default":function($0){var $1=[];for(var $2 in $0){$1.push($2);}return $1;}}),getKeysAsString:function($0){var $1=qx.lang.Object.getKeys($0);if($1.length==0){return $[0];}return $[109]+$1.join($[1004])+$[109];},getValues:function($0){var $1=[];for(var $2 in $0){$1.push($0[$2]);}return $1;},mergeWith:function($0,$1,$2){if($2===undefined){$2=true;}for(var $3 in $1){if($2||$0[$3]===undefined){$0[$3]=$1[$3];}}return $0;},carefullyMergeWith:function($0,$1){qx.log.Logger.deprecatedMethodWarning(arguments.callee);return qx.lang.Object.mergeWith($0,$1,false);},merge:function($0,$1){var $2=arguments.length;for(var $3=1;$3<$2;$3++){qx.lang.Object.mergeWith($0,arguments[$3]);}return $0;},copy:function($0){var $1={};for(var $2 in $0){$1[$2]=$0[$2];}return $1;},invert:function($0){var $1={};for(var $2 in $0){$1[$0[$2].toString()]=$2;}return $1;},getKeyFromValue:function($0,$1){for(var $2 in $0){if($0[$2]===$1){return $2;}}return null;},select:function($0,$1){return $1[$0];},fromArray:function($0){var $1={};for(var $2=0,$3=$0.length;$2<$3;$2++){{};$1[$0[$2].toString()]=true;}return $1;}}}); >+qx.Class.define($[602],{statics:{define:function($0,$1){if(!$1){var $1={};}if($1.include&&!($1.include instanceof Array)){$1.include=[$1.include];}if($1.implement&&!($1.implement instanceof Array)){$1.implement=[$1.implement];}if(!$1.hasOwnProperty($[629])&&!$1.type){$1.type=$[178];}{};var $2=this.__createClass($0,$1.type,$1.extend,$1.statics,$1.construct,$1.destruct);if($1.extend){if($1.properties){this.__addProperties($2,$1.properties,true);}if($1.members){this.__addMembers($2,$1.members,true,true,false);}if($1.events){this.__addEvents($2,$1.events,true);}if($1.include){for(var $3=0,$4=$1.include.length;$3<$4;$3++){this.__addMixin($2,$1.include[$3],false);}}}if($1.settings){for(var $5 in $1.settings){qx.core.Setting.define($5,$1.settings[$5]);}}if($1.variants){for(var $5 in $1.variants){qx.core.Variant.define($5,$1.variants[$5].allowedValues,$1.variants[$5].defaultValue);}}if($1.defer){$1.defer.self=$2;$1.defer($2,$2.prototype,{add:function($0,$1){var $6={};$6[$0]=$1;qx.Class.__addProperties($2,$6,true);}});}if($1.implement){for(var $3=0,$4=$1.implement.length;$3<$4;$3++){this.__addInterface($2,$1.implement[$3]);}}},createNamespace:function($0,$1){var $2=$0.split($[24]);var $3=window;var $4=$2[0];for(var $5=0,$6=$2.length-1;$5<$6;$5++,$4=$2[$5]){if(!$3[$4]){$3=$3[$4]={};}else{$3=$3[$4];}}{};$3[$4]=$1;return $4;},isDefined:function($0){return this.getByName($0)!==undefined;},getTotalNumber:function(){return qx.lang.Object.getLength(this.__registry);},getByName:function($0){return this.__registry[$0];},include:function($0,$1){{};qx.Class.__addMixin($0,$1,false);},patch:function($0,$1){{};qx.Class.__addMixin($0,$1,true);},isSubClassOf:function($0,$1){if(!$0){return false;}if($0==$1){return true;}if($0.prototype instanceof $1){return true;}return false;},getPropertyDefinition:function($0,$1){while($0){if($0.$$properties&&$0.$$properties[$1]){return $0.$$properties[$1];}$0=$0.superclass;}return null;},getByProperty:function($0,$1){while($0){if($0.$$properties&&$0.$$properties[$1]){return $0;}$0=$0.superclass;}return null;},hasProperty:function($0,$1){return !!this.getPropertyDefinition($0,$1);},getEventType:function($0,$1){var $0=$0.constructor;while($0.superclass){if($0.$$events&&$0.$$events[$1]!==undefined){return $0.$$events[$1];}$0=$0.superclass;}return null;},supportsEvent:function($0,$1){return !!this.getEventType($0,$1);},hasOwnMixin:function($0,$1){return $0.$$includes&&$0.$$includes.indexOf($1)!==-1;},getByMixin:function($0,$1){var $2,$3,$4;while($0){if($0.$$includes){$2=$0.$$flatIncludes;for($3=0,$4=$2.length;$3<$4;$3++){if($2[$3]===$1){return $0;}}}$0=$0.superclass;}return null;},getMixins:function($0){var $1=[];while($0){if($0.$$includes){$1.push.apply($1,$0.$$flatIncludes);}$0=$0.superclass;}return $1;},hasMixin:function($0,$1){return !!this.getByMixin($0,$1);},hasOwnInterface:function($0,$1){return $0.$$implements&&$0.$$implements.indexOf($1)!==-1;},getByInterface:function($0,$1){var $2,$3,$4;while($0){if($0.$$implements){$2=$0.$$flatImplements;for($3=0,$4=$2.length;$3<$4;$3++){if($2[$3]===$1){return $0;}}}$0=$0.superclass;}return null;},getInterfaces:function($0){var $1=[];while($0){if($0.$$implements){$1.push.apply($1,$0.$$flatImplements);}$0=$0.superclass;}return $1;},hasInterface:function($0,$1){return !!this.getByInterface($0,$1);},implementsInterface:function($0,$1){if(this.hasInterface($0,$1)){return true;}try{qx.Interface.assert($0,$1,false);return true;}catch(ex){}return false;},getInstance:function(){if(!this.$$instance){this.$$allowconstruct=true;this.$$instance=new this;delete this.$$allowconstruct;}return this.$$instance;},genericToString:function(){return $[1449]+this.classname+$[115];},__registry:qx.core.Bootstrap.__registry,__allowedKeys:null,__staticAllowedKeys:null,__validateConfig:function(){},__createClass:function($0,$1,$2,$3,$4,$5){var $6;if(!$2&&qx.core.Variant.isSet($[108],$[55])){$6=$3||{};}else{$6={};if($2){if(!$4){$4=this.__createDefaultConstructor();}$6=this.__wrapConstructor($4,$0,$1);}if($3){var $7;for(var $8=0,$9=qx.lang.Object.getKeys($3),$a=$9.length;$8<$a;$8++){$7=$9[$8];if(qx.core.Variant.isSet($[108],$[23])){var $b=$3[$7];if($b instanceof Function){$b=qx.core.Aspect.wrap($0+$[24]+$7,$b,$[178]);}$6[$7]=$b;}else{$6[$7]=$3[$7];}}}}var $c=this.createNamespace($0,$6,false);$6.name=$6.classname=$0;$6.basename=$c;if(!$6.hasOwnProperty($[452])){$6.toString=this.genericToString;}if($2){var $d=$2.prototype;var $e=this.__createEmptyFunction();$e.prototype=$d;var $f=new $e;$6.prototype=$f;$f.name=$f.classname=$0;$f.basename=$c;$4.base=$6.superclass=$2;$4.self=$6.constructor=$f.constructor=$6;if($5){if(qx.core.Variant.isSet($[108],$[23])){$5=qx.core.Aspect.wrap($0,$5,$[851]);}$6.$$destructor=$5;}}{};this.__registry[$0]=$6;return $6;},__addEvents:function($0,$1,$2){var $3,$3;if($0.$$events){for(var $3 in $1){$0.$$events[$3]=$1[$3];}}else{$0.$$events=$1;}},__addProperties:function($0,$1,$2){var $3;if($2===undefined){$2=false;}var $4=!!$0.$$propertiesAttached;for(var $5 in $1){$3=$1[$5];{};$3.name=$5;if(!$3.refine){if($0.$$properties===undefined){$0.$$properties={};}$0.$$properties[$5]=$3;}if($3.init!==undefined){$0.prototype[$[332]+$5]=$3.init;}if($3.event!==undefined){var $6={};$6[$3.event]=$[457];this.__addEvents($0,$6,$2);}if($3.inheritable){qx.core.Property.$$inheritable[$5]=true;}if($4){qx.core.Property.attachMethods($0,$5,$3);}if($3._fast){qx.core.LegacyProperty.addFastProperty($3,$0.prototype);}else if($3._cached){qx.core.LegacyProperty.addCachedProperty($3,$0.prototype);}else if($3._legacy){qx.core.LegacyProperty.addProperty($3,$0.prototype);}}},__validateProperty:null,__addMembers:function($0,$1,$2,$3,$4){var $5=$0.prototype;var $6,$7;for(var $8=0,$9=qx.lang.Object.getKeys($1),$a=$9.length;$8<$a;$8++){$6=$9[$8];$7=$1[$6];{};if($3!==false&&$7 instanceof Function){if($4==true){$7=this.__mixinMemberWrapper($7,$5[$6]);}else{if($5[$6]){$7.base=$5[$6];}$7.self=$0;}if(qx.core.Variant.isSet($[108],$[23])){$7=qx.core.Aspect.wrap($0.classname+$[24]+$6,$7,$[1136]);}}$5[$6]=$7;}},__mixinMemberWrapper:function($0,$1){if($1){return function(){var $2=$0.base;$0.base=$1;var $3=$0.apply(this,arguments);$0.base=$2;return $3;};}else{return $0;}},__addInterface:function($0,$1){{};var $2=qx.Interface.flatten([$1]);if($0.$$implements){$0.$$implements.push($1);$0.$$flatImplements.push.apply($0.$$flatImplements,$2);}else{$0.$$implements=[$1];$0.$$flatImplements=$2;}},__addMixin:function($0,$1,$2){{};var $3=qx.Mixin.flatten([$1]);var $4;for(var $5=0,$6=$3.length;$5<$6;$5++){$4=$3[$5];if($4.$$events){this.__addEvents($0,$4.$$events,$2);}if($4.$$properties){this.__addProperties($0,$4.$$properties,$2);}if($4.$$members){this.__addMembers($0,$4.$$members,$2,$2,$2);}}if($0.$$includes){$0.$$includes.push($1);$0.$$flatIncludes.push.apply($0.$$flatIncludes,$3);}else{$0.$$includes=[$1];$0.$$flatIncludes=$3;}},__createDefaultConstructor:function(){function $0(){arguments.callee.base.apply(this,arguments);}return $0;},__createEmptyFunction:function(){return function(){};},__wrapConstructor:function($0,$1,$2){var $3=[];$3.push($[1683]);{};$3.push($[670]);$3.push($[1595]);$3.push($[842]);$3.push($[891]);$3.push($[872]);$3.push($[895],$1,$[1080]);$3.push($[1111]);var $4=new Function($3.join($[0]));if(qx.core.Variant.isSet($[108],$[23])){var $5=qx.core.Aspect.wrap($1,$4,$[1463]);$4.$$original=$0;$4.constructor=$5;$4=$5;}if($2===$[18]){$4.getInstance=this.getInstance;}$4.$$original=$0;$0.wrapper=$4;return $4;}},defer:function($0){if(qx.core.Variant.isSet($[108],$[23])){for(var $1 in $0){if($0[$1] instanceof Function){$0[$1]=qx.core.Aspect.wrap($[537]+$1,$0[$1],$[178]);}}}}}); >+qx.Class.define($[706],{statics:{define:function($0,$1){if($1){if($1.include&&!($1.include instanceof Array)){$1.include=[$1.include];}{};var $2=$1.statics?$1.statics:{};for(var $3 in $2){$2[$3].mixin=$2;}if($1.construct){$2.$$constructor=$1.construct;}if($1.include){$2.$$includes=$1.include;}if($1.properties){$2.$$properties=$1.properties;}if($1.members){$2.$$members=$1.members;}for(var $3 in $2.$$members){if($2.$$members[$3] instanceof Function){$2.$$members[$3].mixin=$2;}}if($1.events){$2.$$events=$1.events;}if($1.destruct){$2.$$destructor=$1.destruct;}}else{var $2={};}$2.$$type=$[1710];$2.name=$0;$2.toString=this.genericToString;$2.basename=qx.Class.createNamespace($0,$2);this.__registry[$0]=$2;return $2;},checkCompatibility:function($0){var $1=this.flatten($0);var $2=$1.length;if($2<2){return true;}var $3={};var $4={};var $5={};var $6;for(var $7=0;$7<$2;$7++){$6=$1[$7];for(var $8 in $6.events){if($5[$8]){throw new Error('Conflict between mixin "'+$6.name+'" and "'+$5[$8]+'" in member "'+$8+'"!');}$5[$8]=$6.name;}for(var $8 in $6.properties){if($3[$8]){throw new Error('Conflict between mixin "'+$6.name+'" and "'+$3[$8]+'" in property "'+$8+'"!');}$3[$8]=$6.name;}for(var $8 in $6.members){if($4[$8]){throw new Error('Conflict between mixin "'+$6.name+'" and "'+$4[$8]+'" in member "'+$8+'"!');}$4[$8]=$6.name;}}return true;},isCompatible:function($0,$1){var $2=qx.Class.getMixins($1);$2.push($0);return qx.Mixin.checkCompatibility($2);},getByName:function($0){return this.__registry[$0];},isDefined:function($0){return this.getByName($0)!==undefined;},getTotalNumber:function(){return qx.lang.Object.getLength(this.__registry);},flatten:function($0){if(!$0){return [];}var $1=$0.concat();for(var $2=0,$3=$0.length;$2<$3;$2++){if($0[$2].$$includes){$1.push.apply($1,this.flatten($0[$2].$$includes));}}return $1;},genericToString:function(){return $[769]+this.name+$[115];},__registry:{},__allowedKeys:null,__validateConfig:function(){}}}); >+qx.Class.define($[552],{statics:{define:function($0,$1){if($1){if($1.extend&&!($1.extend instanceof Array)){$1.extend=[$1.extend];}{};var $2=$1.statics?$1.statics:{};if($1.extend){$2.$$extends=$1.extend;}if($1.properties){$2.$$properties=$1.properties;}if($1.members){$2.$$members=$1.members;}if($1.events){$2.$$events=$1.events;}}else{var $2={};}$2.$$type=$[922];$2.name=$0;$2.toString=this.genericToString;$2.basename=qx.Class.createNamespace($0,$2);qx.Interface.__registry[$0]=$2;return $2;},getByName:function($0){return this.__registry[$0];},isDefined:function($0){return this.getByName($0)!==undefined;},getTotalNumber:function(){return qx.lang.Object.getLength(this.__registry);},flatten:function($0){if(!$0){return [];}var $1=$0.concat();for(var $2=0,$3=$0.length;$2<$3;$2++){if($0[$2].$$extends){$1.push.apply($1,this.flatten($0[$2].$$extends));}}return $1;},assert:function($0,$1,$2){var $3=$1.$$members;if($3){var $4=$0.prototype;for(var $5 in $3){if(typeof $3[$5]===$[37]){if(typeof $4[$5]!==$[37]){throw new Error('Implementation of method "'+$5+'" is missing in class "'+$0.classname+'" required by interface "'+$1.name+'"');}if($2===true&&!qx.Class.hasInterface($0,$1)){$4[$5]=this.__wrapInterfaceMember($1,$4[$5],$5,$3[$5]);}}else{if(typeof $4[$5]===undefined){if(typeof $4[$5]!==$[37]){throw new Error('Implementation of member "'+$5+'" is missing in class "'+$0.classname+'" required by interface "'+$1.name+'"');}}}}}if($1.$$properties){for(var $5 in $1.$$properties){if(!qx.Class.hasProperty($0,$5)){throw new Error('The property "'+$5+'" is not supported by Class "'+$0.classname+'"!');}}}if($1.$$events){for(var $5 in $1.$$events){if(!qx.Class.supportsEvent($0,$5)){throw new Error('The event "'+$5+'" is not supported by Class "'+$0.classname+'"!');}}}var $6=$1.$$extends;if($6){for(var $7=0,$8=$6.length;$7<$8;$7++){this.assert($0,$6[$7],$2);}}},genericToString:function(){return $[911]+this.name+$[115];},__registry:{},__wrapInterfaceMember:function(){},__allowedKeys:null,__validateConfig:function(){}}}); > qx.Mixin.define($[1334],{members:{tr:function($0,$1){var $2=qx.locale.Manager;if($2){return $2.tr.apply($2,arguments);}throw new Error("To enable localization please include qx.locale.Manager into your build!");},trn:function($0,$1,$2,$3){var $4=qx.locale.Manager;if($4){return $4.trn.apply($4,arguments);}throw new Error("To enable localization please include qx.locale.Manager into your build!");},marktr:function($0){var $1=qx.locale.Manager;if($1){return $1.marktr.apply($1,arguments);}throw new Error("To enable localization please include qx.locale.Manager into your build!");}}}); >-qx.Mixin.define($[1558],{members:{getLogger:function(){if(qx.log.Logger){return qx.log.Logger.getClassLogger(this.constructor);}throw new Error("To enable logging please include qx.log.Logger into your build!");},debug:function($0,$1){this.getLogger().debug($0,this.toHashCode(),$1);},info:function($0,$1){this.getLogger().info($0,this.toHashCode(),$1);},warn:function($0,$1){this.getLogger().warn($0,this.toHashCode(),$1);},error:function($0,$1){this.getLogger().error($0,this.toHashCode(),$1);},printStackTrace:function(){this.getLogger().printStackTrace();}}}); >-qx.Mixin.define($[1270],{members:{setUserData:function($0,$1){if(!this.__userData){this.__userData={};}this.__userData[$0]=$1;},getUserData:function($0){if(!this.__userData){return null;}return this.__userData[$0];}},destruct:function(){this._disposeFields($[1676]);}}); >-qx.Class.define($[888],{statics:{getSetterName:function($0){return qx.core.Property.$$method.set[$0];},getGetterName:function($0){return qx.core.Property.$$method.get[$0];},getResetterName:function($0){return qx.core.Property.$$method.reset[$0];},addFastProperty:function($0,$1){var $2=$0.name;var $3=qx.lang.String.toFirstUp($2);var $4=$[1348]+$3;var $5=$[114]+$3;var $6=$[25]+$3;var $7=$[314]+$3;$1[$4]=typeof $0.defaultValue!==$[65]?$0.defaultValue:null;if($0.noCompute){$1[$5]=function(){return this[$4];};}else{$1[$5]=function(){return this[$4]==null?this[$4]=this[$7]():this[$4];};}$1[$5].self=$1.constructor;if($0.setOnlyOnce){$1[$6]=function($8){this[$4]=$8;this[$6]=null;return $8;};}else{$1[$6]=function($8){return this[$4]=$8;};}$1[$6].self=$1.constructor;if(!$0.noCompute){$1[$7]=function(){return null;};$1[$7].self=$1.constructor;}},addCachedProperty:function($0,$1){var $2=$0.name;var $3=qx.lang.String.toFirstUp($2);var $4=$[994]+$3;var $5=$[314]+$3;var $6=$[1327]+$3;if(typeof $0.defaultValue!==$[65]){$1[$4]=$0.defaultValue;}$1[$[114]+$3]=function(){if(this[$4]==null){this[$4]=this[$5]();}return this[$4];};$1[$[376]+$3]=function(){if(this[$4]!=null){this[$4]=null;if($0.addToQueueRuntime){this.addToQueueRuntime($0.name);}}};$1[$[431]+$3]=function(){var $7=this[$4];var $8=this[$5]();if($8!=$7){this[$4]=$8;this[$6]($8,$7);return true;}return false;};$1[$6]=function($8,$7){};$1[$5]=function(){return null;};$1[$[114]+$3].self=$1.constructor;$1[$[376]+$3].self=$1.constructor;$1[$[431]+$3].self=$1.constructor;},addProperty:function($0,$1){qx.log.Logger.deprecatedMethodWarning(arguments.callee,$[1056]);if(typeof $0!==$[28]){throw new Error("AddProperty: Param should be an object!");}if(typeof $0.name!==$[8]){throw new Error("AddProperty: Malformed input parameters: name needed!");}if($0.dispose===undefined&&($0.type==$[37]||$0.type==$[28])){$0.dispose=true;}$0.method=qx.lang.String.toFirstUp($0.name);$0.implMethod=$0.impl?qx.lang.String.toFirstUp($0.impl):$0.method;if($0.defaultValue==undefined){$0.defaultValue=null;}$0.allowNull=$0.allowNull!==false;$0.allowMultipleArguments=$0.allowMultipleArguments===true;if(typeof $0.type===$[8]){$0.hasType=true;}else if(typeof $0.type!==$[65]){throw new Error("AddProperty: Invalid type definition for property "+$0.name+": "+$0.type);}else{$0.hasType=false;}if(typeof $0.instance===$[8]){$0.hasInstance=true;}else if(typeof $0.instance!==$[65]){throw new Error("AddProperty: Invalid instance definition for property "+$0.name+": "+$0.instance);}else{$0.hasInstance=false;}if(typeof $0.classname===$[8]){$0.hasClassName=true;}else if(typeof $0.classname!==$[65]){throw new Error("AddProperty: Invalid classname definition for property "+$0.name+": "+$0.classname);}else{$0.hasClassName=false;}$0.hasConvert=$0.convert!=null;$0.hasPossibleValues=$0.possibleValues!=null;$0.addToQueue=$0.addToQueue||false;$0.addToQueueRuntime=$0.addToQueueRuntime||false;$0.up=$0.name.toUpperCase();var $2=qx.core.Property.$$store.user[$0.name]=$[499]+$0.name;var $3=$[107]+$0.method;var $4=$[1318]+$0.implMethod;var $5=$[712]+$0.implMethod;var $6=qx.core.Property.$$method;if(!$6.set[$0.name]){$6.set[$0.name]=$[25]+$0.method;$6.get[$0.name]=$[114]+$0.method;$6.reset[$0.name]=$[106]+$0.method;}$1[$2]=$0.defaultValue;$1[$[114]+$0.method]=function(){return this[$2];};$1[$[719]+$0.method]=function($7){return this[$2]=$7;};$1[$[106]+$0.method]=function(){return this[$[25]+$0.method]($0.defaultValue);};if($0.type===$[58]){$1[$[416]+$0.method]=function($7){return this[$[25]+$0.method](!this[$2]);};}if($0.allowMultipleArguments||$0.hasConvert||$0.hasInstance||$0.hasClassName||$0.hasPossibleValues||$0.hasUnitDetection||$0.addToQueue||$0.addToQueueRuntime||$0.addToStateQueue){$1[$[25]+$0.method]=function($7){if($0.allowMultipleArguments&&arguments.length>1){$7=qx.lang.Array.fromArguments(arguments);}if($0.hasConvert){try{$7=$0.convert.call(this,$7,$0);}catch(ex){throw new Error("Attention! Could not convert new value for "+$0.name+": "+$7+": "+ex);}}var $8=this[$2];if($7===$8){return $7;}if(!($0.allowNull&&$7==null)){if($0.hasType&&typeof $7!==$0.type){throw new Error("Attention! The value \""+$7+"\" is an invalid value for the property \""+$0.name+"\" which must be typeof \""+$0.type+"\" but is typeof \""+typeof $7+"\"!");}if(qx.Class.getByName($0.instance)){if($0.hasInstance&&!($7 instanceof qx.Class.getByName($0.instance))){throw new Error("Attention! The value \""+$7+"\" is an invalid value for the property \""+$0.name+"\" which must be an instance of \""+$0.instance+"\"!");}}else{}if($0.hasClassName&&$7.classname!=$0.classname){throw new Error("Attention! The value \""+$7+"\" is an invalid value for the property \""+$0.name+"\" which must be an object with the classname \""+$0.classname+"\"!");}if($0.hasPossibleValues&&$7!=null&&!qx.lang.Array.contains($0.possibleValues,$7)){throw new Error("Failed to save value for "+$0.name+". '"+$7+"' is not a possible value!");}}if(this[$5]){try{$7=this[$5]($7,$0);if($7===$8){return $7;}}catch(ex){return this.error("Failed to check property "+$0.name,ex);}}this[$2]=$7;if(this[$4]){try{this[$4]($7,$8,$0);}catch(ex){return this.error("Modification of property \""+$0.name+"\" failed with exception",ex);}}if($0.addToQueue){this.addToQueue($0.name);}if($0.addToQueueRuntime){this.addToQueueRuntime($0.name);}if($0.addToStateQueue){this.addToStateQueue();}if(this.hasEventListeners&&this.hasEventListeners($3)){try{this.createDispatchDataEvent($3,$7);}catch(ex){throw new Error("Property "+$0.name+" modified: Failed to dispatch change event: "+ex);}}return $7;};}else{$1[$[25]+$0.method]=function($7){var $8=this[$2];if($7===$8){return $7;}if(!($0.allowNull&&$7==null)){if($0.hasType&&typeof $7!==$0.type){throw new Error("Attention! The value \""+$7+"\" is an invalid value for the property \""+$0.name+"\" which must be typeof \""+$0.type+"\" but is typeof \""+typeof $7+"\"!");}}if(this[$5]){try{$7=this[$5]($7,$0);if($7===$8){return $7;}}catch(ex){return this.error("Failed to check property "+$0.name,ex);}}this[$2]=$7;if(this[$4]){try{this[$4]($7,$8,$0);}catch(ex){var $9=new String($7).substring(0,50);this.error("Setting property \""+$0.name+"\" to \""+$9+"\" failed with exception",ex);}}if(this.hasEventListeners&&this.hasEventListeners($3)){var $a=new qx.event.type.DataEvent($3,$7,$8,false);$a.setTarget(this);try{this.dispatchEvent($a,true);}catch(ex){throw new Error("Property "+$0.name+" modified: Failed to dispatch change event: "+ex);}}return $7;};}$1[$[25]+$0.method].self=$1.constructor;if(typeof $0.getAlias===$[8]){$1[$0.getAlias]=$1[$[114]+$0.method];}if(typeof $0.setAlias===$[8]){$1[$0.setAlias]=$1[$[25]+$0.method];}}}}); >-qx.Class.define($[1626],{statics:{__checks:{"Boolean":$[1708],"String":$[1117],"NonEmptyString":$[1122],"Number":$[291],"Integer":$[751],"Float":$[291],"Double":$[291],"Error":$[1621],"RegExp":$[1271],"Object":$[1414],"Array":$[1415],"Map":$[1532],"Function":$[1378],"Date":$[812],"Node":$[1097],"Element":$[1530],"Document":$[1543],"Window":$[554],"Event":$[1527],"Class":$[852],"Mixin":$[678],"Interface":$[704],"Theme":$[1194],"Color":$[856],"Border":$[1142],"Font":$[755],"Label":$[1038]},__dispose:{"Object":true,"Array":true,"Map":true,"Function":true,"Date":true,"Node":true,"Element":true,"Document":true,"Window":true,"Event":true,"Class":true,"Mixin":true,"Interface":true,"Theme":true,"Border":true,"Font":true},$$inherit:$[116],$$idcounter:0,$$store:{user:{},theme:{},inherit:{},init:{},useinit:{}},$$method:{get:{},set:{},reset:{},init:{},refresh:{},style:{},unstyle:{}},$$allowedKeys:{name:$[8],dispose:$[58],inheritable:$[58],nullable:$[58],themeable:$[58],refine:$[58],init:null,apply:$[8],event:$[8],check:null,transform:$[8]},$$allowedGroupKeys:{name:$[8],group:$[28],mode:$[8],themeable:$[58]},$$inheritable:{},refresh:function($0){var $1=$0.getParent();if($1){var $2=$0.constructor;var $3=this.$$store.inherit;var $4=this.$$method.refresh;var $5;{};while($2){$5=$2.$$properties;if($5){for(var $6 in this.$$inheritable){if($5[$6]&&$0[$4[$6]]){{};$0[$4[$6]]($1[$3[$6]]);}}}$2=$2.superclass;}}},attach:function($0){var $1=$0.$$properties;if($1){for(var $2 in $1){this.attachMethods($0,$2,$1[$2]);}}$0.$$propertiesAttached=true;},attachMethods:function($0,$1,$2){if($2._legacy||$2._fast||$2._cached){return;}var $3,$4;if($1.charAt(0)===$[155]){if($1.charAt(1)===$[155]){$3=$[858];$4=qx.lang.String.toFirstUp($1.substring(2));}else{$3=$[155];$4=qx.lang.String.toFirstUp($1.substring(1));}}else{$3=$[0];$4=qx.lang.String.toFirstUp($1);}$2.group?this.__attachGroupMethods($0,$2,$3,$4):this.__attachPropertyMethods($0,$2,$3,$4);},__attachGroupMethods:function($0,$1,$2,$3){var $4=$0.prototype;var $5=$1.name;var $6=$1.themeable===true;{};var $7=[];var $8=[];if($6){var $9=[];var $a=[];}var $b=$[674];$7.push($b);if($6){$9.push($b);}if($1.mode==$[103]){var $c=$[829];$7.push($c);if($6){$9.push($c);}}for(var $d=0,$e=$1.group,$f=$e.length;$d<$f;$d++){{};$7.push($[218],this.$$method.set[$e[$d]],$[435],$d,$[386]);$8.push($[218],this.$$method.reset[$e[$d]],$[525]);if($6){{};$9.push($[218],this.$$method.style[$e[$d]],$[435],$d,$[386]);$a.push($[218],this.$$method.unstyle[$e[$d]],$[525]);}}this.$$method.set[$5]=$2+$[25]+$3;$4[this.$$method.set[$5]]=new Function($7.join($[0]));this.$$method.reset[$5]=$2+$[106]+$3;$4[this.$$method.reset[$5]]=new Function($8.join($[0]));if($6){this.$$method.style[$5]=$2+$[44]+$3;$4[this.$$method.style[$5]]=new Function($9.join($[0]));this.$$method.unstyle[$5]=$2+$[120]+$3;$4[this.$$method.unstyle[$5]]=new Function($a.join($[0]));}},__attachPropertyMethods:function($0,$1,$2,$3){var $4=$0.prototype;var $5=$1.name;{};if($1.dispose===undefined&&typeof $1.check===$[8]){$1.dispose=this.__dispose[$1.check]||qx.Class.isDefined($1.check)||qx.Interface.isDefined($1.check);}var $6=this.$$method;var $7=this.$$store;$7.user[$5]=$[499]+$5;$7.theme[$5]=$[1095]+$5;$7.init[$5]=$[332]+$5;$7.inherit[$5]=$[585]+$5;$7.useinit[$5]=$[920]+$5;$6.get[$5]=$2+$[114]+$3;$4[$6.get[$5]]=function(){return qx.core.Property.executeOptimizedGetter(this,$0,$5,$[114]);};$6.set[$5]=$2+$[25]+$3;$4[$6.set[$5]]=function($8){return qx.core.Property.executeOptimizedSetter(this,$0,$5,$[25],arguments);};$6.reset[$5]=$2+$[106]+$3;$4[$6.reset[$5]]=function(){return qx.core.Property.executeOptimizedSetter(this,$0,$5,$[106]);};if($1.inheritable||$1.apply||$1.event){$6.init[$5]=$2+$[80]+$3;$4[$6.init[$5]]=function($8){return qx.core.Property.executeOptimizedSetter(this,$0,$5,$[80],arguments);};}if($1.inheritable){$6.refresh[$5]=$2+$[146]+$3;$4[$6.refresh[$5]]=function($8){return qx.core.Property.executeOptimizedSetter(this,$0,$5,$[146],arguments);};}if($1.themeable){$6.style[$5]=$2+$[44]+$3;$4[$6.style[$5]]=function($8){return qx.core.Property.executeOptimizedSetter(this,$0,$5,$[44],arguments);};$6.unstyle[$5]=$2+$[120]+$3;$4[$6.unstyle[$5]]=function(){return qx.core.Property.executeOptimizedSetter(this,$0,$5,$[120]);};}if($1.check===$[2]){$4[$2+$[416]+$3]=new Function($[501]+$6.set[$5]+$[902]+$6.get[$5]+$[1279]);$4[$2+$[1540]+$3]=new Function($[501]+$6.get[$5]+$[1502]);}},__errors:{0:$[1370],1:$[1183],2:$[922],3:$[641],4:$[1356],5:$[927]},error:function($0,$1,$2,$3,$4){var $5=$0.constructor.classname;var $6=$[1633]+$2+$[1395]+$5+$[1238]+this.$$method[$3][$2]+$[1366]+$4+$[932];$0.printStackTrace();$0.error($6+(this.__errors[$1]||"Unknown reason: "+$1));throw new Error($6+(this.__errors[$1]||"Unknown reason: "+$1));},__unwrapFunctionFromCode:function($0,$1,$2,$3,$4,$5){var $6=this.$$method[$3][$2];{$1[$6]=new Function($[255],$4.join($[0]));};if(qx.core.Variant.isSet($[108],$[23])){$1[$6]=qx.core.Aspect.wrap($0.classname+$[24]+$6,$1[$6],$[715]);}if($5===undefined){return $0[$6]();}else{return $0[$6]($5[0]);}},executeOptimizedGetter:function($0,$1,$2,$3){var $4=$1.$$properties[$2];var $5=$1.prototype;var $6=[];if($4.inheritable){$6.push($[97],this.$$store.inherit[$2],$[134]);$6.push($[182],this.$$store.inherit[$2],$[10]);$6.push($[387]);}$6.push($[97],this.$$store.user[$2],$[134]);$6.push($[182],this.$$store.user[$2],$[10]);if($4.themeable){$6.push($[183],this.$$store.theme[$2],$[134]);$6.push($[182],this.$$store.theme[$2],$[10]);}if($4.deferredInit&&$4.init===undefined){$6.push($[183],this.$$store.init[$2],$[134]);$6.push($[182],this.$$store.init[$2],$[10]);}$6.push($[387]);if($4.init!==undefined){$6.push($[182],this.$$store.init[$2],$[10]);}else if($4.inheritable||$4.nullable){$6.push($[1336]);}else{$6.push($[1139],$2,$[1298],$1.classname,$[612]);}return this.__unwrapFunctionFromCode($0,$5,$2,$3,$6);},executeOptimizedSetter:function($0,$1,$2,$3,$4){var $5=$1.$$properties[$2];var $6=$1.prototype;var $7=[];var $8=$3===$[25]||$3===$[44]||($3===$[80]&&$5.init===undefined);var $9=$3===$[106]||$3===$[120];var $a=$5.apply||$5.event||$5.inheritable;if($3===$[44]||$3===$[120]){var $b=this.$$store.theme[$2];}else if($3===$[80]){var $b=this.$$store.init[$2];}else{var $b=this.$$store.user[$2];}{if(!$5.nullable||$5.check||$5.inheritable){$7.push($[985]);}if(false&&$3===$[25]){$7.push($[1244]+$2+$[273]+$3+$[308]);}};if($8){if($5.transform){$7.push($[1250],$5.transform,$[825]);}}if($a){if($8){$7.push($[97],$b,$[1232]);}else if($9){$7.push($[97],$b,$[1570]);}}if($5.inheritable){$7.push($[564]);}if($8&&false){if(!$5.nullable){$7.push($[1186]+$2+$[273]+$3+$[308]);}if($5.check!==undefined){if($5.nullable){$7.push($[1120]);}if($5.inheritable){$7.push($[898]);}$7.push($[1620]);if(this.__checks[$5.check]!==undefined){$7.push($[494],this.__checks[$5.check],$[299]);}else if(qx.Class.isDefined($5.check)){$7.push($[754],$5.check,$[299]);}else if(qx.Interface.isDefined($5.check)){$7.push($[1209],$5.check,$[1593]);}else if(typeof $5.check===$[37]){$7.push($[660],$1.classname,$[460],$2);$7.push($[1723]);}else if(typeof $5.check===$[8]){$7.push($[494],$5.check,$[299]);}else if($5.check instanceof Array){$5.checkMap=qx.lang.Object.fromArray($5.check);$7.push($1.classname,$[460],$2);$7.push($[1722]);}else{throw new Error("Could not add check to property "+$2+" of class "+$1.classname);}$7.push($[997]+$2+$[273]+$3+$[308]);}}if(!$a){if($3===$[25]){$7.push($[49],this.$$store.user[$2],$[45]);}else if($3===$[106]){$7.push($[97],this.$$store.user[$2],$[134]);$7.push($[118],this.$$store.user[$2],$[10]);}else if($3===$[44]){$7.push($[49],this.$$store.theme[$2],$[45]);}else if($3===$[120]){$7.push($[97],this.$$store.theme[$2],$[134]);$7.push($[118],this.$$store.theme[$2],$[10]);}else if($3===$[80]&&$8){$7.push($[49],this.$$store.init[$2],$[45]);}}else{if($5.inheritable){$7.push($[1442],this.$$store.inherit[$2],$[10]);}else{$7.push($[1688]);}$7.push($[97],this.$$store.user[$2],$[208]);if($3===$[25]){if(!$5.inheritable){$7.push($[230],this.$$store.user[$2],$[10]);}$7.push($[34],this.$$store.user[$2],$[45]);}else if($3===$[106]){if(!$5.inheritable){$7.push($[230],this.$$store.user[$2],$[10]);}$7.push($[118],this.$$store.user[$2],$[10]);$7.push($[97],this.$$store.theme[$2],$[134]);$7.push($[34],this.$$store.theme[$2],$[10]);$7.push($[183],this.$$store.init[$2],$[208]);$7.push($[34],this.$$store.init[$2],$[10]);$7.push($[49],this.$$store.useinit[$2],$[227]);$7.push($[102]);}else{if($5.inheritable){$7.push($[34],this.$$store.user[$2],$[10]);}else{$7.push($[1559],this.$$store.user[$2],$[10]);}if($3===$[44]){$7.push($[49],this.$$store.theme[$2],$[45]);}else if($3===$[120]){$7.push($[118],this.$$store.theme[$2],$[10]);}else if($3===$[80]&&$8){$7.push($[49],this.$$store.init[$2],$[45]);}}$7.push($[102]);if($5.themeable){$7.push($[183],this.$$store.theme[$2],$[208]);if(!$5.inheritable){$7.push($[230],this.$$store.theme[$2],$[10]);}if($3===$[25]){$7.push($[34],this.$$store.user[$2],$[45]);}else if($3===$[44]){$7.push($[34],this.$$store.theme[$2],$[45]);}else if($3===$[120]){$7.push($[118],this.$$store.theme[$2],$[10]);$7.push($[97],this.$$store.init[$2],$[208]);$7.push($[34],this.$$store.init[$2],$[10]);$7.push($[49],this.$$store.useinit[$2],$[227]);$7.push($[102]);}else if($3===$[80]){if($8){$7.push($[49],this.$$store.init[$2],$[45]);}$7.push($[34],this.$$store.theme[$2],$[10]);}else if($3===$[146]){$7.push($[34],this.$$store.theme[$2],$[10]);}$7.push($[102]);}$7.push($[183],this.$$store.useinit[$2],$[950]);if(!$5.inheritable){$7.push($[230],this.$$store.init[$2],$[10]);}if($3===$[80]){if($8){$7.push($[34],this.$$store.init[$2],$[45]);}else{$7.push($[34],this.$$store.init[$2],$[10]);}}else if($3===$[25]||$3===$[44]||$3===$[146]){$7.push($[118],this.$$store.useinit[$2],$[10]);if($3===$[25]){$7.push($[34],this.$$store.user[$2],$[45]);}else if($3===$[44]){$7.push($[34],this.$$store.theme[$2],$[45]);}else if($3===$[146]){$7.push($[34],this.$$store.init[$2],$[10]);}}$7.push($[102]);if($3===$[25]||$3===$[44]||$3===$[80]){$7.push($[1084]);if($3===$[25]){$7.push($[34],this.$$store.user[$2],$[45]);}else if($3===$[44]){$7.push($[34],this.$$store.theme[$2],$[45]);}else if($3===$[80]){if($8){$7.push($[34],this.$$store.init[$2],$[45]);}else{$7.push($[34],this.$$store.init[$2],$[10]);}$7.push($[49],this.$$store.useinit[$2],$[227]);}$7.push($[102]);}}if($5.inheritable){$7.push($[1113]);if($3===$[146]){$7.push($[638]);}else{$7.push($[1507],this.$$store.inherit[$2],$[10]);}$7.push($[816]);$7.push($[49],this.$$store.init[$2],$[804]);$7.push($[49],this.$$store.init[$2],$[1029]);$7.push($[34],this.$$store.init[$2],$[10]);$7.push($[49],this.$$store.useinit[$2],$[227]);$7.push($[1689]);$7.push($[118],this.$$store.useinit[$2],$[796]);$7.push($[102]);$7.push($[381]);$7.push($[774]);$7.push($[1103],this.$$store.inherit[$2],$[10]);$7.push($[102]);$7.push($[1650]);$7.push($[118],this.$$store.inherit[$2],$[10]);$7.push($[1659],this.$$store.inherit[$2],$[687]);$7.push($[886]);$7.push($[464]);$7.push($[529]);}else if($a){if($3!==$[25]&&$3!==$[44]){$7.push($[464]);}$7.push($[381]);$7.push($[529]);}if($a){if($5.apply){$7.push($[49],$5.apply,$[1536]);}if($5.event){$7.push($[1768],$5.event,$[1409]);}if($5.inheritable&&$6.getChildren){$7.push($[859]);$7.push($[901],this.$$method.refresh[$2],$[557],this.$$method.refresh[$2],$[767]);$7.push($[102]);}}if($8){$7.push($[643]);}return this.__unwrapFunctionFromCode($0,$6,$2,$3,$7,$4);}},settings:{"qx.propertyDebugLevel":0}}); >+qx.Mixin.define($[1557],{members:{getLogger:function(){if(qx.log.Logger){return qx.log.Logger.getClassLogger(this.constructor);}throw new Error("To enable logging please include qx.log.Logger into your build!");},debug:function($0,$1){this.getLogger().debug($0,this.toHashCode(),$1);},info:function($0,$1){this.getLogger().info($0,this.toHashCode(),$1);},warn:function($0,$1){this.getLogger().warn($0,this.toHashCode(),$1);},error:function($0,$1){this.getLogger().error($0,this.toHashCode(),$1);},printStackTrace:function(){this.getLogger().printStackTrace();}}}); >+qx.Mixin.define($[1269],{members:{setUserData:function($0,$1){if(!this.__userData){this.__userData={};}this.__userData[$0]=$1;},getUserData:function($0){if(!this.__userData){return null;}return this.__userData[$0];}},destruct:function(){this._disposeFields($[1675]);}}); >+qx.Class.define($[888],{statics:{getSetterName:function($0){return qx.core.Property.$$method.set[$0];},getGetterName:function($0){return qx.core.Property.$$method.get[$0];},getResetterName:function($0){return qx.core.Property.$$method.reset[$0];},addFastProperty:function($0,$1){var $2=$0.name;var $3=qx.lang.String.toFirstUp($2);var $4=$[1348]+$3;var $5=$[114]+$3;var $6=$[25]+$3;var $7=$[314]+$3;$1[$4]=typeof $0.defaultValue!==$[65]?$0.defaultValue:null;if($0.noCompute){$1[$5]=function(){return this[$4];};}else{$1[$5]=function(){return this[$4]==null?this[$4]=this[$7]():this[$4];};}$1[$5].self=$1.constructor;if($0.setOnlyOnce){$1[$6]=function($8){this[$4]=$8;this[$6]=null;return $8;};}else{$1[$6]=function($8){return this[$4]=$8;};}$1[$6].self=$1.constructor;if(!$0.noCompute){$1[$7]=function(){return null;};$1[$7].self=$1.constructor;}},addCachedProperty:function($0,$1){var $2=$0.name;var $3=qx.lang.String.toFirstUp($2);var $4=$[993]+$3;var $5=$[314]+$3;var $6=$[1326]+$3;if(typeof $0.defaultValue!==$[65]){$1[$4]=$0.defaultValue;}$1[$[114]+$3]=function(){if(this[$4]==null){this[$4]=this[$5]();}return this[$4];};$1[$[375]+$3]=function(){if(this[$4]!=null){this[$4]=null;if($0.addToQueueRuntime){this.addToQueueRuntime($0.name);}}};$1[$[432]+$3]=function(){var $7=this[$4];var $8=this[$5]();if($8!=$7){this[$4]=$8;this[$6]($8,$7);return true;}return false;};$1[$6]=function($8,$7){};$1[$5]=function(){return null;};$1[$[114]+$3].self=$1.constructor;$1[$[375]+$3].self=$1.constructor;$1[$[432]+$3].self=$1.constructor;},addProperty:function($0,$1){qx.log.Logger.deprecatedMethodWarning(arguments.callee,$[1056]);if(typeof $0!==$[28]){throw new Error("AddProperty: Param should be an object!");}if(typeof $0.name!==$[8]){throw new Error("AddProperty: Malformed input parameters: name needed!");}if($0.dispose===undefined&&($0.type==$[37]||$0.type==$[28])){$0.dispose=true;}$0.method=qx.lang.String.toFirstUp($0.name);$0.implMethod=$0.impl?qx.lang.String.toFirstUp($0.impl):$0.method;if($0.defaultValue==undefined){$0.defaultValue=null;}$0.allowNull=$0.allowNull!==false;$0.allowMultipleArguments=$0.allowMultipleArguments===true;if(typeof $0.type===$[8]){$0.hasType=true;}else if(typeof $0.type!==$[65]){throw new Error("AddProperty: Invalid type definition for property "+$0.name+": "+$0.type);}else{$0.hasType=false;}if(typeof $0.instance===$[8]){$0.hasInstance=true;}else if(typeof $0.instance!==$[65]){throw new Error("AddProperty: Invalid instance definition for property "+$0.name+": "+$0.instance);}else{$0.hasInstance=false;}if(typeof $0.classname===$[8]){$0.hasClassName=true;}else if(typeof $0.classname!==$[65]){throw new Error("AddProperty: Invalid classname definition for property "+$0.name+": "+$0.classname);}else{$0.hasClassName=false;}$0.hasConvert=$0.convert!=null;$0.hasPossibleValues=$0.possibleValues!=null;$0.addToQueue=$0.addToQueue||false;$0.addToQueueRuntime=$0.addToQueueRuntime||false;$0.up=$0.name.toUpperCase();var $2=qx.core.Property.$$store.user[$0.name]=$[500]+$0.name;var $3=$[107]+$0.method;var $4=$[1317]+$0.implMethod;var $5=$[713]+$0.implMethod;var $6=qx.core.Property.$$method;if(!$6.set[$0.name]){$6.set[$0.name]=$[25]+$0.method;$6.get[$0.name]=$[114]+$0.method;$6.reset[$0.name]=$[106]+$0.method;}$1[$2]=$0.defaultValue;$1[$[114]+$0.method]=function(){return this[$2];};$1[$[720]+$0.method]=function($7){return this[$2]=$7;};$1[$[106]+$0.method]=function(){return this[$[25]+$0.method]($0.defaultValue);};if($0.type===$[58]){$1[$[417]+$0.method]=function($7){return this[$[25]+$0.method](!this[$2]);};}if($0.allowMultipleArguments||$0.hasConvert||$0.hasInstance||$0.hasClassName||$0.hasPossibleValues||$0.hasUnitDetection||$0.addToQueue||$0.addToQueueRuntime||$0.addToStateQueue){$1[$[25]+$0.method]=function($7){if($0.allowMultipleArguments&&arguments.length>1){$7=qx.lang.Array.fromArguments(arguments);}if($0.hasConvert){try{$7=$0.convert.call(this,$7,$0);}catch(ex){throw new Error("Attention! Could not convert new value for "+$0.name+": "+$7+": "+ex);}}var $8=this[$2];if($7===$8){return $7;}if(!($0.allowNull&&$7==null)){if($0.hasType&&typeof $7!==$0.type){throw new Error("Attention! The value \""+$7+"\" is an invalid value for the property \""+$0.name+"\" which must be typeof \""+$0.type+"\" but is typeof \""+typeof $7+"\"!");}if(qx.Class.getByName($0.instance)){if($0.hasInstance&&!($7 instanceof qx.Class.getByName($0.instance))){throw new Error("Attention! The value \""+$7+"\" is an invalid value for the property \""+$0.name+"\" which must be an instance of \""+$0.instance+"\"!");}}else{}if($0.hasClassName&&$7.classname!=$0.classname){throw new Error("Attention! The value \""+$7+"\" is an invalid value for the property \""+$0.name+"\" which must be an object with the classname \""+$0.classname+"\"!");}if($0.hasPossibleValues&&$7!=null&&!qx.lang.Array.contains($0.possibleValues,$7)){throw new Error("Failed to save value for "+$0.name+". '"+$7+"' is not a possible value!");}}if(this[$5]){try{$7=this[$5]($7,$0);if($7===$8){return $7;}}catch(ex){return this.error("Failed to check property "+$0.name,ex);}}this[$2]=$7;if(this[$4]){try{this[$4]($7,$8,$0);}catch(ex){return this.error("Modification of property \""+$0.name+"\" failed with exception",ex);}}if($0.addToQueue){this.addToQueue($0.name);}if($0.addToQueueRuntime){this.addToQueueRuntime($0.name);}if($0.addToStateQueue){this.addToStateQueue();}if(this.hasEventListeners&&this.hasEventListeners($3)){try{this.createDispatchDataEvent($3,$7);}catch(ex){throw new Error("Property "+$0.name+" modified: Failed to dispatch change event: "+ex);}}return $7;};}else{$1[$[25]+$0.method]=function($7){var $8=this[$2];if($7===$8){return $7;}if(!($0.allowNull&&$7==null)){if($0.hasType&&typeof $7!==$0.type){throw new Error("Attention! The value \""+$7+"\" is an invalid value for the property \""+$0.name+"\" which must be typeof \""+$0.type+"\" but is typeof \""+typeof $7+"\"!");}}if(this[$5]){try{$7=this[$5]($7,$0);if($7===$8){return $7;}}catch(ex){return this.error("Failed to check property "+$0.name,ex);}}this[$2]=$7;if(this[$4]){try{this[$4]($7,$8,$0);}catch(ex){var $9=new String($7).substring(0,50);this.error("Setting property \""+$0.name+"\" to \""+$9+"\" failed with exception",ex);}}if(this.hasEventListeners&&this.hasEventListeners($3)){var $a=new qx.event.type.DataEvent($3,$7,$8,false);$a.setTarget(this);try{this.dispatchEvent($a,true);}catch(ex){throw new Error("Property "+$0.name+" modified: Failed to dispatch change event: "+ex);}}return $7;};}$1[$[25]+$0.method].self=$1.constructor;if(typeof $0.getAlias===$[8]){$1[$0.getAlias]=$1[$[114]+$0.method];}if(typeof $0.setAlias===$[8]){$1[$0.setAlias]=$1[$[25]+$0.method];}}}}); >+qx.Class.define($[1625],{statics:{__checks:{"Boolean":$[1708],"String":$[1117],"NonEmptyString":$[1121],"Number":$[291],"Integer":$[752],"Float":$[291],"Double":$[291],"Error":$[1620],"RegExp":$[1270],"Object":$[1415],"Array":$[1416],"Map":$[1532],"Function":$[1379],"Date":$[813],"Node":$[1097],"Element":$[1530],"Document":$[1543],"Window":$[554],"Event":$[1527],"Class":$[853],"Mixin":$[679],"Interface":$[705],"Theme":$[1193],"Color":$[857],"Border":$[1141],"Font":$[756],"Label":$[1037]},__dispose:{"Object":true,"Array":true,"Map":true,"Function":true,"Date":true,"Node":true,"Element":true,"Document":true,"Window":true,"Event":true,"Class":true,"Mixin":true,"Interface":true,"Theme":true,"Border":true,"Font":true},$$inherit:$[116],$$idcounter:0,$$store:{user:{},theme:{},inherit:{},init:{},useinit:{}},$$method:{get:{},set:{},reset:{},init:{},refresh:{},style:{},unstyle:{}},$$allowedKeys:{name:$[8],dispose:$[58],inheritable:$[58],nullable:$[58],themeable:$[58],refine:$[58],init:null,apply:$[8],event:$[8],check:null,transform:$[8]},$$allowedGroupKeys:{name:$[8],group:$[28],mode:$[8],themeable:$[58]},$$inheritable:{},refresh:function($0){var $1=$0.getParent();if($1){var $2=$0.constructor;var $3=this.$$store.inherit;var $4=this.$$method.refresh;var $5;{};while($2){$5=$2.$$properties;if($5){for(var $6 in this.$$inheritable){if($5[$6]&&$0[$4[$6]]){{};$0[$4[$6]]($1[$3[$6]]);}}}$2=$2.superclass;}}},attach:function($0){var $1=$0.$$properties;if($1){for(var $2 in $1){this.attachMethods($0,$2,$1[$2]);}}$0.$$propertiesAttached=true;},attachMethods:function($0,$1,$2){if($2._legacy||$2._fast||$2._cached){return;}var $3,$4;if($1.charAt(0)===$[155]){if($1.charAt(1)===$[155]){$3=$[859];$4=qx.lang.String.toFirstUp($1.substring(2));}else{$3=$[155];$4=qx.lang.String.toFirstUp($1.substring(1));}}else{$3=$[0];$4=qx.lang.String.toFirstUp($1);}$2.group?this.__attachGroupMethods($0,$2,$3,$4):this.__attachPropertyMethods($0,$2,$3,$4);},__attachGroupMethods:function($0,$1,$2,$3){var $4=$0.prototype;var $5=$1.name;var $6=$1.themeable===true;{};var $7=[];var $8=[];if($6){var $9=[];var $a=[];}var $b=$[675];$7.push($b);if($6){$9.push($b);}if($1.mode==$[103]){var $c=$[830];$7.push($c);if($6){$9.push($c);}}for(var $d=0,$e=$1.group,$f=$e.length;$d<$f;$d++){{};$7.push($[218],this.$$method.set[$e[$d]],$[436],$d,$[386]);$8.push($[218],this.$$method.reset[$e[$d]],$[526]);if($6){{};$9.push($[218],this.$$method.style[$e[$d]],$[436],$d,$[386]);$a.push($[218],this.$$method.unstyle[$e[$d]],$[526]);}}this.$$method.set[$5]=$2+$[25]+$3;$4[this.$$method.set[$5]]=new Function($7.join($[0]));this.$$method.reset[$5]=$2+$[106]+$3;$4[this.$$method.reset[$5]]=new Function($8.join($[0]));if($6){this.$$method.style[$5]=$2+$[44]+$3;$4[this.$$method.style[$5]]=new Function($9.join($[0]));this.$$method.unstyle[$5]=$2+$[120]+$3;$4[this.$$method.unstyle[$5]]=new Function($a.join($[0]));}},__attachPropertyMethods:function($0,$1,$2,$3){var $4=$0.prototype;var $5=$1.name;{};if($1.dispose===undefined&&typeof $1.check===$[8]){$1.dispose=this.__dispose[$1.check]||qx.Class.isDefined($1.check)||qx.Interface.isDefined($1.check);}var $6=this.$$method;var $7=this.$$store;$7.user[$5]=$[500]+$5;$7.theme[$5]=$[1095]+$5;$7.init[$5]=$[332]+$5;$7.inherit[$5]=$[585]+$5;$7.useinit[$5]=$[919]+$5;$6.get[$5]=$2+$[114]+$3;$4[$6.get[$5]]=function(){return qx.core.Property.executeOptimizedGetter(this,$0,$5,$[114]);};$6.set[$5]=$2+$[25]+$3;$4[$6.set[$5]]=function($8){return qx.core.Property.executeOptimizedSetter(this,$0,$5,$[25],arguments);};$6.reset[$5]=$2+$[106]+$3;$4[$6.reset[$5]]=function(){return qx.core.Property.executeOptimizedSetter(this,$0,$5,$[106]);};if($1.inheritable||$1.apply||$1.event){$6.init[$5]=$2+$[80]+$3;$4[$6.init[$5]]=function($8){return qx.core.Property.executeOptimizedSetter(this,$0,$5,$[80],arguments);};}if($1.inheritable){$6.refresh[$5]=$2+$[146]+$3;$4[$6.refresh[$5]]=function($8){return qx.core.Property.executeOptimizedSetter(this,$0,$5,$[146],arguments);};}if($1.themeable){$6.style[$5]=$2+$[44]+$3;$4[$6.style[$5]]=function($8){return qx.core.Property.executeOptimizedSetter(this,$0,$5,$[44],arguments);};$6.unstyle[$5]=$2+$[120]+$3;$4[$6.unstyle[$5]]=function(){return qx.core.Property.executeOptimizedSetter(this,$0,$5,$[120]);};}if($1.check===$[2]){$4[$2+$[417]+$3]=new Function($[502]+$6.set[$5]+$[902]+$6.get[$5]+$[1278]);$4[$2+$[1540]+$3]=new Function($[502]+$6.get[$5]+$[1501]);}},__errors:{0:$[1371],1:$[1182],2:$[921],3:$[641],4:$[1357],5:$[926]},error:function($0,$1,$2,$3,$4){var $5=$0.constructor.classname;var $6=$[1632]+$2+$[1396]+$5+$[1237]+this.$$method[$3][$2]+$[1367]+$4+$[931];$0.printStackTrace();$0.error($6+(this.__errors[$1]||"Unknown reason: "+$1));throw new Error($6+(this.__errors[$1]||"Unknown reason: "+$1));},__unwrapFunctionFromCode:function($0,$1,$2,$3,$4,$5){var $6=this.$$method[$3][$2];{$1[$6]=new Function($[255],$4.join($[0]));};if(qx.core.Variant.isSet($[108],$[23])){$1[$6]=qx.core.Aspect.wrap($0.classname+$[24]+$6,$1[$6],$[716]);}if($5===undefined){return $0[$6]();}else{return $0[$6]($5[0]);}},executeOptimizedGetter:function($0,$1,$2,$3){var $4=$1.$$properties[$2];var $5=$1.prototype;var $6=[];if($4.inheritable){$6.push($[97],this.$$store.inherit[$2],$[134]);$6.push($[182],this.$$store.inherit[$2],$[10]);$6.push($[388]);}$6.push($[97],this.$$store.user[$2],$[134]);$6.push($[182],this.$$store.user[$2],$[10]);if($4.themeable){$6.push($[183],this.$$store.theme[$2],$[134]);$6.push($[182],this.$$store.theme[$2],$[10]);}if($4.deferredInit&&$4.init===undefined){$6.push($[183],this.$$store.init[$2],$[134]);$6.push($[182],this.$$store.init[$2],$[10]);}$6.push($[388]);if($4.init!==undefined){$6.push($[182],this.$$store.init[$2],$[10]);}else if($4.inheritable||$4.nullable){$6.push($[1336]);}else{$6.push($[1138],$2,$[1296],$1.classname,$[612]);}return this.__unwrapFunctionFromCode($0,$5,$2,$3,$6);},executeOptimizedSetter:function($0,$1,$2,$3,$4){var $5=$1.$$properties[$2];var $6=$1.prototype;var $7=[];var $8=$3===$[25]||$3===$[44]||($3===$[80]&&$5.init===undefined);var $9=$3===$[106]||$3===$[120];var $a=$5.apply||$5.event||$5.inheritable;if($3===$[44]||$3===$[120]){var $b=this.$$store.theme[$2];}else if($3===$[80]){var $b=this.$$store.init[$2];}else{var $b=this.$$store.user[$2];}{if(!$5.nullable||$5.check||$5.inheritable){$7.push($[984]);}if(false&&$3===$[25]){$7.push($[1243]+$2+$[273]+$3+$[308]);}};if($8){if($5.transform){$7.push($[1249],$5.transform,$[826]);}}if($a){if($8){$7.push($[97],$b,$[1231]);}else if($9){$7.push($[97],$b,$[1569]);}}if($5.inheritable){$7.push($[564]);}if($8&&false){if(!$5.nullable){$7.push($[1185]+$2+$[273]+$3+$[308]);}if($5.check!==undefined){if($5.nullable){$7.push($[1119]);}if($5.inheritable){$7.push($[898]);}$7.push($[1619]);if(this.__checks[$5.check]!==undefined){$7.push($[494],this.__checks[$5.check],$[299]);}else if(qx.Class.isDefined($5.check)){$7.push($[755],$5.check,$[299]);}else if(qx.Interface.isDefined($5.check)){$7.push($[1208],$5.check,$[1592]);}else if(typeof $5.check===$[37]){$7.push($[660],$1.classname,$[461],$2);$7.push($[1723]);}else if(typeof $5.check===$[8]){$7.push($[494],$5.check,$[299]);}else if($5.check instanceof Array){$5.checkMap=qx.lang.Object.fromArray($5.check);$7.push($1.classname,$[461],$2);$7.push($[1722]);}else{throw new Error("Could not add check to property "+$2+" of class "+$1.classname);}$7.push($[996]+$2+$[273]+$3+$[308]);}}if(!$a){if($3===$[25]){$7.push($[49],this.$$store.user[$2],$[45]);}else if($3===$[106]){$7.push($[97],this.$$store.user[$2],$[134]);$7.push($[118],this.$$store.user[$2],$[10]);}else if($3===$[44]){$7.push($[49],this.$$store.theme[$2],$[45]);}else if($3===$[120]){$7.push($[97],this.$$store.theme[$2],$[134]);$7.push($[118],this.$$store.theme[$2],$[10]);}else if($3===$[80]&&$8){$7.push($[49],this.$$store.init[$2],$[45]);}}else{if($5.inheritable){$7.push($[1441],this.$$store.inherit[$2],$[10]);}else{$7.push($[1688]);}$7.push($[97],this.$$store.user[$2],$[208]);if($3===$[25]){if(!$5.inheritable){$7.push($[230],this.$$store.user[$2],$[10]);}$7.push($[34],this.$$store.user[$2],$[45]);}else if($3===$[106]){if(!$5.inheritable){$7.push($[230],this.$$store.user[$2],$[10]);}$7.push($[118],this.$$store.user[$2],$[10]);$7.push($[97],this.$$store.theme[$2],$[134]);$7.push($[34],this.$$store.theme[$2],$[10]);$7.push($[183],this.$$store.init[$2],$[208]);$7.push($[34],this.$$store.init[$2],$[10]);$7.push($[49],this.$$store.useinit[$2],$[227]);$7.push($[102]);}else{if($5.inheritable){$7.push($[34],this.$$store.user[$2],$[10]);}else{$7.push($[1558],this.$$store.user[$2],$[10]);}if($3===$[44]){$7.push($[49],this.$$store.theme[$2],$[45]);}else if($3===$[120]){$7.push($[118],this.$$store.theme[$2],$[10]);}else if($3===$[80]&&$8){$7.push($[49],this.$$store.init[$2],$[45]);}}$7.push($[102]);if($5.themeable){$7.push($[183],this.$$store.theme[$2],$[208]);if(!$5.inheritable){$7.push($[230],this.$$store.theme[$2],$[10]);}if($3===$[25]){$7.push($[34],this.$$store.user[$2],$[45]);}else if($3===$[44]){$7.push($[34],this.$$store.theme[$2],$[45]);}else if($3===$[120]){$7.push($[118],this.$$store.theme[$2],$[10]);$7.push($[97],this.$$store.init[$2],$[208]);$7.push($[34],this.$$store.init[$2],$[10]);$7.push($[49],this.$$store.useinit[$2],$[227]);$7.push($[102]);}else if($3===$[80]){if($8){$7.push($[49],this.$$store.init[$2],$[45]);}$7.push($[34],this.$$store.theme[$2],$[10]);}else if($3===$[146]){$7.push($[34],this.$$store.theme[$2],$[10]);}$7.push($[102]);}$7.push($[183],this.$$store.useinit[$2],$[949]);if(!$5.inheritable){$7.push($[230],this.$$store.init[$2],$[10]);}if($3===$[80]){if($8){$7.push($[34],this.$$store.init[$2],$[45]);}else{$7.push($[34],this.$$store.init[$2],$[10]);}}else if($3===$[25]||$3===$[44]||$3===$[146]){$7.push($[118],this.$$store.useinit[$2],$[10]);if($3===$[25]){$7.push($[34],this.$$store.user[$2],$[45]);}else if($3===$[44]){$7.push($[34],this.$$store.theme[$2],$[45]);}else if($3===$[146]){$7.push($[34],this.$$store.init[$2],$[10]);}}$7.push($[102]);if($3===$[25]||$3===$[44]||$3===$[80]){$7.push($[1084]);if($3===$[25]){$7.push($[34],this.$$store.user[$2],$[45]);}else if($3===$[44]){$7.push($[34],this.$$store.theme[$2],$[45]);}else if($3===$[80]){if($8){$7.push($[34],this.$$store.init[$2],$[45]);}else{$7.push($[34],this.$$store.init[$2],$[10]);}$7.push($[49],this.$$store.useinit[$2],$[227]);}$7.push($[102]);}}if($5.inheritable){$7.push($[1113]);if($3===$[146]){$7.push($[638]);}else{$7.push($[1506],this.$$store.inherit[$2],$[10]);}$7.push($[817]);$7.push($[49],this.$$store.init[$2],$[805]);$7.push($[49],this.$$store.init[$2],$[1028]);$7.push($[34],this.$$store.init[$2],$[10]);$7.push($[49],this.$$store.useinit[$2],$[227]);$7.push($[1689]);$7.push($[118],this.$$store.useinit[$2],$[797]);$7.push($[102]);$7.push($[381]);$7.push($[775]);$7.push($[1103],this.$$store.inherit[$2],$[10]);$7.push($[102]);$7.push($[1649]);$7.push($[118],this.$$store.inherit[$2],$[10]);$7.push($[1658],this.$$store.inherit[$2],$[688]);$7.push($[886]);$7.push($[466]);$7.push($[530]);}else if($a){if($3!==$[25]&&$3!==$[44]){$7.push($[466]);}$7.push($[381]);$7.push($[530]);}if($a){if($5.apply){$7.push($[49],$5.apply,$[1536]);}if($5.event){$7.push($[1768],$5.event,$[1410]);}if($5.inheritable&&$6.getChildren){$7.push($[860]);$7.push($[901],this.$$method.refresh[$2],$[557],this.$$method.refresh[$2],$[768]);$7.push($[102]);}}if($8){$7.push($[643]);}return this.__unwrapFunctionFromCode($0,$6,$2,$3,$7,$4);}},settings:{"qx.propertyDebugLevel":0}}); > qx.Class.define($[1718],{statics:{toCamelCase:function($0){return $0.replace(/\-([a-z])/g,function($1,$2){return $2.toUpperCase();});},trimLeft:function($0){return $0.replace(/^\s+/,$[0]);},trimRight:function($0){return $0.replace(/\s+$/,$[0]);},trim:function($0){return $0.replace(/^\s+|\s+$/g,$[0]);},startsWith:function($0,$1){return !$0.indexOf($1);},startsWithAlternate:function($0,$1){return $0.substring(0,$1.length)===$1;},endsWith:function($0,$1){return $0.lastIndexOf($1)===$0.length-$1.length;},endsWithAlternate:function($0,$1){return $0.substring($0.length-$1.length,$0.length)===$1;},pad:function($0,$1,$2,$3){if(typeof $2===$[65]){$2=$[41];}var $4=$[0];for(var $5=$0.length;$5<$1;$5++){$4+=$2;}if($3==true){return $0+$4;}else{return $4+$0;}},toFirstUp:function($0){return $0.charAt(0).toUpperCase()+$0.substr(1);},toFirstLower:function($0){return $0.charAt(0).toLowerCase()+$0.substr(1);},addListItem:function($0,$1,$2){if($0==$1||$0==$[0]){return $1;}if($2==null){$2=$[101];}var $3=$0.split($2);if($3.indexOf($1)==-1){$3.push($1);return $3.join($2);}else{return $0;}},removeListItem:function($0,$1,$2){if($0==$1||$0==$[0]){return $[0];}else{if($2==null){$2=$[101];}var $3=$0.split($2);var $4=$3.indexOf($1);if($4===-1){return $0;}do{$3.splice($4,1);}while(($4=$3.indexOf($1))!=-1);return $3.join($2);}},contains:function($0,$1){return $0.indexOf($1)!=-1;},format:function($0,$1){var $2=$0;for(var $3=0;$3<$1.length;$3++){$2=$2.replace(new RegExp($[173]+($3+1),$[289]),$1[$3]);}return $2;},escapeRegexpChars:function($0){return $0.replace(/([\\\.\(\)\[\]\{\}\^\$\?\+\*])/g,$[877]);},toArray:function($0){return $0.split(/\B|\b/g);}}}); >-qx.Class.define($[493],{extend:Object,include:[qx.locale.MTranslation,qx.log.MLogging,qx.core.MUserData],construct:function(){this._hashCode=qx.core.Object.__availableHashCode++;if(this._autoDispose){this.__dbKey=qx.core.Object.__db.length;qx.core.Object.__db.push(this);}},statics:{__availableHashCode:0,__db:[],__disposeAll:false,$$type:$[119],toHashCode:function($0){if($0._hashCode!=null){return $0._hashCode;}return $0._hashCode=this.__availableHashCode++;},getDb:function(){return this.__db;},dispose:function($0){if(this.__disposed){return;}this.__disposed=true;this.__unload=$0||false;var $1;var $2,$3=this.__db;for(var $4=$3.length-1;$4>=0;$4--){$2=$3[$4];if($2&&$2.__disposed===false){try{$2.dispose();}catch(ex){{};}}}var $5,$4,$6,$7,$8,$9;},inGlobalDispose:function(){return this.__disposed||false;},isPageUnload:function(){return this.__unload||false;}},members:{_autoDispose:true,toHashCode:function(){return this._hashCode;},toString:function(){if(this.classname){return $[973]+this.classname+$[115];}return $[1605];},base:function($0,$1){if(arguments.length===1){return $0.callee.base.call(this);}else{return $0.callee.base.apply(this,Array.prototype.slice.call(arguments,1));}},self:function($0){return $0.callee.self;},getDbKey:function(){return this.__dbKey;},set:function($0,$1){var $2=qx.core.Property.$$method.set;if(typeof $0===$[8]){{};return this[$2[$0]]($1);}else{for(var $3 in $0){{};this[$2[$3]]($0[$3]);}return this;}},get:function($0){var $1=qx.core.Property.$$method.get;{};return this[$1[$0]]();},reset:function($0){var $1=qx.core.Property.$$method.reset;{};this[$1[$0]]();},__disposed:false,getDisposed:function(){return this.__disposed;},isDisposed:function(){return this.__disposed;},dispose:function(){if(this.__disposed){return;}this.__disposed=true;{};var $0=this.constructor;var $1;while($0.superclass){if($0.$$destructor){$0.$$destructor.call(this);}if($0.$$includes){$1=$0.$$flatIncludes;for(var $2=0,$3=$1.length;$2<$3;$2++){if($1[$2].$$destructor){$1[$2].$$destructor.call(this);}}}$0=$0.superclass;}var $4,$5;},_disposeFields:function($0){var $1;for(var $2=0,$3=arguments.length;$2<$3;$2++){var $1=arguments[$2];if(this[$1]==null){continue;}if(!this.hasOwnProperty($1)){{};continue;}this[$1]=null;}},_disposeObjects:function($0){var $1;for(var $2=0,$3=arguments.length;$2<$3;$2++){var $1=arguments[$2];if(this[$1]==null){continue;}if(!this.hasOwnProperty($1)){{};continue;}if(!this[$1].dispose){throw new Error(this.classname+" has no own object "+$1);}this[$1].dispose();this[$1]=null;}},_disposeObjectDeep:function($0,$1){var $0;if(this[$0]==null){return;}if(!this.hasOwnProperty($0)){{};return;}{};this.__disposeObjectsDeepRecurser(this[$0],$1||0);this[$0]=null;},__disposeObjectsDeepRecurser:function($0,$1){if($0 instanceof qx.core.Object){{};$0.dispose();}else if($0 instanceof Array){for(var $2=0,$3=$0.length;$2<$3;$2++){var $4=$0[$2];if($4==null){continue;}if(typeof $4==$[28]){if($1>0){{};this.__disposeObjectsDeepRecurser($4,$1-1);}{};$0[$2]=null;}else if(typeof $4==$[37]){{};$0[$2]=null;}}}else if($0 instanceof Object){for(var $5 in $0){if($0[$5]==null||!$0.hasOwnProperty($5)){continue;}var $4=$0[$5];if(typeof $4==$[28]){if($1>0){{};this.__disposeObjectsDeepRecurser($4,$1-1);}{};$0[$5]=null;}else if(typeof $4==$[37]){{};$0[$5]=null;}}}}},settings:{"qx.disposerDebugLevel":0},destruct:function(){var $0=this.constructor;var $1;var $2=qx.core.Property.$$store;var $3=$2.user;var $4=$2.theme;var $5=$2.inherit;var $6=$2.useinit;var $7=$2.init;while($0){$1=$0.$$properties;if($1){for(var $8 in $1){if($1[$8].dispose){this[$3[$8]]=this[$4[$8]]=this[$5[$8]]=this[$6[$8]]=this[$7[$8]]=undefined;}}}$0=$0.superclass;}if(this.__dbKey!=null){if(qx.core.Object.__disposeAll){qx.core.Object.__db[this.__dbKey]=null;}else{delete qx.core.Object.__db[this.__dbKey];}}}}); >-qx.Class.define($[1444],{statics:{log:function($0){this._logFormatted(arguments,$[0]);},debug:function($0){this._logFormatted(arguments,$[863]);},info:function($0){this._logFormatted(arguments,$[962]);},warn:function($0){this._logFormatted(arguments,$[727]);},error:function($0){this._logFormatted(arguments,$[95]);},assert:function($0,$1,$2){if(!$0){var $3=[];for(var $4=1;$4<arguments.length;++$4)$3.push(arguments[$4]);this._logFormatted($3.length?$3:[$[378]],$[95]);throw $1?$1:$[378];}},dir:function($0){var $1=[];var $2=[];for(var $3 in $0){try{$2.push([$3,$0[$3]]);}catch(exc){}}$2.sort(function($4,$5){return $4[0]<$5[0]?-1:1;});$1.push($[988]);for(var $6=0;$6<$2.length;++$6){var $3=$2[$6][0],$7=$2[$6][1];$1.push($[1418],$[1501],this._escapeHTML($3),$[939],$[1692]);this._appendObject($7,$1);$1.push($[983]);}$1.push($[1538]);this._logRow($1,$[982]);},dirxml:function($0){var $1=[];this._appendNode($0,$1);this._logRow($1,$[1589]);},time:function($0){this._timeMap[$0]=(new Date()).getTime();},timeEnd:function($0){if($0 in this._timeMap){var $1=(new Date()).getTime()-this._timeMap[$0];this._logFormatted([$0+$[47],$1+$[658]]);delete this._timeMap[$0];}},clear:function(){this._consoleLog.innerHTML=$[0];},trace:function(){if(qx.dev&&qx.dev.StackTrace){var $0=qx.dev.StackTrace.getStackTrace();this.debug("Current stack trace: ");for(var $1=1,$2=$0.length;$1<$2;$1++){this.debug(" - "+$0[$1]);}}else{this.warn("Stacktraces are not support by your build!");}},_consoleLog:null,_commandLine:null,_messageQueue:[],_timeMap:{},_clPrefix:$[831],_consoleShortcuts:{log:$[1148],info:$[807],debug:$[593],warn:$[1151],error:$[732],assert:$[1107],dir:$[1269],dirxml:$[1387],time:$[1664],timeEnd:$[1651],clear:$[1471]},_focusCommandLine:function(){if(this._commandLine){this._commandLine.focus();}},_initializeWindow:function(){if(this._consoleWindow){return;}if(qx.core.Setting){var $0=qx.core.Setting.get($[288])+$[1615];this._consoleWindow=window.open($0,$[328],$[987]);}},_onLogReady:function($0){var $1=$0.document;this._consoleWindow=$0;this._consoleDocument=$1;this._consoleLog=$1.getElementById($[341]);this._commandLine=$1.getElementById($[1267]);this._onUnloadWrapped=qx.lang.Function.bind(this._onUnload,this);this._onResizeWrapped=qx.lang.Function.bind(this._onResize,this);this._onCommandLineKeyDownWrapped=qx.lang.Function.bind(this._onCommandLineKeyDown,this);this._addEvent(window,$[131],this._onUnloadWrapped);this._addEvent($0,$[131],this._onUnloadWrapped);this._addEvent($0,$[202],this._onResizeWrapped);this._addEvent(this._commandLine,$[16],this._onCommandLineKeyDownWrapped);this._syncLayout();this._flush();},_syncLayout:function(){this._consoleLog.style.height=(qx.bom.Viewport.getHeight(this._consoleWindow)-42)+$[38];},_evalCommandLine:function(){var $0=this._commandLine.value;this._commandLine.value=$[0];this._logRow([this._clPrefix,$0],$[1152]);var $1=/^([a-z]+)\(/;var $2=$1.exec($0);if($2!=null){if(this._consoleShortcuts[$2[1]]){$0=this._consoleShortcuts[$2[1]]+$0.substring($2[1].length);}}var $3;try{$3=eval($0);}catch(ex){this.error(ex);}if($3!==undefined){this.log($3);}},_logRow:function($0,$1){if(this._consoleLog){this._writeMessage($0,$1);}else{this._messageQueue.push([$0,$1]);this._initializeWindow();}},_flush:function(){var $0=this._messageQueue;this._messageQueue=[];for(var $1=0;$1<$0.length;++$1){this._writeMessage($0[$1][0],$0[$1][1]);}},_writeMessage:function($0,$1){var $2=this._consoleLog.scrollTop+this._consoleLog.offsetHeight>=this._consoleLog.scrollHeight;this._writeRow($0,$1);if($2){this._consoleLog.scrollTop=this._consoleLog.scrollHeight-this._consoleLog.offsetHeight;}},_appendRow:function($0){this._consoleLog.appendChild($0);},_writeRow:function($0,$1){var $2=this._consoleLog.ownerDocument.createElement($[67]);$2.className=$[1683]+($1?$[1510]+$1:$[0]);$2.innerHTML=$0.join($[0]);this._appendRow($2);},_logFormatted:function($0,$1){if(window.__firebug__&&window.console){return window.console[$1].apply(window.console,$0);}var $2=[];var $3=$0[0];var $4=0;if(typeof ($3)!=$[8]){$3=$[0];$4=-1;}var $5=this._parseFormat($3);for(var $6=0;$6<$5.length;++$6){var $7=$5[$6];if($7&&typeof ($7)==$[28]){var $8=$0[++$4];$7.appender($8,$2);}else this._appendText($7,$2);}for(var $6=$4+1;$6<$0.length;++$6){this._appendText($[83],$2);var $8=$0[$6];if(typeof ($8)==$[8])this._appendText($8,$2);else this._appendObject($8,$2);}this._logRow($2,$1);},_parseFormat:function($0){var $1=[];var $2=/((^%|[^\\]%)(\d+)?(\.)([a-zA-Z]))|((^%|[^\\]%)([a-zA-Z]))/;var $3={s:this._appendText,d:this._appendInteger,i:this._appendInteger,f:this._appendFloat};for(var $4=$2.exec($0);$4;$4=$2.exec($0)){var $5=$4[8]?$4[8]:$4[5];var $6=$5 in $3?$3[$5]:this._appendObject;var $7=$4[3]?parseInt($4[3]):($4[4]==$[24]?-1:0);$1.push($0.substr(0,$4[0][0]==$[173]?$4.index:$4.index+1));$1.push({appender:$6,precision:$7});$0=$0.substr($4.index+$4[0].length);}$1.push($0);return $1;},_escapeHTML:function($0){function $1($2){switch($2){case $[1634]:return $[335];case $[1065]:return $[933];case $[93]:return $[478];case $[334]:return $[1297];case $[109]:return $[1284];}return $[194];}return String($0).replace(/[<>&"']/g,$1);},_objectToString:function($0){try{return $0+$[0];}catch(exc){return null;}},_appendText:function($0,$1){$1.push(this._escapeHTML(this._objectToString($0)));},_appendNull:function($0,$1){$1.push($[1173],this._escapeHTML(this._objectToString($0)),$[96]);},_appendString:function($0,$1){$1.push($[1393],this._escapeHTML(this._objectToString($0)),$[1487]);},_appendInteger:function($0,$1){$1.push($[388],this._escapeHTML(this._objectToString($0)),$[96]);},_appendFloat:function($0,$1){$1.push($[388],this._escapeHTML(this._objectToString($0)),$[96]);},_appendFunction:function($0,$1){var $2=/function ?(.*?)\(/;var $3=$2.exec(this._objectToString($0));var $4=$3?$3[1]:$[37];$1.push($[833],this._escapeHTML($4),$[1542]);},_appendObject:function($0,$1){try{if($0==undefined)this._appendNull($[65],$1);else if($0==null)this._appendNull($[1575],$1);else if(typeof $0==$[8])this._appendString($0,$1);else if(typeof $0==$[50])this._appendInteger($0,$1);else if($0.toString)this._appendText($0.toString(),$1);else if(typeof $0==$[37])this._appendFunction($0,$1);else if($0.nodeType==1)this._appendSelector($0,$1);else if(typeof $0==$[28])this._appendObjectFormatted($0,$1);else this._appendText($0,$1);}catch(exc){}},_appendObjectFormatted:function($0,$1){var $2=this._objectToString($0);var $3=/\[object (.*?)\]/;var $4=$3.exec($2);$1.push($[1466],$4?$4[1]:$2,$[96]);},_appendSelector:function($0,$1){$1.push($[1254]);$1.push($[1089],this._escapeHTML($0.nodeName.toLowerCase()),$[96]);if($0.id)$1.push($[996],this._escapeHTML($0.id),$[96]);if($0.className)$1.push($[1574],this._escapeHTML($0.className),$[96]);$1.push($[96]);},_appendNode:function($0,$1){if($0.nodeType==1){$1.push($[1302],$[1568],$0.nodeName.toLowerCase(),$[96]);for(var $2=0;$2<$0.attributes.length;++$2){var $3=$0.attributes[$2];if(!$3.specified)continue;$1.push($[1004],$3.nodeName.toLowerCase(),$[1204],this._escapeHTML($3.nodeValue),$[1463]);}if($0.firstChild){$1.push($[1652]);for(var $4=$0.firstChild;$4;$4=$4.nextSibling)this._appendNode($4,$1);$1.push($[1310],$0.nodeName.toLowerCase(),$[1674]);}else $1.push($[1332]);}else if($0.nodeType==3){$1.push($[1798],this._escapeHTML($0.nodeValue),$[675]);}},_addEvent:function($0,$1,$2){if(document.all)$0.attachEvent($[23]+$1,$2);else $0.addEventListener($1,$2,false);},_removeEvent:function($0,$1,$2){if(document.all)$0.detachEvent($[23]+$1,$2);else $0.removeEventListener($1,$2,false);},_cancelEvent:function($0){if(document.all)$0.cancelBubble=true;else $0.stopPropagation();},_onCommandLineKeyDown:function($0){if($0.keyCode==13)this._evalCommandLine();else if($0.keyCode==27)this._commandLine.value=$[0];},_onResize:function($0){this._syncLayout();},_onUnload:function($0){var $1=this._consoleWindow;var $2=this._commandLine;this._consoleWindow=null;this._consoleDocument=null;this._consoleLog=null;this._commandLine=null;this._removeEvent(window,$[131],this._onUnloadWrapped);if($1){try{$1.close();}catch(ex){}this._removeEvent($1,$[131],this._onUnloadWrapped);this._removeEvent($1,$[202],this._onResizeWrapped);}if($2){this._removeEvent($2,$[16],this._onCommandLineKeyDownWrapped);}}}}); >-qx.Class.define($[1606],{statics:{globalEval:function($0){if(window.execScript){window.execScript($0);}else{eval.call(window,$0);}},returnTrue:function(){return true;},returnFalse:function(){return false;},returnNull:function(){return null;},returnThis:function(){return this;},returnInstance:function(){if(!this._instance){this._instance=new this;}return this._instance;},returnZero:function(){return 0;},returnNegativeIndex:function(){return -1;},bind:function($0,$1,$2){{};if(arguments.length>2){var $3=Array.prototype.slice.call(arguments,2);var $4=function(){$0.context=$1;var $5=$0.apply($1,$3.concat(qx.lang.Array.fromArguments(arguments)));$0.context=null;return $5;};}else{var $4=function(){$0.context=$1;var $5=$0.apply($1,arguments);$0.context=null;return $5;};}$4.self=$0.self?$0.self.constructor:$1;return $4;},bindEvent:function($0,$1){{};var $2=function($3){$0.context=$1;var $4=$0.call($1,$3||window.event);$0.context=null;return $4;};$2.self=$0.self?$0.self.constructor:$1;return $2;},getCaller:function($0){return $0.caller?$0.caller.callee:$0.callee.caller;}}}); >+qx.Class.define($[493],{extend:Object,include:[qx.locale.MTranslation,qx.log.MLogging,qx.core.MUserData],construct:function(){this._hashCode=qx.core.Object.__availableHashCode++;if(this._autoDispose){this.__dbKey=qx.core.Object.__db.length;qx.core.Object.__db.push(this);}},statics:{__availableHashCode:0,__db:[],__disposeAll:false,$$type:$[119],toHashCode:function($0){if($0._hashCode!=null){return $0._hashCode;}return $0._hashCode=this.__availableHashCode++;},getDb:function(){return this.__db;},dispose:function($0){if(this.__disposed){return;}this.__disposed=true;this.__unload=$0||false;var $1;var $2,$3=this.__db;for(var $4=$3.length-1;$4>=0;$4--){$2=$3[$4];if($2&&$2.__disposed===false){try{$2.dispose();}catch(ex){{};}}}var $5,$4,$6,$7,$8,$9;},inGlobalDispose:function(){return this.__disposed||false;},isPageUnload:function(){return this.__unload||false;}},members:{_autoDispose:true,toHashCode:function(){return this._hashCode;},toString:function(){if(this.classname){return $[972]+this.classname+$[115];}return $[1604];},base:function($0,$1){if(arguments.length===1){return $0.callee.base.call(this);}else{return $0.callee.base.apply(this,Array.prototype.slice.call(arguments,1));}},self:function($0){return $0.callee.self;},getDbKey:function(){return this.__dbKey;},set:function($0,$1){var $2=qx.core.Property.$$method.set;if(typeof $0===$[8]){{};return this[$2[$0]]($1);}else{for(var $3 in $0){{};this[$2[$3]]($0[$3]);}return this;}},get:function($0){var $1=qx.core.Property.$$method.get;{};return this[$1[$0]]();},reset:function($0){var $1=qx.core.Property.$$method.reset;{};this[$1[$0]]();},__disposed:false,getDisposed:function(){return this.__disposed;},isDisposed:function(){return this.__disposed;},dispose:function(){if(this.__disposed){return;}this.__disposed=true;{};var $0=this.constructor;var $1;while($0.superclass){if($0.$$destructor){$0.$$destructor.call(this);}if($0.$$includes){$1=$0.$$flatIncludes;for(var $2=0,$3=$1.length;$2<$3;$2++){if($1[$2].$$destructor){$1[$2].$$destructor.call(this);}}}$0=$0.superclass;}var $4,$5;},_disposeFields:function($0){var $1;for(var $2=0,$3=arguments.length;$2<$3;$2++){var $1=arguments[$2];if(this[$1]==null){continue;}if(!this.hasOwnProperty($1)){{};continue;}this[$1]=null;}},_disposeObjects:function($0){var $1;for(var $2=0,$3=arguments.length;$2<$3;$2++){var $1=arguments[$2];if(this[$1]==null){continue;}if(!this.hasOwnProperty($1)){{};continue;}if(!this[$1].dispose){throw new Error(this.classname+" has no own object "+$1);}this[$1].dispose();this[$1]=null;}},_disposeObjectDeep:function($0,$1){var $0;if(this[$0]==null){return;}if(!this.hasOwnProperty($0)){{};return;}{};this.__disposeObjectsDeepRecurser(this[$0],$1||0);this[$0]=null;},__disposeObjectsDeepRecurser:function($0,$1){if($0 instanceof qx.core.Object){{};$0.dispose();}else if($0 instanceof Array){for(var $2=0,$3=$0.length;$2<$3;$2++){var $4=$0[$2];if($4==null){continue;}if(typeof $4==$[28]){if($1>0){{};this.__disposeObjectsDeepRecurser($4,$1-1);}{};$0[$2]=null;}else if(typeof $4==$[37]){{};$0[$2]=null;}}}else if($0 instanceof Object){for(var $5 in $0){if($0[$5]==null||!$0.hasOwnProperty($5)){continue;}var $4=$0[$5];if(typeof $4==$[28]){if($1>0){{};this.__disposeObjectsDeepRecurser($4,$1-1);}{};$0[$5]=null;}else if(typeof $4==$[37]){{};$0[$5]=null;}}}}},settings:{"qx.disposerDebugLevel":0},destruct:function(){var $0=this.constructor;var $1;var $2=qx.core.Property.$$store;var $3=$2.user;var $4=$2.theme;var $5=$2.inherit;var $6=$2.useinit;var $7=$2.init;while($0){$1=$0.$$properties;if($1){for(var $8 in $1){if($1[$8].dispose){this[$3[$8]]=this[$4[$8]]=this[$5[$8]]=this[$6[$8]]=this[$7[$8]]=undefined;}}}$0=$0.superclass;}if(this.__dbKey!=null){if(qx.core.Object.__disposeAll){qx.core.Object.__db[this.__dbKey]=null;}else{delete qx.core.Object.__db[this.__dbKey];}}}}); >+qx.Class.define($[1443],{statics:{log:function($0){this._logFormatted(arguments,$[0]);},debug:function($0){this._logFormatted(arguments,$[863]);},info:function($0){this._logFormatted(arguments,$[961]);},warn:function($0){this._logFormatted(arguments,$[728]);},error:function($0){this._logFormatted(arguments,$[95]);},assert:function($0,$1,$2){if(!$0){var $3=[];for(var $4=1;$4<arguments.length;++$4)$3.push(arguments[$4]);this._logFormatted($3.length?$3:[$[378]],$[95]);throw $1?$1:$[378];}},dir:function($0){var $1=[];var $2=[];for(var $3 in $0){try{$2.push([$3,$0[$3]]);}catch(exc){}}$2.sort(function($4,$5){return $4[0]<$5[0]?-1:1;});$1.push($[987]);for(var $6=0;$6<$2.length;++$6){var $3=$2[$6][0],$7=$2[$6][1];$1.push($[1419],$[1500],this._escapeHTML($3),$[938],$[1692]);this._appendObject($7,$1);$1.push($[982]);}$1.push($[1538]);this._logRow($1,$[981]);},dirxml:function($0){var $1=[];this._appendNode($0,$1);this._logRow($1,$[1588]);},time:function($0){this._timeMap[$0]=(new Date()).getTime();},timeEnd:function($0){if($0 in this._timeMap){var $1=(new Date()).getTime()-this._timeMap[$0];this._logFormatted([$0+$[47],$1+$[658]]);delete this._timeMap[$0];}},clear:function(){this._consoleLog.innerHTML=$[0];},trace:function(){if(qx.dev&&qx.dev.StackTrace){var $0=qx.dev.StackTrace.getStackTrace();this.debug("Current stack trace: ");for(var $1=1,$2=$0.length;$1<$2;$1++){this.debug(" - "+$0[$1]);}}else{this.warn("Stacktraces are not support by your build!");}},_consoleLog:null,_commandLine:null,_messageQueue:[],_timeMap:{},_clPrefix:$[832],_consoleShortcuts:{log:$[1147],info:$[808],debug:$[593],warn:$[1150],error:$[733],assert:$[1107],dir:$[1268],dirxml:$[1388],time:$[1663],timeEnd:$[1650],clear:$[1470]},_focusCommandLine:function(){if(this._commandLine){this._commandLine.focus();}},_initializeWindow:function(){if(this._consoleWindow){return;}if(qx.core.Setting){var $0=qx.core.Setting.get($[288])+$[1614];this._consoleWindow=window.open($0,$[328],$[986]);}},_onLogReady:function($0){var $1=$0.document;this._consoleWindow=$0;this._consoleDocument=$1;this._consoleLog=$1.getElementById($[340]);this._commandLine=$1.getElementById($[1266]);this._onUnloadWrapped=qx.lang.Function.bind(this._onUnload,this);this._onResizeWrapped=qx.lang.Function.bind(this._onResize,this);this._onCommandLineKeyDownWrapped=qx.lang.Function.bind(this._onCommandLineKeyDown,this);this._addEvent(window,$[131],this._onUnloadWrapped);this._addEvent($0,$[131],this._onUnloadWrapped);this._addEvent($0,$[202],this._onResizeWrapped);this._addEvent(this._commandLine,$[16],this._onCommandLineKeyDownWrapped);this._syncLayout();this._flush();},_syncLayout:function(){this._consoleLog.style.height=(qx.bom.Viewport.getHeight(this._consoleWindow)-42)+$[38];},_evalCommandLine:function(){var $0=this._commandLine.value;this._commandLine.value=$[0];this._logRow([this._clPrefix,$0],$[1151]);var $1=/^([a-z]+)\(/;var $2=$1.exec($0);if($2!=null){if(this._consoleShortcuts[$2[1]]){$0=this._consoleShortcuts[$2[1]]+$0.substring($2[1].length);}}var $3;try{$3=eval($0);}catch(ex){this.error(ex);}if($3!==undefined){this.log($3);}},_logRow:function($0,$1){if(this._consoleLog){this._writeMessage($0,$1);}else{this._messageQueue.push([$0,$1]);this._initializeWindow();}},_flush:function(){var $0=this._messageQueue;this._messageQueue=[];for(var $1=0;$1<$0.length;++$1){this._writeMessage($0[$1][0],$0[$1][1]);}},_writeMessage:function($0,$1){var $2=this._consoleLog.scrollTop+this._consoleLog.offsetHeight>=this._consoleLog.scrollHeight;this._writeRow($0,$1);if($2){this._consoleLog.scrollTop=this._consoleLog.scrollHeight-this._consoleLog.offsetHeight;}},_appendRow:function($0){this._consoleLog.appendChild($0);},_writeRow:function($0,$1){var $2=this._consoleLog.ownerDocument.createElement($[67]);$2.className=$[1682]+($1?$[1509]+$1:$[0]);$2.innerHTML=$0.join($[0]);this._appendRow($2);},_logFormatted:function($0,$1){if(window.__firebug__&&window.console){return window.console[$1].apply(window.console,$0);}var $2=[];var $3=$0[0];var $4=0;if(typeof ($3)!=$[8]){$3=$[0];$4=-1;}var $5=this._parseFormat($3);for(var $6=0;$6<$5.length;++$6){var $7=$5[$6];if($7&&typeof ($7)==$[28]){var $8=$0[++$4];$7.appender($8,$2);}else this._appendText($7,$2);}for(var $6=$4+1;$6<$0.length;++$6){this._appendText($[83],$2);var $8=$0[$6];if(typeof ($8)==$[8])this._appendText($8,$2);else this._appendObject($8,$2);}this._logRow($2,$1);},_parseFormat:function($0){var $1=[];var $2=/((^%|[^\\]%)(\d+)?(\.)([a-zA-Z]))|((^%|[^\\]%)([a-zA-Z]))/;var $3={s:this._appendText,d:this._appendInteger,i:this._appendInteger,f:this._appendFloat};for(var $4=$2.exec($0);$4;$4=$2.exec($0)){var $5=$4[8]?$4[8]:$4[5];var $6=$5 in $3?$3[$5]:this._appendObject;var $7=$4[3]?parseInt($4[3]):($4[4]==$[24]?-1:0);$1.push($0.substr(0,$4[0][0]==$[173]?$4.index:$4.index+1));$1.push({appender:$6,precision:$7});$0=$0.substr($4.index+$4[0].length);}$1.push($0);return $1;},_escapeHTML:function($0){function $1($2){switch($2){case $[1633]:return $[335];case $[1065]:return $[932];case $[93]:return $[479];case $[334]:return $[1295];case $[109]:return $[1283];}return $[194];}return String($0).replace(/[<>&"']/g,$1);},_objectToString:function($0){try{return $0+$[0];}catch(exc){return null;}},_appendText:function($0,$1){$1.push(this._escapeHTML(this._objectToString($0)));},_appendNull:function($0,$1){$1.push($[1172],this._escapeHTML(this._objectToString($0)),$[96]);},_appendString:function($0,$1){$1.push($[1394],this._escapeHTML(this._objectToString($0)),$[1486]);},_appendInteger:function($0,$1){$1.push($[389],this._escapeHTML(this._objectToString($0)),$[96]);},_appendFloat:function($0,$1){$1.push($[389],this._escapeHTML(this._objectToString($0)),$[96]);},_appendFunction:function($0,$1){var $2=/function ?(.*?)\(/;var $3=$2.exec(this._objectToString($0));var $4=$3?$3[1]:$[37];$1.push($[834],this._escapeHTML($4),$[1542]);},_appendObject:function($0,$1){try{if($0==undefined)this._appendNull($[65],$1);else if($0==null)this._appendNull($[1574],$1);else if(typeof $0==$[8])this._appendString($0,$1);else if(typeof $0==$[50])this._appendInteger($0,$1);else if($0.toString)this._appendText($0.toString(),$1);else if(typeof $0==$[37])this._appendFunction($0,$1);else if($0.nodeType==1)this._appendSelector($0,$1);else if(typeof $0==$[28])this._appendObjectFormatted($0,$1);else this._appendText($0,$1);}catch(exc){}},_appendObjectFormatted:function($0,$1){var $2=this._objectToString($0);var $3=/\[object (.*?)\]/;var $4=$3.exec($2);$1.push($[1465],$4?$4[1]:$2,$[96]);},_appendSelector:function($0,$1){$1.push($[1253]);$1.push($[1089],this._escapeHTML($0.nodeName.toLowerCase()),$[96]);if($0.id)$1.push($[995],this._escapeHTML($0.id),$[96]);if($0.className)$1.push($[1573],this._escapeHTML($0.className),$[96]);$1.push($[96]);},_appendNode:function($0,$1){if($0.nodeType==1){$1.push($[1300],$[1567],$0.nodeName.toLowerCase(),$[96]);for(var $2=0;$2<$0.attributes.length;++$2){var $3=$0.attributes[$2];if(!$3.specified)continue;$1.push($[1003],$3.nodeName.toLowerCase(),$[1203],this._escapeHTML($3.nodeValue),$[1462]);}if($0.firstChild){$1.push($[1651]);for(var $4=$0.firstChild;$4;$4=$4.nextSibling)this._appendNode($4,$1);$1.push($[1309],$0.nodeName.toLowerCase(),$[1673]);}else $1.push($[1332]);}else if($0.nodeType==3){$1.push($[1798],this._escapeHTML($0.nodeValue),$[676]);}},_addEvent:function($0,$1,$2){if(document.all)$0.attachEvent($[23]+$1,$2);else $0.addEventListener($1,$2,false);},_removeEvent:function($0,$1,$2){if(document.all)$0.detachEvent($[23]+$1,$2);else $0.removeEventListener($1,$2,false);},_cancelEvent:function($0){if(document.all)$0.cancelBubble=true;else $0.stopPropagation();},_onCommandLineKeyDown:function($0){if($0.keyCode==13)this._evalCommandLine();else if($0.keyCode==27)this._commandLine.value=$[0];},_onResize:function($0){this._syncLayout();},_onUnload:function($0){var $1=this._consoleWindow;var $2=this._commandLine;this._consoleWindow=null;this._consoleDocument=null;this._consoleLog=null;this._commandLine=null;this._removeEvent(window,$[131],this._onUnloadWrapped);if($1){try{$1.close();}catch(ex){}this._removeEvent($1,$[131],this._onUnloadWrapped);this._removeEvent($1,$[202],this._onResizeWrapped);}if($2){this._removeEvent($2,$[16],this._onCommandLineKeyDownWrapped);}}}}); >+qx.Class.define($[1605],{statics:{globalEval:function($0){if(window.execScript){window.execScript($0);}else{eval.call(window,$0);}},returnTrue:function(){return true;},returnFalse:function(){return false;},returnNull:function(){return null;},returnThis:function(){return this;},returnInstance:function(){if(!this._instance){this._instance=new this;}return this._instance;},returnZero:function(){return 0;},returnNegativeIndex:function(){return -1;},bind:function($0,$1,$2){{};if(arguments.length>2){var $3=Array.prototype.slice.call(arguments,2);var $4=function(){$0.context=$1;var $5=$0.apply($1,$3.concat(qx.lang.Array.fromArguments(arguments)));$0.context=null;return $5;};}else{var $4=function(){$0.context=$1;var $5=$0.apply($1,arguments);$0.context=null;return $5;};}$4.self=$0.self?$0.self.constructor:$1;return $4;},bindEvent:function($0,$1){{};var $2=function($3){$0.context=$1;var $4=$0.call($1,$3||window.event);$0.context=null;return $4;};$2.self=$0.self?$0.self.constructor:$1;return $2;},getCaller:function($0){return $0.caller?$0.caller.callee:$0.callee.caller;}}}); > qx.Class.define($[1758],{statics:{getWidth:qx.core.Variant.select($[1],{"opera":function($0){return ($0||window).document.body.clientWidth;},"webkit":function($0){return ($0||window).innerWidth;},"default":function($0){var $1=($0||window).document;return $1.compatMode===$[91]?$1.documentElement.clientWidth:$1.body.clientWidth;}}),getHeight:qx.core.Variant.select($[1],{"opera":function($0){return ($0||window).document.body.clientHeight;},"webkit":function($0){return ($0||window).innerHeight;},"default":function($0){var $1=($0||window).document;return $1.compatMode===$[91]?$1.documentElement.clientHeight:$1.body.clientHeight;}}),getScrollLeft:qx.core.Variant.select($[1],{"mshtml":function($0){var $1=($0||window).document;return $1.documentElement.scrollLeft||$1.body.scrollLeft;},"default":function($0){return ($0||window).pageXOffset;}}),getScrollTop:qx.core.Variant.select($[1],{"mshtml":function($0){var $1=($0||window).document;return $1.documentElement.scrollTop||$1.body.scrollTop;},"default":function($0){return ($0||window).pageYOffset;}})}}); >-qx.Class.define($[1475],{statics:{define:function($0,$1){if(!$1){var $1={};}if($1.include&&!($1.include instanceof Array)){$1.include=[$1.include];}{};var $2={$$type:$[121],name:$0,title:$1.title,toString:this.genericToString};if($1.extend){$2.supertheme=$1.extend;}$2.basename=qx.Class.createNamespace($0,$2);this.__convert($2,$1);this.__registry[$0]=$2;if($1.include){for(var $3=0,$4=$1.include,$5=$4.length;$3<$5;$3++){this.include($2,$4[$3]);}}},getAll:function(){return this.__registry;},getByName:function($0){return this.__registry[$0];},isDefined:function($0){return this.getByName($0)!==undefined;},getTotalNumber:function(){return qx.lang.Object.getLength(this.__registry);},genericToString:function(){return $[1214]+this.name+$[115];},__extractType:function($0){for(var $1=0,$2=this.__inheritableKeys,$3=$2.length;$1<$3;$1++){if($0[$2[$1]]){return $2[$1];}}},__convert:function($0,$1){var $2=this.__extractType($1);if($1.extend&&!$2){$2=$1.extend.type;}$0.type=$2||$[48];if(!$2){return;}var $3=function(){};if($1.extend){$3.prototype=new $1.extend.$$clazz;}var $4=$3.prototype;var $5=$1[$2];for(var $6 in $5){$4[$6]=$5[$6];if($4[$6].base){{};$4[$6].base=$1.extend;}}$0.$$clazz=$3;$0[$2]=new $3;},__registry:{},__inheritableKeys:[$[391],$[519],$[463],$[485],$[523],$[319],$[350]],__allowedKeys:null,__metaKeys:null,__validateConfig:function(){},patch:function($0,$1){var $2=this.__extractType($1);if($2!==this.__extractType($0)){throw new Error("The mixins '"+$0.name+"' are not compatible '"+$1.name+"'!");}var $3=$1[$2];var $4=$0[$2];for(var $5 in $3){$4[$5]=$3[$5];}},include:function($0,$1){var $2=$1.type;if($2!==$0.type){throw new Error("The mixins '"+$0.name+"' are not compatible '"+$1.name+"'!");}var $3=$1[$2];var $4=$0[$2];for(var $5 in $3){if($4[$5]!==undefined){throw new Error("It is not allowed to overwrite the key '"+$5+"' of theme '"+$0.name+"' by mixin theme '"+$1.name+"'.");}$4[$5]=$3[$5];}}}}); >-qx.Class.define($[1283],{extend:qx.core.Object,construct:function(){arguments.callee.base.call(this);},members:{addEventListener:function($0,$1,$2){if(this.getDisposed()){return;}{};if(this.__listeners===undefined){this.__listeners={};}if(this.__listeners[$0]===undefined){this.__listeners[$0]={};}var $3=$[481]+qx.core.Object.toHashCode($1)+($2?$[207]+qx.core.Object.toHashCode($2):$[0]);this.__listeners[$0][$3]={handler:$1,object:$2};},removeEventListener:function($0,$1,$2){if(this.getDisposed()){return;}var $3=this.__listeners;if(!$3||$3[$0]===undefined){return;}if(typeof $1!==$[37]){throw new Error("qx.core.Target: removeEventListener("+$0+"): '"+$1+"' is not a function!");}var $4=$[481]+qx.core.Object.toHashCode($1)+($2?$[207]+qx.core.Object.toHashCode($2):$[0]);delete this.__listeners[$0][$4];},hasEventListeners:function($0){return this.__listeners&&this.__listeners[$0]!==undefined&&!qx.lang.Object.isEmpty(this.__listeners[$0]);},createDispatchEvent:function($0){if(this.hasEventListeners($0)){this.dispatchEvent(new qx.event.type.Event($0),true);}},createDispatchDataEvent:function($0,$1){if(this.hasEventListeners($0)){this.dispatchEvent(new qx.event.type.DataEvent($0,$1),true);}},createDispatchChangeEvent:function($0,$1,$2){if(this.hasEventListeners($0)){this.dispatchEvent(new qx.event.type.ChangeEvent($0,$1,$2),true);}},dispatchEvent:function($0,$1){if(this.getDisposed()){return;}if($0.getTarget()==null){$0.setTarget(this);}if($0.getCurrentTarget()==null){$0.setCurrentTarget(this);}this._dispatchEvent($0,$1);var $2=$0.getDefaultPrevented();$1&&$0.dispose();return !$2;},_dispatchEvent:function($0){var $1=this.__listeners;if($1){$0.setCurrentTarget(this);var $2=$1[$0.getType()];if($2){var $3,$4;for(var $5 in $2){$3=$2[$5].handler;$4=$2[$5].object||this;$3.call($4,$0);}}}if($0.getBubbles()&&!$0.getPropagationStopped()&&typeof (this.getParent)==$[37]){var $6=this.getParent();if($6&&!$6.getDisposed()&&$6.getEnabled()){$6._dispatchEvent($0);}}}},destruct:function(){this._disposeObjectDeep($[1286],2);}}); >-qx.Class.define($[4],{extend:qx.core.Object,construct:function($0){arguments.callee.base.call(this);this.setType($0);},properties:{type:{_fast:true,setOnlyOnce:true},originalTarget:{_fast:true,setOnlyOnce:true},target:{_fast:true,setOnlyOnce:true},relatedTarget:{_fast:true,setOnlyOnce:true},currentTarget:{_fast:true},bubbles:{_fast:true,defaultValue:false,noCompute:true},propagationStopped:{_fast:true,defaultValue:true,noCompute:true},defaultPrevented:{_fast:true,defaultValue:false,noCompute:true}},members:{_autoDispose:false,preventDefault:function(){this.setDefaultPrevented(true);},stopPropagation:function(){this.setPropagationStopped(true);}},destruct:function(){this._disposeFields($[542],$[1490],$[699],$[1386]);}}); >+qx.Class.define($[1474],{statics:{define:function($0,$1){if(!$1){var $1={};}if($1.include&&!($1.include instanceof Array)){$1.include=[$1.include];}{};var $2={$$type:$[121],name:$0,title:$1.title,toString:this.genericToString};if($1.extend){$2.supertheme=$1.extend;}$2.basename=qx.Class.createNamespace($0,$2);this.__convert($2,$1);this.__registry[$0]=$2;if($1.include){for(var $3=0,$4=$1.include,$5=$4.length;$3<$5;$3++){this.include($2,$4[$3]);}}},getAll:function(){return this.__registry;},getByName:function($0){return this.__registry[$0];},isDefined:function($0){return this.getByName($0)!==undefined;},getTotalNumber:function(){return qx.lang.Object.getLength(this.__registry);},genericToString:function(){return $[1213]+this.name+$[115];},__extractType:function($0){for(var $1=0,$2=this.__inheritableKeys,$3=$2.length;$1<$3;$1++){if($0[$2[$1]]){return $2[$1];}}},__convert:function($0,$1){var $2=this.__extractType($1);if($1.extend&&!$2){$2=$1.extend.type;}$0.type=$2||$[48];if(!$2){return;}var $3=function(){};if($1.extend){$3.prototype=new $1.extend.$$clazz;}var $4=$3.prototype;var $5=$1[$2];for(var $6 in $5){$4[$6]=$5[$6];if($4[$6].base){{};$4[$6].base=$1.extend;}}$0.$$clazz=$3;$0[$2]=new $3;},__registry:{},__inheritableKeys:[$[392],$[520],$[465],$[485],$[524],$[319],$[349]],__allowedKeys:null,__metaKeys:null,__validateConfig:function(){},patch:function($0,$1){var $2=this.__extractType($1);if($2!==this.__extractType($0)){throw new Error("The mixins '"+$0.name+"' are not compatible '"+$1.name+"'!");}var $3=$1[$2];var $4=$0[$2];for(var $5 in $3){$4[$5]=$3[$5];}},include:function($0,$1){var $2=$1.type;if($2!==$0.type){throw new Error("The mixins '"+$0.name+"' are not compatible '"+$1.name+"'!");}var $3=$1[$2];var $4=$0[$2];for(var $5 in $3){if($4[$5]!==undefined){throw new Error("It is not allowed to overwrite the key '"+$5+"' of theme '"+$0.name+"' by mixin theme '"+$1.name+"'.");}$4[$5]=$3[$5];}}}}); >+qx.Class.define($[1282],{extend:qx.core.Object,construct:function(){arguments.callee.base.call(this);},members:{addEventListener:function($0,$1,$2){if(this.getDisposed()){return;}{};if(this.__listeners===undefined){this.__listeners={};}if(this.__listeners[$0]===undefined){this.__listeners[$0]={};}var $3=$[481]+qx.core.Object.toHashCode($1)+($2?$[207]+qx.core.Object.toHashCode($2):$[0]);this.__listeners[$0][$3]={handler:$1,object:$2};},removeEventListener:function($0,$1,$2){if(this.getDisposed()){return;}var $3=this.__listeners;if(!$3||$3[$0]===undefined){return;}if(typeof $1!==$[37]){throw new Error("qx.core.Target: removeEventListener("+$0+"): '"+$1+"' is not a function!");}var $4=$[481]+qx.core.Object.toHashCode($1)+($2?$[207]+qx.core.Object.toHashCode($2):$[0]);delete this.__listeners[$0][$4];},hasEventListeners:function($0){return this.__listeners&&this.__listeners[$0]!==undefined&&!qx.lang.Object.isEmpty(this.__listeners[$0]);},createDispatchEvent:function($0){if(this.hasEventListeners($0)){this.dispatchEvent(new qx.event.type.Event($0),true);}},createDispatchDataEvent:function($0,$1){if(this.hasEventListeners($0)){this.dispatchEvent(new qx.event.type.DataEvent($0,$1),true);}},createDispatchChangeEvent:function($0,$1,$2){if(this.hasEventListeners($0)){this.dispatchEvent(new qx.event.type.ChangeEvent($0,$1,$2),true);}},dispatchEvent:function($0,$1){if(this.getDisposed()){return;}if($0.getTarget()==null){$0.setTarget(this);}if($0.getCurrentTarget()==null){$0.setCurrentTarget(this);}this._dispatchEvent($0,$1);var $2=$0.getDefaultPrevented();$1&&$0.dispose();return !$2;},_dispatchEvent:function($0){var $1=this.__listeners;if($1){$0.setCurrentTarget(this);var $2=$1[$0.getType()];if($2){var $3,$4;for(var $5 in $2){$3=$2[$5].handler;$4=$2[$5].object||this;$3.call($4,$0);}}}if($0.getBubbles()&&!$0.getPropagationStopped()&&typeof (this.getParent)==$[37]){var $6=this.getParent();if($6&&!$6.getDisposed()&&$6.getEnabled()){$6._dispatchEvent($0);}}}},destruct:function(){this._disposeObjectDeep($[1285],2);}}); >+qx.Class.define($[4],{extend:qx.core.Object,construct:function($0){arguments.callee.base.call(this);this.setType($0);},properties:{type:{_fast:true,setOnlyOnce:true},originalTarget:{_fast:true,setOnlyOnce:true},target:{_fast:true,setOnlyOnce:true},relatedTarget:{_fast:true,setOnlyOnce:true},currentTarget:{_fast:true},bubbles:{_fast:true,defaultValue:false,noCompute:true},propagationStopped:{_fast:true,defaultValue:true,noCompute:true},defaultPrevented:{_fast:true,defaultValue:false,noCompute:true}},members:{_autoDispose:false,preventDefault:function(){this.setDefaultPrevented(true);},stopPropagation:function(){this.setPropagationStopped(true);}},destruct:function(){this._disposeFields($[542],$[1489],$[700],$[1387]);}}); > qx.Class.define($[98],{extend:qx.event.type.Event,construct:function($0,$1){arguments.callee.base.call(this,$0);this.setData($1);},properties:{propagationStopped:{_fast:true,defaultValue:false},data:{_fast:true}},destruct:function(){this._disposeFields($[1083]);}}); >-qx.Class.define($[456],{extend:qx.event.type.Event,construct:function($0,$1,$2){arguments.callee.base.call(this,$0);this.setValue($1);this.setOldValue($2);},properties:{value:{_fast:true},oldValue:{_fast:true}},members:{getData:function(){qx.log.Logger.deprecatedMethodWarning(arguments.callee,$[576]);return this.getValue();}},destruct:function(){this._disposeFields($[1480],$[1277]);}}); >-qx.Class.define($[775],{extend:qx.core.Object,type:$[51],construct:function(){arguments.callee.base.call(this);},statics:{ACCEPT:1,DENY:2,NEUTRAL:3},members:{decide:function($0){throw new Error("decide is abstract");}}}); >-qx.Class.define($[733],{extend:qx.log.Filter,construct:function(){arguments.callee.base.call(this);},properties:{enabled:{check:$[2],init:true},minLevel:{check:$[19],nullable:true}},members:{decide:function($0){var $1=qx.log.Filter;if(!this.getEnabled()){return $1.DENY;}else if(this.getMinLevel()==null){return $1.NEUTRAL;}else{return ($0.level>=this.getMinLevel())?$1.ACCEPT:$1.DENY;}}}}); >-qx.Class.define($[1294],{extend:qx.core.Object,type:$[51],construct:function(){arguments.callee.base.call(this);},members:{addFilter:function($0){if(this._filterArr==null){this._filterArr=[];}this._filterArr.push($0);},clearFilters:function(){this._filterArr=null;},getHeadFilter:function(){return (this._filterArr==null||this._filterArr.length==0)?null:this._filterArr[0];},_getDefaultFilter:function(){var $0=this.getHeadFilter();if(!($0 instanceof qx.log.DefaultFilter)){this.clearFilters();$0=new qx.log.DefaultFilter();this.addFilter($0);}return $0;},setEnabled:function($0){this._getDefaultFilter().setEnabled($0);},setMinLevel:function($0){this._getDefaultFilter().setMinLevel($0);},decideLogEvent:function($0){var $1=qx.log.Filter.NEUTRAL;if(this._filterArr!=null){for(var $2=0;$2<this._filterArr.length;$2++){var $3=this._filterArr[$2].decide($0);if($3!=$1){return $3;}}}return $1;},handleLogEvent:function($0){throw new Error("handleLogEvent is abstract");}},destruct:function(){this._disposeFields($[1098]);}}); >-qx.Class.define($[1772],{extend:qx.log.LogEventProcessor,type:$[51],construct:function(){arguments.callee.base.call(this);},properties:{useLongFormat:{check:$[2],init:true}},members:{handleLogEvent:function($0){if(this.decideLogEvent($0)!=qx.log.Filter.DENY){this.appendLogEvent($0);}},appendLogEvent:function($0){throw new Error("appendLogEvent is abstract");},formatLogEvent:function($0){var $1=qx.log.Logger;var $2=$[0];var $3=new String(new Date().getTime()-qx.core.Bootstrap.LOADSTART);while($3.length<6){$3=$[41]+$3;}$2+=$3;if(this.getUseLongFormat()){switch($0.level){case $1.LEVEL_DEBUG:$2+=$[644];break;case $1.LEVEL_INFO:$2+=$[1497];break;case $1.LEVEL_WARN:$2+=$[640];break;case $1.LEVEL_ERROR:$2+=$[1601];break;case $1.LEVEL_FATAL:$2+=$[1667];break;}}else{$2+=$[234];}var $4=$[0];for(var $5=0;$5<$0.indent;$5++){$4+=$[275];}$2+=$4;if(this.getUseLongFormat()){$2+=$0.logger.getName();if($0.instanceId!=null){$2+=$[511]+$0.instanceId+$[115];}$2+=$[234];}if(typeof $0.message==$[8]){$2+=$0.message;}else{var $6=$0.message;if($6==null){$2+=$[1234];}else{$2+=$[1121]+$6+$[1591];var $7=new Array();try{for(var $8 in $6){$7.push($8);}}catch(exc){$2+=$4+$[1014]+exc+$[422];}$7.sort();for(var $5=0;$5<$7.length;$5++){try{$2+=$4+$[275]+$7[$5]+$[197]+$6[$7[$5]]+$[180];}catch(exc){$2+=$4+$[275]+$7[$5]+$[1236]+exc+$[422];}}$2+=$4+$[1680];}}if($0.throwable!=null){var $9=$0.throwable;if($9.name==null){$2+=$[234]+$9;}else{$2+=$[234]+$9.name;}if($9.message!=null){$2+=$[581]+$9.message;}if($9.number!=null){$2+=$[956]+$9.number+$[145];}var $a=qx.dev.StackTrace.getStackTraceFromError($9);}if($0.trace){var $a=$0.trace;}if($a&&$a.length>0){$2+=$[180];for(var $5=0;$5<$a.length;$5++){$2+=$[855]+$a[$5]+$[180];}}return $2;}}}); >-qx.Class.define($[619],{extend:qx.log.appender.Abstract,construct:function($0){arguments.callee.base.call(this);this._id=qx.log.appender.Window.register(this);this._name=$0;if(this._name==null){var $1=window.location.href;var $2=0;for(var $3=0;$3<$1.length;$3++){$2=($2+$1.charCodeAt($3))%10000000;}this._name=$[1426]+$2;}this._errorsPreventingAutoCloseCount=0;this._divDataSets=[];this._filterTextWords=[];this._filterText=$[0];},statics:{_nextId:1,_registeredAppenders:{},register:function($0){var $1=qx.log.appender.Window;var $2=$1._nextId++;$1._registeredAppenders[$2]=$0;return $2;},getAppender:function($0){return qx.log.appender.Window._registeredAppenders[$0];}},properties:{maxMessages:{check:$[5],init:500},popUnder:{check:$[2],init:false},autoCloseWithErrors:{check:$[2],init:true,apply:$[1220]},windowWidth:{check:$[5],init:600},windowHeight:{check:$[5],init:350},windowLeft:{check:$[5],nullable:true},windowTop:{check:$[5],nullable:true}},members:{openWindow:function(){if(this._inLogWindowCallback){return;}this._inLogWindowCallback=true;if(this._logWindow&&!this._logWindow.closed){return ;}var $0=this.getWindowWidth();var $1=this.getWindowHeight();var $2=this.getWindowLeft();if($2===null){$2=window.screen.width-$0;}var $3=this.getWindowTop();if($3===null){$3=window.screen.height-$1;}var $4=$[1059]+$[1391]+$0+$[870]+$1+$[1425]+$2+$[1411]+$3;this._logWindow=window.open($[0],this._name,$4);qx.client.Timer.once(this._openWindowCallback,this,200);},_openWindowCallback:function(){delete this._inLogWindowCallback;if(!this._logWindow||this._logWindow.closed){if(this._popupBlockerWarning){return;}alert("Could not open log window. Please disable your popup blocker!");this._popupBlockerWarning=true;return;}this._popupBlockerWarning=false;if(this.getPopUnder()){this._logWindow.blur();window.focus();}var $0=this._logWindow.document;var $1=qx.core.Variant.isSet($[1],$[13])?$[1091]:$[520];$0.open();$0.write($[1235]+this._name+$[1320]+$[784]+this._id+$[672]+$[1797]+$[563]+$[1446]+$[540]+$[1307]+$[1598]+$[1197]+$[840]+$1+$[788]+$[610]+$[555]+this._filterText+$[708]+$[377]+$[729]+$[1767]+$[377]+$[1703]);$0.close();this._logElem=$0.getElementById($[341]);this._markerBtn=$0.getElementById($[1643]);this._filterInput=$0.getElementById($[144]);this._logLinesDiv=$0.getElementById($[772]);var $2=this;this._markerBtn.onclick=function(){$2._showMessageInLog($[696]);};this._filterInput.onkeyup=function(){$2.setFilterText($2._filterInput.value);};if(this._logEventQueue!=null){for(var $3=0;$3<this._logEventQueue.length;$3++){this.appendLogEvent(this._logEventQueue[$3]);}this._logEventQueue.length=0;}},closeWindow:function(){if(this._logWindow!=null){this._logWindow.close();this._logWindow=null;this._logElem=null;}},_autoCloseWindow:function(){if(this.getAutoCloseWithErrors()||this._errorsPreventingAutoCloseCount==0){this.closeWindow();}else{this._showMessageInLog($[980]+this._errorsPreventingAutoCloseCount+$[828]);}},_showMessageInLog:function($0){var $1={message:$0,isDummyEventForMessage:true};this.appendLogEvent($1);},appendLogEvent:function($0){if(!this._logWindow||this._logWindow.closed){if(!this._logEventQueue){this._logEventQueue=[];}this._logEventQueue.push($0);this.openWindow();}else if(this._logElem==null){this._logEventQueue.push($0);}else{var $1=this._logWindow.document.createElement($[67]);if($0.level>=qx.log.Logger.LEVEL_ERROR){$1.style.backgroundColor=$[1545];if(!this.getAutoCloseWithErrors()){this._errorsPreventingAutoCloseCount+=1;}}else if($0.level==qx.log.Logger.LEVEL_DEBUG){$1.style.color=$[682];}var $2;if($0.isDummyEventForMessage){$2=$0.message;}else{$2=qx.html.String.fromText(this.formatLogEvent($0));}$1.innerHTML=$2;this._logElem.appendChild($1);var $3={txt:$2.toUpperCase(),elem:$1};this._divDataSets.push($3);this._setDivVisibility($3);while(this._logElem.childNodes.length>this.getMaxMessages()){this._logElem.removeChild(this._logElem.firstChild);if(this._removedMessageCount==null){this._removedMessageCount=1;}else{this._removedMessageCount++;}}if(this._removedMessageCount!=null){this._logElem.firstChild.innerHTML=$[316]+this._removedMessageCount+$[457];}this._logLinesDiv.scrollTop=this._logLinesDiv.scrollHeight;}},setFilterText:function($0){if($0==null){$0=$[0];}this._filterText=$0;$0=$0.toUpperCase();this._filterTextWords=$0.split($[83]);for(var $1=0;$1<this._divDataSets.length;$1++){this._setDivVisibility(this._divDataSets[$1]);}},_setDivVisibility:function($0){var $1=true;for(var $2=0;$1&&($2<this._filterTextWords.length);$2++){$1=$0.txt.indexOf(this._filterTextWords[$2])>=0;}$0.elem.style[$[158]]=($1?$[0]:$[7]);},_applyAutoCloseWithErrors:function($0,$1){if(!$0&&$1){this._errorsPreventingAutoCloseCount=0;this._showMessageInLog($[685]);}else if($0&&!$1){this._showMessageInLog($[736]+this._errorsPreventingAutoCloseCount+$[1180]);}}},destruct:function(){try{if(this._markerBtn){this._markerBtn.onclick=null;}if(this._filterInput){this._filterInput.onkeyup=null;}}catch(ex){}this._autoCloseWindow();this._disposeFields($[940],$[1594],$[1682],$[1272],$[1424],$[1184]);}}); >-qx.Class.define($[1604],{extend:qx.core.Target,construct:function($0){arguments.callee.base.call(this);this.setEnabled(false);if($0!=null){this.setInterval($0);}this.__oninterval=qx.lang.Function.bind(this._oninterval,this);},events:{"interval":$[4]},statics:{once:function($0,$1,$2){var $3=new qx.client.Timer($2);$3.addEventListener($[85],function($4){$3.dispose();$0.call($1,$4);$1=null;},$1);$3.start();}},properties:{enabled:{init:true,check:$[2],apply:$[302]},interval:{check:$[5],init:1000,apply:$[1049]}},members:{__intervalHandler:null,_applyInterval:function($0,$1){if(this.getEnabled()){this.restart();}},_applyEnabled:function($0,$1){if($1){window.clearInterval(this.__intervalHandler);this.__intervalHandler=null;}else if($0){this.__intervalHandler=window.setInterval(this.__oninterval,this.getInterval());}},start:function(){this.setEnabled(true);},startWith:function($0){this.setInterval($0);this.start();},stop:function(){this.setEnabled(false);},restart:function(){this.stop();this.start();},restartWith:function($0){this.stop();this.startWith($0);},_oninterval:function(){if(this.getEnabled()){this.createDispatchEvent($[85]);}}},destruct:function(){if(this.__intervalHandler){window.clearInterval(this.__intervalHandler);}this._disposeFields($[1381],$[1782]);}}); >-qx.Class.define($[1384],{extend:qx.log.appender.Abstract,construct:function(){arguments.callee.base.call(this);},members:{appendLogEvent:function($0){if(typeof console!=$[407]){var $1=qx.log.Logger;var $2=this.formatLogEvent($0);switch($0.level){case $1.LEVEL_DEBUG:if(console.debug){console.debug($2);}break;case $1.LEVEL_INFO:if(console.info){console.info($2);}break;case $1.LEVEL_WARN:if(console.warn){console.warn($2);}break;default:if(console.error){console.error($2);}break;}if($0.level>=$1.LEVEL_WARN&&(!$0.throwable||!$0.throwable.stack)&&console.trace){console.trace();}}}}}); >-qx.Class.define($[461],{extend:qx.log.appender.Abstract,construct:function(){arguments.callee.base.call(this);if(typeof console!=$[407]&&console.debug&&!console.emu){this._appender=new qx.log.appender.FireBug;}else{this._appender=new qx.log.appender.Window;}},members:{appendLogEvent:function($0){if(this._appender){return this._appender.appendLogEvent($0);}}},destruct:function(){this._disposeObjects($[1721]);}}); >-qx.Class.define($[1012],{extend:qx.log.LogEventProcessor,construct:function($0,$1){arguments.callee.base.call(this);this._name=$0;this._parentLogger=$1;},statics:{deprecatedMethodWarning:function($0,$1){if(qx.core.Variant.isSet($[263],$[23])){var $2=qx.log.Logger.getClassLogger($0.self||this);var $3=qx.dev.StackTrace.getFunctionName($0);var $4=$0.self?$0.self.classname:$[360];$2.warn("The method '"+$3+"' of class '"+$4+"' is deprecated: "+$1||"Please consult the API documentation of this method for alternatives.");$2.printStackTrace();}},deprecatedClassWarning:function($0,$1){if(qx.core.Variant.isSet($[263],$[23])){var $2=qx.log.Logger.getClassLogger($0);var $3=$0.self?$0.self.classname:$[360];$2.warn("The method class '"+$3+"' is deprecated: "+$1||"Please consult the API documentation of this class for alternatives.");$2.printStackTrace();}},getClassLogger:function($0){var $1=$0._logger;if($1==null){var $2=$0.classname;var $3=$2.split($[24]);var $4=window;var $5=$[0];var $6=qx.log.Logger.ROOT_LOGGER;for(var $7=0;$7<$3.length-1;$7++){$4=$4[$3[$7]];$5+=(($7!=0)?$[24]:$[0])+$3[$7];if($4._logger==null){$4._logger=new qx.log.Logger($5,$6);}$6=$4._logger;}$1=new qx.log.Logger($2,$6);$0._logger=$1;}return $1;},_indent:0,LEVEL_ALL:0,LEVEL_DEBUG:200,LEVEL_INFO:500,LEVEL_WARN:600,LEVEL_ERROR:700,LEVEL_FATAL:800,LEVEL_OFF:1000,ROOT_LOGGER:null},members:{getName:function(){return this._name;},getParentLogger:function(){return this._parentLogger;},indent:function(){qx.log.Logger._indent++;},unindent:function(){qx.log.Logger._indent--;},addAppender:function($0){if(this._appenderArr==null){this._appenderArr=[];}this._appenderArr.push($0);},removeAppender:function($0){if(this._appenderArr!=null){this._appenderArr.remove($0);}},removeAllAppenders:function(){this._appenderArr=null;},handleLogEvent:function($0){var $1=qx.log.Filter;var $2=$1.NEUTRAL;var $3=this;while($2==$1.NEUTRAL&&$3!=null){$2=$3.decideLogEvent($0);$3=$3.getParentLogger();}if($2!=$1.DENY){this.appendLogEvent($0);}},appendLogEvent:function($0){if(this._appenderArr!=null&&this._appenderArr.length!=0){for(var $1=0;$1<this._appenderArr.length;$1++){this._appenderArr[$1].handleLogEvent($0);}}else if(this._parentLogger!=null){this._parentLogger.appendLogEvent($0);}},log:function($0,$1,$2,$3,$4){var $5={logger:this,level:$0,message:$1,throwable:$3,trace:$4,indent:qx.log.Logger._indent,instanceId:$2};this.handleLogEvent($5);},debug:function($0,$1,$2){this.log(qx.log.Logger.LEVEL_DEBUG,$0,$1,$2);},info:function($0,$1,$2){this.log(qx.log.Logger.LEVEL_INFO,$0,$1,$2);},warn:function($0,$1,$2){this.log(qx.log.Logger.LEVEL_WARN,$0,$1,$2);},error:function($0,$1,$2){this.log(qx.log.Logger.LEVEL_ERROR,$0,$1,$2);},fatal:function($0,$1,$2){this.log(qx.log.Logger.LEVEL_FATAL,$0,$1,$2);},measureReset:function(){if(this._totalMeasureTime!=null){this.debug("Measure reset. Total measure time: "+this._totalMeasureTime+" ms");}this._lastMeasureTime=null;this._totalMeasureTime=null;},measure:function($0,$1,$2){if(this._lastMeasureTime==null){$0=$[615]+$0;}else{var $3=new Date().getTime()-this._lastMeasureTime;if(this._totalMeasureTime==null){this._totalMeasureTime=0;}this._totalMeasureTime+=$3;$0=$[830]+$3+$[1025]+$0;}this.debug($0,$1,$2);this._lastMeasureTime=new Date().getTime();},printStackTrace:function(){var $0=qx.dev.StackTrace.getStackTrace();qx.lang.Array.removeAt($0,0);this.log(qx.log.Logger.LEVEL_DEBUG,$[1355],$[0],null,$0);}},settings:{"qx.logAppender":$[461],"qx.minLogLevel":200},defer:function($0){$0.ROOT_LOGGER=new $0("root",null);$0.ROOT_LOGGER.setMinLevel(qx.core.Setting.get($[953]));$0.ROOT_LOGGER.addAppender(new (qx.Class.getByName(qx.core.Setting.get($[603]))));},destruct:function(){this._disposeFields($[1306],$[1054]);}}); >-qx.Class.define($[1608],{statics:{getStackTrace:qx.core.Variant.select($[1],{"gecko":function(){try{throw new Error();}catch(e){var $0=this.getStackTraceFromError(e);qx.lang.Array.removeAt($0,0);var $1=this.getStackTraceFromCaller(arguments);var $2=$1.length>$0.length?$1:$0;for(var $3=0;$3<Math.min($1.length,$0.length);$3++){var $4=$1[$3];if($4.indexOf($[1202])>=0){continue;}var $5=$4.split($[47]);if($5.length!=2){continue;}var $6=$5[0];var $7=$5[1];var $8=$0[$3];var $9=$8.split($[47]);var $a=$9[0];var $b=$9[1];if(qx.Class.getByName($a)){var $c=$a;}else{$c=$6;}var $d=$c+$[47];if($7){$d+=$7+$[47];}$d+=$b;$2[$3]=$d;}return $2;}},"mshtml|webkit":function(){return this.getStackTraceFromCaller(arguments);},"opera":function(){var $0;try{$0.bar();}catch(e){var $1=this.getStackTraceFromError(e);qx.lang.Array.removeAt($1,0);return $1;}return [];}}),getStackTraceFromCaller:qx.core.Variant.select($[1],{"opera":function($0){return [];},"default":function($0){var $1=[];var $2=qx.lang.Function.getCaller($0);var $3={};while($2){var $4=this.getFunctionName($2);$1.push($4);try{$2=$2.caller;}catch(e){break;}if(!$2){break;}var $5=qx.core.Object.toHashCode($2);if($3[$5]){$1.push($[1380]);break;}$3[$5]=$2;}return $1;}}),getStackTraceFromError:qx.core.Variant.select($[1],{"gecko":function($0){if(!$0.stack){return [];}var $1=/@(.+):(\d+)$/gm;var $2;var $3=[];while(($2=$1.exec($0.stack))!=null){var $4=$2[1];var $5=$2[2];var $6=this.__fileNameToClassName($4);$3.push($6+$[47]+$5);}return $3;},"webkit":function($0){if($0.sourceURL&&$0.line){return [this.__fileNameToClassName($0.sourceURL)+$[47]+$0.line];}},"opera":function($0){if($0.message.indexOf("Backtrace:")<0){return [];}var $1=[];var $2=qx.lang.String.trim($0.message.split("Backtrace:")[1]);var $3=$2.split($[180]);for(var $4=0;$4<$3.length;$4++){var $5=$3[$4].match(/\s*Line ([0-9]+) of.* (\S.*)/);if($5&&$5.length>=2){var $6=$5[1];var $7=this.__fileNameToClassName($5[2]);$1.push($7+$[47]+$6);}}return $1;},"default":function(){return [];}}),getFunctionName:function($0){if($0.$$original){return $0.classname+$[701];}if($0.wrapper){return $0.wrapper.classname+$[479];}if($0.classname){return $0.classname+$[479];}if($0.mixin){for(var $1 in $0.mixin.$$members){if($0.mixin.$$members[$1]==$0){return $0.mixin.name+$[47]+$1;}}for(var $1 in $0.mixin){if($0.mixin[$1]==$0){return $0.mixin.name+$[47]+$1;}}}if($0.self){var $2=$0.self.constructor;if($2){for(var $1 in $2.prototype){if($2.prototype[$1]==$0){return $2.classname+$[47]+$1;}}for(var $1 in $2){if($2[$1]==$0){return $2.classname+$[47]+$1;}}}}var $3=$0.toString().match(/(function\s*\w*\(.*?\))/);if($3&&$3.length>=1&&$3[1]){return $3[1];}var $3=$0.toString().match(/(function\s*\(.*?\))/);if($3&&$3.length>=1&&$3[1]){return $[954]+$3[1];}return $[1622];},__fileNameToClassName:function($0){var $1=$[1285];var $2=$0.indexOf($1);var $3=($2==-1)?$0:$0.substring($2+$1.length).replace(/\//g,$[24]).replace(/\.js$/,$[0]);return $3;}}}); >-qx.Class.define($[1592],{statics:{escape:function($0){return qx.dom.String.escapeEntities($0,qx.html.Entity.FROM_CHARCODE);},unescape:function($0){return qx.dom.String.unescapeEntities($0,qx.html.Entity.TO_CHARCODE);},fromText:function($0){return qx.html.String.escape($0).replace(/( |\n)/g,function($1){var $2={" ":$[600],"\n":$[484]};return $2[$1]||$1;});},toText:function($0){return qx.html.String.unescape($0.replace(/\s+|<([^>])+>/gi,function($1){if(/\s+/.test($1)){return $[83];}else if(/^<BR|^<br/gi.test($1)){return $[180];}else{return $[0];}}));}}}); >-qx.Class.define($[1167],{statics:{escapeEntities:qx.core.Variant.select($[1],{"mshtml":function($0,$1){var $2,$3=[];for(var $4=0,$5=$0.length;$4<$5;$4++){var $6=$0.charAt($4);var $7=$6.charCodeAt(0);if($1[$7]){$2=$[93]+$1[$7]+$[79];}else{if($7>0x7F){$2=$[434]+$7+$[79];}else{$2=$6;}}$3[$3.length]=$2;}return $3.join($[0]);},"default":function($0,$1){var $2,$3=$[0];for(var $4=0,$5=$0.length;$4<$5;$4++){var $6=$0.charAt($4);var $7=$6.charCodeAt(0);if($1[$7]){$2=$[93]+$1[$7]+$[79];}else{if($7>0x7F){$2=$[434]+$7+$[79];}else{$2=$6;}}$3+=$2;}return $3;}}),unescapeEntities:function($0,$1){return $0.replace(/&[#\w]+;/gi,function($2){var $3=$2;var $2=$2.substring(1,$2.length-1);var $4=$1[$2];if($4){$3=String.fromCharCode($4);}else{if($2.charAt(0)==$[848]){if($2.charAt(1).toUpperCase()==$[1035]){$4=$2.substring(2);if($4.match(/^[0-9A-Fa-f]+$/gi)){$3=String.fromCharCode(parseInt($[1022]+$4));}}else{$4=$2.substring(1);if($4.match(/^\d+$/gi)){$3=String.fromCharCode(parseInt($4));}}}}return $3;});},stripTags:function($0){return $0.replace(/<\/?[^>]+>/gi,$[0]);}}}); >-qx.Class.define($[1200],{statics:{TO_CHARCODE:{"quot":34,"amp":38,"lt":60,"gt":62,"nbsp":160,"iexcl":161,"cent":162,"pound":163,"curren":164,"yen":165,"brvbar":166,"sect":167,"uml":168,"copy":169,"ordf":170,"laquo":171,"not":172,"shy":173,"reg":174,"macr":175,"deg":176,"plusmn":177,"sup2":178,"sup3":179,"acute":180,"micro":181,"para":182,"middot":183,"cedil":184,"sup1":185,"ordm":186,"raquo":187,"frac14":188,"frac12":189,"frac34":190,"iquest":191,"Agrave":192,"Aacute":193,"Acirc":194,"Atilde":195,"Auml":196,"Aring":197,"AElig":198,"Ccedil":199,"Egrave":200,"Eacute":201,"Ecirc":202,"Euml":203,"Igrave":204,"Iacute":205,"Icirc":206,"Iuml":207,"ETH":208,"Ntilde":209,"Ograve":210,"Oacute":211,"Ocirc":212,"Otilde":213,"Ouml":214,"times":215,"Oslash":216,"Ugrave":217,"Uacute":218,"Ucirc":219,"Uuml":220,"Yacute":221,"THORN":222,"szlig":223,"agrave":224,"aacute":225,"acirc":226,"atilde":227,"auml":228,"aring":229,"aelig":230,"ccedil":231,"egrave":232,"eacute":233,"ecirc":234,"euml":235,"igrave":236,"iacute":237,"icirc":238,"iuml":239,"eth":240,"ntilde":241,"ograve":242,"oacute":243,"ocirc":244,"otilde":245,"ouml":246,"divide":247,"oslash":248,"ugrave":249,"uacute":250,"ucirc":251,"uuml":252,"yacute":253,"thorn":254,"yuml":255,"fnof":402,"Alpha":913,"Beta":914,"Gamma":915,"Delta":916,"Epsilon":917,"Zeta":918,"Eta":919,"Theta":920,"Iota":921,"Kappa":922,"Lambda":923,"Mu":924,"Nu":925,"Xi":926,"Omicron":927,"Pi":928,"Rho":929,"Sigma":931,"Tau":932,"Upsilon":933,"Phi":934,"Chi":935,"Psi":936,"Omega":937,"alpha":945,"beta":946,"gamma":947,"delta":948,"epsilon":949,"zeta":950,"eta":951,"theta":952,"iota":953,"kappa":954,"lambda":955,"mu":956,"nu":957,"xi":958,"omicron":959,"pi":960,"rho":961,"sigmaf":962,"sigma":963,"tau":964,"upsilon":965,"phi":966,"chi":967,"psi":968,"omega":969,"thetasym":977,"upsih":978,"piv":982,"bull":8226,"hellip":8230,"prime":8242,"Prime":8243,"oline":8254,"frasl":8260,"weierp":8472,"image":8465,"real":8476,"trade":8482,"alefsym":8501,"larr":8592,"uarr":8593,"rarr":8594,"darr":8595,"harr":8596,"crarr":8629,"lArr":8656,"uArr":8657,"rArr":8658,"dArr":8659,"hArr":8660,"forall":8704,"part":8706,"exist":8707,"empty":8709,"nabla":8711,"isin":8712,"notin":8713,"ni":8715,"prod":8719,"sum":8721,"minus":8722,"lowast":8727,"radic":8730,"prop":8733,"infin":8734,"ang":8736,"and":8743,"or":8744,"cap":8745,"cup":8746,"int":8747,"there4":8756,"sim":8764,"cong":8773,"asymp":8776,"ne":8800,"equiv":8801,"le":8804,"ge":8805,"sub":8834,"sup":8835,"sube":8838,"supe":8839,"oplus":8853,"otimes":8855,"perp":8869,"sdot":8901,"lceil":8968,"rceil":8969,"lfloor":8970,"rfloor":8971,"lang":9001,"rang":9002,"loz":9674,"spades":9824,"clubs":9827,"hearts":9829,"diams":9830,"OElig":338,"oelig":339,"Scaron":352,"scaron":353,"Yuml":376,"circ":710,"tilde":732,"ensp":8194,"emsp":8195,"thinsp":8201,"zwnj":8204,"zwj":8205,"lrm":8206,"rlm":8207,"ndash":8211,"mdash":8212,"lsquo":8216,"rsquo":8217,"sbquo":8218,"ldquo":8220,"rdquo":8221,"bdquo":8222,"dagger":8224,"Dagger":8225,"permil":8240,"lsaquo":8249,"rsaquo":8250,"euro":8364}},defer:function($0,$1,$2){$0.FROM_CHARCODE=qx.lang.Object.invert($0.TO_CHARCODE);}}); >-qx.Class.define($[1224],{statics:{addEventListener:qx.core.Variant.select($[1],{"mshtml":function($0,$1,$2){$0.attachEvent($[23]+$1,$2);},"default":function($0,$1,$2){$0.addEventListener($1,$2,false);}}),removeEventListener:qx.core.Variant.select($[1],{"mshtml":function($0,$1,$2){$0.detachEvent($[23]+$1,$2);},"default":function($0,$1,$2){$0.removeEventListener($1,$2,false);}})}}); >+qx.Class.define($[457],{extend:qx.event.type.Event,construct:function($0,$1,$2){arguments.callee.base.call(this,$0);this.setValue($1);this.setOldValue($2);},properties:{value:{_fast:true},oldValue:{_fast:true}},members:{getData:function(){qx.log.Logger.deprecatedMethodWarning(arguments.callee,$[576]);return this.getValue();}},destruct:function(){this._disposeFields($[1479],$[1276]);}}); >+qx.Class.define($[776],{extend:qx.core.Object,type:$[51],construct:function(){arguments.callee.base.call(this);},statics:{ACCEPT:1,DENY:2,NEUTRAL:3},members:{decide:function($0){throw new Error("decide is abstract");}}}); >+qx.Class.define($[734],{extend:qx.log.Filter,construct:function(){arguments.callee.base.call(this);},properties:{enabled:{check:$[2],init:true},minLevel:{check:$[19],nullable:true}},members:{decide:function($0){var $1=qx.log.Filter;if(!this.getEnabled()){return $1.DENY;}else if(this.getMinLevel()==null){return $1.NEUTRAL;}else{return ($0.level>=this.getMinLevel())?$1.ACCEPT:$1.DENY;}}}}); >+qx.Class.define($[1292],{extend:qx.core.Object,type:$[51],construct:function(){arguments.callee.base.call(this);},members:{addFilter:function($0){if(this._filterArr==null){this._filterArr=[];}this._filterArr.push($0);},clearFilters:function(){this._filterArr=null;},getHeadFilter:function(){return (this._filterArr==null||this._filterArr.length==0)?null:this._filterArr[0];},_getDefaultFilter:function(){var $0=this.getHeadFilter();if(!($0 instanceof qx.log.DefaultFilter)){this.clearFilters();$0=new qx.log.DefaultFilter();this.addFilter($0);}return $0;},setEnabled:function($0){this._getDefaultFilter().setEnabled($0);},setMinLevel:function($0){this._getDefaultFilter().setMinLevel($0);},decideLogEvent:function($0){var $1=qx.log.Filter.NEUTRAL;if(this._filterArr!=null){for(var $2=0;$2<this._filterArr.length;$2++){var $3=this._filterArr[$2].decide($0);if($3!=$1){return $3;}}}return $1;},handleLogEvent:function($0){throw new Error("handleLogEvent is abstract");}},destruct:function(){this._disposeFields($[1098]);}}); >+qx.Class.define($[1772],{extend:qx.log.LogEventProcessor,type:$[51],construct:function(){arguments.callee.base.call(this);},properties:{useLongFormat:{check:$[2],init:true}},members:{handleLogEvent:function($0){if(this.decideLogEvent($0)!=qx.log.Filter.DENY){this.appendLogEvent($0);}},appendLogEvent:function($0){throw new Error("appendLogEvent is abstract");},formatLogEvent:function($0){var $1=qx.log.Logger;var $2=$[0];var $3=new String(new Date().getTime()-qx.core.Bootstrap.LOADSTART);while($3.length<6){$3=$[41]+$3;}$2+=$3;if(this.getUseLongFormat()){switch($0.level){case $1.LEVEL_DEBUG:$2+=$[644];break;case $1.LEVEL_INFO:$2+=$[1496];break;case $1.LEVEL_WARN:$2+=$[640];break;case $1.LEVEL_ERROR:$2+=$[1600];break;case $1.LEVEL_FATAL:$2+=$[1666];break;}}else{$2+=$[234];}var $4=$[0];for(var $5=0;$5<$0.indent;$5++){$4+=$[275];}$2+=$4;if(this.getUseLongFormat()){$2+=$0.logger.getName();if($0.instanceId!=null){$2+=$[512]+$0.instanceId+$[115];}$2+=$[234];}if(typeof $0.message==$[8]){$2+=$0.message;}else{var $6=$0.message;if($6==null){$2+=$[1233];}else{$2+=$[1120]+$6+$[1590];var $7=new Array();try{for(var $8 in $6){$7.push($8);}}catch(exc){$2+=$4+$[1013]+exc+$[423];}$7.sort();for(var $5=0;$5<$7.length;$5++){try{$2+=$4+$[275]+$7[$5]+$[197]+$6[$7[$5]]+$[180];}catch(exc){$2+=$4+$[275]+$7[$5]+$[1235]+exc+$[423];}}$2+=$4+$[1679];}}if($0.throwable!=null){var $9=$0.throwable;if($9.name==null){$2+=$[234]+$9;}else{$2+=$[234]+$9.name;}if($9.message!=null){$2+=$[581]+$9.message;}if($9.number!=null){$2+=$[955]+$9.number+$[145];}var $a=qx.dev.StackTrace.getStackTraceFromError($9);}if($0.trace){var $a=$0.trace;}if($a&&$a.length>0){$2+=$[180];for(var $5=0;$5<$a.length;$5++){$2+=$[856]+$a[$5]+$[180];}}return $2;}}}); >+qx.Class.define($[619],{extend:qx.log.appender.Abstract,construct:function($0){arguments.callee.base.call(this);this._id=qx.log.appender.Window.register(this);this._name=$0;if(this._name==null){var $1=window.location.href;var $2=0;for(var $3=0;$3<$1.length;$3++){$2=($2+$1.charCodeAt($3))%10000000;}this._name=$[668]+$2;}this._errorsPreventingAutoCloseCount=0;this._divDataSets=[];this._filterTextWords=[];this._filterText=$[0];},statics:{_nextId:1,_registeredAppenders:{},register:function($0){var $1=qx.log.appender.Window;var $2=$1._nextId++;$1._registeredAppenders[$2]=$0;return $2;},getAppender:function($0){return qx.log.appender.Window._registeredAppenders[$0];}},properties:{maxMessages:{check:$[5],init:500},popUnder:{check:$[2],init:false},autoCloseWithErrors:{check:$[2],init:true,apply:$[1219]},windowWidth:{check:$[5],init:600},windowHeight:{check:$[5],init:350},windowLeft:{check:$[5],nullable:true},windowTop:{check:$[5],nullable:true}},members:{openWindow:function(){if(this._inLogWindowCallback){return;}this._inLogWindowCallback=true;if(this._logWindow&&!this._logWindow.closed){return ;}var $0=this.getWindowWidth();var $1=this.getWindowHeight();var $2=this.getWindowLeft();if($2===null){$2=window.screen.width-$0;}var $3=this.getWindowTop();if($3===null){$3=window.screen.height-$1;}var $4=$[1059]+$[1392]+$0+$[870]+$1+$[1426]+$2+$[1412]+$3;this._logWindow=window.open($[0],this._name,$4);qx.client.Timer.once(this._openWindowCallback,this,200);},_openWindowCallback:function(){delete this._inLogWindowCallback;if(!this._logWindow||this._logWindow.closed){if(this._popupBlockerWarning){return;}alert("Could not open log window. Please disable your popup blocker!");this._popupBlockerWarning=true;return;}this._popupBlockerWarning=false;if(this.getPopUnder()){this._logWindow.blur();window.focus();}var $0=this._logWindow.document;var $1=qx.core.Variant.isSet($[1],$[13])?$[1091]:$[521];$0.open();$0.write($[1234]+this._name+$[1319]+$[785]+this._id+$[673]+$[1797]+$[563]+$[1445]+$[540]+$[1306]+$[1597]+$[1196]+$[841]+$1+$[789]+$[610]+$[555]+this._filterText+$[709]+$[376]+$[730]+$[1767]+$[376]+$[1703]);$0.close();this._logElem=$0.getElementById($[340]);this._markerBtn=$0.getElementById($[1642]);this._filterInput=$0.getElementById($[144]);this._logLinesDiv=$0.getElementById($[773]);var $2=this;this._markerBtn.onclick=function(){$2._showMessageInLog($[697]);};this._filterInput.onkeyup=function(){$2.setFilterText($2._filterInput.value);};if(this._logEventQueue!=null){for(var $3=0;$3<this._logEventQueue.length;$3++){this.appendLogEvent(this._logEventQueue[$3]);}this._logEventQueue.length=0;}},closeWindow:function(){if(this._logWindow!=null){this._logWindow.close();this._logWindow=null;this._logElem=null;}},_autoCloseWindow:function(){if(this.getAutoCloseWithErrors()||this._errorsPreventingAutoCloseCount==0){this.closeWindow();}else{this._showMessageInLog($[979]+this._errorsPreventingAutoCloseCount+$[829]);}},_showMessageInLog:function($0){var $1={message:$0,isDummyEventForMessage:true};this.appendLogEvent($1);},appendLogEvent:function($0){if(!this._logWindow||this._logWindow.closed){if(!this._logEventQueue){this._logEventQueue=[];}this._logEventQueue.push($0);this.openWindow();}else if(this._logElem==null){this._logEventQueue.push($0);}else{var $1=this._logWindow.document.createElement($[67]);if($0.level>=qx.log.Logger.LEVEL_ERROR){$1.style.backgroundColor=$[1545];if(!this.getAutoCloseWithErrors()){this._errorsPreventingAutoCloseCount+=1;}}else if($0.level==qx.log.Logger.LEVEL_DEBUG){$1.style.color=$[683];}var $2;if($0.isDummyEventForMessage){$2=$0.message;}else{$2=qx.html.String.fromText(this.formatLogEvent($0));}$1.innerHTML=$2;this._logElem.appendChild($1);var $3={txt:$2.toUpperCase(),elem:$1};this._divDataSets.push($3);this._setDivVisibility($3);while(this._logElem.childNodes.length>this.getMaxMessages()){this._logElem.removeChild(this._logElem.firstChild);if(this._removedMessageCount==null){this._removedMessageCount=1;}else{this._removedMessageCount++;}}if(this._removedMessageCount!=null){this._logElem.firstChild.innerHTML=$[316]+this._removedMessageCount+$[458];}this._logLinesDiv.scrollTop=this._logLinesDiv.scrollHeight;}},setFilterText:function($0){if($0==null){$0=$[0];}this._filterText=$0;$0=$0.toUpperCase();this._filterTextWords=$0.split($[83]);for(var $1=0;$1<this._divDataSets.length;$1++){this._setDivVisibility(this._divDataSets[$1]);}},_setDivVisibility:function($0){var $1=true;for(var $2=0;$1&&($2<this._filterTextWords.length);$2++){$1=$0.txt.indexOf(this._filterTextWords[$2])>=0;}$0.elem.style[$[158]]=($1?$[0]:$[7]);},_applyAutoCloseWithErrors:function($0,$1){if(!$0&&$1){this._errorsPreventingAutoCloseCount=0;this._showMessageInLog($[686]);}else if($0&&!$1){this._showMessageInLog($[737]+this._errorsPreventingAutoCloseCount+$[1179]);}}},destruct:function(){try{if(this._markerBtn){this._markerBtn.onclick=null;}if(this._filterInput){this._filterInput.onkeyup=null;}}catch(ex){}this._autoCloseWindow();this._disposeFields($[939],$[1593],$[1681],$[1271],$[1425],$[1183]);}}); >+qx.Class.define($[1603],{extend:qx.core.Target,construct:function($0){arguments.callee.base.call(this);this.setEnabled(false);if($0!=null){this.setInterval($0);}this.__oninterval=qx.lang.Function.bind(this._oninterval,this);},events:{"interval":$[4]},statics:{once:function($0,$1,$2){var $3=new qx.client.Timer($2);$3.addEventListener($[86],function($4){$3.dispose();$0.call($1,$4);$1=null;},$1);$3.start();}},properties:{enabled:{init:true,check:$[2],apply:$[302]},interval:{check:$[5],init:1000,apply:$[1048]}},members:{__intervalHandler:null,_applyInterval:function($0,$1){if(this.getEnabled()){this.restart();}},_applyEnabled:function($0,$1){if($1){window.clearInterval(this.__intervalHandler);this.__intervalHandler=null;}else if($0){this.__intervalHandler=window.setInterval(this.__oninterval,this.getInterval());}},start:function(){this.setEnabled(true);},startWith:function($0){this.setInterval($0);this.start();},stop:function(){this.setEnabled(false);},restart:function(){this.stop();this.start();},restartWith:function($0){this.stop();this.startWith($0);},_oninterval:function(){if(this.getEnabled()){this.createDispatchEvent($[86]);}}},destruct:function(){if(this.__intervalHandler){window.clearInterval(this.__intervalHandler);}this._disposeFields($[1382],$[1782]);}}); >+qx.Class.define($[1385],{extend:qx.log.appender.Abstract,construct:function(){arguments.callee.base.call(this);},members:{appendLogEvent:function($0){if(typeof console!=$[408]){var $1=qx.log.Logger;var $2=this.formatLogEvent($0);switch($0.level){case $1.LEVEL_DEBUG:if(console.debug){console.debug($2);}break;case $1.LEVEL_INFO:if(console.info){console.info($2);}break;case $1.LEVEL_WARN:if(console.warn){console.warn($2);}break;default:if(console.error){console.error($2);}break;}if($0.level>=$1.LEVEL_WARN&&(!$0.throwable||!$0.throwable.stack)&&console.trace){console.trace();}}}}}); >+qx.Class.define($[462],{extend:qx.log.appender.Abstract,construct:function(){arguments.callee.base.call(this);if(typeof console!=$[408]&&console.debug&&!console.emu){this._appender=new qx.log.appender.FireBug;}else{this._appender=new qx.log.appender.Window;}},members:{appendLogEvent:function($0){if(this._appender){return this._appender.appendLogEvent($0);}}},destruct:function(){this._disposeObjects($[1721]);}}); >+qx.Class.define($[1011],{extend:qx.log.LogEventProcessor,construct:function($0,$1){arguments.callee.base.call(this);this._name=$0;this._parentLogger=$1;},statics:{deprecatedMethodWarning:function($0,$1){if(qx.core.Variant.isSet($[263],$[23])){var $2=qx.log.Logger.getClassLogger($0.self||this);var $3=qx.dev.StackTrace.getFunctionName($0);var $4=$0.self?$0.self.classname:$[359];$2.warn("The method '"+$3+"' of class '"+$4+"' is deprecated: "+$1||"Please consult the API documentation of this method for alternatives.");$2.printStackTrace();}},deprecatedClassWarning:function($0,$1){if(qx.core.Variant.isSet($[263],$[23])){var $2=qx.log.Logger.getClassLogger($0);var $3=$0.self?$0.self.classname:$[359];$2.warn("The method class '"+$3+"' is deprecated: "+$1||"Please consult the API documentation of this class for alternatives.");$2.printStackTrace();}},getClassLogger:function($0){var $1=$0._logger;if($1==null){var $2=$0.classname;var $3=$2.split($[24]);var $4=window;var $5=$[0];var $6=qx.log.Logger.ROOT_LOGGER;for(var $7=0;$7<$3.length-1;$7++){$4=$4[$3[$7]];$5+=(($7!=0)?$[24]:$[0])+$3[$7];if($4._logger==null){$4._logger=new qx.log.Logger($5,$6);}$6=$4._logger;}$1=new qx.log.Logger($2,$6);$0._logger=$1;}return $1;},_indent:0,LEVEL_ALL:0,LEVEL_DEBUG:200,LEVEL_INFO:500,LEVEL_WARN:600,LEVEL_ERROR:700,LEVEL_FATAL:800,LEVEL_OFF:1000,ROOT_LOGGER:null},members:{getName:function(){return this._name;},getParentLogger:function(){return this._parentLogger;},indent:function(){qx.log.Logger._indent++;},unindent:function(){qx.log.Logger._indent--;},addAppender:function($0){if(this._appenderArr==null){this._appenderArr=[];}this._appenderArr.push($0);},removeAppender:function($0){if(this._appenderArr!=null){this._appenderArr.remove($0);}},removeAllAppenders:function(){this._appenderArr=null;},handleLogEvent:function($0){var $1=qx.log.Filter;var $2=$1.NEUTRAL;var $3=this;while($2==$1.NEUTRAL&&$3!=null){$2=$3.decideLogEvent($0);$3=$3.getParentLogger();}if($2!=$1.DENY){this.appendLogEvent($0);}},appendLogEvent:function($0){if(this._appenderArr!=null&&this._appenderArr.length!=0){for(var $1=0;$1<this._appenderArr.length;$1++){this._appenderArr[$1].handleLogEvent($0);}}else if(this._parentLogger!=null){this._parentLogger.appendLogEvent($0);}},log:function($0,$1,$2,$3,$4){var $5={logger:this,level:$0,message:$1,throwable:$3,trace:$4,indent:qx.log.Logger._indent,instanceId:$2};this.handleLogEvent($5);},debug:function($0,$1,$2){this.log(qx.log.Logger.LEVEL_DEBUG,$0,$1,$2);},info:function($0,$1,$2){this.log(qx.log.Logger.LEVEL_INFO,$0,$1,$2);},warn:function($0,$1,$2){this.log(qx.log.Logger.LEVEL_WARN,$0,$1,$2);},error:function($0,$1,$2){this.log(qx.log.Logger.LEVEL_ERROR,$0,$1,$2);},fatal:function($0,$1,$2){this.log(qx.log.Logger.LEVEL_FATAL,$0,$1,$2);},measureReset:function(){if(this._totalMeasureTime!=null){this.debug("Measure reset. Total measure time: "+this._totalMeasureTime+" ms");}this._lastMeasureTime=null;this._totalMeasureTime=null;},measure:function($0,$1,$2){if(this._lastMeasureTime==null){$0=$[615]+$0;}else{var $3=new Date().getTime()-this._lastMeasureTime;if(this._totalMeasureTime==null){this._totalMeasureTime=0;}this._totalMeasureTime+=$3;$0=$[831]+$3+$[1024]+$0;}this.debug($0,$1,$2);this._lastMeasureTime=new Date().getTime();},printStackTrace:function(){var $0=qx.dev.StackTrace.getStackTrace();qx.lang.Array.removeAt($0,0);this.log(qx.log.Logger.LEVEL_DEBUG,$[1356],$[0],null,$0);}},settings:{"qx.logAppender":$[462],"qx.minLogLevel":200},defer:function($0){$0.ROOT_LOGGER=new $0("root",null);$0.ROOT_LOGGER.setMinLevel(qx.core.Setting.get($[952]));$0.ROOT_LOGGER.addAppender(new (qx.Class.getByName(qx.core.Setting.get($[603]))));},destruct:function(){this._disposeFields($[1305],$[1054]);}}); >+qx.Class.define($[1607],{statics:{getStackTrace:qx.core.Variant.select($[1],{"gecko":function(){try{throw new Error();}catch(e){var $0=this.getStackTraceFromError(e);qx.lang.Array.removeAt($0,0);var $1=this.getStackTraceFromCaller(arguments);var $2=$1.length>$0.length?$1:$0;for(var $3=0;$3<Math.min($1.length,$0.length);$3++){var $4=$1[$3];if($4.indexOf($[1201])>=0){continue;}var $5=$4.split($[47]);if($5.length!=2){continue;}var $6=$5[0];var $7=$5[1];var $8=$0[$3];var $9=$8.split($[47]);var $a=$9[0];var $b=$9[1];if(qx.Class.getByName($a)){var $c=$a;}else{$c=$6;}var $d=$c+$[47];if($7){$d+=$7+$[47];}$d+=$b;$2[$3]=$d;}return $2;}},"mshtml|webkit":function(){return this.getStackTraceFromCaller(arguments);},"opera":function(){var $0;try{$0.bar();}catch(e){var $1=this.getStackTraceFromError(e);qx.lang.Array.removeAt($1,0);return $1;}return [];}}),getStackTraceFromCaller:qx.core.Variant.select($[1],{"opera":function($0){return [];},"default":function($0){var $1=[];var $2=qx.lang.Function.getCaller($0);var $3={};while($2){var $4=this.getFunctionName($2);$1.push($4);try{$2=$2.caller;}catch(e){break;}if(!$2){break;}var $5=qx.core.Object.toHashCode($2);if($3[$5]){$1.push($[1381]);break;}$3[$5]=$2;}return $1;}}),getStackTraceFromError:qx.core.Variant.select($[1],{"gecko":function($0){if(!$0.stack){return [];}var $1=/@(.+):(\d+)$/gm;var $2;var $3=[];while(($2=$1.exec($0.stack))!=null){var $4=$2[1];var $5=$2[2];var $6=this.__fileNameToClassName($4);$3.push($6+$[47]+$5);}return $3;},"webkit":function($0){if($0.sourceURL&&$0.line){return [this.__fileNameToClassName($0.sourceURL)+$[47]+$0.line];}},"opera":function($0){if($0.message.indexOf("Backtrace:")<0){return [];}var $1=[];var $2=qx.lang.String.trim($0.message.split("Backtrace:")[1]);var $3=$2.split($[180]);for(var $4=0;$4<$3.length;$4++){var $5=$3[$4].match(/\s*Line ([0-9]+) of.* (\S.*)/);if($5&&$5.length>=2){var $6=$5[1];var $7=this.__fileNameToClassName($5[2]);$1.push($7+$[47]+$6);}}return $1;},"default":function(){return [];}}),getFunctionName:function($0){if($0.$$original){return $0.classname+$[702];}if($0.wrapper){return $0.wrapper.classname+$[480];}if($0.classname){return $0.classname+$[480];}if($0.mixin){for(var $1 in $0.mixin.$$members){if($0.mixin.$$members[$1]==$0){return $0.mixin.name+$[47]+$1;}}for(var $1 in $0.mixin){if($0.mixin[$1]==$0){return $0.mixin.name+$[47]+$1;}}}if($0.self){var $2=$0.self.constructor;if($2){for(var $1 in $2.prototype){if($2.prototype[$1]==$0){return $2.classname+$[47]+$1;}}for(var $1 in $2){if($2[$1]==$0){return $2.classname+$[47]+$1;}}}}var $3=$0.toString().match(/(function\s*\w*\(.*?\))/);if($3&&$3.length>=1&&$3[1]){return $3[1];}var $3=$0.toString().match(/(function\s*\(.*?\))/);if($3&&$3.length>=1&&$3[1]){return $[953]+$3[1];}return $[1621];},__fileNameToClassName:function($0){var $1=$[1284];var $2=$0.indexOf($1);var $3=($2==-1)?$0:$0.substring($2+$1.length).replace(/\//g,$[24]).replace(/\.js$/,$[0]);return $3;}}}); >+qx.Class.define($[1591],{statics:{escape:function($0){return qx.dom.String.escapeEntities($0,qx.html.Entity.FROM_CHARCODE);},unescape:function($0){return qx.dom.String.unescapeEntities($0,qx.html.Entity.TO_CHARCODE);},fromText:function($0){return qx.html.String.escape($0).replace(/( |\n)/g,function($1){var $2={" ":$[600],"\n":$[484]};return $2[$1]||$1;});},toText:function($0){return qx.html.String.unescape($0.replace(/\s+|<([^>])+>/gi,function($1){if(/\s+/.test($1)){return $[83];}else if(/^<BR|^<br/gi.test($1)){return $[180];}else{return $[0];}}));}}}); >+qx.Class.define($[1166],{statics:{escapeEntities:qx.core.Variant.select($[1],{"mshtml":function($0,$1){var $2,$3=[];for(var $4=0,$5=$0.length;$4<$5;$4++){var $6=$0.charAt($4);var $7=$6.charCodeAt(0);if($1[$7]){$2=$[93]+$1[$7]+$[79];}else{if($7>0x7F){$2=$[435]+$7+$[79];}else{$2=$6;}}$3[$3.length]=$2;}return $3.join($[0]);},"default":function($0,$1){var $2,$3=$[0];for(var $4=0,$5=$0.length;$4<$5;$4++){var $6=$0.charAt($4);var $7=$6.charCodeAt(0);if($1[$7]){$2=$[93]+$1[$7]+$[79];}else{if($7>0x7F){$2=$[435]+$7+$[79];}else{$2=$6;}}$3+=$2;}return $3;}}),unescapeEntities:function($0,$1){return $0.replace(/&[#\w]+;/gi,function($2){var $3=$2;var $2=$2.substring(1,$2.length-1);var $4=$1[$2];if($4){$3=String.fromCharCode($4);}else{if($2.charAt(0)==$[849]){if($2.charAt(1).toUpperCase()==$[1034]){$4=$2.substring(2);if($4.match(/^[0-9A-Fa-f]+$/gi)){$3=String.fromCharCode(parseInt($[1021]+$4));}}else{$4=$2.substring(1);if($4.match(/^\d+$/gi)){$3=String.fromCharCode(parseInt($4));}}}}return $3;});},stripTags:function($0){return $0.replace(/<\/?[^>]+>/gi,$[0]);}}}); >+qx.Class.define($[1199],{statics:{TO_CHARCODE:{"quot":34,"amp":38,"lt":60,"gt":62,"nbsp":160,"iexcl":161,"cent":162,"pound":163,"curren":164,"yen":165,"brvbar":166,"sect":167,"uml":168,"copy":169,"ordf":170,"laquo":171,"not":172,"shy":173,"reg":174,"macr":175,"deg":176,"plusmn":177,"sup2":178,"sup3":179,"acute":180,"micro":181,"para":182,"middot":183,"cedil":184,"sup1":185,"ordm":186,"raquo":187,"frac14":188,"frac12":189,"frac34":190,"iquest":191,"Agrave":192,"Aacute":193,"Acirc":194,"Atilde":195,"Auml":196,"Aring":197,"AElig":198,"Ccedil":199,"Egrave":200,"Eacute":201,"Ecirc":202,"Euml":203,"Igrave":204,"Iacute":205,"Icirc":206,"Iuml":207,"ETH":208,"Ntilde":209,"Ograve":210,"Oacute":211,"Ocirc":212,"Otilde":213,"Ouml":214,"times":215,"Oslash":216,"Ugrave":217,"Uacute":218,"Ucirc":219,"Uuml":220,"Yacute":221,"THORN":222,"szlig":223,"agrave":224,"aacute":225,"acirc":226,"atilde":227,"auml":228,"aring":229,"aelig":230,"ccedil":231,"egrave":232,"eacute":233,"ecirc":234,"euml":235,"igrave":236,"iacute":237,"icirc":238,"iuml":239,"eth":240,"ntilde":241,"ograve":242,"oacute":243,"ocirc":244,"otilde":245,"ouml":246,"divide":247,"oslash":248,"ugrave":249,"uacute":250,"ucirc":251,"uuml":252,"yacute":253,"thorn":254,"yuml":255,"fnof":402,"Alpha":913,"Beta":914,"Gamma":915,"Delta":916,"Epsilon":917,"Zeta":918,"Eta":919,"Theta":920,"Iota":921,"Kappa":922,"Lambda":923,"Mu":924,"Nu":925,"Xi":926,"Omicron":927,"Pi":928,"Rho":929,"Sigma":931,"Tau":932,"Upsilon":933,"Phi":934,"Chi":935,"Psi":936,"Omega":937,"alpha":945,"beta":946,"gamma":947,"delta":948,"epsilon":949,"zeta":950,"eta":951,"theta":952,"iota":953,"kappa":954,"lambda":955,"mu":956,"nu":957,"xi":958,"omicron":959,"pi":960,"rho":961,"sigmaf":962,"sigma":963,"tau":964,"upsilon":965,"phi":966,"chi":967,"psi":968,"omega":969,"thetasym":977,"upsih":978,"piv":982,"bull":8226,"hellip":8230,"prime":8242,"Prime":8243,"oline":8254,"frasl":8260,"weierp":8472,"image":8465,"real":8476,"trade":8482,"alefsym":8501,"larr":8592,"uarr":8593,"rarr":8594,"darr":8595,"harr":8596,"crarr":8629,"lArr":8656,"uArr":8657,"rArr":8658,"dArr":8659,"hArr":8660,"forall":8704,"part":8706,"exist":8707,"empty":8709,"nabla":8711,"isin":8712,"notin":8713,"ni":8715,"prod":8719,"sum":8721,"minus":8722,"lowast":8727,"radic":8730,"prop":8733,"infin":8734,"ang":8736,"and":8743,"or":8744,"cap":8745,"cup":8746,"int":8747,"there4":8756,"sim":8764,"cong":8773,"asymp":8776,"ne":8800,"equiv":8801,"le":8804,"ge":8805,"sub":8834,"sup":8835,"sube":8838,"supe":8839,"oplus":8853,"otimes":8855,"perp":8869,"sdot":8901,"lceil":8968,"rceil":8969,"lfloor":8970,"rfloor":8971,"lang":9001,"rang":9002,"loz":9674,"spades":9824,"clubs":9827,"hearts":9829,"diams":9830,"OElig":338,"oelig":339,"Scaron":352,"scaron":353,"Yuml":376,"circ":710,"tilde":732,"ensp":8194,"emsp":8195,"thinsp":8201,"zwnj":8204,"zwj":8205,"lrm":8206,"rlm":8207,"ndash":8211,"mdash":8212,"lsquo":8216,"rsquo":8217,"sbquo":8218,"ldquo":8220,"rdquo":8221,"bdquo":8222,"dagger":8224,"Dagger":8225,"permil":8240,"lsaquo":8249,"rsaquo":8250,"euro":8364}},defer:function($0,$1,$2){$0.FROM_CHARCODE=qx.lang.Object.invert($0.TO_CHARCODE);}}); >+qx.Class.define($[1223],{statics:{addEventListener:qx.core.Variant.select($[1],{"mshtml":function($0,$1,$2){$0.attachEvent($[23]+$1,$2);},"default":function($0,$1,$2){$0.addEventListener($1,$2,false);}}),removeEventListener:qx.core.Variant.select($[1],{"mshtml":function($0,$1,$2){$0.detachEvent($[23]+$1,$2);},"default":function($0,$1,$2){$0.removeEventListener($1,$2,false);}})}}); > qx.Class.define($[1086],{type:$[18],extend:qx.core.Target,construct:function(){arguments.callee.base.call(this);this._onloadWrapped=qx.lang.Function.bind(this._onload,this);this._onbeforeunloadWrapped=qx.lang.Function.bind(this._onbeforeunload,this);this._onunloadWrapped=qx.lang.Function.bind(this._onunload,this);qx.html.EventRegistration.addEventListener(window,$[82],this._onloadWrapped);qx.html.EventRegistration.addEventListener(window,$[251],this._onbeforeunloadWrapped);qx.html.EventRegistration.addEventListener(window,$[131],this._onunloadWrapped);},events:{"load":$[4],"beforeunload":$[4],"unload":$[4]},properties:{application:{nullable:true,check:function($0){if(typeof $0==$[37]){throw new Error("The application property takes an application instance as parameter "+"and no longer a class/constructor. You may have to fix your 'index.html'.");}return $0&&qx.Class.hasInterface($0.constructor,qx.application.IApplication);}}},members:{_autoDispose:false,_onload:function($0){if(this._onloadDone){return;}this._onloadDone=true;this.createDispatchEvent($[82]);this.debug("qooxdoo "+qx.core.Version.toString());{};this.debug("loaded "+qx.Class.getTotalNumber()+" classes");this.debug("loaded "+qx.Interface.getTotalNumber()+" interfaces");this.debug("loaded "+qx.Mixin.getTotalNumber()+" mixins");if(qx.Theme){this.debug("loaded "+qx.Theme.getTotalNumber()+" themes");}if(qx.locale&&qx.locale.Manager){this.debug("loaded "+qx.locale.Manager.getInstance().getAvailableLocales().length+" locales");}var $1=qx.core.Client.getInstance();this.debug("client: "+$1.getEngine()+"-"+$1.getMajor()+"."+$1.getMinor()+"/"+$1.getPlatform()+"/"+$1.getLocale());this.debug("browser: "+$1.getBrowser()+"/"+($1.supportsSvg()?"svg":$1.supportsVml()?"vml":"none"));{};if(!this.getApplication()){var $2=qx.Class.getByName(qx.core.Setting.get($[599]));if($2){this.setApplication(new $2(this));}}if(!this.getApplication()){return;}this.debug("application: "+this.getApplication().classname+"["+this.getApplication().toHashCode()+"]");var $3=new Date;this.getApplication().main();this.info("main runtime: "+(new Date-$3)+"ms");},_onbeforeunload:function($0){this.createDispatchEvent($[251]);if(this.getApplication()){var $1=this.getApplication().close();if($1!=null){$0.returnValue=$1;}}},_onunload:function($0){this.createDispatchEvent($[131]);if(this.getApplication()){this.getApplication().terminate();}qx.core.Object.dispose(true);}},settings:{"qx.application":$[325]},destruct:function(){qx.html.EventRegistration.removeEventListener(window,$[82],this._onloadWrapped);qx.html.EventRegistration.removeEventListener(window,$[251],this._onbeforeunloadWrapped);qx.html.EventRegistration.removeEventListener(window,$[131],this._onunloadWrapped);},defer:function($0,$1,$2){$0.getInstance();}}); >-qx.Interface.define($[951],{members:{main:function(){return true;},close:function(){return true;},terminate:function(){return true;}}}); >-qx.Class.define($[999],{statics:{major:0,minor:0,revision:0,state:$[0],svn:0,folder:$[0],toString:function(){return this.major+$[24]+this.minor+(this.revision==0?$[0]:$[24]+this.revision)+(this.state==$[0]?$[0]:$[137]+this.state)+(this.svn==0?$[0]:$[1646]+this.svn+$[145])+(this.folder==$[0]?$[0]:$[1801]+this.folder+$[115]);},__init:function(){var $0=qx.core.Setting.get($[618]).split($[83]);var $1=$0.shift();var $2=$0.join($[83]);if(/([0-9]+)\.([0-9]+)(\.([0-9]))?(-([a-z0-9]+))?/.test($1)){this.major=(RegExp.$1!=$[0]?parseInt(RegExp.$1):0);this.minor=(RegExp.$2!=$[0]?parseInt(RegExp.$2):0);this.revision=(RegExp.$4!=$[0]?parseInt(RegExp.$4):0);this.state=typeof RegExp.$6==$[8]?RegExp.$6:$[0];}if(/(\(r([0-9]+)\))?(\s\[([a-zA-Z0-9_-]+)\])?/.test($2)){this.svn=(RegExp.$2!=$[0]?parseInt(RegExp.$2):0);this.folder=typeof RegExp.$4==$[8]?RegExp.$4:$[0];}}},settings:{"qx.version":$[961]},defer:function($0){$0.__init();}}); >+qx.Interface.define($[950],{members:{main:function(){return true;},close:function(){return true;},terminate:function(){return true;}}}); >+qx.Class.define($[998],{statics:{major:0,minor:0,revision:0,state:$[0],svn:0,folder:$[0],toString:function(){return this.major+$[24]+this.minor+(this.revision==0?$[0]:$[24]+this.revision)+(this.state==$[0]?$[0]:$[137]+this.state)+(this.svn==0?$[0]:$[1645]+this.svn+$[145])+(this.folder==$[0]?$[0]:$[1801]+this.folder+$[115]);},__init:function(){var $0=qx.core.Setting.get($[618]).split($[83]);var $1=$0.shift();var $2=$0.join($[83]);if(/([0-9]+)\.([0-9]+)(\.([0-9]))?(-([a-z0-9]+))?/.test($1)){this.major=(RegExp.$1!=$[0]?parseInt(RegExp.$1):0);this.minor=(RegExp.$2!=$[0]?parseInt(RegExp.$2):0);this.revision=(RegExp.$4!=$[0]?parseInt(RegExp.$4):0);this.state=typeof RegExp.$6==$[8]?RegExp.$6:$[0];}if(/(\(r([0-9]+)\))?(\s\[([a-zA-Z0-9_-]+)\])?/.test($2)){this.svn=(RegExp.$2!=$[0]?parseInt(RegExp.$2):0);this.folder=typeof RegExp.$4==$[8]?RegExp.$4:$[0];}}},settings:{"qx.version":$[960]},defer:function($0){$0.__init();}}); >+qx.Class.define($[1751],{extend:qx.core.Target,implement:qx.application.IApplication,members:{main:function(){},close:function(){},terminate:function(){}}}); >+qx.Class.define($[1047],{statics:{loadPart:function($0,$1,$2){window.qxloader.loadPart($0,$1,$2);},loadScript:function($0,$1,$2){window.qxloader.loadScript($0,$1,$2);}}}); > qx.Class.define($[1775],{statics:{define:function($0,$1){qx.Class.createNamespace($0,$1);qx.locale.Manager.getInstance().addTranslationFromClass($0,$1);}}}); >-qx.Class.define($[1693],{type:$[51],extend:qx.core.Target,construct:function(){arguments.callee.base.call(this);this._registry={};this._dynamic={};},members:{connect:function($0,$1,$2){{};var $3=$[477]+$1.toHashCode()+$[207]+qx.core.Object.toHashCode($0);var $4=this._registry;if($2!==null&&this._preprocess){$2=this._preprocess($2);}if(this.isDynamic($2)){$4[$3]={callback:$0,object:$1,value:$2};}else if($4[$3]){delete $4[$3];}$0.call($1,this.resolveDynamic($2)||$2);},resolveDynamic:function($0){return this._dynamic[$0];},isDynamic:function($0){return this._dynamic[$0]!==undefined;},_updateObjects:function(){var $0=this._registry;var $1;for(var $2 in $0){$1=$0[$2];$1.callback.call($1.object,this.resolveDynamic($1.value));}}},destruct:function(){this._disposeFields($[1551],$[1509]);}}); >-qx.Class.define($[649],{type:$[18],extend:qx.util.manager.Value,construct:function(){arguments.callee.base.call(this);this._translationCatalog={};this.setLocale(qx.core.Client.getInstance().getLocale()||this._defaultLocale);},statics:{tr:function($0,$1){var $2=qx.lang.Array.fromArguments(arguments);$2.splice(0,1);return new qx.locale.LocalizedString($0,$2);},trn:function($0,$1,$2,$3){var $4=qx.lang.Array.fromArguments(arguments);$4.splice(0,3);if($2>1){return new qx.locale.LocalizedString($1,$4);}else{return new qx.locale.LocalizedString($0,$4);}},trc:function($0,$1,$2){var $3=qx.lang.Array.fromArguments(arguments);$3.splice(0,2);return new qx.locale.LocalizedString($1,$3);},marktr:function($0){return $0;}},properties:{locale:{check:$[6],nullable:true,apply:$[566],event:$[220]}},members:{_defaultLocale:$[676],getLanguage:function(){return this._language;},getTerritory:function(){return this.getLocale().split($[155])[1]||$[0];},getAvailableLocales:function(){var $0=[];for(var $1 in this._translationCatalog){if($1!=this._defaultLocale){$0.push($1);}}return $0;},_extractLanguage:function($0){var $1;var $2=$0.indexOf($[155]);if($2==-1){$1=$0;}else{$1=$0.substring(0,$2);}return $1;},_applyLocale:function($0,$1){this._locale=$0;this._language=this._extractLanguage($0);this._updateObjects();},addTranslation:function($0,$1){if(this._translationCatalog[$0]){for(var $2 in $1){this._translationCatalog[$0][$2]=$1[$2];}}else{this._translationCatalog[$0]=$1;}},addTranslationFromClass:function($0,$1){this.addTranslation($0.substring($0.lastIndexOf($[24])+1),$1);},translate:function($0,$1,$2){var $3;if($2){var $4=this._extractLanguage($2);}else{$2=this._locale;$4=this._language;}if(!$3&&this._translationCatalog[$2]){$3=this._translationCatalog[$2][$0];}if(!$3&&this._translationCatalog[$4]){$3=this._translationCatalog[$4][$0];}if(!$3&&this._translationCatalog[this._defaultLocale]){$3=this._translationCatalog[this._defaultLocale][$0];}if(!$3){$3=$0;}if($1.length>0){$3=qx.lang.String.format($3,$1);}return $3;},isDynamic:function($0){return $0 instanceof qx.locale.LocalizedString;},resolveDynamic:function($0){return $0.toString();}},destruct:function(){this._disposeFields($[912]);}}); >+qx.Class.define($[1693],{type:$[51],extend:qx.core.Target,construct:function(){arguments.callee.base.call(this);this._registry={};this._dynamic={};},members:{connect:function($0,$1,$2){{};var $3=$[478]+$1.toHashCode()+$[207]+qx.core.Object.toHashCode($0);var $4=this._registry;if($2!==null&&this._preprocess){$2=this._preprocess($2);}if(this.isDynamic($2)){$4[$3]={callback:$0,object:$1,value:$2};}else if($4[$3]){delete $4[$3];}$0.call($1,this.resolveDynamic($2)||$2);},resolveDynamic:function($0){return this._dynamic[$0];},isDynamic:function($0){return this._dynamic[$0]!==undefined;},_updateObjects:function(){var $0=this._registry;var $1;for(var $2 in $0){$1=$0[$2];$1.callback.call($1.object,this.resolveDynamic($1.value));}}},destruct:function(){this._disposeFields($[1551],$[1508]);}}); >+qx.Class.define($[649],{type:$[18],extend:qx.util.manager.Value,construct:function(){arguments.callee.base.call(this);this._translationCatalog={};this.setLocale(qx.core.Client.getInstance().getLocale()||this._defaultLocale);},statics:{tr:function($0,$1){var $2=qx.lang.Array.fromArguments(arguments);$2.splice(0,1);return new qx.locale.LocalizedString($0,$2);},trn:function($0,$1,$2,$3){var $4=qx.lang.Array.fromArguments(arguments);$4.splice(0,3);if($2>1){return new qx.locale.LocalizedString($1,$4);}else{return new qx.locale.LocalizedString($0,$4);}},trc:function($0,$1,$2){var $3=qx.lang.Array.fromArguments(arguments);$3.splice(0,2);return new qx.locale.LocalizedString($1,$3);},marktr:function($0){return $0;}},properties:{locale:{check:$[6],nullable:true,apply:$[566],event:$[220]}},members:{_defaultLocale:$[677],getLanguage:function(){return this._language;},getTerritory:function(){return this.getLocale().split($[155])[1]||$[0];},getAvailableLocales:function(){var $0=[];for(var $1 in this._translationCatalog){if($1!=this._defaultLocale){$0.push($1);}}return $0;},_extractLanguage:function($0){var $1;var $2=$0.indexOf($[155]);if($2==-1){$1=$0;}else{$1=$0.substring(0,$2);}return $1;},_applyLocale:function($0,$1){this._locale=$0;this._language=this._extractLanguage($0);this._updateObjects();},addTranslation:function($0,$1){if(this._translationCatalog[$0]){for(var $2 in $1){this._translationCatalog[$0][$2]=$1[$2];}}else{this._translationCatalog[$0]=$1;}},addTranslationFromClass:function($0,$1){this.addTranslation($0.substring($0.lastIndexOf($[24])+1),$1);},translate:function($0,$1,$2){var $3;if($2){var $4=this._extractLanguage($2);}else{$2=this._locale;$4=this._language;}if(!$3&&this._translationCatalog[$2]){$3=this._translationCatalog[$2][$0];}if(!$3&&this._translationCatalog[$4]){$3=this._translationCatalog[$4][$0];}if(!$3&&this._translationCatalog[this._defaultLocale]){$3=this._translationCatalog[this._defaultLocale][$0];}if(!$3){$3=$0;}if($1.length>0){$3=qx.lang.String.format($3,$1);}return $3;},isDynamic:function($0){return $0 instanceof qx.locale.LocalizedString;},resolveDynamic:function($0){return $0.toString();}},destruct:function(){this._disposeFields($[912]);}}); > qx.Class.define($[906],{extend:qx.core.Object,construct:function($0,$1,$2){arguments.callee.base.call(this);this.setId($0);this._locale=$2;var $3=[];for(var $4=0;$4<$1.length;$4++){var $5=$1[$4];if($5 instanceof qx.locale.LocalizedString){$3.push($5);}else{$3.push($5+$[0]);}}this.setArgs($3);},properties:{id:{check:$[6],nullable:true},args:{nullable:true,dispose:true}},members:{_autoDispose:false,toString:function(){return qx.locale.Manager.getInstance().translate(this.getId(),this.getArgs(),this._locale);}}}); >-qx.Class.define($[1488],{statics:{isValid:function($0){switch(typeof $0){case $[65]:return false;case $[28]:return $0!==null;case $[8]:return $0!==$[0];case $[50]:return !isNaN($0);case $[37]:case $[58]:return true;}return false;},isInvalid:function($0){switch(typeof $0){case $[65]:return true;case $[28]:return $0===null;case $[8]:return $0===$[0];case $[50]:return isNaN($0);case $[37]:case $[58]:return false;}return true;},isValidNumber:function($0){return typeof $0===$[50]&&!isNaN($0);},isInvalidNumber:function($0){return typeof $0!==$[50]||isNaN($0);},isValidString:function($0){return typeof $0===$[8]&&$0!==$[0];},isInvalidString:function($0){return typeof $0!==$[8]||$0===$[0];},isValidArray:function($0){return typeof $0===$[28]&&$0!==null&&$0 instanceof Array;},isInvalidArray:function($0){return typeof $0!==$[28]||$0===null||!($0 instanceof Array);},isValidObject:function($0){return typeof $0===$[28]&&$0!==null&&!($0 instanceof Array);},isInvalidObject:function($0){return typeof $0!==$[28]||$0===null||$0 instanceof Array;},isValidNode:function($0){return typeof $0===$[28]&&$0!==null;},isInvalidNode:function($0){return typeof $0!==$[28]||$0===null;},isValidElement:function($0){return typeof $0===$[28]&&$0!==null||$0.nodeType!==1;},isInvalidElement:function($0){return typeof $0!==$[28]||$0===null||$0.nodeType!==1;},isValidFunction:function($0){return typeof $0===$[37];},isInvalidFunction:function($0){return typeof $0!==$[37];},isValidBoolean:function($0){return typeof $0===$[58];},isInvalidBoolean:function($0){return typeof $0!==$[58];},isValidStringOrNumber:function($0){switch(typeof $0){case $[8]:return $0!==$[0];case $[50]:return !isNaN($0);}return false;},isInvalidStringOrNumber:function($0){switch(typeof $0){case $[8]:return $0===$[0];case $[50]:return isNaN($0);}return false;}}}); >-qx.Class.define($[1048],{statics:{loadPart:function($0,$1,$2){window.qxloader.loadPart($0,$1,$2);},loadScript:function($0,$1,$2){window.qxloader.loadScript($0,$1,$2);}}}); >-qx.Class.define($[1751],{extend:qx.core.Target,implement:qx.application.IApplication,members:{main:function(){},close:function(){},terminate:function(){}}}); >-qx.Class.define($[1053],{statics:{includeFile:function($0){var $1=document.createElement($[1369]);$1.type=$[438];$1.rel=$[1690];$1.href=$0;var $2=document.getElementsByTagName($[506])[0];$2.appendChild($1);},createElement:qx.lang.Object.select(document.createStyleSheet?$[141]:$[48],{"ie4+":function($0){var $1=document.createStyleSheet();if($0){$1.cssText=$0;}return $1;},"other":function($0){var $1=document.createElement($[44]);$1.type=$[438];$1.appendChild(document.createTextNode($0||$[1174]));document.getElementsByTagName($[506])[0].appendChild($1);if($1.sheet){return $1.sheet;}else{var $2=document.styleSheets;for(var $3=$2.length-1;$3>=0;$3--){if($2[$3].ownerNode==$1){return $2[$3];}}}throw $[1529];}}),addRule:qx.lang.Object.select(document.createStyleSheet?$[141]:$[48],{"ie4+":function($0,$1,$2){$0.addRule($1,$2);},"other":qx.lang.Object.select(qx.core.Client.getInstance().isSafari2()?$[247]:$[48],{"safari2+":function($0,$1,$2){if(!$0._qxRules){$0._qxRules={};}if(!$0._qxRules[$1]){var $3=document.createTextNode($1+$[450]+$2+$[277]);$0.ownerNode.appendChild($3);$0._qxRules[$1]=$3;}},"other":function($0,$1,$2){$0.insertRule($1+$[450]+$2+$[277],$0.cssRules.length);}})}),removeRule:qx.lang.Object.select(document.createStyleSheet?$[141]:$[48],{"ie4+":function($0,$1){var $2=$0.rules;var $3=$2.length;for(var $4=$3-1;$4>=0;$4--){if($2[$4].selectorText==$1){$0.removeRule($4);}}},"other":qx.lang.Object.select(qx.core.Client.getInstance().isSafari2()?$[247]:$[48],{"safari2+":function($0,$1){var $2=function(){qx.log.Logger.ROOT_LOGGER.warn("In Safari/Webkit you can only remove rules that are created using qx.html.StyleSheet.addRule");};if(!$0._qxRules){$2();}var $3=$0._qxRules[$1];if($3){$0.ownerNode.removeChild($3);$0._qxRules[$1]=null;}else{$2();}},"other":function($0,$1){var $2=$0.cssRules;var $3=$2.length;for(var $4=$3-1;$4>=0;$4--){if($2[$4].selectorText==$1){$0.deleteRule($4);}}}})}),removeAllRules:qx.lang.Object.select(document.createStyleSheet?$[141]:$[48],{"ie4+":function($0){var $1=$0.rules;var $2=$1.length;for(var $3=$2-1;$3>=0;$3--){$0.removeRule($3);}},"other":qx.lang.Object.select(qx.core.Client.getInstance().isSafari2()?$[247]:$[48],{"safari2+":function($0){var $1=$0.ownerNode;var $2=$1.childNodes;while($2.length>0){$1.removeChild($2[0]);}},"other":function($0){var $1=$0.cssRules;var $2=$1.length;for(var $3=$2-1;$3>=0;$3--){$0.deleteRule($3);}}})}),addImport:qx.lang.Object.select(document.createStyleSheet?$[141]:$[48],{"ie4+":function($0,$1){$0.addImport($1);},"other":qx.lang.Object.select(qx.core.Client.getInstance().isSafari2()?$[247]:$[48],{"safari2+":function($0,$1){$0.ownerNode.appendChild(document.createTextNode($[517]+$1+$[399]));},"other":function($0,$1){$0.insertRule($[517]+$1+$[399],$0.cssRules.length);}})}),removeImport:qx.lang.Object.select(document.createStyleSheet?$[141]:$[48],{"ie4+":function($0,$1){var $2=$0.imports;var $3=$2.length;for(var $4=$3-1;$4>=0;$4--){if($2[$4].href==$1){$0.removeImport($4);}}},"other":function($0,$1){var $2=$0.cssRules;var $3=$2.length;for(var $4=$3-1;$4>=0;$4--){if($2[$4].href==$1){$0.deleteRule($4);}}}}),removeAllImports:qx.lang.Object.select(document.createStyleSheet?$[141]:$[48],{"ie4+":function($0){var $1=$0.imports;var $2=$1.length;for(var $3=$2-1;$3>=0;$3--){$0.removeImport($3);}},"other":function($0){var $1=$0.cssRules;var $2=$1.length;for(var $3=$2-1;$3>=0;$3--){if($1[$3].type==$1[$3].IMPORT_RULE){$0.deleteRule($3);}}}})}}); >-qx.Class.define($[756],{statics:{getLeftSum:function($0){var $1=0;var $2=$0.parentNode;while($2.nodeType==1){$1+=$2.scrollLeft;$2=$2.parentNode;}return $1;},getTopSum:function($0){var $1=0;var $2=$0.parentNode;while($2.nodeType==1){$1+=$2.scrollTop;$2=$2.parentNode;}return $1;}}}); >-qx.Class.define($[1727],{statics:{scrollX:function($0,$1){var $2,$3,$4,$5;var $6=$0.parentNode;var $7=$0.offsetLeft;var $4=$0.offsetWidth;while($6){switch(qx.html.Style.getStyleProperty($6,$[63])){case $[26]:case $[3]:case $[281]:$5=true;break;default:switch(qx.html.Style.getStyleProperty($6,$[175])){case $[26]:case $[3]:$5=true;break;default:$5=false;}}if($5){$2=$6.clientWidth;$3=$6.scrollLeft;if($1){$6.scrollLeft=$7;}else if($1==false){$6.scrollLeft=$7+$4-$2;}else if($4>$2||$7<$3){$6.scrollLeft=$7;}else if(($7+$4)>($3+$2)){$6.scrollLeft=$7+$4-$2;}$7=$6.offsetLeft;$4=$6.offsetWidth;}else{$7+=$6.offsetLeft;}if($6.tagName.toLowerCase()==$[126]){break;}$6=$6.offsetParent;}return true;},scrollY:function($0,$1){var $2,$3,$4,$5;var $6=$0.parentNode;var $7=$0.offsetTop;var $4=$0.offsetHeight;while($6){switch(qx.html.Style.getStyleProperty($6,$[63])){case $[26]:case $[3]:case $[274]:$5=true;break;default:switch(qx.html.Style.getStyleProperty($6,$[179])){case $[26]:case $[3]:$5=true;break;default:$5=false;}}if($5){$2=$6.clientHeight;$3=$6.scrollTop;if($1){$6.scrollTop=$7;}else if($1==false){$6.scrollTop=$7+$4-$2;}else if($4>$2||$7<$3){$6.scrollTop=$7;}else if(($7+$4)>($3+$2)){$6.scrollTop=$7+$4-$2;}$7=$6.offsetTop;$4=$6.offsetHeight;}else{$7+=$6.offsetTop;}if($6.tagName.toLowerCase()==$[126]){break;}$6=$6.offsetParent;}return true;}}}); >-qx.Class.define($[1773],{statics:{getStylePropertySure:qx.lang.Object.select((document.defaultView&&document.defaultView.getComputedStyle)?$[443]:$[383],{"hasComputed":function($0,$1){return !$0?null:$0.ownerDocument?$0.ownerDocument.defaultView.getComputedStyle($0,$[0])[$1]:$0.style[$1];},"noComputed":qx.core.Variant.select($[1],{"mshtml":function($0,$1){try{if(!$0){return null;}if($0.parentNode&&$0.currentStyle){return $0.currentStyle[$1];}else{var $2=$0.runtimeStyle[$1];if($2!=null&&typeof $2!=$[65]&&$2!=$[0]){return $2;}return $0.style[$1];}}catch(ex){throw new Error("Could not evaluate computed style: "+$0+"["+$1+"]: "+ex);}},"default":function($0,$1){return !$0?null:$0.style[$1];}})}),getStyleProperty:qx.lang.Object.select((document.defaultView&&document.defaultView.getComputedStyle)?$[443]:$[383],{"hasComputed":function($0,$1){try{return $0.ownerDocument.defaultView.getComputedStyle($0,$[0])[$1];}catch(ex){throw new Error("Could not evaluate computed style: "+$0+"["+$1+"]: "+ex);}},"noComputed":qx.core.Variant.select($[1],{"mshtml":function($0,$1){try{return $0.currentStyle[$1];}catch(ex){throw new Error("Could not evaluate computed style: "+$0+"["+$1+"]: "+ex);}},"default":function($0,$1){try{return $0.style[$1];}catch(ex){throw new Error("Could not evaluate computed style: "+$0+"["+$1+"]");}}})}),getStyleSize:function($0,$1){return parseInt(qx.html.Style.getStyleProperty($0,$1))||0;},getMarginLeft:function($0){return qx.html.Style.getStyleSize($0,$[159]);},getMarginTop:function($0){return qx.html.Style.getStyleSize($0,$[153]);},getMarginRight:function($0){return qx.html.Style.getStyleSize($0,$[225]);},getMarginBottom:function($0){return qx.html.Style.getStyleSize($0,$[211]);},getPaddingLeft:function($0){return qx.html.Style.getStyleSize($0,$[242]);},getPaddingTop:function($0){return qx.html.Style.getStyleSize($0,$[215]);},getPaddingRight:function($0){return qx.html.Style.getStyleSize($0,$[245]);},getPaddingBottom:function($0){return qx.html.Style.getStyleSize($0,$[231]);},getBorderLeft:function($0){return qx.html.Style.getStyleProperty($0,$[814])==$[7]?0:qx.html.Style.getStyleSize($0,$[72]);},getBorderTop:function($0){return qx.html.Style.getStyleProperty($0,$[918])==$[7]?0:qx.html.Style.getStyleSize($0,$[68]);},getBorderRight:function($0){return qx.html.Style.getStyleProperty($0,$[935])==$[7]?0:qx.html.Style.getStyleSize($0,$[423]);},getBorderBottom:function($0){return qx.html.Style.getStyleProperty($0,$[547])==$[7]?0:qx.html.Style.getStyleSize($0,$[342]);}}}); >-qx.Class.define($[1292],{statics:{getPageOuterLeft:function($0){return qx.html.Location.getPageBoxLeft($0)-qx.html.Style.getMarginLeft($0);},getPageOuterTop:function($0){return qx.html.Location.getPageBoxTop($0)-qx.html.Style.getMarginTop($0);},getPageOuterRight:function($0){return qx.html.Location.getPageBoxRight($0)+qx.html.Style.getMarginRight($0);},getPageOuterBottom:function($0){return qx.html.Location.getPageBoxBottom($0)+qx.html.Style.getMarginBottom($0);},getClientOuterLeft:function($0){return qx.html.Location.getClientBoxLeft($0)-qx.html.Style.getMarginLeft($0);},getClientOuterTop:function($0){return qx.html.Location.getClientBoxTop($0)-qx.html.Style.getMarginTop($0);},getClientOuterRight:function($0){return qx.html.Location.getClientBoxRight($0)+qx.html.Style.getMarginRight($0);},getClientOuterBottom:function($0){return qx.html.Location.getClientBoxBottom($0)+qx.html.Style.getMarginBottom($0);},getClientBoxLeft:qx.core.Variant.select($[1],{"mshtml":function($0){return $0.getBoundingClientRect().left;},"gecko":function($0){return qx.html.Location.getClientAreaLeft($0)-qx.html.Style.getBorderLeft($0);},"default":function($0){var $1=$0.offsetLeft;while($0.tagName.toLowerCase()!=$[126]){$0=$0.offsetParent;$1+=$0.offsetLeft-$0.scrollLeft;}return $1;}}),getClientBoxTop:qx.core.Variant.select($[1],{"mshtml":function($0){return $0.getBoundingClientRect().top;},"gecko":function($0){return qx.html.Location.getClientAreaTop($0)-qx.html.Style.getBorderTop($0);},"default":function($0){var $1=$0.offsetTop;while($0.tagName.toLowerCase()!=$[126]){$0=$0.offsetParent;$1+=$0.offsetTop-$0.scrollTop;}return $1;}}),getClientBoxRight:qx.core.Variant.select($[1],{"mshtml":function($0){return $0.getBoundingClientRect().right;},"default":function($0){return qx.html.Location.getClientBoxLeft($0)+qx.html.Dimension.getBoxWidth($0);}}),getClientBoxBottom:qx.core.Variant.select($[1],{"mshtml":function($0){return $0.getBoundingClientRect().bottom;},"default":function($0){return qx.html.Location.getClientBoxTop($0)+qx.html.Dimension.getBoxHeight($0);}}),getPageBoxLeft:qx.core.Variant.select($[1],{"mshtml":function($0){return qx.html.Location.getClientBoxLeft($0)+qx.html.Scroll.getLeftSum($0);},"gecko":function($0){return qx.html.Location.getPageAreaLeft($0)-qx.html.Style.getBorderLeft($0);},"default":function($0){var $1=$0.offsetLeft;while($0.tagName.toLowerCase()!=$[126]){$0=$0.offsetParent;$1+=$0.offsetLeft;}return $1;}}),getPageBoxTop:qx.core.Variant.select($[1],{"mshtml":function($0){return qx.html.Location.getClientBoxTop($0)+qx.html.Scroll.getTopSum($0);},"gecko":function($0){return qx.html.Location.getPageAreaTop($0)-qx.html.Style.getBorderTop($0);},"default":function($0){var $1=$0.offsetTop;while($0.tagName.toLowerCase()!=$[126]){$0=$0.offsetParent;$1+=$0.offsetTop;}return $1;}}),getPageBoxRight:qx.core.Variant.select($[1],{"mshtml":function($0){return qx.html.Location.getClientBoxRight($0)+qx.html.Scroll.getLeftSum($0);},"default":function($0){return qx.html.Location.getPageBoxLeft($0)+qx.html.Dimension.getBoxWidth($0);}}),getPageBoxBottom:qx.core.Variant.select($[1],{"mshtml":function($0){return qx.html.Location.getClientBoxBottom($0)+qx.html.Scroll.getTopSum($0);},"default":function($0){return qx.html.Location.getPageBoxTop($0)+qx.html.Dimension.getBoxHeight($0);}}),getClientAreaLeft:qx.core.Variant.select($[1],{"gecko":function($0){return qx.html.Location.getPageAreaLeft($0)-qx.html.Scroll.getLeftSum($0);},"default":function($0){return qx.html.Location.getClientBoxLeft($0)+qx.html.Style.getBorderLeft($0);}}),getClientAreaTop:qx.core.Variant.select($[1],{"gecko":function($0){return qx.html.Location.getPageAreaTop($0)-qx.html.Scroll.getTopSum($0);},"default":function($0){return qx.html.Location.getClientBoxTop($0)+qx.html.Style.getBorderTop($0);}}),getClientAreaRight:function($0){return qx.html.Location.getClientAreaLeft($0)+qx.html.Dimension.getAreaWidth($0);},getClientAreaBottom:function($0){return qx.html.Location.getClientAreaTop($0)+qx.html.Dimension.getAreaHeight($0);},getPageAreaLeft:qx.core.Variant.select($[1],{"gecko":function($0){return $0.ownerDocument.getBoxObjectFor($0).x;},"default":function($0){return qx.html.Location.getPageBoxLeft($0)+qx.html.Style.getBorderLeft($0);}}),getPageAreaTop:qx.core.Variant.select($[1],{"gecko":function($0){return $0.ownerDocument.getBoxObjectFor($0).y;},"default":function($0){return qx.html.Location.getPageBoxTop($0)+qx.html.Style.getBorderTop($0);}}),getPageAreaRight:function($0){return qx.html.Location.getPageAreaLeft($0)+qx.html.Dimension.getAreaWidth($0);},getPageAreaBottom:function($0){return qx.html.Location.getPageAreaTop($0)+qx.html.Dimension.getAreaHeight($0);},getClientInnerLeft:function($0){return qx.html.Location.getClientAreaLeft($0)+qx.html.Style.getPaddingLeft($0);},getClientInnerTop:function($0){return qx.html.Location.getClientAreaTop($0)+qx.html.Style.getPaddingTop($0);},getClientInnerRight:function($0){return qx.html.Location.getClientInnerLeft($0)+qx.html.Dimension.getInnerWidth($0);},getClientInnerBottom:function($0){return qx.html.Location.getClientInnerTop($0)+qx.html.Dimension.getInnerHeight($0);},getPageInnerLeft:function($0){return qx.html.Location.getPageAreaLeft($0)+qx.html.Style.getPaddingLeft($0);},getPageInnerTop:function($0){return qx.html.Location.getPageAreaTop($0)+qx.html.Style.getPaddingTop($0);},getPageInnerRight:function($0){return qx.html.Location.getPageInnerLeft($0)+qx.html.Dimension.getInnerWidth($0);},getPageInnerBottom:function($0){return qx.html.Location.getPageInnerTop($0)+qx.html.Dimension.getInnerHeight($0);},getScreenBoxLeft:qx.core.Variant.select($[1],{"gecko":function($0){var $1=0;var $2=$0.parentNode;while($2.nodeType==1){$1+=$2.scrollLeft;$2=$2.parentNode;}return $0.ownerDocument.getBoxObjectFor($0).screenX-$1;},"default":function($0){return qx.html.Location.getScreenDocumentLeft($0)+qx.html.Location.getPageBoxLeft($0);}}),getScreenBoxTop:qx.core.Variant.select($[1],{"gecko":function($0){var $1=0;var $2=$0.parentNode;while($2.nodeType==1){$1+=$2.scrollTop;$2=$2.parentNode;}return $0.ownerDocument.getBoxObjectFor($0).screenY-$1;},"default":function($0){return qx.html.Location.getScreenDocumentTop($0)+qx.html.Location.getPageBoxTop($0);}}),getScreenBoxRight:function($0){return qx.html.Location.getScreenBoxLeft($0)+qx.html.Dimension.getBoxWidth($0);},getScreenBoxBottom:function($0){return qx.html.Location.getScreenBoxTop($0)+qx.html.Dimension.getBoxHeight($0);},getScreenOuterLeft:function($0){return qx.html.Location.getScreenBoxLeft($0)-qx.html.Style.getMarginLeft($0);},getScreenOuterTop:function($0){return qx.html.Location.getScreenBoxTop($0)-qx.html.Style.getMarginTop($0);},getScreenOuterRight:function($0){return qx.html.Location.getScreenBoxRight($0)+qx.html.Style.getMarginRight($0);},getScreenOuterBottom:function($0){return qx.html.Location.getScreenBoxBottom($0)+qx.html.Style.getMarginBottom($0);},getScreenAreaLeft:function($0){return qx.html.Location.getScreenBoxLeft($0)+qx.html.Dimension.getInsetLeft($0);},getScreenAreaTop:function($0){return qx.html.Location.getScreenBoxTop($0)+qx.html.Dimension.getInsetTop($0);},getScreenAreaRight:function($0){return qx.html.Location.getScreenBoxRight($0)-qx.html.Dimension.getInsetRight($0);},getScreenAreaBottom:function($0){return qx.html.Location.getScreenBoxBottom($0)-qx.html.Dimension.getInsetBottom($0);},getScreenInnerLeft:function($0){return qx.html.Location.getScreenAreaLeft($0)+qx.html.Style.getPaddingLeft($0);},getScreenInnerTop:function($0){return qx.html.Location.getScreenAreaTop($0)+qx.html.Style.getPaddingTop($0);},getScreenInnerRight:function($0){return qx.html.Location.getScreenAreaRight($0)-qx.html.Style.getPaddingRight($0);},getScreenInnerBottom:function($0){return qx.html.Location.getScreenAreaBottom($0)-qx.html.Style.getPaddingBottom($0);},getScreenDocumentLeft:qx.core.Variant.select($[1],{"gecko":function($0){return qx.html.Location.getScreenOuterLeft($0.ownerDocument.body);},"default":function($0){return $0.document.parentWindow.screenLeft;}}),getScreenDocumentTop:qx.core.Variant.select($[1],{"gecko":function($0){return qx.html.Location.getScreenOuterTop($0.ownerDocument.body);},"default":function($0){return $0.document.parentWindow.screenTop;}}),getScreenDocumentRight:qx.core.Variant.select($[1],{"gecko":function($0){return qx.html.Location.getScreenOuterRight($0.ownerDocument.body);},"default":function($0){}}),getScreenDocumentBottom:qx.core.Variant.select($[1],{"gecko":function($0){return qx.html.Location.getScreenOuterBottom($0.ownerDocument.body);},"default":function($0){}})}}); >+qx.Class.define($[1487],{statics:{isValid:function($0){switch(typeof $0){case $[65]:return false;case $[28]:return $0!==null;case $[8]:return $0!==$[0];case $[50]:return !isNaN($0);case $[37]:case $[58]:return true;}return false;},isInvalid:function($0){switch(typeof $0){case $[65]:return true;case $[28]:return $0===null;case $[8]:return $0===$[0];case $[50]:return isNaN($0);case $[37]:case $[58]:return false;}return true;},isValidNumber:function($0){return typeof $0===$[50]&&!isNaN($0);},isInvalidNumber:function($0){return typeof $0!==$[50]||isNaN($0);},isValidString:function($0){return typeof $0===$[8]&&$0!==$[0];},isInvalidString:function($0){return typeof $0!==$[8]||$0===$[0];},isValidArray:function($0){return typeof $0===$[28]&&$0!==null&&$0 instanceof Array;},isInvalidArray:function($0){return typeof $0!==$[28]||$0===null||!($0 instanceof Array);},isValidObject:function($0){return typeof $0===$[28]&&$0!==null&&!($0 instanceof Array);},isInvalidObject:function($0){return typeof $0!==$[28]||$0===null||$0 instanceof Array;},isValidNode:function($0){return typeof $0===$[28]&&$0!==null;},isInvalidNode:function($0){return typeof $0!==$[28]||$0===null;},isValidElement:function($0){return typeof $0===$[28]&&$0!==null||$0.nodeType!==1;},isInvalidElement:function($0){return typeof $0!==$[28]||$0===null||$0.nodeType!==1;},isValidFunction:function($0){return typeof $0===$[37];},isInvalidFunction:function($0){return typeof $0!==$[37];},isValidBoolean:function($0){return typeof $0===$[58];},isInvalidBoolean:function($0){return typeof $0!==$[58];},isValidStringOrNumber:function($0){switch(typeof $0){case $[8]:return $0!==$[0];case $[50]:return !isNaN($0);}return false;},isInvalidStringOrNumber:function($0){switch(typeof $0){case $[8]:return $0===$[0];case $[50]:return isNaN($0);}return false;}}}); >+qx.Class.define($[325],{extend:qx.core.Target,implement:qx.application.IApplication,properties:{uiReady:{check:$[2],init:false}},members:{main:function(){qx.ui.core.Widget.initScrollbarWidth();qx.theme.manager.Meta.getInstance().initialize();qx.event.handler.EventHandler.getInstance();qx.ui.core.ClientDocument.getInstance();qx.client.Timer.once(this._preload,this,0);},close:function(){},terminate:function(){},_preload:function(){this.debug("preloading visible images...");this.__preloader=new qx.io.image.PreloaderSystem(qx.io.image.Manager.getInstance().getVisibleImages(),this._preloaderDone,this);this.__preloader.start();},_preloaderDone:function(){this.setUiReady(true);this.__preloader.dispose();this.__preloader=null;var $0=(new Date).valueOf();qx.ui.core.Widget.flushGlobalQueues();this.info("render runtime: "+(new Date-$0)+"ms");qx.event.handler.EventHandler.getInstance().attachEvents();qx.client.Timer.once(this._postload,this,100);},_postload:function(){this.debug("preloading hidden images...");this.__postloader=new qx.io.image.PreloaderSystem(qx.io.image.Manager.getInstance().getHiddenImages(),this._postloaderDone,this);this.__postloader.start();},_postloaderDone:function(){this.__postloader.dispose();this.__postloader=null;}}}); >+qx.Class.define($[66],{extend:qx.core.Target,type:$[51],construct:function(){arguments.callee.base.call(this);this._layoutChanges={};if(qx.core.Setting.get($[1733])){this._generateHtmlId();}},events:{"beforeAppear":$[4],"appear":$[4],"beforeDisappear":$[4],"disappear":$[4],"beforeInsertDom":$[4],"insertDom":$[4],"beforeRemoveDom":$[4],"removeDom":$[4],"create":$[4],"execute":$[4],"mouseover":$[87],"mousemove":$[87],"mouseout":$[87],"mousedown":$[87],"mouseup":$[87],"mousewheel":$[87],"click":$[87],"dblclick":$[87],"contextmenu":$[87],"keydown":$[186],"keypress":$[186],"keyinput":$[186],"keyup":$[186],"focusout":$[168],"focusin":$[168],"blur":$[168],"focus":$[168],"dragdrop":$[143],"dragout":$[143],"dragover":$[143],"dragmove":$[143],"dragstart":$[143],"dragend":$[143]},statics:{create:function($0,$1){$0._appearance=$1;return new $0;},SCROLLBAR_SIZE:null,_autoFlushTimeout:null,_initAutoFlush:function(){if(qx.ui.core.Widget._autoFlushTimeout==null){qx.ui.core.Widget._autoFlushTimeout=window.setTimeout(qx.ui.core.Widget._autoFlushHelper,0);}},_removeAutoFlush:function(){if(qx.ui.core.Widget._autoFlushTimeout!=null){window.clearTimeout(qx.ui.core.Widget._autoFlushTimeout);qx.ui.core.Widget._autoFlushTimeout=null;}},_autoFlushHelper:function(){qx.ui.core.Widget._autoFlushTimeout=null;if(!qx.core.Object.inGlobalDispose()){qx.ui.core.Widget.flushGlobalQueues();}},flushGlobalQueues:function(){if(qx.ui.core.Widget._autoFlushTimeout!=null){qx.ui.core.Widget._removeAutoFlush();}if(qx.ui.core.Widget._inFlushGlobalQueues){return;}var $0=qx.core.Init.getInstance().getApplication();if($0.getUiReady&&!$0.getUiReady()){return;}qx.ui.core.Widget._inFlushGlobalQueues=true;qx.ui.core.Widget.flushGlobalWidgetQueue();qx.ui.core.Widget.flushGlobalStateQueue();qx.ui.core.Widget.flushGlobalElementQueue();qx.ui.core.Widget.flushGlobalJobQueue();qx.ui.core.Widget.flushGlobalLayoutQueue();qx.ui.core.Widget.flushGlobalDisplayQueue();delete qx.ui.core.Widget._inFlushGlobalQueues;},_globalWidgetQueue:[],addToGlobalWidgetQueue:function($0){if(!$0._isInGlobalWidgetQueue&&$0._isDisplayable){if(qx.ui.core.Widget._autoFlushTimeout==null){qx.ui.core.Widget._initAutoFlush();}qx.ui.core.Widget._globalWidgetQueue.push($0);$0._isInGlobalWidgetQueue=true;}},removeFromGlobalWidgetQueue:function($0){if($0._isInGlobalWidgetQueue){qx.lang.Array.remove(qx.ui.core.Widget._globalWidgetQueue,$0);delete $0._isInGlobalWidgetQueue;}},flushGlobalWidgetQueue:function(){var $0=qx.ui.core.Widget._globalWidgetQueue,$1,$2;while(($1=$0.length)>0){for(var $3=0;$3<$1;$3++){$2=$0[$3];$2.flushWidgetQueue();delete $2._isInGlobalWidgetQueue;}$0.splice(0,$1);}},_globalElementQueue:[],addToGlobalElementQueue:function($0){if(!$0._isInGlobalElementQueue&&$0._isDisplayable){if(qx.ui.core.Widget._autoFlushTimeout==null){qx.ui.core.Widget._initAutoFlush();}qx.ui.core.Widget._globalElementQueue.push($0);$0._isInGlobalElementQueue=true;}},removeFromGlobalElementQueue:function($0){if($0._isInGlobalElementQueue){qx.lang.Array.remove(qx.ui.core.Widget._globalElementQueue,$0);delete $0._isInGlobalElementQueue;}},flushGlobalElementQueue:function(){var $0=qx.ui.core.Widget._globalElementQueue,$1,$2;while(($1=$0.length)>0){for(var $3=0;$3<$1;$3++){$2=$0[$3];$2._createElementImpl();delete $2._isInGlobalElementQueue;}$0.splice(0,$1);}},_globalStateQueue:[],addToGlobalStateQueue:function($0){if(!$0._isInGlobalStateQueue&&$0._isDisplayable){if(qx.ui.core.Widget._autoFlushTimeout==null){qx.ui.core.Widget._initAutoFlush();}qx.ui.core.Widget._globalStateQueue.push($0);$0._isInGlobalStateQueue=true;}},removeFromGlobalStateQueue:function($0){if($0._isInGlobalStateQueue){qx.lang.Array.remove(qx.ui.core.Widget._globalStateQueue,$0);delete $0._isInGlobalStateQueue;}},flushGlobalStateQueue:function(){var $0=qx.ui.core.Widget._globalStateQueue,$1,$2;while(($1=$0.length)>0){for(var $3=0;$3<$1;$3++){$2=$0[$3];$2._renderAppearance();delete $2._isInGlobalStateQueue;}$0.splice(0,$1);}},_globalJobQueue:[],addToGlobalJobQueue:function($0){if(!$0._isInGlobalJobQueue&&$0._isDisplayable){if(qx.ui.core.Widget._autoFlushTimeout==null){qx.ui.core.Widget._initAutoFlush();}qx.ui.core.Widget._globalJobQueue.push($0);$0._isInGlobalJobQueue=true;}},removeFromGlobalJobQueue:function($0){if($0._isInGlobalJobQueue){qx.lang.Array.remove(qx.ui.core.Widget._globalJobQueue,$0);delete $0._isInGlobalJobQueue;}},flushGlobalJobQueue:function(){var $0=qx.ui.core.Widget._globalJobQueue,$1,$2;while(($1=$0.length)>0){for(var $3=0;$3<$1;$3++){$2=$0[$3];$2._flushJobQueue($2._jobQueue);delete $2._isInGlobalJobQueue;}$0.splice(0,$1);}},_globalLayoutQueue:[],addToGlobalLayoutQueue:function($0){if(!$0._isInGlobalLayoutQueue&&$0._isDisplayable){if(qx.ui.core.Widget._autoFlushTimeout==null){qx.ui.core.Widget._initAutoFlush();}qx.ui.core.Widget._globalLayoutQueue.push($0);$0._isInGlobalLayoutQueue=true;}},removeFromGlobalLayoutQueue:function($0){if($0._isInGlobalLayoutQueue){qx.lang.Array.remove(qx.ui.core.Widget._globalLayoutQueue,$0);delete $0._isInGlobalLayoutQueue;}},flushGlobalLayoutQueue:function(){var $0=qx.ui.core.Widget._globalLayoutQueue,$1,$2;while(($1=$0.length)>0){for(var $3=0;$3<$1;$3++){$2=$0[$3];$2._flushChildrenQueue();delete $2._isInGlobalLayoutQueue;}$0.splice(0,$1);}},_fastGlobalDisplayQueue:[],_lazyGlobalDisplayQueues:{},addToGlobalDisplayQueue:function($0){if(!$0._isInGlobalDisplayQueue&&$0._isDisplayable){if(qx.ui.core.Widget._autoFlushTimeout==null){qx.ui.core.Widget._initAutoFlush();}var $1=$0.getParent();if($1.isSeeable()){var $2=$1.toHashCode();if(qx.ui.core.Widget._lazyGlobalDisplayQueues[$2]){qx.ui.core.Widget._lazyGlobalDisplayQueues[$2].push($0);}else{qx.ui.core.Widget._lazyGlobalDisplayQueues[$2]=[$0];}}else{qx.ui.core.Widget._fastGlobalDisplayQueue.push($0);}$0._isInGlobalDisplayQueue=true;}},removeFromGlobalDisplayQueue:function($0){},flushGlobalDisplayQueue:function(){var $0,$1,$2,$3;var $4=qx.ui.core.Widget._fastGlobalDisplayQueue;var $5=qx.ui.core.Widget._lazyGlobalDisplayQueues;for(var $6=0,$7=$4.length;$6<$7;$6++){$2=$4[$6];$2.getParent()._getTargetNode().appendChild($2.getElement());}if(qx.Class.isDefined($[559])){for($0 in $5){$1=$5[$0];for(var $6=0;$6<$1.length;$6++){$2=$1[$6];if($2 instanceof qx.ui.basic.Inline){$2._beforeInsertDom();try{document.getElementById($2.getInlineNodeId()).appendChild($2.getElement());}catch(ex){$2.debug("Could not append to inline id: "+$2.getInlineNodeId(),ex);}$2._afterInsertDom();$2._afterAppear();qx.lang.Array.remove($1,$2);$6--;delete $2._isInGlobalDisplayQueue;}}}}for($0 in $5){$1=$5[$0];if(document.createDocumentFragment&&$1.length>=3){$3=document.createDocumentFragment();for(var $6=0,$7=$1.length;$6<$7;$6++){$2=$1[$6];$2._beforeInsertDom();$3.appendChild($2.getElement());}$1[0].getParent()._getTargetNode().appendChild($3);for(var $6=0,$7=$1.length;$6<$7;$6++){$2=$1[$6];$2._afterInsertDom();}}else{for(var $6=0,$7=$1.length;$6<$7;$6++){$2=$1[$6];$2._beforeInsertDom();$2.getParent()._getTargetNode().appendChild($2.getElement());$2._afterInsertDom();}}}for($0 in $5){$1=$5[$0];for(var $6=0,$7=$1.length;$6<$7;$6++){$2=$1[$6];if($2.getVisibility()){$2._afterAppear();}delete $2._isInGlobalDisplayQueue;}delete $5[$0];}for(var $6=0,$7=$4.length;$6<$7;$6++){delete $4[$6]._isInGlobalDisplayQueue;}qx.lang.Array.removeAll($4);},getActiveSiblingHelperIgnore:function($0,$1){for(var $2=0;$2<$0.length;$2++){if($1 instanceof $0[$2]){return true;}}return false;},getActiveSiblingHelper:function($0,$1,$2,$3,$4){if(!$3){$3=[];}var $5=$1.getChildren();var $6=$4==null?$5.indexOf($0)+$2:$4===$[476]?0:$5.length-1;var $7=$5[$6];while($7&&(!$7.getEnabled()||qx.ui.core.Widget.getActiveSiblingHelperIgnore($3,$7))){$6+=$2;$7=$5[$6];if(!$7){return null;}}return $7;},__initApplyMethods:function($0){var $1=$[1719];var $2=$[836];var $3=$[1637];var $4=$[964];var $5=$[478];var $6=[$[11],$[9],$[20],$[17],$[30],$[31],$[73],$[74],$[77],$[75]];var $7=[$[60],$[64],$[1149],$[1661],$[1005],$[617],$[1636],$[1045],$[1788],$[1572]];var $8=$1+$[477];var $9=$2+$[477];var $a=$3+$[430];for(var $b=0;$b<4;$b++){$0[$8+$7[$b]]=new Function($5,$a+$7[$b]+$4);$0[$9+$7[$b]]=new Function($a+$7[$b]+$[268]);}var $c=$1+$[483];var $d=$2+$[483];var $e=$3+$[351];if(qx.core.Variant.isSet($[1],$[21])){for(var $b=0;$b<4;$b++){$0[$c+$7[$b]]=new Function($5,$e+$7[$b]+$4);$0[$d+$7[$b]]=new Function($e+$7[$b]+$[268]);}}else{for(var $b=0;$b<4;$b++){$0[$c+$7[$b]]=new Function($5,$[1466]+$7[$b]+$[1346]);$0[$d+$7[$b]]=new Function($[594]+$7[$b]+$[880]);}}for(var $b=0;$b<$6.length;$b++){$0[$1+$7[$b]]=new Function($5,$3+$6[$b]+$4);$0[$2+$7[$b]]=new Function($3+$6[$b]+$[268]);}},TYPE_NULL:0,TYPE_PIXEL:1,TYPE_PERCENT:2,TYPE_AUTO:3,TYPE_FLEX:4,layoutPropertyTypes:{},__initLayoutProperties:function($0){var $1=[$[30],$[31],$[73],$[74],$[77],$[75],$[11],$[9],$[20],$[17]];for(var $2=0,$3=$1.length,$4,$5,$6;$2<$3;$2++){$4=$1[$2];$5=$[1017]+qx.lang.String.toFirstUp($4);$6=$5+$[691];$0.layoutPropertyTypes[$4]={dataType:$6,dataParsed:$5+$[1187],dataValue:$5+$[365],typePixel:$6+$[630],typePercent:$6+$[1073],typeAuto:$6+$[1746],typeFlex:$6+$[1438],typeNull:$6+$[809]};}},initScrollbarWidth:function(){var $0=document.createElement($[67]);var $1=$0.style;$1.height=$1.width=$[252];$1.overflow=$[26];document.body.appendChild($0);var $2=qx.html.Dimension.getScrollBarSizeRight($0);qx.ui.core.Widget.SCROLLBAR_SIZE=$2?$2:16;document.body.removeChild($0);},_idCounter:0},properties:{enabled:{init:$[116],check:$[2],inheritable:true,apply:$[302],event:$[463]},parent:{check:$[306],nullable:true,event:$[621],apply:$[1280]},element:{check:$[519],nullable:true,apply:$[468],event:$[613]},visibility:{check:$[2],init:true,apply:$[1112],event:$[1579]},display:{check:$[2],init:true,apply:$[1154],event:$[1329]},anonymous:{check:$[2],init:false,event:$[647]},horizontalAlign:{check:[$[11],$[57],$[9]],themeable:true,nullable:true},verticalAlign:{check:[$[20],$[62],$[17]],themeable:true,nullable:true},allowStretchX:{check:$[2],init:true},allowStretchY:{check:$[2],init:true},zIndex:{check:$[19],apply:$[879],event:$[1118],themeable:true,nullable:true,init:null},backgroundColor:{nullable:true,init:null,check:$[90],apply:$[1075],event:$[909],themeable:true},textColor:{nullable:true,init:$[116],check:$[90],apply:$[1427],event:$[636],themeable:true,inheritable:true},border:{nullable:true,init:null,apply:$[707],event:$[1672],check:$[539],themeable:true},font:{nullable:true,init:$[116],apply:$[575],check:$[548],event:$[810],themeable:true,inheritable:true},opacity:{check:$[19],apply:$[867],themeable:true,nullable:true,init:null},cursor:{check:$[6],apply:$[1577],themeable:true,nullable:true,init:null},backgroundImage:{check:$[6],nullable:true,apply:$[632],themeable:true},backgroundRepeat:{check:$[6],nullable:true,apply:$[685],themeable:true},overflow:{check:[$[36],$[3],$[26],$[112],$[111]],nullable:true,apply:$[811],event:$[1375],themeable:true,init:null},clipLeft:{check:$[5],apply:$[243],themeable:true,nullable:true},clipTop:{check:$[5],apply:$[243],themeable:true,nullable:true},clipWidth:{check:$[5],apply:$[243],themeable:true,nullable:true},clipHeight:{check:$[5],apply:$[243],themeable:true,nullable:true},tabIndex:{check:$[5],nullable:true,init:null,apply:$[894],event:$[1717]},hideFocus:{check:$[2],init:false,apply:$[1261],themeable:true},enableElementFocus:{check:$[2],init:true},focused:{check:$[2],init:false,apply:$[772],event:$[1030]},selectable:{check:$[2],init:null,nullable:true,apply:$[623]},toolTip:{check:$[241],nullable:true},contextMenu:{check:$[160],nullable:true},capture:{check:$[2],init:false,apply:$[1720],event:$[1092]},dropDataTypes:{nullable:true,dispose:true},command:{check:$[489],nullable:true,apply:$[1404]},appearance:{check:$[6],init:$[216],apply:$[864],event:$[1537]},supportsDropMethod:{check:$[472],nullable:true,init:null},marginTop:{check:$[19],apply:$[1108],nullable:true,themeable:true},marginRight:{check:$[19],apply:$[1436],nullable:true,themeable:true},marginBottom:{check:$[19],apply:$[622],nullable:true,themeable:true},marginLeft:{check:$[19],apply:$[1288],nullable:true,themeable:true},paddingTop:{check:$[19],apply:$[792],nullable:true,themeable:true},paddingRight:{check:$[19],apply:$[1671],nullable:true,themeable:true},paddingBottom:{check:$[19],apply:$[1548],nullable:true,themeable:true},paddingLeft:{check:$[19],apply:$[887],nullable:true,themeable:true},left:{apply:$[969],event:$[1453],nullable:true,themeable:true,init:null},right:{apply:$[710],event:$[910],nullable:true,themeable:true,init:null},width:{apply:$[1330],event:$[1301],nullable:true,themeable:true,init:null},minWidth:{apply:$[1399],event:$[1687],nullable:true,themeable:true,init:null},maxWidth:{apply:$[1116],event:$[1787],nullable:true,themeable:true,init:null},top:{apply:$[1498],event:$[1455],nullable:true,themeable:true,init:null},bottom:{apply:$[698],event:$[985],nullable:true,themeable:true,init:null},height:{apply:$[1442],event:$[1512],nullable:true,themeable:true,init:null},minHeight:{apply:$[655],event:$[1335],nullable:true,themeable:true,init:null},maxHeight:{apply:$[718],event:$[1333],nullable:true,themeable:true,init:null},location:{group:[$[11],$[20]],themeable:true},dimension:{group:[$[30],$[31]],themeable:true},space:{group:[$[11],$[30],$[20],$[31]],themeable:true},edge:{group:[$[20],$[9],$[17],$[11]],themeable:true,mode:$[103]},padding:{group:[$[215],$[245],$[231],$[242]],mode:$[103],themeable:true},margin:{group:[$[153],$[225],$[211],$[159]],mode:$[103],themeable:true},heights:{group:[$[77],$[31],$[75]],themeable:true},widths:{group:[$[73],$[30],$[74]],themeable:true},align:{group:[$[1698],$[845]],themeable:true},clipLocation:{group:[$[517],$[453]]},clipDimension:{group:[$[528],$[372]]},clip:{group:[$[517],$[453],$[528],$[372]]},innerWidth:{_cached:true,defaultValue:null},innerHeight:{_cached:true,defaultValue:null},boxWidth:{_cached:true,defaultValue:null},boxHeight:{_cached:true,defaultValue:null},outerWidth:{_cached:true,defaultValue:null},outerHeight:{_cached:true,defaultValue:null},frameWidth:{_cached:true,defaultValue:null,addToQueueRuntime:true},frameHeight:{_cached:true,defaultValue:null,addToQueueRuntime:true},preferredInnerWidth:{_cached:true,defaultValue:null,addToQueueRuntime:true},preferredInnerHeight:{_cached:true,defaultValue:null,addToQueueRuntime:true},preferredBoxWidth:{_cached:true,defaultValue:null},preferredBoxHeight:{_cached:true,defaultValue:null},hasPercentX:{_cached:true,defaultValue:false},hasPercentY:{_cached:true,defaultValue:false},hasAutoX:{_cached:true,defaultValue:false},hasAutoY:{_cached:true,defaultValue:false},hasFlexX:{_cached:true,defaultValue:false},hasFlexY:{_cached:true,defaultValue:false}},members:{_computedLeftValue:null,_computedLeftParsed:null,_computedLeftType:null,_computedLeftTypeNull:true,_computedLeftTypePixel:false,_computedLeftTypePercent:false,_computedLeftTypeAuto:false,_computedLeftTypeFlex:false,_computedRightValue:null,_computedRightParsed:null,_computedRightType:null,_computedRightTypeNull:true,_computedRightTypePixel:false,_computedRightTypePercent:false,_computedRightTypeAuto:false,_computedRightTypeFlex:false,_computedTopValue:null,_computedTopParsed:null,_computedTopType:null,_computedTopTypeNull:true,_computedTopTypePixel:false,_computedTopTypePercent:false,_computedTopTypeAuto:false,_computedTopTypeFlex:false,_computedBottomValue:null,_computedBottomParsed:null,_computedBottomType:null,_computedBottomTypeNull:true,_computedBottomTypePixel:false,_computedBottomTypePercent:false,_computedBottomTypeAuto:false,_computedBottomTypeFlex:false,_computedWidthValue:null,_computedWidthParsed:null,_computedWidthType:null,_computedWidthTypeNull:true,_computedWidthTypePixel:false,_computedWidthTypePercent:false,_computedWidthTypeAuto:false,_computedWidthTypeFlex:false,_computedMinWidthValue:null,_computedMinWidthParsed:null,_computedMinWidthType:null,_computedMinWidthTypeNull:true,_computedMinWidthTypePixel:false,_computedMinWidthTypePercent:false,_computedMinWidthTypeAuto:false,_computedMinWidthTypeFlex:false,_computedMaxWidthValue:null,_computedMaxWidthParsed:null,_computedMaxWidthType:null,_computedMaxWidthTypeNull:true,_computedMaxWidthTypePixel:false,_computedMaxWidthTypePercent:false,_computedMaxWidthTypeAuto:false,_computedMaxWidthTypeFlex:false,_computedHeightValue:null,_computedHeightParsed:null,_computedHeightType:null,_computedHeightTypeNull:true,_computedHeightTypePixel:false,_computedHeightTypePercent:false,_computedHeightTypeAuto:false,_computedHeightTypeFlex:false,_computedMinHeightValue:null,_computedMinHeightParsed:null,_computedMinHeightType:null,_computedMinHeightTypeNull:true,_computedMinHeightTypePixel:false,_computedMinHeightTypePercent:false,_computedMinHeightTypeAuto:false,_computedMinHeightTypeFlex:false,_computedMaxHeightValue:null,_computedMaxHeightParsed:null,_computedMaxHeightType:null,_computedMaxHeightTypeNull:true,_computedMaxHeightTypePixel:false,_computedMaxHeightTypePercent:false,_computedMaxHeightTypeAuto:false,_computedMaxHeightTypeFlex:false,_applyLeft:function($0,$1){this._unitDetectionPixelPercent($[11],$0);this.addToQueue($[11]);},_applyRight:function($0,$1){this._unitDetectionPixelPercent($[9],$0);this.addToQueue($[9]);},_applyTop:function($0,$1){this._unitDetectionPixelPercent($[20],$0);this.addToQueue($[20]);},_applyBottom:function($0,$1){this._unitDetectionPixelPercent($[17],$0);this.addToQueue($[17]);},_applyWidth:function($0,$1){this._unitDetectionPixelPercentAutoFlex($[30],$0);this.addToQueue($[30]);},_applyMinWidth:function($0,$1){this._unitDetectionPixelPercentAuto($[73],$0);this.addToQueue($[73]);},_applyMaxWidth:function($0,$1){this._unitDetectionPixelPercentAuto($[74],$0);this.addToQueue($[74]);},_applyHeight:function($0,$1){this._unitDetectionPixelPercentAutoFlex($[31],$0);this.addToQueue($[31]);},_applyMinHeight:function($0,$1){this._unitDetectionPixelPercentAuto($[77],$0);this.addToQueue($[77]);},_applyMaxHeight:function($0,$1){this._unitDetectionPixelPercentAuto($[75],$0);this.addToQueue($[75]);},isMaterialized:function(){var $0=this._element;return (this._initialLayoutDone&&this._isDisplayable&&qx.html.Style.getStyleProperty($0,$[158])!=$[7]&&qx.html.Style.getStyleProperty($0,$[1139])!=$[36]&&$0.offsetWidth>0&&$0.offsetHeight>0);},pack:function(){this.setWidth(this.getPreferredBoxWidth());this.setHeight(this.getPreferredBoxHeight());},auto:function(){this.setWidth($[3]);this.setHeight($[3]);},getChildren:qx.lang.Function.returnNull,getChildrenLength:qx.lang.Function.returnZero,hasChildren:qx.lang.Function.returnFalse,isEmpty:qx.lang.Function.returnTrue,indexOf:qx.lang.Function.returnNegativeIndex,contains:qx.lang.Function.returnFalse,getVisibleChildren:qx.lang.Function.returnNull,getVisibleChildrenLength:qx.lang.Function.returnZero,hasVisibleChildren:qx.lang.Function.returnFalse,isVisibleEmpty:qx.lang.Function.returnTrue,_hasParent:false,_isDisplayable:false,isDisplayable:function(){return this._isDisplayable;},_checkParent:function($0,$1){if(this.contains($0)){throw new Error("Could not insert myself into a child "+$0+"!");}return $0;},_applyParent:function($0,$1){if($1){var $2=$1.getChildren().indexOf(this);this._computedWidthValue=this._computedMinWidthValue=this._computedMaxWidthValue=this._computedLeftValue=this._computedRightValue=null;this._computedHeightValue=this._computedMinHeightValue=this._computedMaxHeightValue=this._computedTopValue=this._computedBottomValue=null;this._cachedBoxWidth=this._cachedInnerWidth=this._cachedOuterWidth=null;this._cachedBoxHeight=this._cachedInnerHeight=this._cachedOuterHeight=null;qx.lang.Array.removeAt($1.getChildren(),$2);$1._invalidateVisibleChildren();$1._removeChildFromChildrenQueue(this);$1.getLayoutImpl().updateChildrenOnRemoveChild(this,$2);$1.addToJobQueue($[390]);$1._invalidatePreferredInnerDimensions();this._oldParent=$1;}if($0){this._hasParent=true;if(typeof this._insertIndex==$[50]){qx.lang.Array.insertAt($0.getChildren(),this,this._insertIndex);delete this._insertIndex;}else{$0.getChildren().push(this);}}else{this._hasParent=false;}qx.core.Property.refresh(this);return this._handleDisplayable($[342]);},_applyDisplay:function($0,$1){return this._handleDisplayable($[158]);},_handleDisplayable:function($0){var $1=this._computeDisplayable();if(this._isDisplayable==$1&&!($1&&$0==$[342])){return true;}this._isDisplayable=$1;var $2=this.getParent();if($2){$2._invalidateVisibleChildren();$2._invalidatePreferredInnerDimensions();}if($0&&this._oldParent&&this._oldParent._initialLayoutDone){var $3=this.getElement();if($3){if(this.getVisibility()){this._beforeDisappear();}this._beforeRemoveDom();try{this._oldParent._getTargetNode().removeChild($3);}catch(e){}this._afterRemoveDom();if(this.getVisibility()){this._afterDisappear();}}delete this._oldParent;}if($1){if($2._initialLayoutDone){$2.getLayoutImpl().updateChildrenOnAddChild(this,$2.getChildren().indexOf(this));$2.addToJobQueue($[1322]);}this.addToLayoutChanges($[1662]);this.addToCustomQueues($0);if(this.getVisibility()){this._beforeAppear();}if(!this._isCreated){qx.ui.core.Widget.addToGlobalElementQueue(this);}qx.ui.core.Widget.addToGlobalStateQueue(this);if(!qx.lang.Object.isEmpty(this._jobQueue)){qx.ui.core.Widget.addToGlobalJobQueue(this);}if(!qx.lang.Object.isEmpty(this._childrenQueue)){qx.ui.core.Widget.addToGlobalLayoutQueue(this);}}else{qx.ui.core.Widget.removeFromGlobalElementQueue(this);qx.ui.core.Widget.removeFromGlobalStateQueue(this);qx.ui.core.Widget.removeFromGlobalJobQueue(this);qx.ui.core.Widget.removeFromGlobalLayoutQueue(this);this.removeFromCustomQueues($0);if($2&&$0){if(this.getVisibility()){this._beforeDisappear();}if($2._initialLayoutDone&&this._initialLayoutDone){$2.getLayoutImpl().updateChildrenOnRemoveChild(this,$2.getChildren().indexOf(this));$2.addToJobQueue($[390]);this._beforeRemoveDom();var $4=this.getElement().parentNode;if($4){$4.removeChild(this.getElement());if($4&&$4!==$2._getTargetNode()){this.warn("Unexpected parent node: "+$4);}}this._afterRemoveDom();}$2._removeChildFromChildrenQueue(this);if(this.getVisibility()){this._afterDisappear();}}}this._handleDisplayableCustom($1,$2,$0);return true;},addToCustomQueues:qx.lang.Function.returnTrue,removeFromCustomQueues:qx.lang.Function.returnTrue,_handleDisplayableCustom:qx.lang.Function.returnTrue,_computeDisplayable:function(){return this.getDisplay()&&this.getParent()&&this.getParent()._isDisplayable?true:false;},_beforeAppear:function(){this.createDispatchEvent($[708]);},_afterAppear:function(){this._isSeeable=true;this.createDispatchEvent($[193]);},_beforeDisappear:function(){this.removeState($[43]);if(qx.Class.isDefined($[303])){this.removeState($[14]);this.removeState($[35]);}this.createDispatchEvent($[402]);},_afterDisappear:function(){this._isSeeable=false;this.createDispatchEvent($[272]);},_isSeeable:false,isSeeable:function(){return this._isSeeable;},isAppearRelevant:function(){return this.getVisibility()&&this._isDisplayable;},_beforeInsertDom:function(){this.createDispatchEvent($[1218]);},_afterInsertDom:function(){this.createDispatchEvent($[1518]);},_beforeRemoveDom:function(){this.createDispatchEvent($[1286]);},_afterRemoveDom:function(){this.createDispatchEvent($[1051]);},_applyVisibility:function($0,$1){if($0){if(this._isDisplayable){this._beforeAppear();}this.removeStyleProperty($[158]);if(this._isDisplayable){this._afterAppear();}}else{if(this._isDisplayable){this._beforeDisappear();}this.setStyleProperty($[158],$[7]);if(this._isDisplayable){this._afterDisappear();}}},show:function(){this.setVisibility(true);this.setDisplay(true);},hide:function(){this.setVisibility(false);},connect:function(){this.setDisplay(true);},disconnect:function(){this.setDisplay(false);},_isCreated:false,_getTargetNode:qx.core.Variant.select($[1],{"gecko":function(){return this._element;},"default":function(){return this._borderElement||this._element;}}),addToDocument:function(){qx.ui.core.ClientDocument.getInstance().add(this);},isCreated:function(){return this._isCreated;},_createElementImpl:function(){this.setElement(this.getTopLevelWidget().getDocumentElement().createElement($[67]));},_applyElement:function($0,$1){this._isCreated=$0!=null;if($1){$1.qx_Widget=null;}if($0){$0.qx_Widget=this;$0.style.position=$[54];this._element=$0;this._style=$0.style;this._applyStyleProperties($0);this._applyHtmlProperties($0);this._applyHtmlAttributes($0);this._applyElementData($0);this.createDispatchEvent($[1127]);this.addToStateQueue();}else{this._element=this._style=null;}},addToJobQueue:function($0){if(this._hasParent){qx.ui.core.Widget.addToGlobalJobQueue(this);}if(!this._jobQueue){this._jobQueue={};}this._jobQueue[$0]=true;return true;},_flushJobQueue:function($0){try{var $1=this._jobQueue;var $2=this.getParent();if(!$2||qx.lang.Object.isEmpty($1)){return;}var $3=this instanceof qx.ui.core.Parent?this.getLayoutImpl():null;if($3){$3.updateSelfOnJobQueueFlush($1);}}catch(ex){this.error("Flushing job queue (prechecks#1) failed",ex);}try{var $4=false;var $5=$1.marginLeft||$1.marginRight;var $6=$1.marginTop||$1.marginBottom;var $7=$1.frameWidth;var $8=$1.frameHeight;var $9=($1.frameWidth||$1.preferredInnerWidth)&&this._recomputePreferredBoxWidth();var $a=($1.frameHeight||$1.preferredInnerHeight)&&this._recomputePreferredBoxHeight();if($9){var $b=this.getPreferredBoxWidth();if(this._computedWidthTypeAuto){this._computedWidthValue=$b;$1.width=true;}if(this._computedMinWidthTypeAuto){this._computedMinWidthValue=$b;$1.minWidth=true;}if(this._computedMaxWidthTypeAuto){this._computedMaxWidthValue=$b;$1.maxWidth=true;}}if($a){var $b=this.getPreferredBoxHeight();if(this._computedHeightTypeAuto){this._computedHeightValue=$b;$1.height=true;}if(this._computedMinHeightTypeAuto){this._computedMinHeightValue=$b;$1.minHeight=true;}if(this._computedMaxHeightTypeAuto){this._computedMaxHeightValue=$b;$1.maxHeight=true;}}if(($1.width||$1.minWidth||$1.maxWidth||$1.left||$1.right)&&this._recomputeBoxWidth()){$5=$7=true;}if(($1.height||$1.minHeight||$1.maxHeight||$1.top||$1.bottom)&&this._recomputeBoxHeight()){$6=$8=true;}}catch(ex){this.error("Flushing job queue (recompute#2) failed",ex);}try{if(($5&&this._recomputeOuterWidth())||$9){$2._invalidatePreferredInnerWidth();$2.getLayoutImpl().updateSelfOnChildOuterWidthChange(this);$4=true;}if(($6&&this._recomputeOuterHeight())||$a){$2._invalidatePreferredInnerHeight();$2.getLayoutImpl().updateSelfOnChildOuterHeightChange(this);$4=true;}if($4){$2._flushJobQueue();}}catch(ex){this.error("Flushing job queue (parentsignals#3) failed",ex);}try{$2._addChildToChildrenQueue(this);for(var $c in $1){this._layoutChanges[$c]=true;}}catch(ex){this.error("Flushing job queue (addjobs#4) failed",ex);}try{if(this instanceof qx.ui.core.Parent&&($1.paddingLeft||$1.paddingRight||$1.paddingTop||$1.paddingBottom)){var $d=this.getChildren(),$e=$d.length;if($1.paddingLeft){for(var $c=0;$c<$e;$c++){$d[$c].addToLayoutChanges($[1354]);}}if($1.paddingRight){for(var $c=0;$c<$e;$c++){$d[$c].addToLayoutChanges($[878]);}}if($1.paddingTop){for(var $c=0;$c<$e;$c++){$d[$c].addToLayoutChanges($[1697]);}}if($1.paddingBottom){for(var $c=0;$c<$e;$c++){$d[$c].addToLayoutChanges($[724]);}}}if($7){this._recomputeInnerWidth();}if($8){this._recomputeInnerHeight();}if(this._initialLayoutDone){if($3){$3.updateChildrenOnJobQueueFlush($1);}}}catch(ex){this.error("Flushing job queue (childrensignals#5) failed",ex);}delete this._jobQueue;},_isWidthEssential:qx.lang.Function.returnTrue,_isHeightEssential:qx.lang.Function.returnTrue,_computeBoxWidthFallback:function(){return 0;},_computeBoxHeightFallback:function(){return 0;},_computeBoxWidth:function(){var $0=this.getParent().getLayoutImpl();return Math.max(0,qx.lang.Number.limit($0.computeChildBoxWidth(this),this.getMinWidthValue(),this.getMaxWidthValue()));},_computeBoxHeight:function(){var $0=this.getParent().getLayoutImpl();return Math.max(0,qx.lang.Number.limit($0.computeChildBoxHeight(this),this.getMinHeightValue(),this.getMaxHeightValue()));},_computeOuterWidth:function(){return Math.max(0,(this.getMarginLeft()+this.getBoxWidth()+this.getMarginRight()));},_computeOuterHeight:function(){return Math.max(0,(this.getMarginTop()+this.getBoxHeight()+this.getMarginBottom()));},_computeInnerWidth:function(){return Math.max(0,this.getBoxWidth()-this.getFrameWidth());},_computeInnerHeight:function(){return Math.max(0,this.getBoxHeight()-this.getFrameHeight());},getNeededWidth:function(){var $0=this.getParent().getLayoutImpl();return Math.max(0,$0.computeChildNeededWidth(this));},getNeededHeight:function(){var $0=this.getParent().getLayoutImpl();return Math.max(0,$0.computeChildNeededHeight(this));},_recomputeFlexX:function(){if(!this.getHasFlexX()){return false;}if(this._computedWidthTypeFlex){this._computedWidthValue=null;this.addToLayoutChanges($[30]);}return true;},_recomputeFlexY:function(){if(!this.getHasFlexY()){return false;}if(this._computedHeightTypeFlex){this._computedHeightValue=null;this.addToLayoutChanges($[31]);}return true;},_recomputePercentX:function(){if(!this.getHasPercentX()){return false;}if(this._computedWidthTypePercent){this._computedWidthValue=null;this.addToLayoutChanges($[30]);}if(this._computedMinWidthTypePercent){this._computedMinWidthValue=null;this.addToLayoutChanges($[73]);}if(this._computedMaxWidthTypePercent){this._computedMaxWidthValue=null;this.addToLayoutChanges($[74]);}if(this._computedLeftTypePercent){this._computedLeftValue=null;this.addToLayoutChanges($[11]);}if(this._computedRightTypePercent){this._computedRightValue=null;this.addToLayoutChanges($[9]);}return true;},_recomputePercentY:function(){if(!this.getHasPercentY()){return false;}if(this._computedHeightTypePercent){this._computedHeightValue=null;this.addToLayoutChanges($[31]);}if(this._computedMinHeightTypePercent){this._computedMinHeightValue=null;this.addToLayoutChanges($[77]);}if(this._computedMaxHeightTypePercent){this._computedMaxHeightValue=null;this.addToLayoutChanges($[75]);}if(this._computedTopTypePercent){this._computedTopValue=null;this.addToLayoutChanges($[20]);}if(this._computedBottomTypePercent){this._computedBottomValue=null;this.addToLayoutChanges($[17]);}return true;},_recomputeRangeX:qx.core.Variant.select($[1],{"mshtml|opera|webkit":function(){if(this._computedLeftTypeNull||this._computedRightTypeNull){return false;}this.addToLayoutChanges($[30]);return true;},"default":function(){return !(this._computedLeftTypeNull||this._computedRightTypeNull);}}),_recomputeRangeY:qx.core.Variant.select($[1],{"mshtml|opera|webkit":function(){if(this._computedTopTypeNull||this._computedBottomTypeNull){return false;}this.addToLayoutChanges($[31]);return true;},"default":function(){return !(this._computedTopTypeNull||this._computedBottomTypeNull);}}),_recomputeStretchingX:qx.core.Variant.select($[1],{"mshtml|opera|webkit":function(){if(this.getAllowStretchX()&&this._computedWidthTypeNull){this._computedWidthValue=null;this.addToLayoutChanges($[30]);return true;}return false;},"default":function(){if(this.getAllowStretchX()&&this._computedWidthTypeNull){return true;}return false;}}),_recomputeStretchingY:qx.core.Variant.select($[1],{"mshtml|opera|webkit":function(){if(this.getAllowStretchY()&&this._computedHeightTypeNull){this._computedHeightValue=null;this.addToLayoutChanges($[31]);return true;}return false;},"default":function(){if(this.getAllowStretchY()&&this._computedHeightTypeNull){return true;}return false;}}),_computeValuePixel:function($0){return Math.round($0);},_computeValuePixelLimit:function($0){return Math.max(0,this._computeValuePixel($0));},_computeValuePercentX:function($0){return Math.round(this.getParent().getInnerWidthForChild(this)*$0*0.01);},_computeValuePercentXLimit:function($0){return Math.max(0,this._computeValuePercentX($0));},_computeValuePercentY:function($0){return Math.round(this.getParent().getInnerHeightForChild(this)*$0*0.01);},_computeValuePercentYLimit:function($0){return Math.max(0,this._computeValuePercentY($0));},getWidthValue:function(){if(this._computedWidthValue!=null){return this._computedWidthValue;}switch(this._computedWidthType){case qx.ui.core.Widget.TYPE_PIXEL:return this._computedWidthValue=this._computeValuePixelLimit(this._computedWidthParsed);case qx.ui.core.Widget.TYPE_PERCENT:return this._computedWidthValue=this._computeValuePercentXLimit(this._computedWidthParsed);case qx.ui.core.Widget.TYPE_AUTO:return this._computedWidthValue=this.getPreferredBoxWidth();case qx.ui.core.Widget.TYPE_FLEX:if(this.getParent().getLayoutImpl().computeChildrenFlexWidth===undefined){throw new Error("Widget "+this+": having horizontal flex size (width="+this.getWidth()+") but parent layout "+this.getParent()+" does not support it");}this.getParent().getLayoutImpl().computeChildrenFlexWidth();return this._computedWidthValue=this._computedWidthFlexValue;}return null;},getMinWidthValue:function(){if(this._computedMinWidthValue!=null){return this._computedMinWidthValue;}switch(this._computedMinWidthType){case qx.ui.core.Widget.TYPE_PIXEL:return this._computedWidthValue=this._computeValuePixelLimit(this._computedMinWidthParsed);case qx.ui.core.Widget.TYPE_PERCENT:return this._computedWidthValue=this._computeValuePercentXLimit(this._computedMinWidthParsed);case qx.ui.core.Widget.TYPE_AUTO:return this._computedMinWidthValue=this.getPreferredBoxWidth();}return null;},getMaxWidthValue:function(){if(this._computedMaxWidthValue!=null){return this._computedMaxWidthValue;}switch(this._computedMaxWidthType){case qx.ui.core.Widget.TYPE_PIXEL:return this._computedWidthValue=this._computeValuePixelLimit(this._computedMaxWidthParsed);case qx.ui.core.Widget.TYPE_PERCENT:return this._computedWidthValue=this._computeValuePercentXLimit(this._computedMaxWidthParsed);case qx.ui.core.Widget.TYPE_AUTO:return this._computedMaxWidthValue=this.getPreferredBoxWidth();}return null;},getLeftValue:function(){if(this._computedLeftValue!=null){return this._computedLeftValue;}switch(this._computedLeftType){case qx.ui.core.Widget.TYPE_PIXEL:return this._computedLeftValue=this._computeValuePixel(this._computedLeftParsed);case qx.ui.core.Widget.TYPE_PERCENT:return this._computedLeftValue=this._computeValuePercentX(this._computedLeftParsed);}return null;},getRightValue:function(){if(this._computedRightValue!=null){return this._computedRightValue;}switch(this._computedRightType){case qx.ui.core.Widget.TYPE_PIXEL:return this._computedRightValue=this._computeValuePixel(this._computedRightParsed);case qx.ui.core.Widget.TYPE_PERCENT:return this._computedRightValue=this._computeValuePercentX(this._computedRightParsed);}return null;},getHeightValue:function(){if(this._computedHeightValue!=null){return this._computedHeightValue;}switch(this._computedHeightType){case qx.ui.core.Widget.TYPE_PIXEL:return this._computedHeightValue=this._computeValuePixelLimit(this._computedHeightParsed);case qx.ui.core.Widget.TYPE_PERCENT:return this._computedHeightValue=this._computeValuePercentYLimit(this._computedHeightParsed);case qx.ui.core.Widget.TYPE_AUTO:return this._computedHeightValue=this.getPreferredBoxHeight();case qx.ui.core.Widget.TYPE_FLEX:if(this.getParent().getLayoutImpl().computeChildrenFlexHeight===undefined){throw new Error("Widget "+this+": having vertical flex size (height="+this.getHeight()+") but parent layout "+this.getParent()+" does not support it");}this.getParent().getLayoutImpl().computeChildrenFlexHeight();return this._computedHeightValue=this._computedHeightFlexValue;}return null;},getMinHeightValue:function(){if(this._computedMinHeightValue!=null){return this._computedMinHeightValue;}switch(this._computedMinHeightType){case qx.ui.core.Widget.TYPE_PIXEL:return this._computedMinHeightValue=this._computeValuePixelLimit(this._computedMinHeightParsed);case qx.ui.core.Widget.TYPE_PERCENT:return this._computedMinHeightValue=this._computeValuePercentYLimit(this._computedMinHeightParsed);case qx.ui.core.Widget.TYPE_AUTO:return this._computedMinHeightValue=this.getPreferredBoxHeight();}return null;},getMaxHeightValue:function(){if(this._computedMaxHeightValue!=null){return this._computedMaxHeightValue;}switch(this._computedMaxHeightType){case qx.ui.core.Widget.TYPE_PIXEL:return this._computedMaxHeightValue=this._computeValuePixelLimit(this._computedMaxHeightParsed);case qx.ui.core.Widget.TYPE_PERCENT:return this._computedMaxHeightValue=this._computeValuePercentYLimit(this._computedMaxHeightParsed);case qx.ui.core.Widget.TYPE_AUTO:return this._computedMaxHeightValue=this.getPreferredBoxHeight();}return null;},getTopValue:function(){if(this._computedTopValue!=null){return this._computedTopValue;}switch(this._computedTopType){case qx.ui.core.Widget.TYPE_PIXEL:return this._computedTopValue=this._computeValuePixel(this._computedTopParsed);case qx.ui.core.Widget.TYPE_PERCENT:return this._computedTopValue=this._computeValuePercentY(this._computedTopParsed);}return null;},getBottomValue:function(){if(this._computedBottomValue!=null){return this._computedBottomValue;}switch(this._computedBottomType){case qx.ui.core.Widget.TYPE_PIXEL:return this._computedBottomValue=this._computeValuePixel(this._computedBottomParsed);case qx.ui.core.Widget.TYPE_PERCENT:return this._computedBottomValue=this._computeValuePercentY(this._computedBottomParsed);}return null;},_computeFrameWidth:function(){var $0=this._cachedBorderLeft+this.getPaddingLeft()+this.getPaddingRight()+this._cachedBorderRight;switch(this.getOverflow()){case $[26]:case $[111]:$0+=qx.ui.core.Widget.SCROLLBAR_SIZE;break;case $[3]:break;}return $0;},_computeFrameHeight:function(){var $0=this._cachedBorderTop+this.getPaddingTop()+this.getPaddingBottom()+this._cachedBorderBottom;switch(this.getOverflow()){case $[26]:case $[112]:$0+=qx.ui.core.Widget.SCROLLBAR_SIZE;break;case $[3]:break;}return $0;},_invalidateFrameDimensions:function(){this._invalidateFrameWidth();this._invalidateFrameHeight();},_invalidatePreferredInnerDimensions:function(){this._invalidatePreferredInnerWidth();this._invalidatePreferredInnerHeight();},_computePreferredBoxWidth:function(){try{return Math.max(0,this.getPreferredInnerWidth()+this.getFrameWidth());}catch(ex){this.error("_computePreferredBoxWidth failed",ex);}},_computePreferredBoxHeight:function(){try{return Math.max(0,this.getPreferredInnerHeight()+this.getFrameHeight());}catch(ex){this.error("_computePreferredBoxHeight failed",ex);}},_initialLayoutDone:false,addToLayoutChanges:function($0){if(this._isDisplayable){this.getParent()._addChildToChildrenQueue(this);}return this._layoutChanges[$0]=true;},addToQueue:function($0){this._initialLayoutDone?this.addToJobQueue($0):this.addToLayoutChanges($0);},addToQueueRuntime:function($0){return !this._initialLayoutDone||this.addToJobQueue($0);},_computeHasPercentX:function(){return (this._computedLeftTypePercent||this._computedWidthTypePercent||this._computedMinWidthTypePercent||this._computedMaxWidthTypePercent||this._computedRightTypePercent);},_computeHasPercentY:function(){return (this._computedTopTypePercent||this._computedHeightTypePercent||this._computedMinHeightTypePercent||this._computedMaxHeightTypePercent||this._computedBottomTypePercent);},_computeHasAutoX:function(){return (this._computedWidthTypeAuto||this._computedMinWidthTypeAuto||this._computedMaxWidthTypeAuto);},_computeHasAutoY:function(){return (this._computedHeightTypeAuto||this._computedMinHeightTypeAuto||this._computedMaxHeightTypeAuto);},_computeHasFlexX:function(){return this._computedWidthTypeFlex;},_computeHasFlexY:function(){return this._computedHeightTypeFlex;},_evalUnitsPixelPercentAutoFlex:function($0){switch($0){case $[3]:return qx.ui.core.Widget.TYPE_AUTO;case Infinity:case -Infinity:return qx.ui.core.Widget.TYPE_NULL;}switch(typeof $0){case $[50]:return isNaN($0)?qx.ui.core.Widget.TYPE_NULL:qx.ui.core.Widget.TYPE_PIXEL;case $[8]:return $0.indexOf($[173])!=-1?qx.ui.core.Widget.TYPE_PERCENT:$0.indexOf($[140])!=-1?qx.ui.core.Widget.TYPE_FLEX:qx.ui.core.Widget.TYPE_NULL;}return qx.ui.core.Widget.TYPE_NULL;},_evalUnitsPixelPercentAuto:function($0){switch($0){case $[3]:return qx.ui.core.Widget.TYPE_AUTO;case Infinity:case -Infinity:return qx.ui.core.Widget.TYPE_NULL;}switch(typeof $0){case $[50]:return isNaN($0)?qx.ui.core.Widget.TYPE_NULL:qx.ui.core.Widget.TYPE_PIXEL;case $[8]:return $0.indexOf($[173])!=-1?qx.ui.core.Widget.TYPE_PERCENT:qx.ui.core.Widget.TYPE_NULL;}return qx.ui.core.Widget.TYPE_NULL;},_evalUnitsPixelPercent:function($0){switch($0){case Infinity:case -Infinity:return qx.ui.core.Widget.TYPE_NULL;}switch(typeof $0){case $[50]:return isNaN($0)?qx.ui.core.Widget.TYPE_NULL:qx.ui.core.Widget.TYPE_PIXEL;case $[8]:return $0.indexOf($[173])!=-1?qx.ui.core.Widget.TYPE_PERCENT:qx.ui.core.Widget.TYPE_NULL;}return qx.ui.core.Widget.TYPE_NULL;},_unitDetectionPixelPercentAutoFlex:function($0,$1){var $2=qx.ui.core.Widget.layoutPropertyTypes[$0];var $3=$2.dataType;var $4=$2.dataParsed;var $5=$2.dataValue;var $6=$2.typePixel;var $7=$2.typePercent;var $8=$2.typeAuto;var $9=$2.typeFlex;var $a=$2.typeNull;var $b=this[$7];var $c=this[$8];var $d=this[$9];switch(this[$3]=this._evalUnitsPixelPercentAutoFlex($1)){case qx.ui.core.Widget.TYPE_PIXEL:this[$6]=true;this[$7]=this[$8]=this[$9]=this[$a]=false;this[$4]=this[$5]=Math.round($1);break;case qx.ui.core.Widget.TYPE_PERCENT:this[$7]=true;this[$6]=this[$8]=this[$9]=this[$a]=false;this[$4]=parseFloat($1);this[$5]=null;break;case qx.ui.core.Widget.TYPE_AUTO:this[$8]=true;this[$6]=this[$7]=this[$9]=this[$a]=false;this[$4]=this[$5]=null;break;case qx.ui.core.Widget.TYPE_FLEX:this[$9]=true;this[$6]=this[$7]=this[$8]=this[$a]=false;this[$4]=parseFloat($1);this[$5]=null;break;default:this[$a]=true;this[$6]=this[$7]=this[$8]=this[$9]=false;this[$4]=this[$5]=null;break;}if($b!=this[$7]){switch($0){case $[73]:case $[74]:case $[30]:case $[11]:case $[9]:this._invalidateHasPercentX();break;case $[75]:case $[77]:case $[31]:case $[20]:case $[17]:this._invalidateHasPercentY();break;}}if($c!=this[$8]){switch($0){case $[73]:case $[74]:case $[30]:this._invalidateHasAutoX();break;case $[77]:case $[75]:case $[31]:this._invalidateHasAutoY();break;}}if($d!=this[$9]){switch($0){case $[30]:this._invalidateHasFlexX();break;case $[31]:this._invalidateHasFlexY();break;}}},_unitDetectionPixelPercentAuto:function($0,$1){var $2=qx.ui.core.Widget.layoutPropertyTypes[$0];var $3=$2.dataType;var $4=$2.dataParsed;var $5=$2.dataValue;var $6=$2.typePixel;var $7=$2.typePercent;var $8=$2.typeAuto;var $9=$2.typeNull;var $a=this[$7];var $b=this[$8];switch(this[$3]=this._evalUnitsPixelPercentAuto($1)){case qx.ui.core.Widget.TYPE_PIXEL:this[$6]=true;this[$7]=this[$8]=this[$9]=false;this[$4]=this[$5]=Math.round($1);break;case qx.ui.core.Widget.TYPE_PERCENT:this[$7]=true;this[$6]=this[$8]=this[$9]=false;this[$4]=parseFloat($1);this[$5]=null;break;case qx.ui.core.Widget.TYPE_AUTO:this[$8]=true;this[$6]=this[$7]=this[$9]=false;this[$4]=this[$5]=null;break;default:this[$9]=true;this[$6]=this[$7]=this[$8]=false;this[$4]=this[$5]=null;break;}if($a!=this[$7]){switch($0){case $[73]:case $[74]:case $[30]:case $[11]:case $[9]:this._invalidateHasPercentX();break;case $[77]:case $[75]:case $[31]:case $[20]:case $[17]:this._invalidateHasPercentY();break;}}if($b!=this[$8]){switch($0){case $[73]:case $[74]:case $[30]:this._invalidateHasAutoX();break;case $[77]:case $[75]:case $[31]:this._invalidateHasAutoY();break;}}},_unitDetectionPixelPercent:function($0,$1){var $2=qx.ui.core.Widget.layoutPropertyTypes[$0];var $3=$2.dataType;var $4=$2.dataParsed;var $5=$2.dataValue;var $6=$2.typePixel;var $7=$2.typePercent;var $8=$2.typeNull;var $9=this[$7];switch(this[$3]=this._evalUnitsPixelPercent($1)){case qx.ui.core.Widget.TYPE_PIXEL:this[$6]=true;this[$7]=this[$8]=false;this[$4]=this[$5]=Math.round($1);break;case qx.ui.core.Widget.TYPE_PERCENT:this[$7]=true;this[$6]=this[$8]=false;this[$4]=parseFloat($1);this[$5]=null;break;default:this[$8]=true;this[$6]=this[$7]=false;this[$4]=this[$5]=null;break;}if($9!=this[$7]){switch($0){case $[73]:case $[74]:case $[30]:case $[11]:case $[9]:this._invalidateHasPercentX();break;case $[77]:case $[75]:case $[31]:case $[20]:case $[17]:this._invalidateHasPercentY();break;}}},getTopLevelWidget:function(){return this._hasParent?this.getParent().getTopLevelWidget():null;},moveSelfBefore:function($0){this.getParent().addBefore(this,$0);},moveSelfAfter:function($0){this.getParent().addAfter(this,$0);},moveSelfToBegin:function(){this.getParent().addAtBegin(this);},moveSelfToEnd:function(){this.getParent().addAtEnd(this);},getPreviousSibling:function(){var $0=this.getParent();if($0==null){return null;}var $1=$0.getChildren();return $1[$1.indexOf(this)-1];},getNextSibling:function(){var $0=this.getParent();if($0==null){return null;}var $1=$0.getChildren();return $1[$1.indexOf(this)+1];},getPreviousVisibleSibling:function(){if(!this._hasParent){return null;}var $0=this.getParent().getVisibleChildren();return $0[$0.indexOf(this)-1];},getNextVisibleSibling:function(){if(!this._hasParent){return null;}var $0=this.getParent().getVisibleChildren();return $0[$0.indexOf(this)+1];},getPreviousActiveSibling:function($0){var $1=qx.ui.core.Widget.getActiveSiblingHelper(this,this.getParent(),-1,$0,null);return $1?$1:this.getParent().getLastActiveChild();},getNextActiveSibling:function($0){var $1=qx.ui.core.Widget.getActiveSiblingHelper(this,this.getParent(),1,$0,null);return $1?$1:this.getParent().getFirstActiveChild();},isFirstChild:function(){return this._hasParent&&this.getParent().getFirstChild()==this;},isLastChild:function(){return this._hasParent&&this.getParent().getLastChild()==this;},isFirstVisibleChild:function(){return this._hasParent&&this.getParent().getFirstVisibleChild()==this;},isLastVisibleChild:function(){return this._hasParent&&this.getParent().getLastVisibleChild()==this;},hasState:function($0){return this.__states&&this.__states[$0]?true:false;},addState:function($0){if(!this.__states){this.__states={};}if(!this.__states[$0]){this.__states[$0]=true;if(this._hasParent){qx.ui.core.Widget.addToGlobalStateQueue(this);}}},removeState:function($0){if(this.__states&&this.__states[$0]){delete this.__states[$0];if(this._hasParent){qx.ui.core.Widget.addToGlobalStateQueue(this);}}},_styleFromMap:function($0){var $1=qx.core.Property.$$method.style;var $2=qx.core.Property.$$method.unstyle;var $3;var $4;for(var $4 in $0){$3=$0[$4];$3===$[65]?this[$2[$4]]():this[$1[$4]]($3);}},_unstyleFromArray:function($0){var $1=qx.core.Property.$$method.unstyle;var $2,$3;for(var $2=0,$3=$0.length;$2<$3;$2++){this[$1[$0[$2]]]();}},_renderAppearance:function(){if(!this.__states){this.__states={};}this._applyStateStyleFocus(this.__states);var $0=this.getAppearance();if($0){try{var $1=qx.theme.manager.Appearance.getInstance().styleFrom($0,this.__states);if($1){this._styleFromMap($1);}}catch(ex){this.error("Could not apply state appearance",ex);}}},_resetAppearanceThemeWrapper:function($0,$1){var $2=this.getAppearance();if($2){var $3=qx.theme.manager.Appearance.getInstance();var $4=$3.styleFromTheme($1,$2,this.__states);var $5=$3.styleFromTheme($0,$2,this.__states);var $6=[];for(var $7 in $4){if($5[$7]===undefined){$6.push($7);}}this._unstyleFromArray($6);this._styleFromMap($5);}},_applyStateStyleFocus:qx.core.Variant.select($[1],{"mshtml":function($0){},"gecko":function($0){if($0.focused){if(!qx.event.handler.FocusHandler.mouseFocus&&!this.getHideFocus()){this.setStyleProperty($[200],$[205]);}}else{this.removeStyleProperty($[200]);}},"default":function($0){if($0.focused){if(!qx.event.handler.FocusHandler.mouseFocus&&!this.getHideFocus()){this.setStyleProperty($[214],$[205]);}}else{this.removeStyleProperty($[214]);}}}),addToStateQueue:function(){qx.ui.core.Widget.addToGlobalStateQueue(this);},recursiveAddToStateQueue:function(){this.addToStateQueue();},_applyAppearance:function($0,$1){if(!this.__states){this.__states={};}var $2=qx.theme.manager.Appearance.getInstance();if($0){var $3=$2.styleFrom($0,this.__states)||{};}if($1){var $4=$2.styleFrom($1,this.__states)||{};var $5=[];for(var $6 in $4){if(!$3||!($6 in $3)){$5.push($6);}}}if($5){this._unstyleFromArray($5);}if($3){this._styleFromMap($3);}},_recursiveAppearanceThemeUpdate:function($0,$1){try{this._resetAppearanceThemeWrapper($0,$1);}catch(ex){this.error("Failed to update appearance theme",ex);}},_applyElementData:function($0){},setHtmlProperty:function($0,$1){if(!this._htmlProperties){this._htmlProperties={};}this._htmlProperties[$0]=$1;if(this._isCreated&&this.getElement()[$0]!=$1){this.getElement()[$0]=$1;}return true;},removeHtmlProperty:qx.core.Variant.select($[1],{"mshtml":function($0){if(!this._htmlProperties){return;}delete this._htmlProperties[$0];if(this._isCreated){this.getElement().removeAttribute($0);}return true;},"default":function($0){if(!this._htmlProperties){return;}delete this._htmlProperties[$0];if(this._isCreated){this.getElement().removeAttribute($0);delete this.getElement()[$0];}return true;}}),getHtmlProperty:function($0){if(!this._htmlProperties){return $[0];}return this._htmlProperties[$0]||$[0];},_applyHtmlProperties:function($0){var $1=this._htmlProperties;if($1){var $2;for($2 in $1){$0[$2]=$1[$2];}}},_generateHtmlId:function(){var $0=this.classname+$[24]+qx.ui.core.Widget._idCounter++;this.debug("setting autogenerated HTML id to "+$0);this.setHtmlProperty($[928],$0);},setHtmlAttribute:function($0,$1){qx.log.Logger.deprecatedMethodWarning(arguments.callee,$[1057]);if(!this._htmlAttributes){this._htmlAttributes={};}this._htmlAttributes[$0]=$1;if(this._isCreated){this.getElement().setAttribute($0,$1);}return true;},removeHtmlAttribute:function($0){qx.log.Logger.deprecatedMethodWarning(arguments.callee,$[588]);if(!this._htmlAttributes){return;}delete this._htmlAttributes[$0];if(this._isCreated){this.getElement().removeAttribute($0);}return true;},getHtmlAttribute:function($0){if(!this._htmlAttributes){return $[0];}return this._htmlAttributes[$0]||$[0];},_applyHtmlAttributes:function($0){var $1=this._htmlAttributes;if($1){var $2;for($2 in $1){$0.setAttribute($2,$1[$2]);}}},getStyleProperty:function($0){if(!this._styleProperties){return $[0];}return this._styleProperties[$0]||$[0];},__outerElementStyleProperties:{cursor:true,zIndex:true,filter:true,display:true,visibility:true},setStyleProperty:function($0,$1){if(!this._styleProperties){this._styleProperties={};}this._styleProperties[$0]=$1;if(this._isCreated){var $2=this.__outerElementStyleProperties[$0]?this.getElement():this._getTargetNode();if($2){$2.style[$0]=($1==null)?$[0]:$1;}}},removeStyleProperty:function($0){if(!this._styleProperties){return;}delete this._styleProperties[$0];if(this._isCreated){var $1=this.__outerElementStyleProperties[$0]?this.getElement():this._getTargetNode();if($1){$1.style[$0]=$[0];}}},_applyStyleProperties:function($0){var $1=this._styleProperties;if(!$1){return;}var $2;var $3=$0;var $4=this._getTargetNode();var $0;var $5;for($2 in $1){$0=this.__outerElementStyleProperties[$2]?$3:$4;$5=$1[$2];$0.style[$2]=($5==null)?$[0]:$5;}},_applyEnabled:function($0,$1){if($0===false){this.addState($[185]);this.removeState($[43]);if(qx.Class.isDefined($[303])){this.removeState($[35]);this.removeState($[14]);}}else{this.removeState($[185]);}},isFocusable:function(){return this.getEnabled()&&this.isSeeable()&&this.getTabIndex()>=0&&this.getTabIndex()!=null;},isFocusRoot:function(){return false;},getFocusRoot:function(){if(this._hasParent){return this.getParent().getFocusRoot();}return null;},getActiveChild:function(){var $0=this.getFocusRoot();if($0){return $0.getActiveChild();}return null;},_ontabfocus:qx.lang.Function.returnTrue,_applyFocused:function($0,$1){if(!this.isCreated()){return;}var $2=this.getFocusRoot();if($2){if($0){$2.setFocusedChild(this);this._visualizeFocus();}else{if($2.getFocusedChild()==this){$2.setFocusedChild(null);}this._visualizeBlur();}}},_applyHideFocus:qx.core.Variant.select($[1],{"mshtml":function($0,$1){this.setHtmlProperty($[1668],$0);},"default":qx.lang.Function.returnTrue}),_visualizeBlur:function(){if(this.getEnableElementFocus()&&(!this.getFocusRoot().getFocusedChild()||(this.getFocusRoot().getFocusedChild()&&this.getFocusRoot().getFocusedChild().getEnableElementFocus()))){try{this.getElement().blur();}catch(ex){}}this.removeState($[224]);},_visualizeFocus:function(){if(!qx.event.handler.FocusHandler.mouseFocus&&this.getEnableElementFocus()){try{this.getElement().focus();}catch(ex){}}this.addState($[224]);},focus:function(){delete qx.event.handler.FocusHandler.mouseFocus;this.setFocused(true);},blur:function(){delete qx.event.handler.FocusHandler.mouseFocus;this.setFocused(false);},_applyCapture:function($0,$1){var $2=qx.event.handler.EventHandler.getInstance();if($1){$2.setCaptureWidget(null);}else if($0){$2.setCaptureWidget(this);}},_applyZIndex:function($0,$1){if($0==null){this.removeStyleProperty($[309]);}else{this.setStyleProperty($[309],$0);}},_applyTabIndex:qx.core.Variant.select($[1],{"mshtml":function($0,$1){this.setHtmlProperty($[353],$0<0?-1:1);},"gecko":function($0,$1){this.setStyleProperty($[1434],($0<0?$[499]:$[156]));},"default":function($0,$1){this.setStyleProperty($[722],($0<0?$[499]:$[156]));this.setHtmlProperty($[353],$0<0?-1:1);}}),_applySelectable:qx.core.Variant.select($[1],{"mshtml":function($0,$1){},"gecko":function($0,$1){if($0){this.removeStyleProperty($[368]);}else{this.setStyleProperty($[368],$[7]);}},"webkit":function($0,$1){if($0){this.removeStyleProperty($[513]);}else{this.setStyleProperty($[513],$[7]);}},"khtml":function($0,$1){if($0){this.removeStyleProperty($[382]);}else{this.setStyleProperty($[382],$[7]);}},"default":function($0,$1){if($0){return this.removeStyleProperty($[525]);}else{this.setStyleProperty($[525],$[7]);}}}),_applyOpacity:qx.core.Variant.select($[1],{"mshtml":function($0,$1){if($0==null||$0>=1||$0<0){this.removeStyleProperty($[144]);}else{this.setStyleProperty($[144],($[873]+Math.round($0*100)+$[145]));}},"default":function($0,$1){if($0==null||$0>1){if(qx.core.Variant.isSet($[1],$[21])){this.removeStyleProperty($[496]);}else if(qx.core.Variant.isSet($[1],$[157])){this.removeStyleProperty($[358]);}this.removeStyleProperty($[355]);}else{$0=qx.lang.Number.limit($0,0,1);if(qx.core.Variant.isSet($[1],$[21])){this.setStyleProperty($[496],$0);}else if(qx.core.Variant.isSet($[1],$[157])){this.setStyleProperty($[358],$0);}this.setStyleProperty($[355],$0);}}}),__cursorMap:qx.core.Variant.select($[1],{"mshtml":{"cursor":$[204],"ew-resize":$[305],"ns-resize":$[282],"nesw-resize":$[429],"nwse-resize":$[330]},"opera":{"col-resize":$[305],"row-resize":$[282],"ew-resize":$[305],"ns-resize":$[282],"nesw-resize":$[429],"nwse-resize":$[330]},"default":{}}),_applyCursor:function($0,$1){if($0){this.setStyleProperty($[323],this.__cursorMap[$0]||$0);}else{this.removeStyleProperty($[323]);}},_applyCommand:function($0,$1){},_applyBackgroundImage:function($0,$1){var $2=qx.io.image.Manager.getInstance();var $3=qx.io.Alias.getInstance();if($1){$2.hide($1);}if($0){$2.show($0);}$3.connect(this._styleBackgroundImage,this,$0);},_styleBackgroundImage:function($0){$0?this.setStyleProperty($[437],$[1761]+$0+$[145]):this.removeStyleProperty($[437]);},_applyBackgroundRepeat:function($0,$1){$0?this.setStyleProperty($[371],$0):this.removeStyleProperty($[371]);},_applyClip:function($0,$1){return this._compileClipString();},_compileClipString:function(){var $0=this.getClipLeft();var $1=this.getClipTop();var $2=this.getClipWidth();var $3=this.getClipHeight();var $4,$5;if($0==null){$4=($2==null?$[3]:$2+$[38]);$0=$[3];}else{$4=($2==null?$[3]:$0+$2+$[38]);$0=$0+$[38];}if($1==null){$5=($3==null?$[3]:$3+$[38]);$1=$[3];}else{$5=($3==null?$[3]:$1+$3+$[38]);$1=$1+$[38];}return this.setStyleProperty($[977],($[1735]+$1+$[101]+$4+$[101]+$5+$[101]+$0+$[145]));},_applyOverflow:qx.core.Variant.select($[1],{"default":function($0,$1){var $2=$0;var $3=$[63];switch($0){case $[112]:$3=$[175];$2=$[26];break;case $[111]:$3=$[179];$2=$[26];break;}var $4=[$[63],$[175],$[179]];for(var $5=0;$5<$4.length;$5++){if($4[$5]!=$3){this.removeStyleProperty($4[$5]);}}switch($0){case $[112]:this.setStyleProperty($[179],$[36]);break;case $[111]:this.setStyleProperty($[175],$[36]);break;}this._renderOverflow($3,$2,$0,$1);this.addToQueue($[63]);},"gecko":function($0,$1){var $2=$0;var $3=$[63];switch($2){case $[36]:$2=$[1657];break;case $[112]:$2=$[281];break;case $[111]:$2=$[274];break;}this._renderOverflow($3,$2,$0,$1);this.addToQueue($[63]);},"opera":function($0,$1){var $2=$0;var $3=$[63];switch($2){case $[112]:case $[111]:$2=$[26];break;}this._renderOverflow($3,$2,$0,$1);this.addToQueue($[63]);}}),_renderOverflow:function($0,$1,$2,$3){this.setStyleProperty($0,$1||$[0]);this._invalidateFrameWidth();this._invalidateFrameHeight();},getOverflowX:function(){var $0=this.getOverflow();return $0==$[111]?$[36]:$0;},getOverflowY:function(){var $0=this.getOverflow();return $0==$[112]?$[36]:$0;},_applyBackgroundColor:function($0,$1){qx.theme.manager.Color.getInstance().connect(this._styleBackgroundColor,this,$0);},_styleBackgroundColor:function($0){$0?this.setStyleProperty($[487],$0):this.removeStyleProperty($[487]);},_applyTextColor:function($0,$1){},_applyFont:function($0,$1){},_cachedBorderTop:0,_cachedBorderRight:0,_cachedBorderBottom:0,_cachedBorderLeft:0,_applyBorder:function($0,$1){qx.theme.manager.Border.getInstance().connect(this._queueBorder,this,$0);},__borderJobs:{top:$[784],right:$[1411],bottom:$[637],left:$[1491]},_queueBorder:function($0,$1){if(!$1){var $2=this.__borderJobs;for(var $3 in $2){this.addToQueue($2[$3]);}this.__reflowBorderX($0);this.__reflowBorderY($0);}else{if($1===$[11]||$1===$[9]){this.__reflowBorderX($0);}else{this.__reflowBorderY($0);}this.addToQueue(this.__borderJobs[$1]);}this.__borderObject=$0;},__reflowBorderX:function($0){var $1=this._cachedBorderLeft;var $2=this._cachedBorderRight;this._cachedBorderLeft=$0?$0.getWidthLeft():0;this._cachedBorderRight=$0?$0.getWidthRight():0;if(($1+$2)!=(this._cachedBorderLeft+this._cachedBorderRight)){this._invalidateFrameWidth();}},__reflowBorderY:function($0){var $1=this._cachedBorderTop;var $2=this._cachedBorderBottom;this._cachedBorderTop=$0?$0.getWidthTop():0;this._cachedBorderBottom=$0?$0.getWidthBottom():0;if(($1+$2)!=(this._cachedBorderTop+this._cachedBorderBottom)){this._invalidateFrameHeight();}},renderBorder:function($0){var $1=this.__borderObject;if($1){if($0.borderTop){$1.renderTop(this);}if($0.borderRight){$1.renderRight(this);}if($0.borderBottom){$1.renderBottom(this);}if($0.borderLeft){$1.renderLeft(this);}}else{var $2=qx.ui.core.Border;if($0.borderTop){$2.resetTop(this);}if($0.borderRight){$2.resetRight(this);}if($0.borderBottom){$2.resetBottom(this);}if($0.borderLeft){$2.resetLeft(this);}}},prepareEnhancedBorder:qx.core.Variant.select($[1],{"gecko":qx.lang.Function.returnTrue,"default":function(){var $0=this.getElement();var $1=this._borderElement=document.createElement($[67]);var $2=$0.style;var $3=this._innerStyle=$1.style;if(qx.core.Variant.isSet($[1],$[13])){}else{$3.width=$3.height=$[56];}$3.position=$[54];for(var $4 in this._styleProperties){switch($4){case $[309]:case $[144]:case $[158]:break;default:$3[$4]=$2[$4];$2[$4]=$[0];}}for(var $4 in this._htmlProperties){switch($4){case $[1337]:$1.unselectable=this._htmlProperties[$4];}}while($0.firstChild){$1.appendChild($0.firstChild);}$0.appendChild($1);}}),_applyPaddingTop:function($0,$1){this.addToQueue($[215]);this._invalidateFrameHeight();},_applyPaddingRight:function($0,$1){this.addToQueue($[245]);this._invalidateFrameWidth();},_applyPaddingBottom:function($0,$1){this.addToQueue($[231]);this._invalidateFrameHeight();},_applyPaddingLeft:function($0,$1){this.addToQueue($[242]);this._invalidateFrameWidth();},renderPadding:function($0){},_applyMarginLeft:function($0,$1){this.addToQueue($[159]);},_applyMarginRight:function($0,$1){this.addToQueue($[225]);},_applyMarginTop:function($0,$1){this.addToQueue($[153]);},_applyMarginBottom:function($0,$1){this.addToQueue($[211]);},execute:function(){var $0=this.getCommand();if($0){$0.execute(this);}this.createDispatchEvent($[128]);},_visualPropertyCheck:function(){if(!this.isCreated()){throw new Error(this.classname+": Element must be created previously!");}},setScrollLeft:function($0){this._visualPropertyCheck();this._getTargetNode().scrollLeft=$0;},setScrollTop:function($0){this._visualPropertyCheck();this._getTargetNode().scrollTop=$0;},getOffsetLeft:function(){this._visualPropertyCheck();return qx.html.Offset.getLeft(this.getElement());},getOffsetTop:function(){this._visualPropertyCheck();return qx.html.Offset.getTop(this.getElement());},getScrollLeft:function(){this._visualPropertyCheck();return this._getTargetNode().scrollLeft;},getScrollTop:function(){this._visualPropertyCheck();return this._getTargetNode().scrollTop;},getClientWidth:function(){this._visualPropertyCheck();return this._getTargetNode().clientWidth;},getClientHeight:function(){this._visualPropertyCheck();return this._getTargetNode().clientHeight;},getOffsetWidth:function(){this._visualPropertyCheck();return this.getElement().offsetWidth;},getOffsetHeight:function(){this._visualPropertyCheck();return this.getElement().offsetHeight;},getScrollWidth:function(){this._visualPropertyCheck();return this._getTargetNode().scrollWidth;},getScrollHeight:function(){this._visualPropertyCheck();return this._getTargetNode().scrollHeight;},scrollIntoView:function($0){this.scrollIntoViewX($0);this.scrollIntoViewY($0);},scrollIntoViewX:function($0){if(!this._isCreated||!this._isDisplayable){this.warn("The function scrollIntoViewX can only be called after the widget is created!");return false;}return qx.html.ScrollIntoView.scrollX(this.getElement(),$0);},scrollIntoViewY:function($0){if(!this._isCreated||!this._isDisplayable){this.warn("The function scrollIntoViewY can only be called after the widget is created!");return false;}return qx.html.ScrollIntoView.scrollY(this.getElement(),$0);},supportsDrop:function($0){var $1=this.getSupportsDropMethod();if($1!==null){return $1.call(this,$0);}return (this!=$0.sourceWidget);}},settings:{"qx.widgetQueueDebugging":false,"qx.widgetDebugId":false},defer:function($0,$1){$0.__initApplyMethods($1);if(qx.core.Variant.isSet($[1],$[13])){$1._renderRuntimeWidth=function($2){this._style.pixelWidth=($2==null)?0:$2;if(this._innerStyle){this._innerStyle.pixelWidth=($2==null)?0:$2-2;}};$1._renderRuntimeHeight=function($2){this._style.pixelHeight=($2==null)?0:$2;if(this._innerStyle){this._innerStyle.pixelHeight=($2==null)?0:$2-2;}};$1._resetRuntimeWidth=function(){this._style.width=$[0];if(this._innerStyle){this._innerStyle.width=$[0];}};$1._resetRuntimeHeight=function(){this._style.height=$[0];if(this._innerStyle){this._innerStyle.height=$[0];}};}$0.__initLayoutProperties($0);{};},destruct:function(){var $0=this.getElement();if($0){$0.qx_Widget=null;}this._disposeFields($[1691],$[1129],$[329],$[1452],$[971],$[1224],$[1245],$[866],$[1380],$[948],$[642],$[1700],$[620],$[1630]);}}); > qx.Class.define($[574],{statics:{getOuterWidth:function($0){return qx.html.Dimension.getBoxWidth($0)+qx.html.Style.getMarginLeft($0)+qx.html.Style.getMarginRight($0);},getOuterHeight:function($0){return qx.html.Dimension.getBoxHeight($0)+qx.html.Style.getMarginTop($0)+qx.html.Style.getMarginBottom($0);},getBoxWidthForZeroHeight:function($0){var $1=$0.offsetHeight;if($1==0){var $2=$0.style.height;$0.style.height=$[161];}var $3=$0.offsetWidth;if($1==0){$0.style.height=$2;}return $3;},getBoxHeightForZeroWidth:function($0){var $1=$0.offsetWidth;if($1==0){var $2=$0.style.width;$0.style.width=$[161];}var $3=$0.offsetHeight;if($1==0){$0.style.width=$2;}return $3;},getBoxWidth:function($0){return $0.offsetWidth;},getBoxHeight:function($0){return $0.offsetHeight;},getAreaWidth:qx.core.Variant.select($[1],{"gecko":function($0){if($0.clientWidth!=0&&$0.clientWidth!=(qx.html.Style.getBorderLeft($0)+qx.html.Style.getBorderRight($0))){return $0.clientWidth;}else{return qx.html.Dimension.getBoxWidth($0)-qx.html.Dimension.getInsetLeft($0)-qx.html.Dimension.getInsetRight($0);}},"default":function($0){return $0.clientWidth!=0?$0.clientWidth:(qx.html.Dimension.getBoxWidth($0)-qx.html.Dimension.getInsetLeft($0)-qx.html.Dimension.getInsetRight($0));}}),getAreaHeight:qx.core.Variant.select($[1],{"gecko":function($0){if($0.clientHeight!=0&&$0.clientHeight!=(qx.html.Style.getBorderTop($0)+qx.html.Style.getBorderBottom($0))){return $0.clientHeight;}else{return qx.html.Dimension.getBoxHeight($0)-qx.html.Dimension.getInsetTop($0)-qx.html.Dimension.getInsetBottom($0);}},"default":function($0){return $0.clientHeight!=0?$0.clientHeight:(qx.html.Dimension.getBoxHeight($0)-qx.html.Dimension.getInsetTop($0)-qx.html.Dimension.getInsetBottom($0));}}),getInnerWidth:function($0){return qx.html.Dimension.getAreaWidth($0)-qx.html.Style.getPaddingLeft($0)-qx.html.Style.getPaddingRight($0);},getInnerHeight:function($0){return qx.html.Dimension.getAreaHeight($0)-qx.html.Style.getPaddingTop($0)-qx.html.Style.getPaddingBottom($0);},getInsetLeft:qx.core.Variant.select($[1],{"mshtml":function($0){return $0.clientLeft;},"default":function($0){return qx.html.Style.getBorderLeft($0);}}),getInsetTop:qx.core.Variant.select($[1],{"mshtml":function($0){return $0.clientTop;},"default":function($0){return qx.html.Style.getBorderTop($0);}}),getInsetRight:qx.core.Variant.select($[1],{"mshtml":function($0){if(qx.html.Style.getStyleProperty($0,$[179])==$[36]||$0.clientWidth==0){return qx.html.Style.getBorderRight($0);}return Math.max(0,$0.offsetWidth-$0.clientLeft-$0.clientWidth);},"default":function($0){if($0.clientWidth==0){var $1=qx.html.Style.getStyleProperty($0,$[63]);var $2=$1==$[26]||$1==$[274]?16:0;return Math.max(0,qx.html.Style.getBorderRight($0)+$2);}return Math.max(0,$0.offsetWidth-$0.clientWidth-qx.html.Style.getBorderLeft($0));}}),getInsetBottom:qx.core.Variant.select($[1],{"mshtml":function($0){if(qx.html.Style.getStyleProperty($0,$[175])==$[36]||$0.clientHeight==0){return qx.html.Style.getBorderBottom($0);}return Math.max(0,$0.offsetHeight-$0.clientTop-$0.clientHeight);},"default":function($0){if($0.clientHeight==0){var $1=qx.html.Style.getStyleProperty($0,$[63]);var $2=$1==$[26]||$1==$[281]?16:0;return Math.max(0,qx.html.Style.getBorderBottom($0)+$2);}return Math.max(0,$0.offsetHeight-$0.clientHeight-qx.html.Style.getBorderTop($0));}}),getScrollBarSizeLeft:function($0){return 0;},getScrollBarSizeTop:function($0){return 0;},getScrollBarSizeRight:function($0){return qx.html.Dimension.getInsetRight($0)-qx.html.Style.getBorderRight($0);},getScrollBarSizeBottom:function($0){return qx.html.Dimension.getInsetBottom($0)-qx.html.Style.getBorderBottom($0);},getScrollBarVisibleX:function($0){return qx.html.Dimension.getScrollBarSizeRight($0)>0;},getScrollBarVisibleY:function($0){return qx.html.Dimension.getScrollBarSizeBottom($0)>0;}}}); >-qx.Class.define($[868],{statics:{getLeft:qx.core.Variant.select($[1],{"gecko":function($0){var $1=$0.offsetLeft;var $2=$0.parentNode;var $3=qx.html.Style.getStyleProperty($0,$[78]);var $4=qx.html.Style.getStyleProperty($2,$[78]);if($3!=$[54]&&$3!=$[123]){$1-=qx.html.Style.getBorderLeft($2);}if($4!=$[54]&&$4!=$[123]){while($2){$2=$2.parentNode;if(!$2||typeof $2.tagName!==$[8]){break;}var $5=qx.html.Style.getStyleProperty($2,$[78]);if($5==$[54]||$5==$[123]){$1-=qx.html.Style.getBorderLeft($2)+qx.html.Style.getPaddingLeft($2);break;}}}return $1;},"default":function($0){return $0.offsetLeft;}}),getTop:qx.core.Variant.select($[1],{"gecko":function($0){var $1=$0.offsetTop;var $2=$0.parentNode;var $3=qx.html.Style.getStyleProperty($0,$[78]);var $4=qx.html.Style.getStyleProperty($2,$[78]);if($3!=$[54]&&$3!=$[123]){$1-=qx.html.Style.getBorderTop($2);}if($4!=$[54]&&$4!=$[123]){while($2){$2=$2.parentNode;if(!$2||typeof $2.tagName!==$[8]){break;}var $5=qx.html.Style.getStyleProperty($2,$[78]);if($5==$[54]||$5==$[123]){$1-=qx.html.Style.getBorderTop($2)+qx.html.Style.getPaddingTop($2);break;}}}return $1;},"default":function($0){return $0.offsetTop;}})}}); >-qx.Class.define($[913],{type:$[18],extend:qx.util.manager.Value,properties:{colorTheme:{check:$[121],nullable:true,apply:$[1560],event:$[827]}},members:{_applyColorTheme:function($0){var $1=this._dynamic={};if($0){var $2=$0.colors;var $3=qx.util.ColorUtil;var $4;for(var $5 in $2){$4=$2[$5];if(typeof $4===$[8]){if(!$3.isCssString($4)){throw new Error("Could not parse color: "+$4);}}else if($4 instanceof Array){$4=$3.rgbToRgbString($4);}else{throw new Error("Could not parse color: "+$4);}$1[$5]=$4;}}if(qx.theme.manager.Meta.getInstance().getAutoSync()){this.syncColorTheme();}},syncColorTheme:function(){this._updateObjects();}}}); >-qx.Class.define($[1489],{statics:{REGEXP:{hex3:/^#([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex6:/^#([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,rgb:/^rgb\(\s*([0-9]{1,3}\.{0,1}[0-9]*)\s*,\s*([0-9]{1,3}\.{0,1}[0-9]*)\s*,\s*([0-9]{1,3}\.{0,1}[0-9]*)\s*\)$/},SYSTEM:{activeborder:true,activecaption:true,appworkspace:true,background:true,buttonface:true,buttonhighlight:true,buttonshadow:true,buttontext:true,captiontext:true,graytext:true,highlight:true,highlighttext:true,inactiveborder:true,inactivecaption:true,inactivecaptiontext:true,infobackground:true,infotext:true,menu:true,menutext:true,scrollbar:true,threeddarkshadow:true,threedface:true,threedhighlight:true,threedlightshadow:true,threedshadow:true,window:true,windowframe:true,windowtext:true},NAMED:{black:[0,0,0],silver:[192,192,192],gray:[128,128,128],white:[255,255,255],maroon:[128,0,0],red:[255,0,0],purple:[128,0,128],fuchsia:[255,0,255],green:[0,128,0],lime:[0,255,0],olive:[128,128,0],yellow:[255,255,0],navy:[0,0,128],blue:[0,0,255],teal:[0,128,128],aqua:[0,255,255],transparent:[-1,-1,-1],grey:[128,128,128],magenta:[255,0,255],orange:[255,165,0],brown:[165,42,42]},isNamedColor:function($0){return this.NAMED[$0]!==undefined;},isSystemColor:function($0){return this.SYSTEM[$0]!==undefined;},isThemedColor:function($0){return qx.theme.manager.Color.getInstance().isDynamic($0);},stringToRgb:function($0){if(this.isThemedColor($0)){var $0=qx.theme.manager.Color.getInstance().resolveDynamic($0);}if(this.isNamedColor($0)){return this.NAMED[$0];}else if(this.isSystemColor($0)){throw new Error("Could not convert system colors to RGB: "+$0);}else if(this.isRgbString($0)){return this.__rgbStringToRgb();}else if(this.isHex3String($0)){return this.__hex3StringToRgb();}else if(this.isHex6String($0)){return this.__hex6StringToRgb();}throw new Error("Could not parse color: "+$0);},cssStringToRgb:function($0){if(this.isNamedColor($0)){return this.NAMED[$0];}else if(this.isSystemColor($0)){throw new Error("Could not convert system colors to RGB: "+$0);}else if(this.isRgbString($0)){return this.__rgbStringToRgb();}else if(this.isHex3String($0)){return this.__hex3StringToRgb();}else if(this.isHex6String($0)){return this.__hex6StringToRgb();}throw new Error("Could not parse color: "+$0);},stringToRgbString:function($0){return this.rgbToRgbString(this.stringToRgb($0));},rgbToRgbString:function($0){return $[1102]+$0[0]+$[101]+$0[1]+$[101]+$0[2]+$[145];},rgbToHexString:function($0){return (qx.lang.String.pad($0[0].toString(16).toUpperCase(),2)+qx.lang.String.pad($0[1].toString(16).toUpperCase(),2)+qx.lang.String.pad($0[2].toString(16).toUpperCase(),2));},isValid:function($0){return this.isThemedColor($0)||this.isCssString($0);},isCssString:function($0){return this.isSystemColor($0)||this.isNamedColor($0)||this.isHex3String($0)||this.isHex6String($0)||this.isRgbString($0);},isHex3String:function($0){return this.REGEXP.hex3.test($0);},isHex6String:function($0){return this.REGEXP.hex6.test($0);},isRgbString:function($0){return this.REGEXP.rgb.test($0);},__rgbStringToRgb:function(){var $0=parseInt(RegExp.$1);var $1=parseInt(RegExp.$2);var $2=parseInt(RegExp.$3);return [$0,$1,$2];},__hex3StringToRgb:function(){var $0=parseInt(RegExp.$1,16)*17;var $1=parseInt(RegExp.$2,16)*17;var $2=parseInt(RegExp.$3,16)*17;return [$0,$1,$2];},__hex6StringToRgb:function(){var $0=(parseInt(RegExp.$1,16)*16)+parseInt(RegExp.$2,16);var $1=(parseInt(RegExp.$3,16)*16)+parseInt(RegExp.$4,16);var $2=(parseInt(RegExp.$5,16)*16)+parseInt(RegExp.$6,16);return [$0,$1,$2];},hex3StringToRgb:function($0){if(this.isHex3String($0)){return this.__hex3StringToRgb($0);}throw new Error("Invalid hex3 value: "+$0);},hex6StringToRgb:function($0){if(this.isHex6String($0)){return this.__hex6StringToRgb($0);}throw new Error("Invalid hex6 value: "+$0);},hexStringToRgb:function($0){if(this.isHex3String($0)){return this.__hex3StringToRgb($0);}if(this.isHex6String($0)){return this.__hex6StringToRgb($0);}throw new Error("Invalid hex value: "+$0);},rgbToHsb:function($0){var $1,$2,$3;var $4=$0[0];var $5=$0[1];var $6=$0[2];var $7=($4>$5)?$4:$5;if($6>$7){$7=$6;}var $8=($4<$5)?$4:$5;if($6<$8){$8=$6;}$3=$7/255.0;if($7!=0){$2=($7-$8)/$7;}else{$2=0;}if($2==0){$1=0;}else{var $9=($7-$4)/($7-$8);var $a=($7-$5)/($7-$8);var $b=($7-$6)/($7-$8);if($4==$7){$1=$b-$a;}else if($5==$7){$1=2.0+$9-$b;}else{$1=4.0+$a-$9;}$1=$1/6.0;if($1<0){$1=$1+1.0;}}return [Math.round($1*360),Math.round($2*100),Math.round($3*100)];},hsbToRgb:function($0){var $1,$2,$3,$4,$5;var $6=$0[0]/360;var $7=$0[1]/100;var $8=$0[2]/100;if($6>=1.0){$6%=1.0;}if($7>1.0){$7=1.0;}if($8>1.0){$8=1.0;}var $9=Math.floor(255*$8);var $a={};if($7==0.0){$a.red=$a.green=$a.blue=$9;}else{$6*=6.0;$1=Math.floor($6);$2=$6-$1;$3=Math.floor($9*(1.0-$7));$4=Math.floor($9*(1.0-($7*$2)));$5=Math.floor($9*(1.0-($7*(1.0-$2))));switch($1){case 0:$a.red=$9;$a.green=$5;$a.blue=$3;break;case 1:$a.red=$4;$a.green=$9;$a.blue=$3;break;case 2:$a.red=$3;$a.green=$9;$a.blue=$5;break;case 3:$a.red=$3;$a.green=$4;$a.blue=$9;break;case 4:$a.red=$5;$a.green=$3;$a.blue=$9;break;case 5:$a.red=$9;$a.green=$3;$a.blue=$4;break;}}return $a;},randomColor:function(){var $0=Math.round(Math.random()*255);var $1=Math.round(Math.random()*255);var $2=Math.round(Math.random()*255);return this.rgbToRgbString([$0,$1,$2]);}}}); >-qx.Class.define($[1563],{type:$[18],extend:qx.core.Target,properties:{theme:{check:$[121],nullable:true,apply:$[1021],event:$[1032]},autoSync:{check:$[2],init:true,apply:$[853]}},members:{_applyTheme:function($0,$1){var $2=null;var $3=null;var $4=null;var $5=null;var $6=null;var $7=null;if($0){$2=$0.meta.color||null;$3=$0.meta.border||null;$4=$0.meta.font||null;$5=$0.meta.widget||null;$6=$0.meta.icon||null;$7=$0.meta.appearance||null;}if($1){this.setAutoSync(false);}var $8=qx.theme.manager.Color.getInstance();var $9=qx.theme.manager.Border.getInstance();var $a=qx.theme.manager.Font.getInstance();var $b=qx.theme.manager.Icon.getInstance();var $c=qx.theme.manager.Widget.getInstance();var $d=qx.theme.manager.Appearance.getInstance();$8.setColorTheme($2);$9.setBorderTheme($3);$a.setFontTheme($4);$c.setWidgetTheme($5);$b.setIconTheme($6);$d.setAppearanceTheme($7);if($1){this.setAutoSync(true);}},_applyAutoSync:function($0,$1){if($0){qx.theme.manager.Appearance.getInstance().syncAppearanceTheme();qx.theme.manager.Icon.getInstance().syncIconTheme();qx.theme.manager.Widget.getInstance().syncWidgetTheme();qx.theme.manager.Font.getInstance().syncFontTheme();qx.theme.manager.Border.getInstance().syncBorderTheme();qx.theme.manager.Color.getInstance().syncColorTheme();}},initialize:function(){var $0=qx.core.Setting;var $1,$2;$1=$0.get($[1516]);if($1){$2=qx.Theme.getByName($1);if(!$2){throw new Error("The meta theme to use is not available: "+$1);}this.setTheme($2);}$1=$0.get($[1078]);if($1){$2=qx.Theme.getByName($1);if(!$2){throw new Error("The color theme to use is not available: "+$1);}qx.theme.manager.Color.getInstance().setColorTheme($2);}$1=$0.get($[1557]);if($1){$2=qx.Theme.getByName($1);if(!$2){throw new Error("The border theme to use is not available: "+$1);}qx.theme.manager.Border.getInstance().setBorderTheme($2);}$1=$0.get($[910]);if($1){$2=qx.Theme.getByName($1);if(!$2){throw new Error("The font theme to use is not available: "+$1);}qx.theme.manager.Font.getInstance().setFontTheme($2);}$1=$0.get($[1653]);if($1){$2=qx.Theme.getByName($1);if(!$2){throw new Error("The widget theme to use is not available: "+$1);}qx.theme.manager.Widget.getInstance().setWidgetTheme($2);}$1=$0.get($[606]);if($1){$2=qx.Theme.getByName($1);if(!$2){throw new Error("The icon theme to use is not available: "+$1);}qx.theme.manager.Icon.getInstance().setIconTheme($2);}$1=$0.get($[975]);if($1){$2=qx.Theme.getByName($1);if(!$2){throw new Error("The appearance theme to use is not available: "+$1);}qx.theme.manager.Appearance.getInstance().setAppearanceTheme($2);}},__queryThemes:function($0){var $1=qx.Theme.getAll();var $2;var $3=[];for(var $4 in $1){$2=$1[$4];if($2[$0]){$3.push($2);}}return $3;},getMetaThemes:function(){return this.__queryThemes($[350]);},getColorThemes:function(){return this.__queryThemes($[391]);},getBorderThemes:function(){return this.__queryThemes($[519]);},getFontThemes:function(){return this.__queryThemes($[463]);},getWidgetThemes:function(){return this.__queryThemes($[523]);},getIconThemes:function(){return this.__queryThemes($[485]);},getAppearanceThemes:function(){return this.__queryThemes($[319]);}},settings:{"qx.theme":$[1115],"qx.colorTheme":null,"qx.borderTheme":null,"qx.fontTheme":null,"qx.widgetTheme":null,"qx.appearanceTheme":null,"qx.iconTheme":null}}); >-qx.Class.define($[1007],{type:$[18],extend:qx.util.manager.Value,properties:{borderTheme:{check:$[121],nullable:true,apply:$[876],event:$[587]}},members:{resolveDynamic:function($0){return $0 instanceof qx.ui.core.Border?$0:this._dynamic[$0];},isDynamic:function($0){return $0&&($0 instanceof qx.ui.core.Border||this._dynamic[$0]!==undefined);},syncBorderTheme:function(){this._updateObjects();},updateObjectsEdge:function($0,$1){var $2=this._registry;var $3=this._dynamic;var $4;for(var $5 in $2){$4=$2[$5];if($4.value===$0||$3[$4.value]===$0){$4.callback.call($4.object,$0,$1);}}},_applyBorderTheme:function($0){var $1=this._dynamic;for(var $2 in $1){if($1[$2].themed){$1[$2].dispose();delete $1[$2];}}if($0){var $3=$0.borders;var $4=qx.ui.core.Border;for(var $2 in $3){$1[$2]=(new $4).set($3[$2]);$1[$2].themed=true;}}if(qx.theme.manager.Meta.getInstance().getAutoSync()){this.syncBorderTheme();}}}}); >-qx.Class.define($[1182],{extend:qx.core.Object,construct:function($0,$1,$2){arguments.callee.base.call(this);if($0!==undefined){this.setWidth($0);}if($1!==undefined){this.setStyle($1);}if($2!==undefined){this.setColor($2);}},statics:{fromString:function($0){var $1=new qx.ui.core.Border;var $2=$0.split(/\s+/);var $3,$4;for(var $5=0,$6=$2.length;$5<$6;$5++){$3=$2[$5];switch($3){case $[170]:case $[196]:case $[192]:case $[190]:case $[42]:case $[167]:case $[187]:case $[171]:case $[7]:$1.setStyle($3);break;default:$4=parseInt($3);if($4===$3||qx.lang.String.contains($3,$[38])){$1.setWidth($4);}else{$1.setColor($3);}break;}}return $1;},fromConfig:function($0){var $1=new qx.ui.core.Border;$1.set($0);return $1;},resetTop:qx.core.Variant.select($[1],{"gecko":function($0){var $1=$0._style;if($1){$1.borderTopWidth=$1.borderTopStyle=$1.borderTopColor=$1.MozBorderTopColors=$[0];}},"default":function($0){var $1=$0._style;if($1){$1.borderTopWidth=$1.borderTopStyle=$1.borderTopColor=$[0];}$1=$0._innerStyle;if($1){$1.borderTopWidth=$1.borderTopStyle=$1.borderTopColor=$[0];}}}),resetRight:qx.core.Variant.select($[1],{"gecko":function($0){var $1=$0._style;if($1){$1.borderRightWidth=$1.borderRightStyle=$1.borderRightColor=$1.MozBorderRightColors=$[0];}},"default":function($0){var $1=$0._style;if($1){$1.borderRightWidth=$1.borderRightStyle=$1.borderRightColor=$[0];}$1=$0._innerStyle;if($1){$1.borderRightWidth=$1.borderRightStyle=$1.borderRightColor=$[0];}}}),resetBottom:qx.core.Variant.select($[1],{"gecko":function($0){var $1=$0._style;if($1){$1.borderBottomWidth=$1.borderBottomStyle=$1.borderBottomColor=$1.MozBorderBottomColors=$[0];}},"default":function($0){var $1=$0._style;if($1){$1.borderBottomWidth=$1.borderBottomStyle=$1.borderBottomColor=$[0];}$1=$0._innerStyle;if($1){$1.borderBottomWidth=$1.borderBottomStyle=$1.borderBottomColor=$[0];}}}),resetLeft:qx.core.Variant.select($[1],{"gecko":function($0){var $1=$0._style;if($1){$1.borderLeftWidth=$1.borderLeftStyle=$1.borderLeftColor=$1.MozBorderLeftColors=$[0];}},"default":function($0){var $1=$0._style;if($1){$1.borderLeftWidth=$1.borderLeftStyle=$1.borderLeftColor=$[0];}$1=$0._innerStyle;if($1){$1.borderLeftWidth=$1.borderLeftStyle=$1.borderLeftColor=$[0];}}})},properties:{widthTop:{check:$[19],init:0,apply:$[1451]},widthRight:{check:$[19],init:0,apply:$[1132]},widthBottom:{check:$[19],init:0,apply:$[1243]},widthLeft:{check:$[19],init:0,apply:$[1679]},styleTop:{nullable:true,check:[$[42],$[167],$[187],$[171],$[190],$[192],$[196],$[170]],init:$[42],apply:$[1641]},styleRight:{nullable:true,check:[$[42],$[167],$[187],$[171],$[190],$[192],$[196],$[170]],init:$[42],apply:$[1231]},styleBottom:{nullable:true,check:[$[42],$[167],$[187],$[171],$[190],$[192],$[196],$[170]],init:$[42],apply:$[1045]},styleLeft:{nullable:true,check:[$[42],$[167],$[187],$[171],$[190],$[192],$[196],$[170]],init:$[42],apply:$[1437]},colorTop:{nullable:true,check:$[90],apply:$[1769]},colorRight:{nullable:true,check:$[90],apply:$[1240]},colorBottom:{nullable:true,check:$[90],apply:$[742]},colorLeft:{nullable:true,check:$[90],apply:$[1309]},colorInnerTop:{nullable:true,check:$[90],apply:$[1430]},colorInnerRight:{nullable:true,check:$[90],apply:$[1288]},colorInnerBottom:{nullable:true,check:$[90],apply:$[968]},colorInnerLeft:{nullable:true,check:$[90],apply:$[1756]},left:{group:[$[526],$[361],$[531]]},right:{group:[$[446],$[358],$[486]]},top:{group:[$[473],$[337],$[417]]},bottom:{group:[$[405],$[445],$[400]]},width:{group:[$[473],$[446],$[405],$[526]],mode:$[103]},style:{group:[$[337],$[358],$[445],$[361]],mode:$[103]},color:{group:[$[417],$[486],$[400],$[531]],mode:$[103]},innerColor:{group:[$[1582],$[1736],$[928],$[1665]],mode:$[103]}},members:{_applyWidthTop:function($0,$1){this.__widthTop=$0==null?$[52]:$0+$[38];this.__computeComplexTop();this.__informManager($[20]);},_applyWidthRight:function($0,$1){this.__widthRight=$0==null?$[52]:$0+$[38];this.__computeComplexRight();this.__informManager($[9]);},_applyWidthBottom:function($0,$1){this.__widthBottom=$0==null?$[52]:$0+$[38];this.__computeComplexBottom();this.__informManager($[17]);},_applyWidthLeft:function($0,$1){this.__widthLeft=$0==null?$[52]:$0+$[38];this.__computeComplexLeft();this.__informManager($[11]);},_applyColorTop:function($0,$1){qx.theme.manager.Color.getInstance().connect(this._changeColorTop,this,$0);},_applyColorRight:function($0,$1){qx.theme.manager.Color.getInstance().connect(this._changeColorRight,this,$0);},_applyColorBottom:function($0,$1){qx.theme.manager.Color.getInstance().connect(this._changeColorBottom,this,$0);},_applyColorLeft:function($0,$1){qx.theme.manager.Color.getInstance().connect(this._changeColorLeft,this,$0);},_applyColorInnerTop:function($0,$1){qx.theme.manager.Color.getInstance().connect(this._changeColorInnerTop,this,$0);},_applyColorInnerRight:function($0,$1){qx.theme.manager.Color.getInstance().connect(this._changeColorInnerRight,this,$0);},_applyColorInnerBottom:function($0,$1){qx.theme.manager.Color.getInstance().connect(this._changeColorInnerBottom,this,$0);},_applyColorInnerLeft:function($0,$1){qx.theme.manager.Color.getInstance().connect(this._changeColorInnerLeft,this,$0);},_applyStyleTop:function(){this.__informManager($[20]);},_applyStyleRight:function(){this.__informManager($[9]);},_applyStyleBottom:function(){this.__informManager($[17]);},_applyStyleLeft:function(){this.__informManager($[11]);},_changeColorTop:function($0){this.__colorTop=$0;this.__computeComplexTop();this.__informManager($[20]);},_changeColorInnerTop:function($0){this.__colorInnerTop=$0;this.__computeComplexTop();this.__informManager($[20]);},_changeColorRight:function($0){this.__colorRight=$0;this.__computeComplexRight();this.__informManager($[9]);},_changeColorInnerRight:function($0){this.__colorInnerRight=$0;this.__computeComplexRight();this.__informManager($[9]);},_changeColorBottom:function($0){this.__colorBottom=$0;this.__computeComplexBottom();this.__informManager($[17]);},_changeColorInnerBottom:function($0){this.__colorInnerBottom=$0;this.__computeComplexBottom();this.__informManager($[17]);},_changeColorLeft:function($0){this.__colorLeft=$0;this.__computeComplexLeft();this.__informManager($[11]);},_changeColorInnerLeft:function($0){this.__colorInnerLeft=$0;this.__computeComplexLeft();this.__informManager($[11]);},__computeComplexTop:function(){this.__complexTop=this.getWidthTop()===2&&this.__colorInnerTop!=null&&this.__colorTop!=this.__colorInnerTop;},__computeComplexRight:function(){this.__complexRight=this.getWidthRight()===2&&this.__colorInnerRight!=null&&this.__colorRight!=this.__colorInnerRight;},__computeComplexBottom:function(){this.__complexBottom=this.getWidthBottom()===2&&this.__colorInnerBottom!=null&&this.__colorBottom!=this.__colorInnerBottom;},__computeComplexLeft:function(){this.__complexLeft=this.getWidthLeft()===2&&this.__colorInnerLeft!=null&&this.__colorLeft!=this.__colorInnerLeft;},__informManager:function($0){qx.theme.manager.Border.getInstance().updateObjectsEdge(this,$0);},renderTop:qx.core.Variant.select($[1],{"gecko":function($0){var $1=$0._style;$1.borderTopWidth=this.__widthTop||$[52];$1.borderTopColor=this.__colorTop||$[0];if(this.__complexTop){$1.borderTopStyle=$[42];$1.MozBorderTopColors=this.__colorTop+$[83]+this.__colorInnerTop;}else{$1.borderTopStyle=this.getStyleTop()||$[7];$1.MozBorderTopColors=$[0];}},"default":function($0){var $1=$0._style;var $2=$0._innerStyle;if(this.__complexTop){if(!$2){$0.prepareEnhancedBorder();$2=$0._innerStyle;}$1.borderTopWidth=$2.borderTopWidth=$[161];$1.borderTopStyle=$2.borderTopStyle=$[42];$1.borderTopColor=this.__colorTop;$2.borderTopColor=this.__colorInnerTop;}else{$1.borderTopWidth=this.__widthTop||$[52];$1.borderTopStyle=this.getStyleTop()||$[7];$1.borderTopColor=this.__colorTop||$[0];if($2){$2.borderTopWidth=$2.borderTopStyle=$2.borderTopColor=$[0];}}}}),renderRight:qx.core.Variant.select($[1],{"gecko":function($0){var $1=$0._style;$1.borderRightWidth=this.__widthRight||$[52];$1.borderRightColor=this.__colorRight||$[0];if(this.__complexRight){$1.borderRightStyle=$[42];$1.MozBorderRightColors=this.__colorRight+$[83]+this.__colorInnerRight;}else{$1.borderRightStyle=this.getStyleRight()||$[7];$1.MozBorderRightColors=$[0];}},"default":function($0){var $1=$0._style;var $2=$0._innerStyle;if(this.__complexRight){if(!$2){$0.prepareEnhancedBorder();$2=$0._innerStyle;}$1.borderRightWidth=$2.borderRightWidth=$[161];$1.borderRightStyle=$2.borderRightStyle=$[42];$1.borderRightColor=this.__colorRight;$2.borderRightColor=this.__colorInnerRight;}else{$1.borderRightWidth=this.__widthRight||$[52];$1.borderRightStyle=this.getStyleRight()||$[7];$1.borderRightColor=this.__colorRight||$[0];if($2){$2.borderRightWidth=$2.borderRightStyle=$2.borderRightColor=$[0];}}}}),renderBottom:qx.core.Variant.select($[1],{"gecko":function($0){var $1=$0._style;$1.borderBottomWidth=this.__widthBottom||$[52];$1.borderBottomColor=this.__colorBottom||$[0];if(this.__complexBottom){$1.borderBottomStyle=$[42];$1.MozBorderBottomColors=this.__colorBottom+$[83]+this.__colorInnerBottom;}else{$1.borderBottomStyle=this.getStyleBottom()||$[7];$1.MozBorderBottomColors=$[0];}},"default":function($0){var $1=$0._style;var $2=$0._innerStyle;if(this.__complexBottom){if(!$2){$0.prepareEnhancedBorder();$2=$0._innerStyle;}$1.borderBottomWidth=$2.borderBottomWidth=$[161];$1.borderBottomStyle=$2.borderBottomStyle=$[42];$1.borderBottomColor=this.__colorBottom;$2.borderBottomColor=this.__colorInnerBottom;}else{$1.borderBottomWidth=this.__widthBottom||$[52];$1.borderBottomStyle=this.getStyleBottom()||$[7];$1.borderBottomColor=this.__colorBottom||$[0];if($2){$2.borderBottomWidth=$2.borderBottomStyle=$2.borderBottomColor=$[0];}}}}),renderLeft:qx.core.Variant.select($[1],{"gecko":function($0){var $1=$0._style;$1.borderLeftWidth=this.__widthLeft||$[52];$1.borderLeftColor=this.__colorLeft||$[0];if(this.__complexLeft){$1.borderLeftStyle=$[42];$1.MozBorderLeftColors=this.__colorLeft+$[83]+this.__colorInnerLeft;}else{$1.borderLeftStyle=this.getStyleLeft()||$[7];$1.MozBorderLeftColors=$[0];}},"default":function($0){var $1=$0._style;var $2=$0._innerStyle;if(this.__complexLeft){if(!$2){$0.prepareEnhancedBorder();$2=$0._innerStyle;}$1.borderLeftWidth=$2.borderLeftWidth=$[161];$1.borderLeftStyle=$2.borderLeftStyle=$[42];$1.borderLeftColor=this.__colorLeft;$2.borderLeftColor=this.__colorInnerLeft;}else{$1.borderLeftWidth=this.__widthLeft||$[52];$1.borderLeftStyle=this.getStyleLeft()||$[7];$1.borderLeftColor=this.__colorLeft||$[0];if($2){$2.borderLeftWidth=$2.borderLeftStyle=$2.borderLeftColor=$[0];}}}})}}); >-qx.Class.define($[1786],{type:$[18],extend:qx.util.manager.Value,properties:{fontTheme:{check:$[121],nullable:true,apply:$[892],event:$[1172]}},members:{resolveDynamic:function($0){return $0 instanceof qx.ui.core.Font?$0:this._dynamic[$0];},isDynamic:function($0){return $0&&($0 instanceof qx.ui.core.Font||this._dynamic[$0]!==undefined);},syncFontTheme:function(){this._updateObjects();},_applyFontTheme:function($0){var $1=this._dynamic;for(var $2 in $1){if($1[$2].themed){$1[$2].dispose();delete $1[$2];}}if($0){var $3=$0.fonts;var $4=qx.ui.core.Font;for(var $2 in $3){$1[$2]=(new $4).set($3[$2]);$1[$2].themed=true;}}if(qx.theme.manager.Meta.getInstance().getAutoSync()){this.syncFontTheme();}}}}); >-qx.Class.define($[792],{extend:qx.core.Object,construct:function($0,$1){arguments.callee.base.call(this);if($0!==undefined){this.setSize($0);}if($1!==undefined){this.setFamily($1);}},statics:{fromString:function($0){var $1=new qx.ui.core.Font;var $2=$0.split(/\s+/);var $3=[];var $4;for(var $5=0;$5<$2.length;$5++){switch($4=$2[$5]){case $[278]:$1.setBold(true);break;case $[375]:$1.setItalic(true);break;case $[304]:$1.setDecoration($[304]);break;default:var $6=parseInt($4);if($6==$4||qx.lang.String.contains($4,$[38])){$1.setSize($6);}else{$3.push($4);}break;}}if($3.length>0){$1.setFamily($3);}return $1;},fromConfig:function($0){var $1=new qx.ui.core.Font;$1.set($0);return $1;},reset:function($0){$0.removeStyleProperty($[472]);$0.removeStyleProperty($[210]);$0.removeStyleProperty($[380]);$0.removeStyleProperty($[333]);$0.removeStyleProperty($[465]);},resetElement:function($0){var $1=$0.style;$1.fontFamily=$[0];$1.fontSize=$[0];$1.fontWeight=$[0];$1.fontStyle=$[0];$1.textDecoration=$[0];},resetStyle:function($0){$0.fontFamily=$[0];$0.fontSize=$[0];$0.fontWeight=$[0];$0.fontStyle=$[0];$0.textDecoration=$[0];}},properties:{size:{check:$[5],nullable:true,apply:$[590]},family:{check:$[413],nullable:true,apply:$[1521]},bold:{check:$[2],nullable:true,apply:$[1765]},italic:{check:$[2],nullable:true,apply:$[1248]},decoration:{check:[$[304],$[666],$[1725]],nullable:true,apply:$[1732]}},members:{__size:null,__family:null,__bold:null,__italic:null,__decoration:null,_applySize:function($0,$1){this.__size=$0===null?null:$0+$[38];},_applyFamily:function($0,$1){var $2=$[0];for(var $3=0,$4=$0.length;$3<$4;$3++){if($0[$3].indexOf($[83])>0){$2+=$[109]+$0[$3]+$[109];}else{$2+=$0[$3];}if($3!=$4-1){$2+=$[101];}}this.__family=$2;},_applyBold:function($0,$1){this.__bold=$0===null?null:$0?$[278]:$[156];},_applyItalic:function($0,$1){this.__italic=$0===null?null:$0?$[375]:$[156];},_applyDecoration:function($0,$1){this.__decoration=$0===null?null:$0;},render:function($0){$0.setStyleProperty($[472],this.__family);$0.setStyleProperty($[210],this.__size);$0.setStyleProperty($[380],this.__bold);$0.setStyleProperty($[333],this.__italic);$0.setStyleProperty($[465],this.__decoration);},renderStyle:function($0){$0.fontFamily=this.__family||$[0];$0.fontSize=this.__size||$[0];$0.fontWeight=this.__bold||$[0];$0.fontStyle=this.__italic||$[0];$0.textDecoration=this.__decoration||$[0];},renderElement:function($0){var $1=$0.style;$1.fontFamily=this.__family||$[0];$1.fontSize=this.__size||$[0];$1.fontWeight=this.__bold||$[0];$1.fontStyle=this.__italic||$[0];$1.textDecoration=this.__decoration||$[0];},generateStyle:function(){return (this.__family?$[1441]+this.__family.replace(/\"/g,$[334])+$[79]:$[0])+(this.__size?$[903]+this.__size+$[79]:$[0])+(this.__weight?$[1461]+this.__weight+$[79]:$[0])+(this.__style?$[1106]+this.__style+$[79]:$[0])+(this.__decoration?$[1299]+this.__decoration+$[79]:$[0]);}}}); >-qx.Class.define($[998],{type:$[18],extend:qx.core.Target,properties:{iconTheme:{check:$[121],nullable:true,apply:$[1131],event:$[1402]}},members:{_applyIconTheme:function($0,$1){if(qx.theme.manager.Meta.getInstance().getAutoSync()){this.syncIconTheme();}},syncIconTheme:function(){var $0=this.getIconTheme();var $1=qx.io.Alias.getInstance();$0?$1.add($[133],$0.icons.uri):$1.remove($[133]);}}}); >-qx.Class.define($[694],{type:$[18],extend:qx.util.manager.Value,construct:function(){arguments.callee.base.call(this);this._aliases={};this.add($[178],qx.core.Setting.get($[288])+$[813]);},members:{_preprocess:function($0){var $1=this._dynamic;if($1[$0]===false){return $0;}else if($1[$0]===undefined){if($0.charAt(0)===$[135]||$0.charAt(0)===$[24]||$0.indexOf($[1079])===0||$0.indexOf($[849])===$[41]||$0.indexOf($[1360])===0){$1[$0]=false;return $0;}var $2=$0.substring(0,$0.indexOf($[135]));var $3=this._aliases[$2];if($3!==undefined){$1[$0]=$3+$0.substring($2.length);}}return $0;},add:function($0,$1){this._aliases[$0]=$1;var $2=this._dynamic;var $3=this._registry;var $4;var $5={};for(var $6 in $2){if($6.substring(0,$6.indexOf($[135]))===$0){$2[$6]=$1+$6.substring($0.length);$5[$6]=true;}}for(var $7 in $3){$4=$3[$7];if($5[$4.value]){$4.callback.call($4.object,$2[$4.value]);}}},remove:function($0){delete this._aliases[$0];},resolve:function($0){if($0!==null){$0=this._preprocess($0);}return this._dynamic[$0]||$0;}},destruct:function(){this._disposeFields($[881]);}}); >-qx.Class.define($[1435],{type:$[18],extend:qx.core.Target,properties:{widgetTheme:{check:$[121],nullable:true,apply:$[1342],event:$[1766]}},members:{_applyWidgetTheme:function($0,$1){if(qx.theme.manager.Meta.getInstance().getAutoSync()){this.syncWidgetTheme();}},syncWidgetTheme:function(){var $0=this.getWidgetTheme();var $1=qx.io.Alias.getInstance();$0?$1.add($[216],$0.widgets.uri):$1.remove($[216]);}}}); >-qx.Class.define($[1061],{extend:qx.core.Target,construct:function(){arguments.callee.base.call(this);this._objects={};},members:{add:function($0){if(this.getDisposed()){return;}this._objects[$0.toHashCode()]=$0;},remove:function($0){if(this.getDisposed()){return false;}delete this._objects[$0.toHashCode()];},has:function($0){return this._objects[$0.toHashCode()]!=null;},get:function($0){return this._objects[$0.toHashCode()];},getAll:function(){return this._objects;},enableAll:function(){for(var $0 in this._objects){this._objects[$0].setEnabled(true);}},disableAll:function(){for(var $0 in this._objects){this._objects[$0].setEnabled(false);}}},destruct:function(){this._disposeObjectDeep($[468]);}}); >-qx.Class.define($[1353],{type:$[18],extend:qx.util.manager.Object,construct:function(){arguments.callee.base.call(this);this.__cache={};this.__stateMap={};this.__stateMapLength=1;},properties:{appearanceTheme:{check:$[121],nullable:true,apply:$[1617],event:$[1800]}},members:{_applyAppearanceTheme:function($0,$1){this._currentTheme=$0;this._oldTheme=$1;if(qx.theme.manager.Meta.getInstance().getAutoSync()){this.syncAppearanceTheme();}},syncAppearanceTheme:function(){if(!this._currentTheme&&!this._oldTheme){return;}if(this._currentTheme){this.__cache[this._currentTheme.name]={};}var $0=qx.core.Init.getInstance().getApplication();if($0&&$0.getUiReady()){qx.ui.core.ClientDocument.getInstance()._recursiveAppearanceThemeUpdate(this._currentTheme,this._oldTheme);}if(this._oldTheme){delete this.__cache[this._oldTheme.name];}delete this._currentTheme;delete this._oldTheme;},styleFrom:function($0,$1){var $2=this.getAppearanceTheme();if(!$2){return;}return this.styleFromTheme($2,$0,$1);},styleFromTheme:function($0,$1,$2){var $3=$0.appearances[$1];if(!$3){{};return null;}if(!$3.style){if($3.include){return this.styleFromTheme($0,$3.include,$2);}else{return null;}}var $4=this.__stateMap;var $5=[$1];for(var $6 in $2){if(!$4[$6]){$4[$6]=this.__stateMapLength++;}$5[$4[$6]]=true;}var $7=$5.join();var $8=this.__cache[$0.name];if($8&&$8[$7]!==undefined){return $8[$7];}var $9;if($3.include||$3.base){var $a=$3.style($2);var $b;if($3.include){$b=this.styleFromTheme($0,$3.include,$2);}$9={};if($3.base){var $c=this.styleFromTheme($3.base,$1,$2);if($3.include){for(var $d in $c){if($b[$d]===undefined&&$a[$d]===undefined){$9[$d]=$c[$d];}}}else{for(var $d in $c){if($a[$d]===undefined){$9[$d]=$c[$d];}}}}if($3.include){for(var $d in $b){if($a[$d]===undefined){$9[$d]=$b[$d];}}}for(var $d in $a){$9[$d]=$a[$d];}}else{$9=$3.style($2);}if($8){$8[$7]=$9||null;}return $9||null;}},destruct:function(){this._disposeFields($[710],$[1376]);}}); >-qx.Class.define($[66],{extend:qx.core.Target,type:$[51],construct:function(){arguments.callee.base.call(this);this._layoutChanges={};if(qx.core.Setting.get($[1733])){this._generateHtmlId();}},events:{"beforeAppear":$[4],"appear":$[4],"beforeDisappear":$[4],"disappear":$[4],"beforeInsertDom":$[4],"insertDom":$[4],"beforeRemoveDom":$[4],"removeDom":$[4],"create":$[4],"execute":$[4],"mouseover":$[86],"mousemove":$[86],"mouseout":$[86],"mousedown":$[86],"mouseup":$[86],"mousewheel":$[86],"click":$[86],"dblclick":$[86],"contextmenu":$[86],"keydown":$[186],"keypress":$[186],"keyinput":$[186],"keyup":$[186],"focusout":$[168],"focusin":$[168],"blur":$[168],"focus":$[168],"dragdrop":$[143],"dragout":$[143],"dragover":$[143],"dragmove":$[143],"dragstart":$[143],"dragend":$[143]},statics:{create:function($0,$1){$0._appearance=$1;return new $0;},SCROLLBAR_SIZE:null,_autoFlushTimeout:null,_initAutoFlush:function(){if(qx.ui.core.Widget._autoFlushTimeout==null){qx.ui.core.Widget._autoFlushTimeout=window.setTimeout(qx.ui.core.Widget._autoFlushHelper,0);}},_removeAutoFlush:function(){if(qx.ui.core.Widget._autoFlushTimeout!=null){window.clearTimeout(qx.ui.core.Widget._autoFlushTimeout);qx.ui.core.Widget._autoFlushTimeout=null;}},_autoFlushHelper:function(){qx.ui.core.Widget._autoFlushTimeout=null;if(!qx.core.Object.inGlobalDispose()){qx.ui.core.Widget.flushGlobalQueues();}},flushGlobalQueues:function(){if(qx.ui.core.Widget._autoFlushTimeout!=null){qx.ui.core.Widget._removeAutoFlush();}if(qx.ui.core.Widget._inFlushGlobalQueues){return;}var $0=qx.core.Init.getInstance().getApplication();if($0.getUiReady&&!$0.getUiReady()){return;}qx.ui.core.Widget._inFlushGlobalQueues=true;qx.ui.core.Widget.flushGlobalWidgetQueue();qx.ui.core.Widget.flushGlobalStateQueue();qx.ui.core.Widget.flushGlobalElementQueue();qx.ui.core.Widget.flushGlobalJobQueue();qx.ui.core.Widget.flushGlobalLayoutQueue();qx.ui.core.Widget.flushGlobalDisplayQueue();delete qx.ui.core.Widget._inFlushGlobalQueues;},_globalWidgetQueue:[],addToGlobalWidgetQueue:function($0){if(!$0._isInGlobalWidgetQueue&&$0._isDisplayable){if(qx.ui.core.Widget._autoFlushTimeout==null){qx.ui.core.Widget._initAutoFlush();}qx.ui.core.Widget._globalWidgetQueue.push($0);$0._isInGlobalWidgetQueue=true;}},removeFromGlobalWidgetQueue:function($0){if($0._isInGlobalWidgetQueue){qx.lang.Array.remove(qx.ui.core.Widget._globalWidgetQueue,$0);delete $0._isInGlobalWidgetQueue;}},flushGlobalWidgetQueue:function(){var $0=qx.ui.core.Widget._globalWidgetQueue,$1,$2;while(($1=$0.length)>0){for(var $3=0;$3<$1;$3++){$2=$0[$3];$2.flushWidgetQueue();delete $2._isInGlobalWidgetQueue;}$0.splice(0,$1);}},_globalElementQueue:[],addToGlobalElementQueue:function($0){if(!$0._isInGlobalElementQueue&&$0._isDisplayable){if(qx.ui.core.Widget._autoFlushTimeout==null){qx.ui.core.Widget._initAutoFlush();}qx.ui.core.Widget._globalElementQueue.push($0);$0._isInGlobalElementQueue=true;}},removeFromGlobalElementQueue:function($0){if($0._isInGlobalElementQueue){qx.lang.Array.remove(qx.ui.core.Widget._globalElementQueue,$0);delete $0._isInGlobalElementQueue;}},flushGlobalElementQueue:function(){var $0=qx.ui.core.Widget._globalElementQueue,$1,$2;while(($1=$0.length)>0){for(var $3=0;$3<$1;$3++){$2=$0[$3];$2._createElementImpl();delete $2._isInGlobalElementQueue;}$0.splice(0,$1);}},_globalStateQueue:[],addToGlobalStateQueue:function($0){if(!$0._isInGlobalStateQueue&&$0._isDisplayable){if(qx.ui.core.Widget._autoFlushTimeout==null){qx.ui.core.Widget._initAutoFlush();}qx.ui.core.Widget._globalStateQueue.push($0);$0._isInGlobalStateQueue=true;}},removeFromGlobalStateQueue:function($0){if($0._isInGlobalStateQueue){qx.lang.Array.remove(qx.ui.core.Widget._globalStateQueue,$0);delete $0._isInGlobalStateQueue;}},flushGlobalStateQueue:function(){var $0=qx.ui.core.Widget._globalStateQueue,$1,$2;while(($1=$0.length)>0){for(var $3=0;$3<$1;$3++){$2=$0[$3];$2._renderAppearance();delete $2._isInGlobalStateQueue;}$0.splice(0,$1);}},_globalJobQueue:[],addToGlobalJobQueue:function($0){if(!$0._isInGlobalJobQueue&&$0._isDisplayable){if(qx.ui.core.Widget._autoFlushTimeout==null){qx.ui.core.Widget._initAutoFlush();}qx.ui.core.Widget._globalJobQueue.push($0);$0._isInGlobalJobQueue=true;}},removeFromGlobalJobQueue:function($0){if($0._isInGlobalJobQueue){qx.lang.Array.remove(qx.ui.core.Widget._globalJobQueue,$0);delete $0._isInGlobalJobQueue;}},flushGlobalJobQueue:function(){var $0=qx.ui.core.Widget._globalJobQueue,$1,$2;while(($1=$0.length)>0){for(var $3=0;$3<$1;$3++){$2=$0[$3];$2._flushJobQueue($2._jobQueue);delete $2._isInGlobalJobQueue;}$0.splice(0,$1);}},_globalLayoutQueue:[],addToGlobalLayoutQueue:function($0){if(!$0._isInGlobalLayoutQueue&&$0._isDisplayable){if(qx.ui.core.Widget._autoFlushTimeout==null){qx.ui.core.Widget._initAutoFlush();}qx.ui.core.Widget._globalLayoutQueue.push($0);$0._isInGlobalLayoutQueue=true;}},removeFromGlobalLayoutQueue:function($0){if($0._isInGlobalLayoutQueue){qx.lang.Array.remove(qx.ui.core.Widget._globalLayoutQueue,$0);delete $0._isInGlobalLayoutQueue;}},flushGlobalLayoutQueue:function(){var $0=qx.ui.core.Widget._globalLayoutQueue,$1,$2;while(($1=$0.length)>0){for(var $3=0;$3<$1;$3++){$2=$0[$3];$2._flushChildrenQueue();delete $2._isInGlobalLayoutQueue;}$0.splice(0,$1);}},_fastGlobalDisplayQueue:[],_lazyGlobalDisplayQueues:{},addToGlobalDisplayQueue:function($0){if(!$0._isInGlobalDisplayQueue&&$0._isDisplayable){if(qx.ui.core.Widget._autoFlushTimeout==null){qx.ui.core.Widget._initAutoFlush();}var $1=$0.getParent();if($1.isSeeable()){var $2=$1.toHashCode();if(qx.ui.core.Widget._lazyGlobalDisplayQueues[$2]){qx.ui.core.Widget._lazyGlobalDisplayQueues[$2].push($0);}else{qx.ui.core.Widget._lazyGlobalDisplayQueues[$2]=[$0];}}else{qx.ui.core.Widget._fastGlobalDisplayQueue.push($0);}$0._isInGlobalDisplayQueue=true;}},removeFromGlobalDisplayQueue:function($0){},flushGlobalDisplayQueue:function(){var $0,$1,$2,$3;var $4=qx.ui.core.Widget._fastGlobalDisplayQueue;var $5=qx.ui.core.Widget._lazyGlobalDisplayQueues;for(var $6=0,$7=$4.length;$6<$7;$6++){$2=$4[$6];$2.getParent()._getTargetNode().appendChild($2.getElement());}if(qx.Class.isDefined($[559])){for($0 in $5){$1=$5[$0];for(var $6=0;$6<$1.length;$6++){$2=$1[$6];if($2 instanceof qx.ui.basic.Inline){$2._beforeInsertDom();try{document.getElementById($2.getInlineNodeId()).appendChild($2.getElement());}catch(ex){$2.debug("Could not append to inline id: "+$2.getInlineNodeId(),ex);}$2._afterInsertDom();$2._afterAppear();qx.lang.Array.remove($1,$2);$6--;delete $2._isInGlobalDisplayQueue;}}}}for($0 in $5){$1=$5[$0];if(document.createDocumentFragment&&$1.length>=3){$3=document.createDocumentFragment();for(var $6=0,$7=$1.length;$6<$7;$6++){$2=$1[$6];$2._beforeInsertDom();$3.appendChild($2.getElement());}$1[0].getParent()._getTargetNode().appendChild($3);for(var $6=0,$7=$1.length;$6<$7;$6++){$2=$1[$6];$2._afterInsertDom();}}else{for(var $6=0,$7=$1.length;$6<$7;$6++){$2=$1[$6];$2._beforeInsertDom();$2.getParent()._getTargetNode().appendChild($2.getElement());$2._afterInsertDom();}}}for($0 in $5){$1=$5[$0];for(var $6=0,$7=$1.length;$6<$7;$6++){$2=$1[$6];if($2.getVisibility()){$2._afterAppear();}delete $2._isInGlobalDisplayQueue;}delete $5[$0];}for(var $6=0,$7=$4.length;$6<$7;$6++){delete $4[$6]._isInGlobalDisplayQueue;}qx.lang.Array.removeAll($4);},getActiveSiblingHelperIgnore:function($0,$1){for(var $2=0;$2<$0.length;$2++){if($1 instanceof $0[$2]){return true;}}return false;},getActiveSiblingHelper:function($0,$1,$2,$3,$4){if(!$3){$3=[];}var $5=$1.getChildren();var $6=$4==null?$5.indexOf($0)+$2:$4===$[475]?0:$5.length-1;var $7=$5[$6];while($7&&(!$7.getEnabled()||qx.ui.core.Widget.getActiveSiblingHelperIgnore($3,$7))){$6+=$2;$7=$5[$6];if(!$7){return null;}}return $7;},__initApplyMethods:function($0){var $1=$[1719];var $2=$[835];var $3=$[1638];var $4=$[965];var $5=$[477];var $6=[$[11],$[9],$[20],$[17],$[30],$[31],$[73],$[74],$[77],$[75]];var $7=[$[60],$[64],$[1150],$[1662],$[1006],$[617],$[1637],$[1046],$[1788],$[1573]];var $8=$1+$[476];var $9=$2+$[476];var $a=$3+$[429];for(var $b=0;$b<4;$b++){$0[$8+$7[$b]]=new Function($5,$a+$7[$b]+$4);$0[$9+$7[$b]]=new Function($a+$7[$b]+$[268]);}var $c=$1+$[483];var $d=$2+$[483];var $e=$3+$[352];if(qx.core.Variant.isSet($[1],$[21])){for(var $b=0;$b<4;$b++){$0[$c+$7[$b]]=new Function($5,$e+$7[$b]+$4);$0[$d+$7[$b]]=new Function($e+$7[$b]+$[268]);}}else{for(var $b=0;$b<4;$b++){$0[$c+$7[$b]]=new Function($5,$[1467]+$7[$b]+$[1346]);$0[$d+$7[$b]]=new Function($[594]+$7[$b]+$[880]);}}for(var $b=0;$b<$6.length;$b++){$0[$1+$7[$b]]=new Function($5,$3+$6[$b]+$4);$0[$2+$7[$b]]=new Function($3+$6[$b]+$[268]);}},TYPE_NULL:0,TYPE_PIXEL:1,TYPE_PERCENT:2,TYPE_AUTO:3,TYPE_FLEX:4,layoutPropertyTypes:{},__initLayoutProperties:function($0){var $1=[$[30],$[31],$[73],$[74],$[77],$[75],$[11],$[9],$[20],$[17]];for(var $2=0,$3=$1.length,$4,$5,$6;$2<$3;$2++){$4=$1[$2];$5=$[1018]+qx.lang.String.toFirstUp($4);$6=$5+$[690];$0.layoutPropertyTypes[$4]={dataType:$6,dataParsed:$5+$[1188],dataValue:$5+$[366],typePixel:$6+$[630],typePercent:$6+$[1073],typeAuto:$6+$[1746],typeFlex:$6+$[1438],typeNull:$6+$[808]};}},initScrollbarWidth:function(){var $0=document.createElement($[67]);var $1=$0.style;$1.height=$1.width=$[252];$1.overflow=$[26];document.body.appendChild($0);var $2=qx.html.Dimension.getScrollBarSizeRight($0);qx.ui.core.Widget.SCROLLBAR_SIZE=$2?$2:16;document.body.removeChild($0);},_idCounter:0},properties:{enabled:{init:$[116],check:$[2],inheritable:true,apply:$[302],event:$[462]},parent:{check:$[306],nullable:true,event:$[621],apply:$[1281]},element:{check:$[518],nullable:true,apply:$[466],event:$[613]},visibility:{check:$[2],init:true,apply:$[1112],event:$[1580]},display:{check:$[2],init:true,apply:$[1155],event:$[1330]},anonymous:{check:$[2],init:false,event:$[647]},horizontalAlign:{check:[$[11],$[57],$[9]],themeable:true,nullable:true},verticalAlign:{check:[$[20],$[62],$[17]],themeable:true,nullable:true},allowStretchX:{check:$[2],init:true},allowStretchY:{check:$[2],init:true},zIndex:{check:$[19],apply:$[879],event:$[1119],themeable:true,nullable:true,init:null},backgroundColor:{nullable:true,init:null,check:$[90],apply:$[1075],event:$[909],themeable:true},textColor:{nullable:true,init:$[116],check:$[90],apply:$[1427],event:$[636],themeable:true,inheritable:true},border:{nullable:true,init:null,apply:$[706],event:$[1673],check:$[539],themeable:true},font:{nullable:true,init:$[116],apply:$[575],check:$[548],event:$[809],themeable:true,inheritable:true},opacity:{check:$[19],apply:$[867],themeable:true,nullable:true,init:null},cursor:{check:$[6],apply:$[1578],themeable:true,nullable:true,init:null},backgroundImage:{check:$[6],nullable:true,apply:$[632],themeable:true},backgroundRepeat:{check:$[6],nullable:true,apply:$[684],themeable:true},overflow:{check:[$[36],$[3],$[26],$[112],$[111]],nullable:true,apply:$[810],event:$[1374],themeable:true,init:null},clipLeft:{check:$[5],apply:$[243],themeable:true,nullable:true},clipTop:{check:$[5],apply:$[243],themeable:true,nullable:true},clipWidth:{check:$[5],apply:$[243],themeable:true,nullable:true},clipHeight:{check:$[5],apply:$[243],themeable:true,nullable:true},tabIndex:{check:$[5],nullable:true,init:null,apply:$[894],event:$[1717]},hideFocus:{check:$[2],init:false,apply:$[1262],themeable:true},enableElementFocus:{check:$[2],init:true},focused:{check:$[2],init:false,apply:$[771],event:$[1031]},selectable:{check:$[2],init:null,nullable:true,apply:$[623]},toolTip:{check:$[241],nullable:true},contextMenu:{check:$[160],nullable:true},capture:{check:$[2],init:false,apply:$[1720],event:$[1092]},dropDataTypes:{nullable:true,dispose:true},command:{check:$[490],nullable:true,apply:$[1403]},appearance:{check:$[6],init:$[216],apply:$[864],event:$[1537]},supportsDropMethod:{check:$[471],nullable:true,init:null},marginTop:{check:$[19],apply:$[1108],nullable:true,themeable:true},marginRight:{check:$[19],apply:$[1436],nullable:true,themeable:true},marginBottom:{check:$[19],apply:$[622],nullable:true,themeable:true},marginLeft:{check:$[19],apply:$[1290],nullable:true,themeable:true},paddingTop:{check:$[19],apply:$[791],nullable:true,themeable:true},paddingRight:{check:$[19],apply:$[1672],nullable:true,themeable:true},paddingBottom:{check:$[19],apply:$[1548],nullable:true,themeable:true},paddingLeft:{check:$[19],apply:$[887],nullable:true,themeable:true},left:{apply:$[970],event:$[1453],nullable:true,themeable:true,init:null},right:{apply:$[709],event:$[797],nullable:true,themeable:true,init:null},width:{apply:$[1331],event:$[1455],nullable:true,themeable:true,init:null},minWidth:{apply:$[1398],event:$[1687],nullable:true,themeable:true,init:null},maxWidth:{apply:$[1116],event:$[1787],nullable:true,themeable:true,init:null},top:{apply:$[1499],event:$[1456],nullable:true,themeable:true,init:null},bottom:{apply:$[697],event:$[986],nullable:true,themeable:true,init:null},height:{apply:$[1443],event:$[1513],nullable:true,themeable:true,init:null},minHeight:{apply:$[655],event:$[1335],nullable:true,themeable:true,init:null},maxHeight:{apply:$[717],event:$[1333],nullable:true,themeable:true,init:null},location:{group:[$[11],$[20]],themeable:true},dimension:{group:[$[30],$[31]],themeable:true},space:{group:[$[11],$[30],$[20],$[31]],themeable:true},edge:{group:[$[20],$[9],$[17],$[11]],themeable:true,mode:$[103]},padding:{group:[$[215],$[245],$[231],$[242]],mode:$[103],themeable:true},margin:{group:[$[153],$[225],$[211],$[159]],mode:$[103],themeable:true},heights:{group:[$[77],$[31],$[75]],themeable:true},widths:{group:[$[73],$[30],$[74]],themeable:true},align:{group:[$[1698],$[844]],themeable:true},clipLocation:{group:[$[516],$[452]]},clipDimension:{group:[$[527],$[373]]},clip:{group:[$[516],$[452],$[527],$[373]]},innerWidth:{_cached:true,defaultValue:null},innerHeight:{_cached:true,defaultValue:null},boxWidth:{_cached:true,defaultValue:null},boxHeight:{_cached:true,defaultValue:null},outerWidth:{_cached:true,defaultValue:null},outerHeight:{_cached:true,defaultValue:null},frameWidth:{_cached:true,defaultValue:null,addToQueueRuntime:true},frameHeight:{_cached:true,defaultValue:null,addToQueueRuntime:true},preferredInnerWidth:{_cached:true,defaultValue:null,addToQueueRuntime:true},preferredInnerHeight:{_cached:true,defaultValue:null,addToQueueRuntime:true},preferredBoxWidth:{_cached:true,defaultValue:null},preferredBoxHeight:{_cached:true,defaultValue:null},hasPercentX:{_cached:true,defaultValue:false},hasPercentY:{_cached:true,defaultValue:false},hasAutoX:{_cached:true,defaultValue:false},hasAutoY:{_cached:true,defaultValue:false},hasFlexX:{_cached:true,defaultValue:false},hasFlexY:{_cached:true,defaultValue:false}},members:{_computedLeftValue:null,_computedLeftParsed:null,_computedLeftType:null,_computedLeftTypeNull:true,_computedLeftTypePixel:false,_computedLeftTypePercent:false,_computedLeftTypeAuto:false,_computedLeftTypeFlex:false,_computedRightValue:null,_computedRightParsed:null,_computedRightType:null,_computedRightTypeNull:true,_computedRightTypePixel:false,_computedRightTypePercent:false,_computedRightTypeAuto:false,_computedRightTypeFlex:false,_computedTopValue:null,_computedTopParsed:null,_computedTopType:null,_computedTopTypeNull:true,_computedTopTypePixel:false,_computedTopTypePercent:false,_computedTopTypeAuto:false,_computedTopTypeFlex:false,_computedBottomValue:null,_computedBottomParsed:null,_computedBottomType:null,_computedBottomTypeNull:true,_computedBottomTypePixel:false,_computedBottomTypePercent:false,_computedBottomTypeAuto:false,_computedBottomTypeFlex:false,_computedWidthValue:null,_computedWidthParsed:null,_computedWidthType:null,_computedWidthTypeNull:true,_computedWidthTypePixel:false,_computedWidthTypePercent:false,_computedWidthTypeAuto:false,_computedWidthTypeFlex:false,_computedMinWidthValue:null,_computedMinWidthParsed:null,_computedMinWidthType:null,_computedMinWidthTypeNull:true,_computedMinWidthTypePixel:false,_computedMinWidthTypePercent:false,_computedMinWidthTypeAuto:false,_computedMinWidthTypeFlex:false,_computedMaxWidthValue:null,_computedMaxWidthParsed:null,_computedMaxWidthType:null,_computedMaxWidthTypeNull:true,_computedMaxWidthTypePixel:false,_computedMaxWidthTypePercent:false,_computedMaxWidthTypeAuto:false,_computedMaxWidthTypeFlex:false,_computedHeightValue:null,_computedHeightParsed:null,_computedHeightType:null,_computedHeightTypeNull:true,_computedHeightTypePixel:false,_computedHeightTypePercent:false,_computedHeightTypeAuto:false,_computedHeightTypeFlex:false,_computedMinHeightValue:null,_computedMinHeightParsed:null,_computedMinHeightType:null,_computedMinHeightTypeNull:true,_computedMinHeightTypePixel:false,_computedMinHeightTypePercent:false,_computedMinHeightTypeAuto:false,_computedMinHeightTypeFlex:false,_computedMaxHeightValue:null,_computedMaxHeightParsed:null,_computedMaxHeightType:null,_computedMaxHeightTypeNull:true,_computedMaxHeightTypePixel:false,_computedMaxHeightTypePercent:false,_computedMaxHeightTypeAuto:false,_computedMaxHeightTypeFlex:false,_applyLeft:function($0,$1){this._unitDetectionPixelPercent($[11],$0);this.addToQueue($[11]);},_applyRight:function($0,$1){this._unitDetectionPixelPercent($[9],$0);this.addToQueue($[9]);},_applyTop:function($0,$1){this._unitDetectionPixelPercent($[20],$0);this.addToQueue($[20]);},_applyBottom:function($0,$1){this._unitDetectionPixelPercent($[17],$0);this.addToQueue($[17]);},_applyWidth:function($0,$1){this._unitDetectionPixelPercentAutoFlex($[30],$0);this.addToQueue($[30]);},_applyMinWidth:function($0,$1){this._unitDetectionPixelPercentAuto($[73],$0);this.addToQueue($[73]);},_applyMaxWidth:function($0,$1){this._unitDetectionPixelPercentAuto($[74],$0);this.addToQueue($[74]);},_applyHeight:function($0,$1){this._unitDetectionPixelPercentAutoFlex($[31],$0);this.addToQueue($[31]);},_applyMinHeight:function($0,$1){this._unitDetectionPixelPercentAuto($[77],$0);this.addToQueue($[77]);},_applyMaxHeight:function($0,$1){this._unitDetectionPixelPercentAuto($[75],$0);this.addToQueue($[75]);},isMaterialized:function(){var $0=this._element;return (this._initialLayoutDone&&this._isDisplayable&&qx.html.Style.getStyleProperty($0,$[158])!=$[7]&&qx.html.Style.getStyleProperty($0,$[1140])!=$[36]&&$0.offsetWidth>0&&$0.offsetHeight>0);},pack:function(){this.setWidth(this.getPreferredBoxWidth());this.setHeight(this.getPreferredBoxHeight());},auto:function(){this.setWidth($[3]);this.setHeight($[3]);},getChildren:qx.lang.Function.returnNull,getChildrenLength:qx.lang.Function.returnZero,hasChildren:qx.lang.Function.returnFalse,isEmpty:qx.lang.Function.returnTrue,indexOf:qx.lang.Function.returnNegativeIndex,contains:qx.lang.Function.returnFalse,getVisibleChildren:qx.lang.Function.returnNull,getVisibleChildrenLength:qx.lang.Function.returnZero,hasVisibleChildren:qx.lang.Function.returnFalse,isVisibleEmpty:qx.lang.Function.returnTrue,_hasParent:false,_isDisplayable:false,isDisplayable:function(){return this._isDisplayable;},_checkParent:function($0,$1){if(this.contains($0)){throw new Error("Could not insert myself into a child "+$0+"!");}return $0;},_applyParent:function($0,$1){if($1){var $2=$1.getChildren().indexOf(this);this._computedWidthValue=this._computedMinWidthValue=this._computedMaxWidthValue=this._computedLeftValue=this._computedRightValue=null;this._computedHeightValue=this._computedMinHeightValue=this._computedMaxHeightValue=this._computedTopValue=this._computedBottomValue=null;this._cachedBoxWidth=this._cachedInnerWidth=this._cachedOuterWidth=null;this._cachedBoxHeight=this._cachedInnerHeight=this._cachedOuterHeight=null;qx.lang.Array.removeAt($1.getChildren(),$2);$1._invalidateVisibleChildren();$1._removeChildFromChildrenQueue(this);$1.getLayoutImpl().updateChildrenOnRemoveChild(this,$2);$1.addToJobQueue($[389]);$1._invalidatePreferredInnerDimensions();this._oldParent=$1;}if($0){this._hasParent=true;if(typeof this._insertIndex==$[50]){qx.lang.Array.insertAt($0.getChildren(),this,this._insertIndex);delete this._insertIndex;}else{$0.getChildren().push(this);}}else{this._hasParent=false;}qx.core.Property.refresh(this);return this._handleDisplayable($[343]);},_applyDisplay:function($0,$1){return this._handleDisplayable($[158]);},_handleDisplayable:function($0){var $1=this._computeDisplayable();if(this._isDisplayable==$1&&!($1&&$0==$[343])){return true;}this._isDisplayable=$1;var $2=this.getParent();if($2){$2._invalidateVisibleChildren();$2._invalidatePreferredInnerDimensions();}if($0&&this._oldParent&&this._oldParent._initialLayoutDone){var $3=this.getElement();if($3){if(this.getVisibility()){this._beforeDisappear();}this._beforeRemoveDom();try{this._oldParent._getTargetNode().removeChild($3);}catch(e){}this._afterRemoveDom();if(this.getVisibility()){this._afterDisappear();}}delete this._oldParent;}if($1){if($2._initialLayoutDone){$2.getLayoutImpl().updateChildrenOnAddChild(this,$2.getChildren().indexOf(this));$2.addToJobQueue($[1323]);}this.addToLayoutChanges($[1017]);this.addToCustomQueues($0);if(this.getVisibility()){this._beforeAppear();}if(!this._isCreated){qx.ui.core.Widget.addToGlobalElementQueue(this);}qx.ui.core.Widget.addToGlobalStateQueue(this);if(!qx.lang.Object.isEmpty(this._jobQueue)){qx.ui.core.Widget.addToGlobalJobQueue(this);}if(!qx.lang.Object.isEmpty(this._childrenQueue)){qx.ui.core.Widget.addToGlobalLayoutQueue(this);}}else{qx.ui.core.Widget.removeFromGlobalElementQueue(this);qx.ui.core.Widget.removeFromGlobalStateQueue(this);qx.ui.core.Widget.removeFromGlobalJobQueue(this);qx.ui.core.Widget.removeFromGlobalLayoutQueue(this);this.removeFromCustomQueues($0);if($2&&$0){if(this.getVisibility()){this._beforeDisappear();}if($2._initialLayoutDone&&this._initialLayoutDone){$2.getLayoutImpl().updateChildrenOnRemoveChild(this,$2.getChildren().indexOf(this));$2.addToJobQueue($[389]);this._beforeRemoveDom();var $4=this.getElement().parentNode;if($4){$4.removeChild(this.getElement());if($4&&$4!==$2._getTargetNode()){this.warn("Unexpected parent node: "+$4);}}this._afterRemoveDom();}$2._removeChildFromChildrenQueue(this);if(this.getVisibility()){this._afterDisappear();}}}this._handleDisplayableCustom($1,$2,$0);return true;},addToCustomQueues:qx.lang.Function.returnTrue,removeFromCustomQueues:qx.lang.Function.returnTrue,_handleDisplayableCustom:qx.lang.Function.returnTrue,_computeDisplayable:function(){return this.getDisplay()&&this.getParent()&&this.getParent()._isDisplayable?true:false;},_beforeAppear:function(){this.createDispatchEvent($[707]);},_afterAppear:function(){this._isSeeable=true;this.createDispatchEvent($[193]);},_beforeDisappear:function(){this.removeState($[43]);if(qx.Class.isDefined($[303])){this.removeState($[14]);this.removeState($[35]);}this.createDispatchEvent($[401]);},_afterDisappear:function(){this._isSeeable=false;this.createDispatchEvent($[272]);},_isSeeable:false,isSeeable:function(){return this._isSeeable;},isAppearRelevant:function(){return this.getVisibility()&&this._isDisplayable;},_beforeInsertDom:function(){this.createDispatchEvent($[1219]);},_afterInsertDom:function(){this.createDispatchEvent($[1519]);},_beforeRemoveDom:function(){this.createDispatchEvent($[1287]);},_afterRemoveDom:function(){this.createDispatchEvent($[1439]);},_applyVisibility:function($0,$1){if($0){if(this._isDisplayable){this._beforeAppear();}this.removeStyleProperty($[158]);if(this._isDisplayable){this._afterAppear();}}else{if(this._isDisplayable){this._beforeDisappear();}this.setStyleProperty($[158],$[7]);if(this._isDisplayable){this._afterDisappear();}}},show:function(){this.setVisibility(true);this.setDisplay(true);},hide:function(){this.setVisibility(false);},connect:function(){this.setDisplay(true);},disconnect:function(){this.setDisplay(false);},_isCreated:false,_getTargetNode:qx.core.Variant.select($[1],{"gecko":function(){return this._element;},"default":function(){return this._borderElement||this._element;}}),addToDocument:function(){qx.ui.core.ClientDocument.getInstance().add(this);},isCreated:function(){return this._isCreated;},_createElementImpl:function(){this.setElement(this.getTopLevelWidget().getDocumentElement().createElement($[67]));},_applyElement:function($0,$1){this._isCreated=$0!=null;if($1){$1.qx_Widget=null;}if($0){$0.qx_Widget=this;$0.style.position=$[54];this._element=$0;this._style=$0.style;this._applyStyleProperties($0);this._applyHtmlProperties($0);this._applyHtmlAttributes($0);this._applyElementData($0);this.createDispatchEvent($[1128]);this.addToStateQueue();}else{this._element=this._style=null;}},addToJobQueue:function($0){if(this._hasParent){qx.ui.core.Widget.addToGlobalJobQueue(this);}if(!this._jobQueue){this._jobQueue={};}this._jobQueue[$0]=true;return true;},_flushJobQueue:function($0){try{var $1=this._jobQueue;var $2=this.getParent();if(!$2||qx.lang.Object.isEmpty($1)){return;}var $3=this instanceof qx.ui.core.Parent?this.getLayoutImpl():null;if($3){$3.updateSelfOnJobQueueFlush($1);}}catch(ex){this.error("Flushing job queue (prechecks#1) failed",ex);}try{var $4=false;var $5=$1.marginLeft||$1.marginRight;var $6=$1.marginTop||$1.marginBottom;var $7=$1.frameWidth;var $8=$1.frameHeight;var $9=($1.frameWidth||$1.preferredInnerWidth)&&this._recomputePreferredBoxWidth();var $a=($1.frameHeight||$1.preferredInnerHeight)&&this._recomputePreferredBoxHeight();if($9){var $b=this.getPreferredBoxWidth();if(this._computedWidthTypeAuto){this._computedWidthValue=$b;$1.width=true;}if(this._computedMinWidthTypeAuto){this._computedMinWidthValue=$b;$1.minWidth=true;}if(this._computedMaxWidthTypeAuto){this._computedMaxWidthValue=$b;$1.maxWidth=true;}}if($a){var $b=this.getPreferredBoxHeight();if(this._computedHeightTypeAuto){this._computedHeightValue=$b;$1.height=true;}if(this._computedMinHeightTypeAuto){this._computedMinHeightValue=$b;$1.minHeight=true;}if(this._computedMaxHeightTypeAuto){this._computedMaxHeightValue=$b;$1.maxHeight=true;}}if(($1.width||$1.minWidth||$1.maxWidth||$1.left||$1.right)&&this._recomputeBoxWidth()){$5=$7=true;}if(($1.height||$1.minHeight||$1.maxHeight||$1.top||$1.bottom)&&this._recomputeBoxHeight()){$6=$8=true;}}catch(ex){this.error("Flushing job queue (recompute#2) failed",ex);}try{if(($5&&this._recomputeOuterWidth())||$9){$2._invalidatePreferredInnerWidth();$2.getLayoutImpl().updateSelfOnChildOuterWidthChange(this);$4=true;}if(($6&&this._recomputeOuterHeight())||$a){$2._invalidatePreferredInnerHeight();$2.getLayoutImpl().updateSelfOnChildOuterHeightChange(this);$4=true;}if($4){$2._flushJobQueue();}}catch(ex){this.error("Flushing job queue (parentsignals#3) failed",ex);}try{$2._addChildToChildrenQueue(this);for(var $c in $1){this._layoutChanges[$c]=true;}}catch(ex){this.error("Flushing job queue (addjobs#4) failed",ex);}try{if(this instanceof qx.ui.core.Parent&&($1.paddingLeft||$1.paddingRight||$1.paddingTop||$1.paddingBottom)){var $d=this.getChildren(),$e=$d.length;if($1.paddingLeft){for(var $c=0;$c<$e;$c++){$d[$c].addToLayoutChanges($[862]);}}if($1.paddingRight){for(var $c=0;$c<$e;$c++){$d[$c].addToLayoutChanges($[878]);}}if($1.paddingTop){for(var $c=0;$c<$e;$c++){$d[$c].addToLayoutChanges($[1697]);}}if($1.paddingBottom){for(var $c=0;$c<$e;$c++){$d[$c].addToLayoutChanges($[723]);}}}if($7){this._recomputeInnerWidth();}if($8){this._recomputeInnerHeight();}if(this._initialLayoutDone){if($3){$3.updateChildrenOnJobQueueFlush($1);}}}catch(ex){this.error("Flushing job queue (childrensignals#5) failed",ex);}delete this._jobQueue;},_isWidthEssential:qx.lang.Function.returnTrue,_isHeightEssential:qx.lang.Function.returnTrue,_computeBoxWidthFallback:function(){return 0;},_computeBoxHeightFallback:function(){return 0;},_computeBoxWidth:function(){var $0=this.getParent().getLayoutImpl();return Math.max(0,qx.lang.Number.limit($0.computeChildBoxWidth(this),this.getMinWidthValue(),this.getMaxWidthValue()));},_computeBoxHeight:function(){var $0=this.getParent().getLayoutImpl();return Math.max(0,qx.lang.Number.limit($0.computeChildBoxHeight(this),this.getMinHeightValue(),this.getMaxHeightValue()));},_computeOuterWidth:function(){return Math.max(0,(this.getMarginLeft()+this.getBoxWidth()+this.getMarginRight()));},_computeOuterHeight:function(){return Math.max(0,(this.getMarginTop()+this.getBoxHeight()+this.getMarginBottom()));},_computeInnerWidth:function(){return Math.max(0,this.getBoxWidth()-this.getFrameWidth());},_computeInnerHeight:function(){return Math.max(0,this.getBoxHeight()-this.getFrameHeight());},getNeededWidth:function(){var $0=this.getParent().getLayoutImpl();return Math.max(0,$0.computeChildNeededWidth(this));},getNeededHeight:function(){var $0=this.getParent().getLayoutImpl();return Math.max(0,$0.computeChildNeededHeight(this));},_recomputeFlexX:function(){if(!this.getHasFlexX()){return false;}if(this._computedWidthTypeFlex){this._computedWidthValue=null;this.addToLayoutChanges($[30]);}return true;},_recomputeFlexY:function(){if(!this.getHasFlexY()){return false;}if(this._computedHeightTypeFlex){this._computedHeightValue=null;this.addToLayoutChanges($[31]);}return true;},_recomputePercentX:function(){if(!this.getHasPercentX()){return false;}if(this._computedWidthTypePercent){this._computedWidthValue=null;this.addToLayoutChanges($[30]);}if(this._computedMinWidthTypePercent){this._computedMinWidthValue=null;this.addToLayoutChanges($[73]);}if(this._computedMaxWidthTypePercent){this._computedMaxWidthValue=null;this.addToLayoutChanges($[74]);}if(this._computedLeftTypePercent){this._computedLeftValue=null;this.addToLayoutChanges($[11]);}if(this._computedRightTypePercent){this._computedRightValue=null;this.addToLayoutChanges($[9]);}return true;},_recomputePercentY:function(){if(!this.getHasPercentY()){return false;}if(this._computedHeightTypePercent){this._computedHeightValue=null;this.addToLayoutChanges($[31]);}if(this._computedMinHeightTypePercent){this._computedMinHeightValue=null;this.addToLayoutChanges($[77]);}if(this._computedMaxHeightTypePercent){this._computedMaxHeightValue=null;this.addToLayoutChanges($[75]);}if(this._computedTopTypePercent){this._computedTopValue=null;this.addToLayoutChanges($[20]);}if(this._computedBottomTypePercent){this._computedBottomValue=null;this.addToLayoutChanges($[17]);}return true;},_recomputeRangeX:qx.core.Variant.select($[1],{"mshtml|opera|webkit":function(){if(this._computedLeftTypeNull||this._computedRightTypeNull){return false;}this.addToLayoutChanges($[30]);return true;},"default":function(){return !(this._computedLeftTypeNull||this._computedRightTypeNull);}}),_recomputeRangeY:qx.core.Variant.select($[1],{"mshtml|opera|webkit":function(){if(this._computedTopTypeNull||this._computedBottomTypeNull){return false;}this.addToLayoutChanges($[31]);return true;},"default":function(){return !(this._computedTopTypeNull||this._computedBottomTypeNull);}}),_recomputeStretchingX:qx.core.Variant.select($[1],{"mshtml|opera|webkit":function(){if(this.getAllowStretchX()&&this._computedWidthTypeNull){this._computedWidthValue=null;this.addToLayoutChanges($[30]);return true;}return false;},"default":function(){if(this.getAllowStretchX()&&this._computedWidthTypeNull){return true;}return false;}}),_recomputeStretchingY:qx.core.Variant.select($[1],{"mshtml|opera|webkit":function(){if(this.getAllowStretchY()&&this._computedHeightTypeNull){this._computedHeightValue=null;this.addToLayoutChanges($[31]);return true;}return false;},"default":function(){if(this.getAllowStretchY()&&this._computedHeightTypeNull){return true;}return false;}}),_computeValuePixel:function($0){return Math.round($0);},_computeValuePixelLimit:function($0){return Math.max(0,this._computeValuePixel($0));},_computeValuePercentX:function($0){return Math.round(this.getParent().getInnerWidthForChild(this)*$0*0.01);},_computeValuePercentXLimit:function($0){return Math.max(0,this._computeValuePercentX($0));},_computeValuePercentY:function($0){return Math.round(this.getParent().getInnerHeightForChild(this)*$0*0.01);},_computeValuePercentYLimit:function($0){return Math.max(0,this._computeValuePercentY($0));},getWidthValue:function(){if(this._computedWidthValue!=null){return this._computedWidthValue;}switch(this._computedWidthType){case qx.ui.core.Widget.TYPE_PIXEL:return this._computedWidthValue=this._computeValuePixelLimit(this._computedWidthParsed);case qx.ui.core.Widget.TYPE_PERCENT:return this._computedWidthValue=this._computeValuePercentXLimit(this._computedWidthParsed);case qx.ui.core.Widget.TYPE_AUTO:return this._computedWidthValue=this.getPreferredBoxWidth();case qx.ui.core.Widget.TYPE_FLEX:if(this.getParent().getLayoutImpl().computeChildrenFlexWidth===undefined){throw new Error("Widget "+this+": having horizontal flex size (width="+this.getWidth()+") but parent layout "+this.getParent()+" does not support it");}this.getParent().getLayoutImpl().computeChildrenFlexWidth();return this._computedWidthValue=this._computedWidthFlexValue;}return null;},getMinWidthValue:function(){if(this._computedMinWidthValue!=null){return this._computedMinWidthValue;}switch(this._computedMinWidthType){case qx.ui.core.Widget.TYPE_PIXEL:return this._computedWidthValue=this._computeValuePixelLimit(this._computedMinWidthParsed);case qx.ui.core.Widget.TYPE_PERCENT:return this._computedWidthValue=this._computeValuePercentXLimit(this._computedMinWidthParsed);case qx.ui.core.Widget.TYPE_AUTO:return this._computedMinWidthValue=this.getPreferredBoxWidth();}return null;},getMaxWidthValue:function(){if(this._computedMaxWidthValue!=null){return this._computedMaxWidthValue;}switch(this._computedMaxWidthType){case qx.ui.core.Widget.TYPE_PIXEL:return this._computedWidthValue=this._computeValuePixelLimit(this._computedMaxWidthParsed);case qx.ui.core.Widget.TYPE_PERCENT:return this._computedWidthValue=this._computeValuePercentXLimit(this._computedMaxWidthParsed);case qx.ui.core.Widget.TYPE_AUTO:return this._computedMaxWidthValue=this.getPreferredBoxWidth();}return null;},getLeftValue:function(){if(this._computedLeftValue!=null){return this._computedLeftValue;}switch(this._computedLeftType){case qx.ui.core.Widget.TYPE_PIXEL:return this._computedLeftValue=this._computeValuePixel(this._computedLeftParsed);case qx.ui.core.Widget.TYPE_PERCENT:return this._computedLeftValue=this._computeValuePercentX(this._computedLeftParsed);}return null;},getRightValue:function(){if(this._computedRightValue!=null){return this._computedRightValue;}switch(this._computedRightType){case qx.ui.core.Widget.TYPE_PIXEL:return this._computedRightValue=this._computeValuePixel(this._computedRightParsed);case qx.ui.core.Widget.TYPE_PERCENT:return this._computedRightValue=this._computeValuePercentX(this._computedRightParsed);}return null;},getHeightValue:function(){if(this._computedHeightValue!=null){return this._computedHeightValue;}switch(this._computedHeightType){case qx.ui.core.Widget.TYPE_PIXEL:return this._computedHeightValue=this._computeValuePixelLimit(this._computedHeightParsed);case qx.ui.core.Widget.TYPE_PERCENT:return this._computedHeightValue=this._computeValuePercentYLimit(this._computedHeightParsed);case qx.ui.core.Widget.TYPE_AUTO:return this._computedHeightValue=this.getPreferredBoxHeight();case qx.ui.core.Widget.TYPE_FLEX:if(this.getParent().getLayoutImpl().computeChildrenFlexHeight===undefined){throw new Error("Widget "+this+": having vertical flex size (height="+this.getHeight()+") but parent layout "+this.getParent()+" does not support it");}this.getParent().getLayoutImpl().computeChildrenFlexHeight();return this._computedHeightValue=this._computedHeightFlexValue;}return null;},getMinHeightValue:function(){if(this._computedMinHeightValue!=null){return this._computedMinHeightValue;}switch(this._computedMinHeightType){case qx.ui.core.Widget.TYPE_PIXEL:return this._computedMinHeightValue=this._computeValuePixelLimit(this._computedMinHeightParsed);case qx.ui.core.Widget.TYPE_PERCENT:return this._computedMinHeightValue=this._computeValuePercentYLimit(this._computedMinHeightParsed);case qx.ui.core.Widget.TYPE_AUTO:return this._computedMinHeightValue=this.getPreferredBoxHeight();}return null;},getMaxHeightValue:function(){if(this._computedMaxHeightValue!=null){return this._computedMaxHeightValue;}switch(this._computedMaxHeightType){case qx.ui.core.Widget.TYPE_PIXEL:return this._computedMaxHeightValue=this._computeValuePixelLimit(this._computedMaxHeightParsed);case qx.ui.core.Widget.TYPE_PERCENT:return this._computedMaxHeightValue=this._computeValuePercentYLimit(this._computedMaxHeightParsed);case qx.ui.core.Widget.TYPE_AUTO:return this._computedMaxHeightValue=this.getPreferredBoxHeight();}return null;},getTopValue:function(){if(this._computedTopValue!=null){return this._computedTopValue;}switch(this._computedTopType){case qx.ui.core.Widget.TYPE_PIXEL:return this._computedTopValue=this._computeValuePixel(this._computedTopParsed);case qx.ui.core.Widget.TYPE_PERCENT:return this._computedTopValue=this._computeValuePercentY(this._computedTopParsed);}return null;},getBottomValue:function(){if(this._computedBottomValue!=null){return this._computedBottomValue;}switch(this._computedBottomType){case qx.ui.core.Widget.TYPE_PIXEL:return this._computedBottomValue=this._computeValuePixel(this._computedBottomParsed);case qx.ui.core.Widget.TYPE_PERCENT:return this._computedBottomValue=this._computeValuePercentY(this._computedBottomParsed);}return null;},_computeFrameWidth:function(){var $0=this._cachedBorderLeft+this.getPaddingLeft()+this.getPaddingRight()+this._cachedBorderRight;switch(this.getOverflow()){case $[26]:case $[111]:$0+=qx.ui.core.Widget.SCROLLBAR_SIZE;break;case $[3]:break;}return $0;},_computeFrameHeight:function(){var $0=this._cachedBorderTop+this.getPaddingTop()+this.getPaddingBottom()+this._cachedBorderBottom;switch(this.getOverflow()){case $[26]:case $[112]:$0+=qx.ui.core.Widget.SCROLLBAR_SIZE;break;case $[3]:break;}return $0;},_invalidateFrameDimensions:function(){this._invalidateFrameWidth();this._invalidateFrameHeight();},_invalidatePreferredInnerDimensions:function(){this._invalidatePreferredInnerWidth();this._invalidatePreferredInnerHeight();},_computePreferredBoxWidth:function(){try{return Math.max(0,this.getPreferredInnerWidth()+this.getFrameWidth());}catch(ex){this.error("_computePreferredBoxWidth failed",ex);}},_computePreferredBoxHeight:function(){try{return Math.max(0,this.getPreferredInnerHeight()+this.getFrameHeight());}catch(ex){this.error("_computePreferredBoxHeight failed",ex);}},_initialLayoutDone:false,addToLayoutChanges:function($0){if(this._isDisplayable){this.getParent()._addChildToChildrenQueue(this);}return this._layoutChanges[$0]=true;},addToQueue:function($0){this._initialLayoutDone?this.addToJobQueue($0):this.addToLayoutChanges($0);},addToQueueRuntime:function($0){return !this._initialLayoutDone||this.addToJobQueue($0);},_computeHasPercentX:function(){return (this._computedLeftTypePercent||this._computedWidthTypePercent||this._computedMinWidthTypePercent||this._computedMaxWidthTypePercent||this._computedRightTypePercent);},_computeHasPercentY:function(){return (this._computedTopTypePercent||this._computedHeightTypePercent||this._computedMinHeightTypePercent||this._computedMaxHeightTypePercent||this._computedBottomTypePercent);},_computeHasAutoX:function(){return (this._computedWidthTypeAuto||this._computedMinWidthTypeAuto||this._computedMaxWidthTypeAuto);},_computeHasAutoY:function(){return (this._computedHeightTypeAuto||this._computedMinHeightTypeAuto||this._computedMaxHeightTypeAuto);},_computeHasFlexX:function(){return this._computedWidthTypeFlex;},_computeHasFlexY:function(){return this._computedHeightTypeFlex;},_evalUnitsPixelPercentAutoFlex:function($0){switch($0){case $[3]:return qx.ui.core.Widget.TYPE_AUTO;case Infinity:case -Infinity:return qx.ui.core.Widget.TYPE_NULL;}switch(typeof $0){case $[50]:return isNaN($0)?qx.ui.core.Widget.TYPE_NULL:qx.ui.core.Widget.TYPE_PIXEL;case $[8]:return $0.indexOf($[173])!=-1?qx.ui.core.Widget.TYPE_PERCENT:$0.indexOf($[140])!=-1?qx.ui.core.Widget.TYPE_FLEX:qx.ui.core.Widget.TYPE_NULL;}return qx.ui.core.Widget.TYPE_NULL;},_evalUnitsPixelPercentAuto:function($0){switch($0){case $[3]:return qx.ui.core.Widget.TYPE_AUTO;case Infinity:case -Infinity:return qx.ui.core.Widget.TYPE_NULL;}switch(typeof $0){case $[50]:return isNaN($0)?qx.ui.core.Widget.TYPE_NULL:qx.ui.core.Widget.TYPE_PIXEL;case $[8]:return $0.indexOf($[173])!=-1?qx.ui.core.Widget.TYPE_PERCENT:qx.ui.core.Widget.TYPE_NULL;}return qx.ui.core.Widget.TYPE_NULL;},_evalUnitsPixelPercent:function($0){switch($0){case Infinity:case -Infinity:return qx.ui.core.Widget.TYPE_NULL;}switch(typeof $0){case $[50]:return isNaN($0)?qx.ui.core.Widget.TYPE_NULL:qx.ui.core.Widget.TYPE_PIXEL;case $[8]:return $0.indexOf($[173])!=-1?qx.ui.core.Widget.TYPE_PERCENT:qx.ui.core.Widget.TYPE_NULL;}return qx.ui.core.Widget.TYPE_NULL;},_unitDetectionPixelPercentAutoFlex:function($0,$1){var $2=qx.ui.core.Widget.layoutPropertyTypes[$0];var $3=$2.dataType;var $4=$2.dataParsed;var $5=$2.dataValue;var $6=$2.typePixel;var $7=$2.typePercent;var $8=$2.typeAuto;var $9=$2.typeFlex;var $a=$2.typeNull;var $b=this[$7];var $c=this[$8];var $d=this[$9];switch(this[$3]=this._evalUnitsPixelPercentAutoFlex($1)){case qx.ui.core.Widget.TYPE_PIXEL:this[$6]=true;this[$7]=this[$8]=this[$9]=this[$a]=false;this[$4]=this[$5]=Math.round($1);break;case qx.ui.core.Widget.TYPE_PERCENT:this[$7]=true;this[$6]=this[$8]=this[$9]=this[$a]=false;this[$4]=parseFloat($1);this[$5]=null;break;case qx.ui.core.Widget.TYPE_AUTO:this[$8]=true;this[$6]=this[$7]=this[$9]=this[$a]=false;this[$4]=this[$5]=null;break;case qx.ui.core.Widget.TYPE_FLEX:this[$9]=true;this[$6]=this[$7]=this[$8]=this[$a]=false;this[$4]=parseFloat($1);this[$5]=null;break;default:this[$a]=true;this[$6]=this[$7]=this[$8]=this[$9]=false;this[$4]=this[$5]=null;break;}if($b!=this[$7]){switch($0){case $[73]:case $[74]:case $[30]:case $[11]:case $[9]:this._invalidateHasPercentX();break;case $[75]:case $[77]:case $[31]:case $[20]:case $[17]:this._invalidateHasPercentY();break;}}if($c!=this[$8]){switch($0){case $[73]:case $[74]:case $[30]:this._invalidateHasAutoX();break;case $[77]:case $[75]:case $[31]:this._invalidateHasAutoY();break;}}if($d!=this[$9]){switch($0){case $[30]:this._invalidateHasFlexX();break;case $[31]:this._invalidateHasFlexY();break;}}},_unitDetectionPixelPercentAuto:function($0,$1){var $2=qx.ui.core.Widget.layoutPropertyTypes[$0];var $3=$2.dataType;var $4=$2.dataParsed;var $5=$2.dataValue;var $6=$2.typePixel;var $7=$2.typePercent;var $8=$2.typeAuto;var $9=$2.typeNull;var $a=this[$7];var $b=this[$8];switch(this[$3]=this._evalUnitsPixelPercentAuto($1)){case qx.ui.core.Widget.TYPE_PIXEL:this[$6]=true;this[$7]=this[$8]=this[$9]=false;this[$4]=this[$5]=Math.round($1);break;case qx.ui.core.Widget.TYPE_PERCENT:this[$7]=true;this[$6]=this[$8]=this[$9]=false;this[$4]=parseFloat($1);this[$5]=null;break;case qx.ui.core.Widget.TYPE_AUTO:this[$8]=true;this[$6]=this[$7]=this[$9]=false;this[$4]=this[$5]=null;break;default:this[$9]=true;this[$6]=this[$7]=this[$8]=false;this[$4]=this[$5]=null;break;}if($a!=this[$7]){switch($0){case $[73]:case $[74]:case $[30]:case $[11]:case $[9]:this._invalidateHasPercentX();break;case $[77]:case $[75]:case $[31]:case $[20]:case $[17]:this._invalidateHasPercentY();break;}}if($b!=this[$8]){switch($0){case $[73]:case $[74]:case $[30]:this._invalidateHasAutoX();break;case $[77]:case $[75]:case $[31]:this._invalidateHasAutoY();break;}}},_unitDetectionPixelPercent:function($0,$1){var $2=qx.ui.core.Widget.layoutPropertyTypes[$0];var $3=$2.dataType;var $4=$2.dataParsed;var $5=$2.dataValue;var $6=$2.typePixel;var $7=$2.typePercent;var $8=$2.typeNull;var $9=this[$7];switch(this[$3]=this._evalUnitsPixelPercent($1)){case qx.ui.core.Widget.TYPE_PIXEL:this[$6]=true;this[$7]=this[$8]=false;this[$4]=this[$5]=Math.round($1);break;case qx.ui.core.Widget.TYPE_PERCENT:this[$7]=true;this[$6]=this[$8]=false;this[$4]=parseFloat($1);this[$5]=null;break;default:this[$8]=true;this[$6]=this[$7]=false;this[$4]=this[$5]=null;break;}if($9!=this[$7]){switch($0){case $[73]:case $[74]:case $[30]:case $[11]:case $[9]:this._invalidateHasPercentX();break;case $[77]:case $[75]:case $[31]:case $[20]:case $[17]:this._invalidateHasPercentY();break;}}},getTopLevelWidget:function(){return this._hasParent?this.getParent().getTopLevelWidget():null;},moveSelfBefore:function($0){this.getParent().addBefore(this,$0);},moveSelfAfter:function($0){this.getParent().addAfter(this,$0);},moveSelfToBegin:function(){this.getParent().addAtBegin(this);},moveSelfToEnd:function(){this.getParent().addAtEnd(this);},getPreviousSibling:function(){var $0=this.getParent();if($0==null){return null;}var $1=$0.getChildren();return $1[$1.indexOf(this)-1];},getNextSibling:function(){var $0=this.getParent();if($0==null){return null;}var $1=$0.getChildren();return $1[$1.indexOf(this)+1];},getPreviousVisibleSibling:function(){if(!this._hasParent){return null;}var $0=this.getParent().getVisibleChildren();return $0[$0.indexOf(this)-1];},getNextVisibleSibling:function(){if(!this._hasParent){return null;}var $0=this.getParent().getVisibleChildren();return $0[$0.indexOf(this)+1];},getPreviousActiveSibling:function($0){var $1=qx.ui.core.Widget.getActiveSiblingHelper(this,this.getParent(),-1,$0,null);return $1?$1:this.getParent().getLastActiveChild();},getNextActiveSibling:function($0){var $1=qx.ui.core.Widget.getActiveSiblingHelper(this,this.getParent(),1,$0,null);return $1?$1:this.getParent().getFirstActiveChild();},isFirstChild:function(){return this._hasParent&&this.getParent().getFirstChild()==this;},isLastChild:function(){return this._hasParent&&this.getParent().getLastChild()==this;},isFirstVisibleChild:function(){return this._hasParent&&this.getParent().getFirstVisibleChild()==this;},isLastVisibleChild:function(){return this._hasParent&&this.getParent().getLastVisibleChild()==this;},hasState:function($0){return this.__states&&this.__states[$0]?true:false;},addState:function($0){if(!this.__states){this.__states={};}if(!this.__states[$0]){this.__states[$0]=true;if(this._hasParent){qx.ui.core.Widget.addToGlobalStateQueue(this);}}},removeState:function($0){if(this.__states&&this.__states[$0]){delete this.__states[$0];if(this._hasParent){qx.ui.core.Widget.addToGlobalStateQueue(this);}}},_styleFromMap:function($0){var $1=qx.core.Property.$$method.style;var $2=qx.core.Property.$$method.unstyle;var $3;var $4;for(var $4 in $0){$3=$0[$4];$3===$[65]?this[$2[$4]]():this[$1[$4]]($3);}},_unstyleFromArray:function($0){var $1=qx.core.Property.$$method.unstyle;var $2,$3;for(var $2=0,$3=$0.length;$2<$3;$2++){this[$1[$0[$2]]]();}},_renderAppearance:function(){if(!this.__states){this.__states={};}this._applyStateStyleFocus(this.__states);var $0=this.getAppearance();if($0){try{var $1=qx.theme.manager.Appearance.getInstance().styleFrom($0,this.__states);if($1){this._styleFromMap($1);}}catch(ex){this.error("Could not apply state appearance",ex);}}},_resetAppearanceThemeWrapper:function($0,$1){var $2=this.getAppearance();if($2){var $3=qx.theme.manager.Appearance.getInstance();var $4=$3.styleFromTheme($1,$2,this.__states);var $5=$3.styleFromTheme($0,$2,this.__states);var $6=[];for(var $7 in $4){if($5[$7]===undefined){$6.push($7);}}this._unstyleFromArray($6);this._styleFromMap($5);}},_applyStateStyleFocus:qx.core.Variant.select($[1],{"mshtml":function($0){},"gecko":function($0){if($0.focused){if(!qx.event.handler.FocusHandler.mouseFocus&&!this.getHideFocus()){this.setStyleProperty($[200],$[205]);}}else{this.removeStyleProperty($[200]);}},"default":function($0){if($0.focused){if(!qx.event.handler.FocusHandler.mouseFocus&&!this.getHideFocus()){this.setStyleProperty($[214],$[205]);}}else{this.removeStyleProperty($[214]);}}}),addToStateQueue:function(){qx.ui.core.Widget.addToGlobalStateQueue(this);},recursiveAddToStateQueue:function(){this.addToStateQueue();},_applyAppearance:function($0,$1){if(!this.__states){this.__states={};}var $2=qx.theme.manager.Appearance.getInstance();if($0){var $3=$2.styleFrom($0,this.__states)||{};}if($1){var $4=$2.styleFrom($1,this.__states)||{};var $5=[];for(var $6 in $4){if(!$3||!($6 in $3)){$5.push($6);}}}if($5){this._unstyleFromArray($5);}if($3){this._styleFromMap($3);}},_recursiveAppearanceThemeUpdate:function($0,$1){try{this._resetAppearanceThemeWrapper($0,$1);}catch(ex){this.error("Failed to update appearance theme",ex);}},_applyElementData:function($0){},setHtmlProperty:function($0,$1){if(!this._htmlProperties){this._htmlProperties={};}this._htmlProperties[$0]=$1;if(this._isCreated&&this.getElement()[$0]!=$1){this.getElement()[$0]=$1;}return true;},removeHtmlProperty:qx.core.Variant.select($[1],{"mshtml":function($0){if(!this._htmlProperties){return;}delete this._htmlProperties[$0];if(this._isCreated){this.getElement().removeAttribute($0);}return true;},"default":function($0){if(!this._htmlProperties){return;}delete this._htmlProperties[$0];if(this._isCreated){this.getElement().removeAttribute($0);delete this.getElement()[$0];}return true;}}),getHtmlProperty:function($0){if(!this._htmlProperties){return $[0];}return this._htmlProperties[$0]||$[0];},_applyHtmlProperties:function($0){var $1=this._htmlProperties;if($1){var $2;for($2 in $1){$0[$2]=$1[$2];}}},_generateHtmlId:function(){var $0=this.classname+$[24]+qx.ui.core.Widget._idCounter++;this.debug("setting autogenerated HTML id to "+$0);this.setHtmlProperty($[929],$0);},setHtmlAttribute:function($0,$1){qx.log.Logger.deprecatedMethodWarning(arguments.callee,$[1057]);if(!this._htmlAttributes){this._htmlAttributes={};}this._htmlAttributes[$0]=$1;if(this._isCreated){this.getElement().setAttribute($0,$1);}return true;},removeHtmlAttribute:function($0){qx.log.Logger.deprecatedMethodWarning(arguments.callee,$[588]);if(!this._htmlAttributes){return;}delete this._htmlAttributes[$0];if(this._isCreated){this.getElement().removeAttribute($0);}return true;},getHtmlAttribute:function($0){if(!this._htmlAttributes){return $[0];}return this._htmlAttributes[$0]||$[0];},_applyHtmlAttributes:function($0){var $1=this._htmlAttributes;if($1){var $2;for($2 in $1){$0.setAttribute($2,$1[$2]);}}},getStyleProperty:function($0){if(!this._styleProperties){return $[0];}return this._styleProperties[$0]||$[0];},__outerElementStyleProperties:{cursor:true,zIndex:true,filter:true,display:true,visibility:true},setStyleProperty:function($0,$1){if(!this._styleProperties){this._styleProperties={};}this._styleProperties[$0]=$1;if(this._isCreated){var $2=this.__outerElementStyleProperties[$0]?this.getElement():this._getTargetNode();if($2){$2.style[$0]=($1==null)?$[0]:$1;}}},removeStyleProperty:function($0){if(!this._styleProperties){return;}delete this._styleProperties[$0];if(this._isCreated){var $1=this.__outerElementStyleProperties[$0]?this.getElement():this._getTargetNode();if($1){$1.style[$0]=$[0];}}},_applyStyleProperties:function($0){var $1=this._styleProperties;if(!$1){return;}var $2;var $3=$0;var $4=this._getTargetNode();var $0;var $5;for($2 in $1){$0=this.__outerElementStyleProperties[$2]?$3:$4;$5=$1[$2];$0.style[$2]=($5==null)?$[0]:$5;}},_applyEnabled:function($0,$1){if($0===false){this.addState($[185]);this.removeState($[43]);if(qx.Class.isDefined($[303])){this.removeState($[35]);this.removeState($[14]);}}else{this.removeState($[185]);}},isFocusable:function(){return this.getEnabled()&&this.isSeeable()&&this.getTabIndex()>=0&&this.getTabIndex()!=null;},isFocusRoot:function(){return false;},getFocusRoot:function(){if(this._hasParent){return this.getParent().getFocusRoot();}return null;},getActiveChild:function(){var $0=this.getFocusRoot();if($0){return $0.getActiveChild();}return null;},_ontabfocus:qx.lang.Function.returnTrue,_applyFocused:function($0,$1){if(!this.isCreated()){return;}var $2=this.getFocusRoot();if($2){if($0){$2.setFocusedChild(this);this._visualizeFocus();}else{if($2.getFocusedChild()==this){$2.setFocusedChild(null);}this._visualizeBlur();}}},_applyHideFocus:qx.core.Variant.select($[1],{"mshtml":function($0,$1){this.setHtmlProperty($[1669],$0);},"default":qx.lang.Function.returnTrue}),_visualizeBlur:function(){if(this.getEnableElementFocus()&&(!this.getFocusRoot().getFocusedChild()||(this.getFocusRoot().getFocusedChild()&&this.getFocusRoot().getFocusedChild().getEnableElementFocus()))){try{this.getElement().blur();}catch(ex){}}this.removeState($[224]);},_visualizeFocus:function(){if(!qx.event.handler.FocusHandler.mouseFocus&&this.getEnableElementFocus()){try{this.getElement().focus();}catch(ex){}}this.addState($[224]);},focus:function(){delete qx.event.handler.FocusHandler.mouseFocus;this.setFocused(true);},blur:function(){delete qx.event.handler.FocusHandler.mouseFocus;this.setFocused(false);},_applyCapture:function($0,$1){var $2=qx.event.handler.EventHandler.getInstance();if($1){$2.setCaptureWidget(null);}else if($0){$2.setCaptureWidget(this);}},_applyZIndex:function($0,$1){if($0==null){this.removeStyleProperty($[309]);}else{this.setStyleProperty($[309],$0);}},_applyTabIndex:qx.core.Variant.select($[1],{"mshtml":function($0,$1){this.setHtmlProperty($[354],$0<0?-1:1);},"gecko":function($0,$1){this.setStyleProperty($[1434],($0<0?$[498]:$[156]));},"default":function($0,$1){this.setStyleProperty($[721],($0<0?$[498]:$[156]));this.setHtmlProperty($[354],$0<0?-1:1);}}),_applySelectable:qx.core.Variant.select($[1],{"mshtml":function($0,$1){},"gecko":function($0,$1){if($0){this.removeStyleProperty($[369]);}else{this.setStyleProperty($[369],$[7]);}},"webkit":function($0,$1){if($0){this.removeStyleProperty($[512]);}else{this.setStyleProperty($[512],$[7]);}},"khtml":function($0,$1){if($0){this.removeStyleProperty($[382]);}else{this.setStyleProperty($[382],$[7]);}},"default":function($0,$1){if($0){return this.removeStyleProperty($[524]);}else{this.setStyleProperty($[524],$[7]);}}}),_applyOpacity:qx.core.Variant.select($[1],{"mshtml":function($0,$1){if($0==null||$0>=1||$0<0){this.removeStyleProperty($[144]);}else{this.setStyleProperty($[144],($[873]+Math.round($0*100)+$[145]));}},"default":function($0,$1){if($0==null||$0>1){if(qx.core.Variant.isSet($[1],$[21])){this.removeStyleProperty($[496]);}else if(qx.core.Variant.isSet($[1],$[157])){this.removeStyleProperty($[359]);}this.removeStyleProperty($[356]);}else{$0=qx.lang.Number.limit($0,0,1);if(qx.core.Variant.isSet($[1],$[21])){this.setStyleProperty($[496],$0);}else if(qx.core.Variant.isSet($[1],$[157])){this.setStyleProperty($[359],$0);}this.setStyleProperty($[356],$0);}}}),__cursorMap:qx.core.Variant.select($[1],{"mshtml":{"cursor":$[204],"ew-resize":$[305],"ns-resize":$[282],"nesw-resize":$[428],"nwse-resize":$[330]},"opera":{"col-resize":$[305],"row-resize":$[282],"ew-resize":$[305],"ns-resize":$[282],"nesw-resize":$[428],"nwse-resize":$[330]},"default":{}}),_applyCursor:function($0,$1){if($0){this.setStyleProperty($[323],this.__cursorMap[$0]||$0);}else{this.removeStyleProperty($[323]);}},_applyCommand:function($0,$1){},_applyBackgroundImage:function($0,$1){var $2=qx.io.image.Manager.getInstance();var $3=qx.io.Alias.getInstance();if($1){$2.hide($1);}if($0){$2.show($0);}$3.connect(this._styleBackgroundImage,this,$0);},_styleBackgroundImage:function($0){$0?this.setStyleProperty($[436],$[1761]+$0+$[145]):this.removeStyleProperty($[436]);},_applyBackgroundRepeat:function($0,$1){$0?this.setStyleProperty($[372],$0):this.removeStyleProperty($[372]);},_applyClip:function($0,$1){return this._compileClipString();},_compileClipString:function(){var $0=this.getClipLeft();var $1=this.getClipTop();var $2=this.getClipWidth();var $3=this.getClipHeight();var $4,$5;if($0==null){$4=($2==null?$[3]:$2+$[38]);$0=$[3];}else{$4=($2==null?$[3]:$0+$2+$[38]);$0=$0+$[38];}if($1==null){$5=($3==null?$[3]:$3+$[38]);$1=$[3];}else{$5=($3==null?$[3]:$1+$3+$[38]);$1=$1+$[38];}return this.setStyleProperty($[978],($[1735]+$1+$[101]+$4+$[101]+$5+$[101]+$0+$[145]));},_applyOverflow:qx.core.Variant.select($[1],{"default":function($0,$1){var $2=$0;var $3=$[63];switch($0){case $[112]:$3=$[175];$2=$[26];break;case $[111]:$3=$[179];$2=$[26];break;}var $4=[$[63],$[175],$[179]];for(var $5=0;$5<$4.length;$5++){if($4[$5]!=$3){this.removeStyleProperty($4[$5]);}}switch($0){case $[112]:this.setStyleProperty($[179],$[36]);break;case $[111]:this.setStyleProperty($[175],$[36]);break;}this._renderOverflow($3,$2,$0,$1);this.addToQueue($[63]);},"gecko":function($0,$1){var $2=$0;var $3=$[63];switch($2){case $[36]:$2=$[1658];break;case $[112]:$2=$[281];break;case $[111]:$2=$[274];break;}this._renderOverflow($3,$2,$0,$1);this.addToQueue($[63]);},"opera":function($0,$1){var $2=$0;var $3=$[63];switch($2){case $[112]:case $[111]:$2=$[26];break;}this._renderOverflow($3,$2,$0,$1);this.addToQueue($[63]);}}),_renderOverflow:function($0,$1,$2,$3){this.setStyleProperty($0,$1||$[0]);this._invalidateFrameWidth();this._invalidateFrameHeight();},getOverflowX:function(){var $0=this.getOverflow();return $0==$[111]?$[36]:$0;},getOverflowY:function(){var $0=this.getOverflow();return $0==$[112]?$[36]:$0;},_applyBackgroundColor:function($0,$1){qx.theme.manager.Color.getInstance().connect(this._styleBackgroundColor,this,$0);},_styleBackgroundColor:function($0){$0?this.setStyleProperty($[488],$0):this.removeStyleProperty($[488]);},_applyTextColor:function($0,$1){},_applyFont:function($0,$1){},_cachedBorderTop:0,_cachedBorderRight:0,_cachedBorderBottom:0,_cachedBorderLeft:0,_applyBorder:function($0,$1){qx.theme.manager.Border.getInstance().connect(this._queueBorder,this,$0);},__borderJobs:{top:$[783],right:$[1410],bottom:$[637],left:$[1492]},_queueBorder:function($0,$1){if(!$1){var $2=this.__borderJobs;for(var $3 in $2){this.addToQueue($2[$3]);}this.__reflowBorderX($0);this.__reflowBorderY($0);}else{if($1===$[11]||$1===$[9]){this.__reflowBorderX($0);}else{this.__reflowBorderY($0);}this.addToQueue(this.__borderJobs[$1]);}this.__borderObject=$0;},__reflowBorderX:function($0){var $1=this._cachedBorderLeft;var $2=this._cachedBorderRight;this._cachedBorderLeft=$0?$0.getWidthLeft():0;this._cachedBorderRight=$0?$0.getWidthRight():0;if(($1+$2)!=(this._cachedBorderLeft+this._cachedBorderRight)){this._invalidateFrameWidth();}},__reflowBorderY:function($0){var $1=this._cachedBorderTop;var $2=this._cachedBorderBottom;this._cachedBorderTop=$0?$0.getWidthTop():0;this._cachedBorderBottom=$0?$0.getWidthBottom():0;if(($1+$2)!=(this._cachedBorderTop+this._cachedBorderBottom)){this._invalidateFrameHeight();}},renderBorder:function($0){var $1=this.__borderObject;if($1){if($0.borderTop){$1.renderTop(this);}if($0.borderRight){$1.renderRight(this);}if($0.borderBottom){$1.renderBottom(this);}if($0.borderLeft){$1.renderLeft(this);}}else{var $2=qx.ui.core.Border;if($0.borderTop){$2.resetTop(this);}if($0.borderRight){$2.resetRight(this);}if($0.borderBottom){$2.resetBottom(this);}if($0.borderLeft){$2.resetLeft(this);}}},prepareEnhancedBorder:qx.core.Variant.select($[1],{"gecko":qx.lang.Function.returnTrue,"default":function(){var $0=this.getElement();var $1=this._borderElement=document.createElement($[67]);var $2=$0.style;var $3=this._innerStyle=$1.style;if(qx.core.Variant.isSet($[1],$[13])){}else{$3.width=$3.height=$[56];}$3.position=$[54];for(var $4 in this._styleProperties){switch($4){case $[309]:case $[144]:case $[158]:break;default:$3[$4]=$2[$4];$2[$4]=$[0];}}for(var $4 in this._htmlProperties){switch($4){case $[1337]:$1.unselectable=this._htmlProperties[$4];}}while($0.firstChild){$1.appendChild($0.firstChild);}$0.appendChild($1);}}),_applyPaddingTop:function($0,$1){this.addToQueue($[215]);this._invalidateFrameHeight();},_applyPaddingRight:function($0,$1){this.addToQueue($[245]);this._invalidateFrameWidth();},_applyPaddingBottom:function($0,$1){this.addToQueue($[231]);this._invalidateFrameHeight();},_applyPaddingLeft:function($0,$1){this.addToQueue($[242]);this._invalidateFrameWidth();},renderPadding:function($0){},_applyMarginLeft:function($0,$1){this.addToQueue($[159]);},_applyMarginRight:function($0,$1){this.addToQueue($[225]);},_applyMarginTop:function($0,$1){this.addToQueue($[153]);},_applyMarginBottom:function($0,$1){this.addToQueue($[211]);},execute:function(){var $0=this.getCommand();if($0){$0.execute(this);}this.createDispatchEvent($[128]);},_visualPropertyCheck:function(){if(!this.isCreated()){throw new Error(this.classname+": Element must be created previously!");}},setScrollLeft:function($0){this._visualPropertyCheck();this._getTargetNode().scrollLeft=$0;},setScrollTop:function($0){this._visualPropertyCheck();this._getTargetNode().scrollTop=$0;},getOffsetLeft:function(){this._visualPropertyCheck();return qx.html.Offset.getLeft(this.getElement());},getOffsetTop:function(){this._visualPropertyCheck();return qx.html.Offset.getTop(this.getElement());},getScrollLeft:function(){this._visualPropertyCheck();return this._getTargetNode().scrollLeft;},getScrollTop:function(){this._visualPropertyCheck();return this._getTargetNode().scrollTop;},getClientWidth:function(){this._visualPropertyCheck();return this._getTargetNode().clientWidth;},getClientHeight:function(){this._visualPropertyCheck();return this._getTargetNode().clientHeight;},getOffsetWidth:function(){this._visualPropertyCheck();return this.getElement().offsetWidth;},getOffsetHeight:function(){this._visualPropertyCheck();return this.getElement().offsetHeight;},getScrollWidth:function(){this._visualPropertyCheck();return this._getTargetNode().scrollWidth;},getScrollHeight:function(){this._visualPropertyCheck();return this._getTargetNode().scrollHeight;},scrollIntoView:function($0){this.scrollIntoViewX($0);this.scrollIntoViewY($0);},scrollIntoViewX:function($0){if(!this._isCreated||!this._isDisplayable){this.warn("The function scrollIntoViewX can only be called after the widget is created!");return false;}return qx.html.ScrollIntoView.scrollX(this.getElement(),$0);},scrollIntoViewY:function($0){if(!this._isCreated||!this._isDisplayable){this.warn("The function scrollIntoViewY can only be called after the widget is created!");return false;}return qx.html.ScrollIntoView.scrollY(this.getElement(),$0);},supportsDrop:function($0){var $1=this.getSupportsDropMethod();if($1!==null){return $1.call(this,$0);}return (this!=$0.sourceWidget);}},settings:{"qx.widgetQueueDebugging":false,"qx.widgetDebugId":false},defer:function($0,$1){$0.__initApplyMethods($1);if(qx.core.Variant.isSet($[1],$[13])){$1._renderRuntimeWidth=function($2){this._style.pixelWidth=($2==null)?0:$2;if(this._innerStyle){this._innerStyle.pixelWidth=($2==null)?0:$2-2;}};$1._renderRuntimeHeight=function($2){this._style.pixelHeight=($2==null)?0:$2;if(this._innerStyle){this._innerStyle.pixelHeight=($2==null)?0:$2-2;}};$1._resetRuntimeWidth=function(){this._style.width=$[0];if(this._innerStyle){this._innerStyle.width=$[0];}};$1._resetRuntimeHeight=function(){this._style.height=$[0];if(this._innerStyle){this._innerStyle.height=$[0];}};}$0.__initLayoutProperties($0);{};},destruct:function(){var $0=this.getElement();if($0){$0.qx_Widget=null;}this._disposeFields($[1691],$[1130],$[329],$[1452],$[972],$[1225],$[1246],$[866],$[1379],$[949],$[642],$[1700],$[620],$[1631]);}}); >-qx.Class.define($[306],{extend:qx.ui.core.Widget,type:$[51],construct:function(){arguments.callee.base.call(this);this._children=[];this._layoutImpl=this._createLayoutImpl();},properties:{focusHandler:{check:$[510],apply:$[1147],nullable:true},activeChild:{check:$[66],apply:$[1571],event:$[670],nullable:true},focusedChild:{check:$[66],apply:$[1301],event:$[824],nullable:true},visibleChildren:{_cached:true,defaultValue:null}},members:{isFocusRoot:function(){return this.getFocusHandler()!=null;},getFocusRoot:function(){if(this.isFocusRoot()){return this;}if(this._hasParent){return this.getParent().getFocusRoot();}return null;},activateFocusRoot:function(){if(this._focusHandler){return;}this._focusHandler=new qx.event.handler.FocusHandler(this);this.setFocusHandler(this._focusHandler);},_onfocuskeyevent:function($0){this.getFocusHandler()._onkeyevent(this,$0);},_applyFocusHandler:function($0,$1){if($0){this.addEventListener($[40],this._onfocuskeyevent);if(this.getTabIndex()<1){this.setTabIndex(1);}this.setHideFocus(true);this.setActiveChild(this);}else{this.removeEventListener($[16],this._onfocuskeyevent);this.removeEventListener($[40],this._onfocuskeyevent);this.setTabIndex(-1);this.setHideFocus(false);}},_applyActiveChild:function($0,$1){},_applyFocusedChild:function($0,$1){var $2=$0!=null;var $3=$1!=null;if(qx.Class.isDefined($[166])&&$2){var $4=qx.ui.popup.PopupManager.getInstance();if($4){$4.update($0);}}if($3){if($1.hasEventListeners($[265])){var $5=new qx.event.type.FocusEvent($[265],$1);if($2){$5.setRelatedTarget($0);}$1.dispatchEvent($5);$5.dispose();}}if($2){if($0.hasEventListeners($[253])){var $5=new qx.event.type.FocusEvent($[253],$0);if($3){$5.setRelatedTarget($1);}$0.dispatchEvent($5);$5.dispose();}}if($3){if(this.getActiveChild()==$1&&!$2){this.setActiveChild(null);}$1.setFocused(false);var $5=new qx.event.type.FocusEvent($[199],$1);if($2){$5.setRelatedTarget($0);}$1.dispatchEvent($5);if(qx.Class.isDefined($[151])){var $4=qx.ui.popup.ToolTipManager.getInstance();if($4){$4.handleBlur($5);}}$5.dispose();}if($2){this.setActiveChild($0);$0.setFocused(true);qx.event.handler.EventHandler.getInstance().setFocusRoot(this);var $5=new qx.event.type.FocusEvent($[236],$0);if($3){$5.setRelatedTarget($1);}$0.dispatchEvent($5);if(qx.Class.isDefined($[151])){var $4=qx.ui.popup.ToolTipManager.getInstance();if($4){$4.handleFocus($5);}}$5.dispose();}},_layoutImpl:null,_createLayoutImpl:function(){return null;},getLayoutImpl:function(){return this._layoutImpl;},getChildren:function(){return this._children;},getChildrenLength:function(){return this.getChildren().length;},hasChildren:function(){return this.getChildrenLength()>0;},isEmpty:function(){return this.getChildrenLength()==0;},indexOf:function($0){return this.getChildren().indexOf($0);},contains:function($0){switch($0){case null:return false;case this:return true;default:return this.contains($0.getParent());}},_computeVisibleChildren:function(){var $0=[];var $1=this.getChildren();if(!$1){return 0;}var $2=$1.length;for(var $3=0;$3<$2;$3++){var $4=$1[$3];if($4._isDisplayable){$0.push($4);}}return $0;},getVisibleChildrenLength:function(){return this.getVisibleChildren().length;},hasVisibleChildren:function(){return this.getVisibleChildrenLength()>0;},isVisibleEmpty:function(){return this.getVisibleChildrenLength()==0;},add:function($0){var $1;for(var $2=0,$3=arguments.length;$2<$3;$2++){$1=arguments[$2];if(!($1 instanceof qx.ui.core.Parent)&&!($1 instanceof qx.ui.basic.Terminator)){throw new Error("Invalid Widget: "+$1);}else{$1.setParent(this);}}return this;},addAt:function($0,$1){if($1==null||$1<0){throw new Error("Not a valid index for addAt(): "+$1);}if($0.getParent()==this){var $2=this.getChildren();var $3=$2.indexOf($0);if($3!=$1){if($3!=-1){qx.lang.Array.removeAt($2,$3);}qx.lang.Array.insertAt($2,$0,$1);if(this._initialLayoutDone){this._invalidateVisibleChildren();this.getLayoutImpl().updateChildrenOnMoveChild($0,$1,$3);}}}else{$0._insertIndex=$1;$0.setParent(this);}},addAtBegin:function($0){return this.addAt($0,0);},addAtEnd:function($0){var $1=this.getChildrenLength();return this.addAt($0,$0.getParent()==this?$1-1:$1);},addBefore:function($0,$1){var $2=this.getChildren();var $3=$2.indexOf($1);if($3==-1){throw new Error("Child to add before: "+$1+" is not inside this parent.");}var $4=$2.indexOf($0);if($4==-1||$4>$3){$3++;}return this.addAt($0,Math.max(0,$3-1));},addAfter:function($0,$1){var $2=this.getChildren();var $3=$2.indexOf($1);if($3==-1){throw new Error("Child to add after: "+$1+" is not inside this parent.");}var $4=$2.indexOf($0);if($4!=-1&&$4<$3){$3--;}return this.addAt($0,Math.min($2.length,$3+1));},remove:function($0){var $1;for(var $2=0,$3=arguments.length;$2<$3;$2++){$1=arguments[$2];if(!($1 instanceof qx.ui.core.Parent)&&!($1 instanceof qx.ui.basic.Terminator)){throw new Error("Invalid Widget: "+$1);}else if($1.getParent()==this){$1.setParent(null);}}},removeAt:function($0){var $1=this.getChildren()[$0];if($1){delete $1._insertIndex;$1.setParent(null);}},removeAll:function(){var $0=this.getChildren();var $1=$0[0];while($1){this.remove($1);$1=$0[0];}},getFirstChild:function(){return qx.lang.Array.getFirst(this.getChildren())||null;},getFirstVisibleChild:function(){return qx.lang.Array.getFirst(this.getVisibleChildren())||null;},getFirstActiveChild:function($0){return qx.ui.core.Widget.getActiveSiblingHelper(null,this,1,$0,$[475])||null;},getLastChild:function(){return qx.lang.Array.getLast(this.getChildren())||null;},getLastVisibleChild:function(){return qx.lang.Array.getLast(this.getVisibleChildren())||null;},getLastActiveChild:function($0){return qx.ui.core.Widget.getActiveSiblingHelper(null,this,-1,$0,$[834])||null;},forEachChild:function($0){var $1=this.getChildren(),$2,$3=-1;if(!$1){return;}while($2=$1[++$3]){$0.call($2,$3);}},forEachVisibleChild:function($0){var $1=this.getVisibleChildren(),$2,$3=-1;if(!$1){return;}while($2=$1[++$3]){$0.call($2,$3);}},_beforeAppear:function(){arguments.callee.base.call(this);this.forEachVisibleChild(function(){if(this.isAppearRelevant()){this._beforeAppear();}});},_afterAppear:function(){arguments.callee.base.call(this);this.forEachVisibleChild(function(){if(this.isAppearRelevant()){this._afterAppear();}});},_beforeDisappear:function(){arguments.callee.base.call(this);this.forEachVisibleChild(function(){if(this.isAppearRelevant()){this._beforeDisappear();}});},_afterDisappear:function(){arguments.callee.base.call(this);this.forEachVisibleChild(function(){if(this.isAppearRelevant()){this._afterDisappear();}});},_beforeInsertDom:function(){arguments.callee.base.call(this);this.forEachVisibleChild(function(){if(this.isAppearRelevant()){this._beforeInsertDom();}});},_afterInsertDom:function(){arguments.callee.base.call(this);this.forEachVisibleChild(function(){if(this.isAppearRelevant()){this._afterInsertDom();}});},_beforeRemoveDom:function(){arguments.callee.base.call(this);this.forEachVisibleChild(function(){if(this.isAppearRelevant()){this._beforeRemoveDom();}});},_afterRemoveDom:function(){arguments.callee.base.call(this);this.forEachVisibleChild(function(){if(this.isAppearRelevant()){this._afterRemoveDom();}});},_handleDisplayableCustom:function($0,$1,$2){this.forEachChild(function(){this._handleDisplayable();});},_addChildrenToStateQueue:function(){this.forEachVisibleChild(function(){this.addToStateQueue();});},recursiveAddToStateQueue:function(){this.addToStateQueue();this.forEachVisibleChild(function(){this.recursiveAddToStateQueue();});},_recursiveAppearanceThemeUpdate:function($0,$1){arguments.callee.base.call(this,$0,$1);this.forEachVisibleChild(function(){this._recursiveAppearanceThemeUpdate($0,$1);});},_addChildToChildrenQueue:function($0){if(!$0._isInParentChildrenQueue&&!$0._isDisplayable){this.warn("Ignoring invisible child: "+$0);}if(!$0._isInParentChildrenQueue&&$0._isDisplayable){qx.ui.core.Widget.addToGlobalLayoutQueue(this);if(!this._childrenQueue){this._childrenQueue={};}this._childrenQueue[$0.toHashCode()]=$0;}},_removeChildFromChildrenQueue:function($0){if(this._childrenQueue&&$0._isInParentChildrenQueue){delete this._childrenQueue[$0.toHashCode()];if(qx.lang.Object.isEmpty(this._childrenQueue)){qx.ui.core.Widget.removeFromGlobalLayoutQueue(this);}}},_flushChildrenQueue:function(){if(!qx.lang.Object.isEmpty(this._childrenQueue)){this.getLayoutImpl().flushChildrenQueue(this._childrenQueue);delete this._childrenQueue;}},_addChildrenToLayoutQueue:function($0){this.forEachChild(function(){this.addToLayoutChanges($0);});},_layoutChild:function($0){if(!$0._isDisplayable){return ;}var $1=$0._layoutChanges;try{if($0.renderBorder){if($1.borderTop||$1.borderRight||$1.borderBottom||$1.borderLeft){$0.renderBorder($1);}}}catch(ex){this.error("Could not apply border to child "+$0,ex);}try{if($0.renderPadding){if($1.paddingLeft||$1.paddingRight||$1.paddingTop||$1.paddingBottom){$0.renderPadding($1);}}}catch(ex){this.error("Could not apply padding to child "+$0,ex);}try{this.getLayoutImpl().layoutChild($0,$1);}catch(ex){this.error("Could not layout child "+$0+" through layout handler",ex);}try{$0._layoutPost($1);}catch(ex){this.error("Could not post layout child "+$0,ex);}try{if($1.initial){$0._initialLayoutDone=true;qx.ui.core.Widget.addToGlobalDisplayQueue($0);}}catch(ex){this.error("Could not handle display updates from layout flush for child "+$0,ex);}$0._layoutChanges={};delete $0._isInParentLayoutQueue;delete this._childrenQueue[$0.toHashCode()];},_layoutPost:qx.lang.Function.returnTrue,_computePreferredInnerWidth:function(){return this.getLayoutImpl().computeChildrenNeededWidth();},_computePreferredInnerHeight:function(){return this.getLayoutImpl().computeChildrenNeededHeight();},_changeInnerWidth:function($0,$1){var $2=this.getLayoutImpl();if($2.invalidateChildrenFlexWidth){$2.invalidateChildrenFlexWidth();}this.forEachVisibleChild(function(){if($2.updateChildOnInnerWidthChange(this)&&this._recomputeBoxWidth()){this._recomputeOuterWidth();this._recomputeInnerWidth();}});},_changeInnerHeight:function($0,$1){var $2=this.getLayoutImpl();if($2.invalidateChildrenFlexHeight){$2.invalidateChildrenFlexHeight();}this.forEachVisibleChild(function(){if($2.updateChildOnInnerHeightChange(this)&&this._recomputeBoxHeight()){this._recomputeOuterHeight();this._recomputeInnerHeight();}});},getInnerWidthForChild:function($0){return this.getInnerWidth();},getInnerHeightForChild:function($0){return this.getInnerHeight();},_remappingChildTable:[$[421],$[530],$[406],$[487],$[317],$[514],$[480],$[327],$[322]],_remapStart:$[1778],_remapStop:$[1549],remapChildrenHandlingTo:function($0){var $1=this._remappingChildTable;this._remappingChildTarget=$0;for(var $2=0,$3=$1.length,$4;$2<$3;$2++){$4=$1[$2];this[$4]=new Function(qx.ui.core.Parent.prototype._remapStart+$4+qx.ui.core.Parent.prototype._remapStop);}}},defer:function($0,$1,$2){if(qx.core.Variant.isSet($[1],$[154])){$1._layoutChildOrig=$1._layoutChild;$1._layoutChild=function($3){if(!$3._initialLayoutDone||!$3._layoutChanges.border){return this._layoutChildOrig($3);}var $4=$3.getElement().style;var $5=$4.display;$4.display=$[7];var $6=this._layoutChildOrig($3);$4.display=$5;return $6;};}},destruct:function(){this._disposeObjectDeep($[1313],1);this._disposeObjects($[992],$[538]);this._disposeFields($[312],$[312],$[1058],$[1341],$[572]);}}); >+qx.Class.define($[1773],{statics:{getStylePropertySure:qx.lang.Object.select((document.defaultView&&document.defaultView.getComputedStyle)?$[444]:$[383],{"hasComputed":function($0,$1){return !$0?null:$0.ownerDocument?$0.ownerDocument.defaultView.getComputedStyle($0,$[0])[$1]:$0.style[$1];},"noComputed":qx.core.Variant.select($[1],{"mshtml":function($0,$1){try{if(!$0){return null;}if($0.parentNode&&$0.currentStyle){return $0.currentStyle[$1];}else{var $2=$0.runtimeStyle[$1];if($2!=null&&typeof $2!=$[65]&&$2!=$[0]){return $2;}return $0.style[$1];}}catch(ex){throw new Error("Could not evaluate computed style: "+$0+"["+$1+"]: "+ex);}},"default":function($0,$1){return !$0?null:$0.style[$1];}})}),getStyleProperty:qx.lang.Object.select((document.defaultView&&document.defaultView.getComputedStyle)?$[444]:$[383],{"hasComputed":function($0,$1){try{return $0.ownerDocument.defaultView.getComputedStyle($0,$[0])[$1];}catch(ex){throw new Error("Could not evaluate computed style: "+$0+"["+$1+"]: "+ex);}},"noComputed":qx.core.Variant.select($[1],{"mshtml":function($0,$1){try{return $0.currentStyle[$1];}catch(ex){throw new Error("Could not evaluate computed style: "+$0+"["+$1+"]: "+ex);}},"default":function($0,$1){try{return $0.style[$1];}catch(ex){throw new Error("Could not evaluate computed style: "+$0+"["+$1+"]");}}})}),getStyleSize:function($0,$1){return parseInt(qx.html.Style.getStyleProperty($0,$1))||0;},getMarginLeft:function($0){return qx.html.Style.getStyleSize($0,$[159]);},getMarginTop:function($0){return qx.html.Style.getStyleSize($0,$[153]);},getMarginRight:function($0){return qx.html.Style.getStyleSize($0,$[225]);},getMarginBottom:function($0){return qx.html.Style.getStyleSize($0,$[211]);},getPaddingLeft:function($0){return qx.html.Style.getStyleSize($0,$[242]);},getPaddingTop:function($0){return qx.html.Style.getStyleSize($0,$[215]);},getPaddingRight:function($0){return qx.html.Style.getStyleSize($0,$[245]);},getPaddingBottom:function($0){return qx.html.Style.getStyleSize($0,$[231]);},getBorderLeft:function($0){return qx.html.Style.getStyleProperty($0,$[815])==$[7]?0:qx.html.Style.getStyleSize($0,$[72]);},getBorderTop:function($0){return qx.html.Style.getStyleProperty($0,$[917])==$[7]?0:qx.html.Style.getStyleSize($0,$[68]);},getBorderRight:function($0){return qx.html.Style.getStyleProperty($0,$[934])==$[7]?0:qx.html.Style.getStyleSize($0,$[424]);},getBorderBottom:function($0){return qx.html.Style.getStyleProperty($0,$[547])==$[7]?0:qx.html.Style.getStyleSize($0,$[341]);}}}); >+qx.Class.define($[1053],{statics:{includeFile:function($0){var $1=document.createElement($[1370]);$1.type=$[439];$1.rel=$[1690];$1.href=$0;var $2=document.getElementsByTagName($[507])[0];$2.appendChild($1);},createElement:qx.lang.Object.select(document.createStyleSheet?$[141]:$[48],{"ie4+":function($0){var $1=document.createStyleSheet();if($0){$1.cssText=$0;}return $1;},"other":function($0){var $1=document.createElement($[44]);$1.type=$[439];$1.appendChild(document.createTextNode($0||$[1173]));document.getElementsByTagName($[507])[0].appendChild($1);if($1.sheet){return $1.sheet;}else{var $2=document.styleSheets;for(var $3=$2.length-1;$3>=0;$3--){if($2[$3].ownerNode==$1){return $2[$3];}}}throw $[1529];}}),addRule:qx.lang.Object.select(document.createStyleSheet?$[141]:$[48],{"ie4+":function($0,$1,$2){$0.addRule($1,$2);},"other":qx.lang.Object.select(qx.core.Client.getInstance().isSafari2()?$[247]:$[48],{"safari2+":function($0,$1,$2){if(!$0._qxRules){$0._qxRules={};}if(!$0._qxRules[$1]){var $3=document.createTextNode($1+$[451]+$2+$[277]);$0.ownerNode.appendChild($3);$0._qxRules[$1]=$3;}},"other":function($0,$1,$2){$0.insertRule($1+$[451]+$2+$[277],$0.cssRules.length);}})}),removeRule:qx.lang.Object.select(document.createStyleSheet?$[141]:$[48],{"ie4+":function($0,$1){var $2=$0.rules;var $3=$2.length;for(var $4=$3-1;$4>=0;$4--){if($2[$4].selectorText==$1){$0.removeRule($4);}}},"other":qx.lang.Object.select(qx.core.Client.getInstance().isSafari2()?$[247]:$[48],{"safari2+":function($0,$1){var $2=function(){qx.log.Logger.ROOT_LOGGER.warn("In Safari/Webkit you can only remove rules that are created using qx.html.StyleSheet.addRule");};if(!$0._qxRules){$2();}var $3=$0._qxRules[$1];if($3){$0.ownerNode.removeChild($3);$0._qxRules[$1]=null;}else{$2();}},"other":function($0,$1){var $2=$0.cssRules;var $3=$2.length;for(var $4=$3-1;$4>=0;$4--){if($2[$4].selectorText==$1){$0.deleteRule($4);}}}})}),removeAllRules:qx.lang.Object.select(document.createStyleSheet?$[141]:$[48],{"ie4+":function($0){var $1=$0.rules;var $2=$1.length;for(var $3=$2-1;$3>=0;$3--){$0.removeRule($3);}},"other":qx.lang.Object.select(qx.core.Client.getInstance().isSafari2()?$[247]:$[48],{"safari2+":function($0){var $1=$0.ownerNode;var $2=$1.childNodes;while($2.length>0){$1.removeChild($2[0]);}},"other":function($0){var $1=$0.cssRules;var $2=$1.length;for(var $3=$2-1;$3>=0;$3--){$0.deleteRule($3);}}})}),addImport:qx.lang.Object.select(document.createStyleSheet?$[141]:$[48],{"ie4+":function($0,$1){$0.addImport($1);},"other":qx.lang.Object.select(qx.core.Client.getInstance().isSafari2()?$[247]:$[48],{"safari2+":function($0,$1){$0.ownerNode.appendChild(document.createTextNode($[518]+$1+$[400]));},"other":function($0,$1){$0.insertRule($[518]+$1+$[400],$0.cssRules.length);}})}),removeImport:qx.lang.Object.select(document.createStyleSheet?$[141]:$[48],{"ie4+":function($0,$1){var $2=$0.imports;var $3=$2.length;for(var $4=$3-1;$4>=0;$4--){if($2[$4].href==$1){$0.removeImport($4);}}},"other":function($0,$1){var $2=$0.cssRules;var $3=$2.length;for(var $4=$3-1;$4>=0;$4--){if($2[$4].href==$1){$0.deleteRule($4);}}}}),removeAllImports:qx.lang.Object.select(document.createStyleSheet?$[141]:$[48],{"ie4+":function($0){var $1=$0.imports;var $2=$1.length;for(var $3=$2-1;$3>=0;$3--){$0.removeImport($3);}},"other":function($0){var $1=$0.cssRules;var $2=$1.length;for(var $3=$2-1;$3>=0;$3--){if($1[$3].type==$1[$3].IMPORT_RULE){$0.deleteRule($3);}}}})}}); >+qx.Class.define($[306],{extend:qx.ui.core.Widget,type:$[51],construct:function(){arguments.callee.base.call(this);this._children=[];this._layoutImpl=this._createLayoutImpl();},properties:{focusHandler:{check:$[511],apply:$[1146],nullable:true},activeChild:{check:$[66],apply:$[1570],event:$[671],nullable:true},focusedChild:{check:$[66],apply:$[1299],event:$[825],nullable:true},visibleChildren:{_cached:true,defaultValue:null}},members:{isFocusRoot:function(){return this.getFocusHandler()!=null;},getFocusRoot:function(){if(this.isFocusRoot()){return this;}if(this._hasParent){return this.getParent().getFocusRoot();}return null;},activateFocusRoot:function(){if(this._focusHandler){return;}this._focusHandler=new qx.event.handler.FocusHandler(this);this.setFocusHandler(this._focusHandler);},_onfocuskeyevent:function($0){this.getFocusHandler()._onkeyevent(this,$0);},_applyFocusHandler:function($0,$1){if($0){this.addEventListener($[40],this._onfocuskeyevent);if(this.getTabIndex()<1){this.setTabIndex(1);}this.setHideFocus(true);this.setActiveChild(this);}else{this.removeEventListener($[16],this._onfocuskeyevent);this.removeEventListener($[40],this._onfocuskeyevent);this.setTabIndex(-1);this.setHideFocus(false);}},_applyActiveChild:function($0,$1){},_applyFocusedChild:function($0,$1){var $2=$0!=null;var $3=$1!=null;if(qx.Class.isDefined($[166])&&$2){var $4=qx.ui.popup.PopupManager.getInstance();if($4){$4.update($0);}}if($3){if($1.hasEventListeners($[265])){var $5=new qx.event.type.FocusEvent($[265],$1);if($2){$5.setRelatedTarget($0);}$1.dispatchEvent($5);$5.dispose();}}if($2){if($0.hasEventListeners($[253])){var $5=new qx.event.type.FocusEvent($[253],$0);if($3){$5.setRelatedTarget($1);}$0.dispatchEvent($5);$5.dispose();}}if($3){if(this.getActiveChild()==$1&&!$2){this.setActiveChild(null);}$1.setFocused(false);var $5=new qx.event.type.FocusEvent($[199],$1);if($2){$5.setRelatedTarget($0);}$1.dispatchEvent($5);if(qx.Class.isDefined($[151])){var $4=qx.ui.popup.ToolTipManager.getInstance();if($4){$4.handleBlur($5);}}$5.dispose();}if($2){this.setActiveChild($0);$0.setFocused(true);qx.event.handler.EventHandler.getInstance().setFocusRoot(this);var $5=new qx.event.type.FocusEvent($[236],$0);if($3){$5.setRelatedTarget($1);}$0.dispatchEvent($5);if(qx.Class.isDefined($[151])){var $4=qx.ui.popup.ToolTipManager.getInstance();if($4){$4.handleFocus($5);}}$5.dispose();}},_layoutImpl:null,_createLayoutImpl:function(){return null;},getLayoutImpl:function(){return this._layoutImpl;},getChildren:function(){return this._children;},getChildrenLength:function(){return this.getChildren().length;},hasChildren:function(){return this.getChildrenLength()>0;},isEmpty:function(){return this.getChildrenLength()==0;},indexOf:function($0){return this.getChildren().indexOf($0);},contains:function($0){switch($0){case null:return false;case this:return true;default:return this.contains($0.getParent());}},_computeVisibleChildren:function(){var $0=[];var $1=this.getChildren();if(!$1){return 0;}var $2=$1.length;for(var $3=0;$3<$2;$3++){var $4=$1[$3];if($4._isDisplayable){$0.push($4);}}return $0;},getVisibleChildrenLength:function(){return this.getVisibleChildren().length;},hasVisibleChildren:function(){return this.getVisibleChildrenLength()>0;},isVisibleEmpty:function(){return this.getVisibleChildrenLength()==0;},add:function($0){var $1;for(var $2=0,$3=arguments.length;$2<$3;$2++){$1=arguments[$2];if(!($1 instanceof qx.ui.core.Parent)&&!($1 instanceof qx.ui.basic.Terminator)){throw new Error("Invalid Widget: "+$1);}else{$1.setParent(this);}}return this;},addAt:function($0,$1){if($1==null||$1<0){throw new Error("Not a valid index for addAt(): "+$1);}if($0.getParent()==this){var $2=this.getChildren();var $3=$2.indexOf($0);if($3!=$1){if($3!=-1){qx.lang.Array.removeAt($2,$3);}qx.lang.Array.insertAt($2,$0,$1);if(this._initialLayoutDone){this._invalidateVisibleChildren();this.getLayoutImpl().updateChildrenOnMoveChild($0,$1,$3);}}}else{$0._insertIndex=$1;$0.setParent(this);}},addAtBegin:function($0){return this.addAt($0,0);},addAtEnd:function($0){var $1=this.getChildrenLength();return this.addAt($0,$0.getParent()==this?$1-1:$1);},addBefore:function($0,$1){var $2=this.getChildren();var $3=$2.indexOf($1);if($3==-1){throw new Error("Child to add before: "+$1+" is not inside this parent.");}var $4=$2.indexOf($0);if($4==-1||$4>$3){$3++;}return this.addAt($0,Math.max(0,$3-1));},addAfter:function($0,$1){var $2=this.getChildren();var $3=$2.indexOf($1);if($3==-1){throw new Error("Child to add after: "+$1+" is not inside this parent.");}var $4=$2.indexOf($0);if($4!=-1&&$4<$3){$3--;}return this.addAt($0,Math.min($2.length,$3+1));},remove:function($0){var $1;for(var $2=0,$3=arguments.length;$2<$3;$2++){$1=arguments[$2];if(!($1 instanceof qx.ui.core.Parent)&&!($1 instanceof qx.ui.basic.Terminator)){throw new Error("Invalid Widget: "+$1);}else if($1.getParent()==this){$1.setParent(null);}}},removeAt:function($0){var $1=this.getChildren()[$0];if($1){delete $1._insertIndex;$1.setParent(null);}},removeAll:function(){var $0=this.getChildren();var $1=$0[0];while($1){this.remove($1);$1=$0[0];}},getFirstChild:function(){return qx.lang.Array.getFirst(this.getChildren())||null;},getFirstVisibleChild:function(){return qx.lang.Array.getFirst(this.getVisibleChildren())||null;},getFirstActiveChild:function($0){return qx.ui.core.Widget.getActiveSiblingHelper(null,this,1,$0,$[476])||null;},getLastChild:function(){return qx.lang.Array.getLast(this.getChildren())||null;},getLastVisibleChild:function(){return qx.lang.Array.getLast(this.getVisibleChildren())||null;},getLastActiveChild:function($0){return qx.ui.core.Widget.getActiveSiblingHelper(null,this,-1,$0,$[835])||null;},forEachChild:function($0){var $1=this.getChildren(),$2,$3=-1;if(!$1){return;}while($2=$1[++$3]){$0.call($2,$3);}},forEachVisibleChild:function($0){var $1=this.getVisibleChildren(),$2,$3=-1;if(!$1){return;}while($2=$1[++$3]){$0.call($2,$3);}},_beforeAppear:function(){arguments.callee.base.call(this);this.forEachVisibleChild(function(){if(this.isAppearRelevant()){this._beforeAppear();}});},_afterAppear:function(){arguments.callee.base.call(this);this.forEachVisibleChild(function(){if(this.isAppearRelevant()){this._afterAppear();}});},_beforeDisappear:function(){arguments.callee.base.call(this);this.forEachVisibleChild(function(){if(this.isAppearRelevant()){this._beforeDisappear();}});},_afterDisappear:function(){arguments.callee.base.call(this);this.forEachVisibleChild(function(){if(this.isAppearRelevant()){this._afterDisappear();}});},_beforeInsertDom:function(){arguments.callee.base.call(this);this.forEachVisibleChild(function(){if(this.isAppearRelevant()){this._beforeInsertDom();}});},_afterInsertDom:function(){arguments.callee.base.call(this);this.forEachVisibleChild(function(){if(this.isAppearRelevant()){this._afterInsertDom();}});},_beforeRemoveDom:function(){arguments.callee.base.call(this);this.forEachVisibleChild(function(){if(this.isAppearRelevant()){this._beforeRemoveDom();}});},_afterRemoveDom:function(){arguments.callee.base.call(this);this.forEachVisibleChild(function(){if(this.isAppearRelevant()){this._afterRemoveDom();}});},_handleDisplayableCustom:function($0,$1,$2){this.forEachChild(function(){this._handleDisplayable();});},_addChildrenToStateQueue:function(){this.forEachVisibleChild(function(){this.addToStateQueue();});},recursiveAddToStateQueue:function(){this.addToStateQueue();this.forEachVisibleChild(function(){this.recursiveAddToStateQueue();});},_recursiveAppearanceThemeUpdate:function($0,$1){arguments.callee.base.call(this,$0,$1);this.forEachVisibleChild(function(){this._recursiveAppearanceThemeUpdate($0,$1);});},_addChildToChildrenQueue:function($0){if(!$0._isInParentChildrenQueue&&!$0._isDisplayable){this.warn("Ignoring invisible child: "+$0);}if(!$0._isInParentChildrenQueue&&$0._isDisplayable){qx.ui.core.Widget.addToGlobalLayoutQueue(this);if(!this._childrenQueue){this._childrenQueue={};}this._childrenQueue[$0.toHashCode()]=$0;}},_removeChildFromChildrenQueue:function($0){if(this._childrenQueue&&$0._isInParentChildrenQueue){delete this._childrenQueue[$0.toHashCode()];if(qx.lang.Object.isEmpty(this._childrenQueue)){qx.ui.core.Widget.removeFromGlobalLayoutQueue(this);}}},_flushChildrenQueue:function(){if(!qx.lang.Object.isEmpty(this._childrenQueue)){this.getLayoutImpl().flushChildrenQueue(this._childrenQueue);delete this._childrenQueue;}},_addChildrenToLayoutQueue:function($0){this.forEachChild(function(){this.addToLayoutChanges($0);});},_layoutChild:function($0){if(!$0._isDisplayable){return ;}var $1=$0._layoutChanges;try{if($0.renderBorder){if($1.borderTop||$1.borderRight||$1.borderBottom||$1.borderLeft){$0.renderBorder($1);}}}catch(ex){this.error("Could not apply border to child "+$0,ex);}try{if($0.renderPadding){if($1.paddingLeft||$1.paddingRight||$1.paddingTop||$1.paddingBottom){$0.renderPadding($1);}}}catch(ex){this.error("Could not apply padding to child "+$0,ex);}try{this.getLayoutImpl().layoutChild($0,$1);}catch(ex){this.error("Could not layout child "+$0+" through layout handler",ex);}try{$0._layoutPost($1);}catch(ex){this.error("Could not post layout child "+$0,ex);}try{if($1.initial){$0._initialLayoutDone=true;qx.ui.core.Widget.addToGlobalDisplayQueue($0);}}catch(ex){this.error("Could not handle display updates from layout flush for child "+$0,ex);}$0._layoutChanges={};delete $0._isInParentLayoutQueue;delete this._childrenQueue[$0.toHashCode()];},_layoutPost:qx.lang.Function.returnTrue,_computePreferredInnerWidth:function(){return this.getLayoutImpl().computeChildrenNeededWidth();},_computePreferredInnerHeight:function(){return this.getLayoutImpl().computeChildrenNeededHeight();},_changeInnerWidth:function($0,$1){var $2=this.getLayoutImpl();if($2.invalidateChildrenFlexWidth){$2.invalidateChildrenFlexWidth();}this.forEachVisibleChild(function(){if($2.updateChildOnInnerWidthChange(this)&&this._recomputeBoxWidth()){this._recomputeOuterWidth();this._recomputeInnerWidth();}});},_changeInnerHeight:function($0,$1){var $2=this.getLayoutImpl();if($2.invalidateChildrenFlexHeight){$2.invalidateChildrenFlexHeight();}this.forEachVisibleChild(function(){if($2.updateChildOnInnerHeightChange(this)&&this._recomputeBoxHeight()){this._recomputeOuterHeight();this._recomputeInnerHeight();}});},getInnerWidthForChild:function($0){return this.getInnerWidth();},getInnerHeightForChild:function($0){return this.getInnerHeight();},_remappingChildTable:[$[422],$[387],$[407],$[486],$[317],$[515],$[464],$[327],$[322]],_remapStart:$[1778],_remapStop:$[1549],remapChildrenHandlingTo:function($0){var $1=this._remappingChildTable;this._remappingChildTarget=$0;for(var $2=0,$3=$1.length,$4;$2<$3;$2++){$4=$1[$2];this[$4]=new Function(qx.ui.core.Parent.prototype._remapStart+$4+qx.ui.core.Parent.prototype._remapStop);}}},defer:function($0,$1,$2){if(qx.core.Variant.isSet($[1],$[154])){$1._layoutChildOrig=$1._layoutChild;$1._layoutChild=function($3){if(!$3._initialLayoutDone||!$3._layoutChanges.border){return this._layoutChildOrig($3);}var $4=$3.getElement().style;var $5=$4.display;$4.display=$[7];var $6=this._layoutChildOrig($3);$4.display=$5;return $6;};}},destruct:function(){this._disposeObjectDeep($[1312],1);this._disposeObjects($[991],$[538]);this._disposeFields($[312],$[312],$[1058],$[1341],$[572]);}}); > qx.Class.define($[168],{extend:qx.event.type.Event,construct:function($0,$1){arguments.callee.base.call(this,$0);this.setTarget($1);switch($0){case $[253]:case $[265]:this.setBubbles(true);this.setPropagationStopped(false);}}}); >-qx.Class.define($[604],{type:$[18],extend:qx.core.Target,construct:function(){arguments.callee.base.call(this);this.__onmouseevent=qx.lang.Function.bind(this._onmouseevent,this);this.__ondragevent=qx.lang.Function.bind(this._ondragevent,this);this.__onselectevent=qx.lang.Function.bind(this._onselectevent,this);this.__onwindowblur=qx.lang.Function.bind(this._onwindowblur,this);this.__onwindowfocus=qx.lang.Function.bind(this._onwindowfocus,this);this.__onwindowresize=qx.lang.Function.bind(this._onwindowresize,this);this._commands={};},events:{"error":$[98]},statics:{mouseEventTypes:[$[61],$[148],$[105],$[12],$[22],$[53],$[104],$[219],qx.core.Variant.isSet($[1],$[21])?$[404]:$[184]],keyEventTypes:[$[16],$[40],$[88]],dragEventTypes:qx.core.Variant.select($[1],{"gecko":[$[285],$[149],$[259],$[449],$[470]],"mshtml":[$[489],$[149],$[177],$[410],$[259],$[340]],"default":[$[177],$[285],$[149],$[410],$[340],$[259],$[449],$[470]]}),getDomTarget:qx.core.Variant.select($[1],{"mshtml":function($0){return $0.target||$0.srcElement;},"webkit":function($0){var $1=$0.target||$0.srcElement;if($1&&($1.nodeType==qx.dom.Node.TEXT)){$1=$1.parentNode;}return $1;},"default":function($0){return $0.target;}}),stopDomEvent:function($0){if($0.preventDefault){$0.preventDefault();}$0.returnValue=false;},getOriginalTargetObject:function($0){if($0==document.documentElement){$0=document.body;}while($0!=null&&$0.qx_Widget==null){try{$0=$0.parentNode;}catch(vDomEvent){$0=null;}}return $0?$0.qx_Widget:null;},getOriginalTargetObjectFromEvent:function($0,$1){var $2=qx.event.handler.EventHandler.getDomTarget($0);if($1){var $3=$1.document;if($2==$1||$2==$3||$2==$3.documentElement||$2==$3.body){return $3.body.qx_Widget;}}return qx.event.handler.EventHandler.getOriginalTargetObject($2);},getRelatedOriginalTargetObjectFromEvent:function($0){return qx.event.handler.EventHandler.getOriginalTargetObject($0.relatedTarget||($0.type==$[61]?$0.fromElement:$0.toElement));},getTargetObject:function($0,$1,$2){if(!$1){var $1=qx.event.handler.EventHandler.getOriginalTargetObject($0);if(!$1){return null;}}while($1){if(!$2&&!$1.getEnabled()){return null;}if(!$1.getAnonymous()){break;}$1=$1.getParent();}return $1;},getTargetObjectFromEvent:function($0){return qx.event.handler.EventHandler.getTargetObject(qx.event.handler.EventHandler.getDomTarget($0));},getRelatedTargetObjectFromEvent:function($0){var $1=$0.relatedTarget;if(!$1){if($0.type==$[61]){$1=$0.fromElement;}else{$1=$0.toElement;}}return qx.event.handler.EventHandler.getTargetObject($1);}},properties:{allowClientContextMenu:{check:$[2],init:false},allowClientSelectAll:{check:$[2],init:false},captureWidget:{check:$[66],nullable:true,apply:$[1201]},focusRoot:{check:$[306],nullable:true,apply:$[558]}},members:{_lastMouseEventType:null,_lastMouseDown:false,_lastMouseEventDate:0,_applyCaptureWidget:function($0,$1){if($1){$1.setCapture(false);}if($0){$0.setCapture(true);}},_applyFocusRoot:function($0,$1){if($1){$1.setFocusedChild(null);}if($0&&$0.getFocusedChild()==null){$0.setFocusedChild($0);}},addCommand:function($0){this._commands[$0.toHashCode()]=$0;},removeCommand:function($0){delete this._commands[$0.toHashCode()];},_checkKeyEventMatch:function($0){var $1;for(var $2 in this._commands){$1=this._commands[$2];if($1.getEnabled()&&$1.matchesKeyEvent($0)){if(!$1.execute($0.getTarget())){$0.preventDefault();}break;}}},attachEvents:function(){this.attachEventTypes(qx.event.handler.EventHandler.mouseEventTypes,this.__onmouseevent);this.attachEventTypes(qx.event.handler.EventHandler.dragEventTypes,this.__ondragevent);qx.event.handler.KeyEventHandler.getInstance()._attachEvents();qx.html.EventRegistration.addEventListener(window,$[199],this.__onwindowblur);qx.html.EventRegistration.addEventListener(window,$[236],this.__onwindowfocus);qx.html.EventRegistration.addEventListener(window,$[202],this.__onwindowresize);document.body.onselect=document.onselectstart=document.onselectionchange=this.__onselectevent;},detachEvents:function(){this.detachEventTypes(qx.event.handler.EventHandler.mouseEventTypes,this.__onmouseevent);this.detachEventTypes(qx.event.handler.EventHandler.dragEventTypes,this.__ondragevent);qx.event.handler.KeyEventHandler.getInstance()._detachEvents();qx.html.EventRegistration.removeEventListener(window,$[199],this.__onwindowblur);qx.html.EventRegistration.removeEventListener(window,$[236],this.__onwindowfocus);qx.html.EventRegistration.removeEventListener(window,$[202],this.__onwindowresize);document.body.onselect=document.onselectstart=document.onselectionchange=null;},attachEventTypes:function($0,$1){try{var $2=qx.core.Variant.isSet($[1],$[21])?window:document.body;for(var $3=0,$4=$0.length;$3<$4;$3++){qx.html.EventRegistration.addEventListener($2,$0[$3],$1);}}catch(ex){throw new Error("qx.event.handler.EventHandler: Failed to attach window event types: "+$0+": "+ex);}},detachEventTypes:function($0,$1){try{var $2=qx.core.Variant.isSet($[1],$[21])?window:document.body;for(var $3=0,$4=$0.length;$3<$4;$3++){qx.html.EventRegistration.removeEventListener($2,$0[$3],$1);}}catch(ex){throw new Error("qx.event.handler.EventHandler: Failed to detach window event types: "+$0+": "+ex);}},_onkeyevent_post:function($0,$1,$2,$3,$4){var $5=qx.event.handler.EventHandler.getDomTarget($0);var $6=this.getFocusRoot();var $7=this.getCaptureWidget()||($6==null?null:$6.getActiveChild());var $8=new qx.event.type.KeyEvent($1,$0,$5,$7,null,$2,$3,$4);if($1==$[16]){this._checkKeyEventMatch($8);}if($7!=null&&$7.getEnabled()){switch($4){case $[129]:case $[188]:if(qx.Class.isDefined($[152])){qx.ui.menu.Manager.getInstance().update($7,$1);}break;}if(!this.getAllowClientSelectAll()){if($0.ctrlKey&&$4==$[174]){switch($5.tagName.toLowerCase()){case $[89]:case $[222]:case $[239]:break;default:qx.event.handler.EventHandler.stopDomEvent($0);}}}$7.dispatchEvent($8);if(qx.Class.isDefined($[235])){qx.event.handler.DragAndDropHandler.getInstance().handleKeyEvent($8);}}$8.dispose();},_onmouseevent:qx.core.Variant.select($[1],{"mshtml":function($0){if(!$0){$0=window.event;}var $1=qx.event.handler.EventHandler.getDomTarget($0);var $2=$0.type;if($2==$[148]){if(this._mouseIsDown&&$0.button==0){this._onmouseevent_post($0,$[22]);this._mouseIsDown=false;}}else{if($2==$[12]){this._mouseIsDown=true;}else if($2==$[22]){this._mouseIsDown=false;}if($2==$[22]&&!this._lastMouseDown&&((new Date).valueOf()-this._lastMouseEventDate)<250){this._onmouseevent_post($0,$[12]);}else if($2==$[104]&&this._lastMouseEventType==$[22]&&((new Date).valueOf()-this._lastMouseEventDate)<250){this._onmouseevent_post($0,$[53]);}switch($2){case $[12]:case $[22]:case $[53]:case $[104]:case $[219]:this._lastMouseEventType=$2;this._lastMouseEventDate=(new Date).valueOf();this._lastMouseDown=$2==$[12];}}this._onmouseevent_post($0,$2,$1);},"default":function($0){var $1=qx.event.handler.EventHandler.getDomTarget($0);var $2=$0.type;switch($2){case $[404]:$2=$[184];break;case $[53]:case $[104]:if($0.which!==1){return;}}this._onmouseevent_post($0,$2,$1);}}),_onmouseevent_click_fix:qx.core.Variant.select($[1],{"gecko":function($0,$1,$2){var $3=false;switch($1){case $[12]:this._lastMouseDownDomTarget=$0;this._lastMouseDownDispatchTarget=$2;break;case $[22]:if(this._lastMouseDownDispatchTarget===$2&&$0!==this._lastMouseDownDomTarget){$3=true;}else{this._lastMouseDownDomTarget=null;this._lastMouseDownDispatchTarget=null;}}return $3;},"default":null}),_onmouseevent_post:function($0,$1,$2){var $3,$4,$5,$6,$7,$8,$9,$a;$4=this.getCaptureWidget();$7=qx.event.handler.EventHandler.getOriginalTargetObject($2);if(!$4){$5=$6=qx.event.handler.EventHandler.getTargetObject(null,$7,true);}else{$5=$4;$6=qx.event.handler.EventHandler.getTargetObject(null,$7,true);}if(!$6){return;}$a=$6.getEnabled();if(qx.core.Variant.isSet($[1],$[21])){$9=this._onmouseevent_click_fix($2,$1,$5);}if($1==$[219]&&!this.getAllowClientContextMenu()){qx.event.handler.EventHandler.stopDomEvent($0);}if($a&&$1==$[12]){qx.event.handler.FocusHandler.mouseFocus=true;var $b=$6.getFocusRoot();if($b){this.setFocusRoot($b);var $c=$6;while(!$c.isFocusable()&&$c!=$b){$c=$c.getParent();}$b.setFocusedChild($c);$b.setActiveChild($6);}}switch($1){case $[61]:case $[105]:$8=qx.event.handler.EventHandler.getRelatedTargetObjectFromEvent($0);if($8==$6){return;}}$3=new qx.event.type.MouseEvent($1,$0,$2,$6,$7,$8);qx.event.type.MouseEvent.storeEventState($3);if($a){var $d=false;$d=$5?$5.dispatchEvent($3):true;this._onmouseevent_special_post($1,$6,$7,$5,$d,$3,$0);}else{if($1==$[61]){if(qx.Class.isDefined($[151])){qx.ui.popup.ToolTipManager.getInstance().handleMouseOver($3);}}}$3.dispose();$3=null;qx.ui.core.Widget.flushGlobalQueues();if($9){this._onmouseevent_post($0,$[53],this._lastMouseDownDomTarget);this._lastMouseDownDomTarget=null;this._lastMouseDownDispatchTarget=null;}},_onmouseevent_special_post:function($0,$1,$2,$3,$4,$5,$6){switch($0){case $[12]:if(qx.Class.isDefined($[166])){qx.ui.popup.PopupManager.getInstance().update($1);}if(qx.Class.isDefined($[152])){qx.ui.menu.Manager.getInstance().update($1,$0);}if(qx.Class.isDefined($[262])){qx.ui.embed.IframeManager.getInstance().handleMouseDown($5);}break;case $[22]:if(qx.Class.isDefined($[152])){qx.ui.menu.Manager.getInstance().update($1,$0);}if(qx.Class.isDefined($[262])){qx.ui.embed.IframeManager.getInstance().handleMouseUp($5);}break;case $[61]:if(qx.Class.isDefined($[151])){qx.ui.popup.ToolTipManager.getInstance().handleMouseOver($5);}break;case $[105]:if(qx.Class.isDefined($[151])){qx.ui.popup.ToolTipManager.getInstance().handleMouseOut($5);}break;}this._ignoreWindowBlur=$0===$[12];if(qx.Class.isDefined($[235])&&$1){qx.event.handler.DragAndDropHandler.getInstance().handleMouseEvent($5);}},_ondragevent:function($0){if(!$0){$0=window.event;}qx.event.handler.EventHandler.stopDomEvent($0);},_onselectevent:function($0){if(!$0){$0=window.event;}var $1=qx.event.handler.EventHandler.getOriginalTargetObjectFromEvent($0);while($1){if($1.getSelectable()!=null){if(!$1.getSelectable()){qx.event.handler.EventHandler.stopDomEvent($0);}break;}$1=$1.getParent();}},_focused:false,_onwindowblur:function($0){if(!this._focused||this._ignoreWindowBlur){return;}this._focused=false;this.setCaptureWidget(null);if(qx.Class.isDefined($[166])){qx.ui.popup.PopupManager.getInstance().update();}if(qx.Class.isDefined($[152])){qx.ui.menu.Manager.getInstance().update();}if(qx.Class.isDefined($[235])){qx.event.handler.DragAndDropHandler.getInstance().globalCancelDrag();}qx.ui.core.ClientDocument.getInstance().createDispatchEvent($[283]);},_onwindowfocus:function($0){if(this._focused){return;}this._focused=true;qx.ui.core.ClientDocument.getInstance().createDispatchEvent($[1468]);},_onwindowresize:function($0){qx.ui.core.ClientDocument.getInstance().createDispatchEvent($[364]);}},destruct:function(){this.detachEvents();this._disposeObjectDeep($[1794],1);this._disposeFields($[963],$[1276],$[1459],$[977],$[1742],$[1685]);this._disposeFields($[1105],$[1203],$[1041],$[1585],$[765]);}}); >-qx.Class.define($[1577],{statics:{ELEMENT:1,ATTRIBUTE:2,TEXT:3,CDATA_SECTION:4,ENTITY_REFERENCE:5,ENTITY:6,PROCESSING_INSTRUCTION:7,COMMENT:8,DOCUMENT:9,DOCUMENT_TYPE:10,DOCUMENT_FRAGMENT:11,NOTATION:12,getDocument:function($0){if(this.isDocument($0)){return $0;}return $0.ownerDocument||$0.document||null;},getWindow:qx.core.Variant.select($[1],{"mshtml":function($0){return this.getDocument($0).parentWindow;},"default":function($0){return this.getDocument($0).defaultView;}}),getDocumentElement:function($0){return this.getDocument($0).documentElement;},getBodyElement:function($0){return this.getDocument($0).body;},isElement:function($0){return !!($0&&$0.nodeType===qx.dom.Node.ELEMENT);},isDocument:function($0){return !!($0&&$0.nodeType===qx.dom.Node.DOCUMENT);},isText:function($0){return !!($0&&$0.nodeType===qx.dom.Node.TEXT);},isWindow:function($0){return $0.document&&this.getWindow($0.document)==$0;},getText:function($0){if(!$0||!$0.nodeType){return null;}switch($0.nodeType){case 1:var $1,$2=[],$3=$0.childNodes,$4=$3.length;for($1=0;$1<$4;$1++){$2[$1]=this.getText($3[$1]);}return $2.join($[0]);case 2:return $0.nodeValue;break;case 3:return $0.nodeValue;break;}return null;}}}); >-qx.Class.define($[1361],{type:$[18],extend:qx.core.Target,construct:function(){arguments.callee.base.call(this);this.__onkeypress=qx.lang.Function.bind(this._onkeypress,this);this.__onkeyupdown=qx.lang.Function.bind(this._onkeyupdown,this);},members:{_attachEvents:function(){var $0=qx.core.Variant.isSet($[1],$[21])?window:document.body;qx.html.EventRegistration.addEventListener($0,$[40],this.__onkeypress);qx.html.EventRegistration.addEventListener($0,$[88],this.__onkeyupdown);qx.html.EventRegistration.addEventListener($0,$[16],this.__onkeyupdown);},_detachEvents:function(){var $0=qx.core.Variant.isSet($[1],$[21])?window:document.body;qx.html.EventRegistration.removeEventListener($0,$[40],this.__onkeypress);qx.html.EventRegistration.removeEventListener($0,$[88],this.__onkeyupdown);qx.html.EventRegistration.removeEventListener($0,$[16],this.__onkeyupdown);},_onkeyupdown:qx.core.Variant.select($[1],{"mshtml":function($0){$0=window.event||$0;var $1=$0.keyCode;var $2=0;var $3=$0.type;if(!(this._lastUpDownType[$1]==$[16]&&$3==$[16])){this._idealKeyHandler($1,$2,$3,$0);}if($3==$[16]){if(this._isNonPrintableKeyCode($1)||$1==8||$1==9){this._idealKeyHandler($1,$2,$[40],$0);}}this._lastUpDownType[$1]=$3;},"gecko":function($0){var $1=this._keyCodeFix[$0.keyCode]||$0.keyCode;var $2=$0.charCode;var $3=$0.type;if(qx.core.Client.getInstance().runsOnWindows()){var $4=$1?this._keyCodeToIdentifier($1):this._charCodeToIdentifier($2);if(!(this._lastUpDownType[$4]==$[40]&&$3==$[16])){this._idealKeyHandler($1,$2,$3,$0);}this._lastUpDownType[$4]=$3;}else{this._idealKeyHandler($1,$2,$3,$0);}},"webkit":function($0){var $1=0;var $2=0;var $3=$0.type;if(qx.core.Client.getInstance().getVersion()<420){if(!this._lastCharCodeForType){this._lastCharCodeForType={};}var $4=this._lastCharCodeForType[$3]>63000;if($4){this._lastCharCodeForType[$3]=null;return;}this._lastCharCodeForType[$3]=$0.charCode;}if($3==$[88]||$3==$[16]){$1=this._charCode2KeyCode[$0.charCode]||$0.keyCode;}else{if(this._charCode2KeyCode[$0.charCode]){$1=this._charCode2KeyCode[$0.charCode];}else{$2=$0.charCode;}}this._idealKeyHandler($1,$2,$3,$0);},"opera":function($0){this._idealKeyHandler($0.keyCode,0,$0.type,$0);this._lastKeyCode=$0.keyCode;},"default":function(){throw new Error("Unsupported browser for key event handler!");}}),_onkeypress:qx.core.Variant.select($[1],{"mshtml":function($0){var $0=window.event||$0;if(this._charCode2KeyCode[$0.keyCode]){this._idealKeyHandler(this._charCode2KeyCode[$0.keyCode],0,$0.type,$0);}else{this._idealKeyHandler(0,$0.keyCode,$0.type,$0);}},"gecko":function($0){var $1=this._keyCodeFix[$0.keyCode]||$0.keyCode;var $2=$0.charCode;var $3=$0.type;if(qx.core.Client.getInstance().runsOnWindows()){var $4=$1?this._keyCodeToIdentifier($1):this._charCodeToIdentifier($2);if(!(this._lastUpDownType[$4]==$[40]&&$3==$[16])){this._idealKeyHandler($1,$2,$3,$0);}this._lastUpDownType[$4]=$3;}else{this._idealKeyHandler($1,$2,$3,$0);}},"webkit":function($0){var $1=0;var $2=0;var $3=$0.type;if(qx.core.Client.getInstance().getVersion()<420){if(!this._lastCharCodeForType){this._lastCharCodeForType={};}var $4=this._lastCharCodeForType[$3]>63000;if($4){this._lastCharCodeForType[$3]=null;return;}this._lastCharCodeForType[$3]=$0.charCode;}if($3==$[88]||$3==$[16]){$1=this._charCode2KeyCode[$0.charCode]||$0.keyCode;}else{if(this._charCode2KeyCode[$0.charCode]){$1=this._charCode2KeyCode[$0.charCode];}else{$2=$0.charCode;}}this._idealKeyHandler($1,$2,$3,$0);},"opera":function($0){var $1=$0.keyCode;var $2=$0.type;if($1!=this._lastKeyCode){this._idealKeyHandler(0,this._lastKeyCode,$2,$0);}else{if(this._keyCodeToIdentifierMap[$1]){this._idealKeyHandler($1,0,$2,$0);}else{this._idealKeyHandler(0,$1,$2,$0);}}this._lastKeyCode=$1;},"default":function(){throw new Error("Unsupported browser for key event handler!");}}),_specialCharCodeMap:{8:$[191],9:$[188],13:$[46],27:$[129],32:$[84]},_keyCodeToIdentifierMap:{16:$[142],17:$[125],18:$[136],20:$[408],224:$[223],37:$[60],38:$[69],39:$[64],40:$[76],33:$[87],34:$[99],35:$[162],36:$[150],45:$[203],46:$[169],112:$[315],113:$[331],114:$[345],115:$[362],116:$[384],117:$[403],118:$[419],119:$[433],120:$[439],121:$[371],122:$[355],123:$[339],144:$[127],44:$[237],145:$[266],19:$[248],91:$[286],93:$[279]},_numpadToCharCode:{96:$[41].charCodeAt(0),97:$[482].charCodeAt(0),98:$[418].charCodeAt(0),99:$[432].charCodeAt(0),100:$[385].charCodeAt(0),101:$[402].charCodeAt(0),102:$[348].charCodeAt(0),103:$[363].charCodeAt(0),104:$[346].charCodeAt(0),105:$[172].charCodeAt(0),106:$[140].charCodeAt(0),107:$[246].charCodeAt(0),109:$[137].charCodeAt(0),110:$[101].charCodeAt(0),111:$[135].charCodeAt(0)},_charCodeA:$[174].charCodeAt(0),_charCodeZ:$[497].charCodeAt(0),_charCode0:$[41].charCodeAt(0),_charCode9:$[172].charCodeAt(0),_isNonPrintableKeyCode:function($0){return this._keyCodeToIdentifierMap[$0]?true:false;},_isIdentifiableKeyCode:function($0){if($0>=this._charCodeA&&$0<=this._charCodeZ){return true;}if($0>=this._charCode0&&$0<=this._charCode9){return true;}if(this._specialCharCodeMap[$0]){return true;}if(this._numpadToCharCode[$0]){return true;}if(this._isNonPrintableKeyCode($0)){return true;}return false;},isValidKeyIdentifier:function($0){if(this._identifierToKeyCodeMap[$0]){return true;}if($0.length!=1){return false;}if($0>=$[41]&&$0<=$[172]){return true;}if($0>=$[174]&&$0<=$[497]){return true;}switch($0){case $[246]:case $[137]:case $[140]:case $[135]:return true;default:return false;}},_keyCodeToIdentifier:function($0){if(this._isIdentifiableKeyCode($0)){var $1=this._numpadToCharCode[$0];if($1){return String.fromCharCode($1);}return (this._keyCodeToIdentifierMap[$0]||this._specialCharCodeMap[$0]||String.fromCharCode($0));}else{return $[212];}},_charCodeToIdentifier:function($0){return this._specialCharCodeMap[$0]||String.fromCharCode($0).toUpperCase();},_identifierToKeyCode:function($0){return this._identifierToKeyCodeMap[$0]||$0.charCodeAt(0);},_idealKeyHandler:function($0,$1,$2,$3){if(!$0&&!$1){return;}var $4;if($0){$4=this._keyCodeToIdentifier($0);qx.event.handler.EventHandler.getInstance()._onkeyevent_post($3,$2,$0,$1,$4);}else{$4=this._charCodeToIdentifier($1);qx.event.handler.EventHandler.getInstance()._onkeyevent_post($3,$[40],$0,$1,$4);qx.event.handler.EventHandler.getInstance()._onkeyevent_post($3,$[300],$0,$1,$4);}}},defer:function($0,$1,$2){if(!$1._identifierToKeyCodeMap){$1._identifierToKeyCodeMap={};for(var $3 in $1._keyCodeToIdentifierMap){$1._identifierToKeyCodeMap[$1._keyCodeToIdentifierMap[$3]]=parseInt($3);}for(var $3 in $1._specialCharCodeMap){$1._identifierToKeyCodeMap[$1._specialCharCodeMap[$3]]=parseInt($3);}}if(qx.core.Variant.isSet($[1],$[13])){$1._lastUpDownType={};$1._charCode2KeyCode={13:13,27:27};}else if(qx.core.Variant.isSet($[1],$[21])){$1._lastUpDownType={};$1._keyCodeFix={12:$1._identifierToKeyCode($[127])};}else if(qx.core.Variant.isSet($[1],$[147])){$1._charCode2KeyCode={63289:$1._identifierToKeyCode($[127]),63276:$1._identifierToKeyCode($[87]),63277:$1._identifierToKeyCode($[99]),63275:$1._identifierToKeyCode($[162]),63273:$1._identifierToKeyCode($[150]),63234:$1._identifierToKeyCode($[60]),63232:$1._identifierToKeyCode($[69]),63235:$1._identifierToKeyCode($[64]),63233:$1._identifierToKeyCode($[76]),63272:$1._identifierToKeyCode($[169]),63302:$1._identifierToKeyCode($[203]),63236:$1._identifierToKeyCode($[315]),63237:$1._identifierToKeyCode($[331]),63238:$1._identifierToKeyCode($[345]),63239:$1._identifierToKeyCode($[362]),63240:$1._identifierToKeyCode($[384]),63241:$1._identifierToKeyCode($[403]),63242:$1._identifierToKeyCode($[419]),63243:$1._identifierToKeyCode($[433]),63244:$1._identifierToKeyCode($[439]),63245:$1._identifierToKeyCode($[371]),63246:$1._identifierToKeyCode($[355]),63247:$1._identifierToKeyCode($[339]),63248:$1._identifierToKeyCode($[237]),3:$1._identifierToKeyCode($[46]),12:$1._identifierToKeyCode($[127]),13:$1._identifierToKeyCode($[46])};}else if(qx.core.Variant.isSet($[1],$[154])){$1._lastKeyCode=null;}},destruct:function(){this._detachEvents();this._disposeFields($[890],$[1196]);}}); >-qx.Class.define($[1274],{extend:qx.event.type.Event,construct:function($0,$1,$2,$3,$4){arguments.callee.base.call(this,$0);this.setDomEvent($1);this.setDomTarget($2);this.setTarget($3);this.setOriginalTarget($4);},statics:{SHIFT_MASK:1,CTRL_MASK:2,ALT_MASK:4,META_MASK:8},properties:{bubbles:{_fast:true,defaultValue:true,noCompute:true},propagationStopped:{_fast:true,defaultValue:false,noCompute:true},domEvent:{_fast:true,setOnlyOnce:true,noCompute:true},domTarget:{_fast:true,setOnlyOnce:true,noCompute:true},modifiers:{_cached:true,defaultValue:null}},members:{_computeModifiers:function(){var $0=0;var $1=this.getDomEvent();if($1.shiftKey)$0|=qx.event.type.DomEvent.SHIFT_MASK;if($1.ctrlKey)$0|=qx.event.type.DomEvent.CTRL_MASK;if($1.altKey)$0|=qx.event.type.DomEvent.ALT_MASK;if($1.metaKey)$0|=qx.event.type.DomEvent.META_MASK;return $0;},isCtrlPressed:function(){return this.getDomEvent().ctrlKey;},isShiftPressed:function(){return this.getDomEvent().shiftKey;},isAltPressed:function(){return this.getDomEvent().altKey;},isMetaPressed:function(){return this.getDomEvent().metaKey;},isCtrlOrCommandPressed:function(){if(qx.core.Client.getInstance().runsOnMacintosh()){return this.getDomEvent().metaKey;}else{return this.getDomEvent().ctrlKey;}},setDefaultPrevented:qx.core.Variant.select($[1],{"mshtml":function($0){if(!$0){return this.error("It is not possible to set preventDefault to false if it was true before!","setDefaultPrevented");}this.getDomEvent().returnValue=false;arguments.callee.base.call(this,$0);},"default":function($0){if(!$0){return this.error("It is not possible to set preventDefault to false if it was true before!","setDefaultPrevented");}this.getDomEvent().preventDefault();this.getDomEvent().returnValue=false;arguments.callee.base.call(this,$0);}})},destruct:function(){this._disposeFields($[966],$[1454]);}}); >+qx.Class.define($[604],{type:$[18],extend:qx.core.Target,construct:function(){arguments.callee.base.call(this);this.__onmouseevent=qx.lang.Function.bind(this._onmouseevent,this);this.__ondragevent=qx.lang.Function.bind(this._ondragevent,this);this.__onselectevent=qx.lang.Function.bind(this._onselectevent,this);this.__onwindowblur=qx.lang.Function.bind(this._onwindowblur,this);this.__onwindowfocus=qx.lang.Function.bind(this._onwindowfocus,this);this.__onwindowresize=qx.lang.Function.bind(this._onwindowresize,this);this._commands={};},events:{"error":$[98]},statics:{mouseEventTypes:[$[61],$[148],$[105],$[12],$[22],$[53],$[104],$[219],qx.core.Variant.isSet($[1],$[21])?$[405]:$[184]],keyEventTypes:[$[16],$[40],$[84]],dragEventTypes:qx.core.Variant.select($[1],{"gecko":[$[285],$[149],$[259],$[450],$[471]],"mshtml":[$[488],$[149],$[177],$[411],$[259],$[339]],"default":[$[177],$[285],$[149],$[411],$[339],$[259],$[450],$[471]]}),getDomTarget:qx.core.Variant.select($[1],{"mshtml":function($0){return $0.target||$0.srcElement;},"webkit":function($0){var $1=$0.target||$0.srcElement;if($1&&($1.nodeType==qx.dom.Node.TEXT)){$1=$1.parentNode;}return $1;},"default":function($0){return $0.target;}}),stopDomEvent:function($0){if($0.preventDefault){$0.preventDefault();}$0.returnValue=false;},getOriginalTargetObject:function($0){if($0==document.documentElement){$0=document.body;}while($0!=null&&$0.qx_Widget==null){try{$0=$0.parentNode;}catch(vDomEvent){$0=null;}}return $0?$0.qx_Widget:null;},getOriginalTargetObjectFromEvent:function($0,$1){var $2=qx.event.handler.EventHandler.getDomTarget($0);if($1){var $3=$1.document;if($2==$1||$2==$3||$2==$3.documentElement||$2==$3.body){return $3.body.qx_Widget;}}return qx.event.handler.EventHandler.getOriginalTargetObject($2);},getRelatedOriginalTargetObjectFromEvent:function($0){return qx.event.handler.EventHandler.getOriginalTargetObject($0.relatedTarget||($0.type==$[61]?$0.fromElement:$0.toElement));},getTargetObject:function($0,$1,$2){if(!$1){var $1=qx.event.handler.EventHandler.getOriginalTargetObject($0);if(!$1){return null;}}while($1){if(!$2&&!$1.getEnabled()){return null;}if(!$1.getAnonymous()){break;}$1=$1.getParent();}return $1;},getTargetObjectFromEvent:function($0){return qx.event.handler.EventHandler.getTargetObject(qx.event.handler.EventHandler.getDomTarget($0));},getRelatedTargetObjectFromEvent:function($0){var $1=$0.relatedTarget;if(!$1){if($0.type==$[61]){$1=$0.fromElement;}else{$1=$0.toElement;}}return qx.event.handler.EventHandler.getTargetObject($1);}},properties:{allowClientContextMenu:{check:$[2],init:false},allowClientSelectAll:{check:$[2],init:false},captureWidget:{check:$[66],nullable:true,apply:$[1200]},focusRoot:{check:$[306],nullable:true,apply:$[558]}},members:{_lastMouseEventType:null,_lastMouseDown:false,_lastMouseEventDate:0,_applyCaptureWidget:function($0,$1){if($1){$1.setCapture(false);}if($0){$0.setCapture(true);}},_applyFocusRoot:function($0,$1){if($1){$1.setFocusedChild(null);}if($0&&$0.getFocusedChild()==null){$0.setFocusedChild($0);}},addCommand:function($0){this._commands[$0.toHashCode()]=$0;},removeCommand:function($0){delete this._commands[$0.toHashCode()];},_checkKeyEventMatch:function($0){var $1;for(var $2 in this._commands){$1=this._commands[$2];if($1.getEnabled()&&$1.matchesKeyEvent($0)){if(!$1.execute($0.getTarget())){$0.preventDefault();}break;}}},attachEvents:function(){this.attachEventTypes(qx.event.handler.EventHandler.mouseEventTypes,this.__onmouseevent);this.attachEventTypes(qx.event.handler.EventHandler.dragEventTypes,this.__ondragevent);qx.event.handler.KeyEventHandler.getInstance()._attachEvents();qx.html.EventRegistration.addEventListener(window,$[199],this.__onwindowblur);qx.html.EventRegistration.addEventListener(window,$[236],this.__onwindowfocus);qx.html.EventRegistration.addEventListener(window,$[202],this.__onwindowresize);document.body.onselect=document.onselectstart=document.onselectionchange=this.__onselectevent;},detachEvents:function(){this.detachEventTypes(qx.event.handler.EventHandler.mouseEventTypes,this.__onmouseevent);this.detachEventTypes(qx.event.handler.EventHandler.dragEventTypes,this.__ondragevent);qx.event.handler.KeyEventHandler.getInstance()._detachEvents();qx.html.EventRegistration.removeEventListener(window,$[199],this.__onwindowblur);qx.html.EventRegistration.removeEventListener(window,$[236],this.__onwindowfocus);qx.html.EventRegistration.removeEventListener(window,$[202],this.__onwindowresize);document.body.onselect=document.onselectstart=document.onselectionchange=null;},attachEventTypes:function($0,$1){try{var $2=qx.core.Variant.isSet($[1],$[21])?window:document.body;for(var $3=0,$4=$0.length;$3<$4;$3++){qx.html.EventRegistration.addEventListener($2,$0[$3],$1);}}catch(ex){throw new Error("qx.event.handler.EventHandler: Failed to attach window event types: "+$0+": "+ex);}},detachEventTypes:function($0,$1){try{var $2=qx.core.Variant.isSet($[1],$[21])?window:document.body;for(var $3=0,$4=$0.length;$3<$4;$3++){qx.html.EventRegistration.removeEventListener($2,$0[$3],$1);}}catch(ex){throw new Error("qx.event.handler.EventHandler: Failed to detach window event types: "+$0+": "+ex);}},_onkeyevent_post:function($0,$1,$2,$3,$4){var $5=qx.event.handler.EventHandler.getDomTarget($0);var $6=this.getFocusRoot();var $7=this.getCaptureWidget()||($6==null?null:$6.getActiveChild());var $8=new qx.event.type.KeyEvent($1,$0,$5,$7,null,$2,$3,$4);if($1==$[16]){this._checkKeyEventMatch($8);}if($7!=null&&$7.getEnabled()){switch($4){case $[129]:case $[188]:if(qx.Class.isDefined($[152])){qx.ui.menu.Manager.getInstance().update($7,$1);}break;}if(!this.getAllowClientSelectAll()){if($0.ctrlKey&&$4==$[174]){switch($5.tagName.toLowerCase()){case $[89]:case $[222]:case $[239]:break;default:qx.event.handler.EventHandler.stopDomEvent($0);}}}$7.dispatchEvent($8);if(qx.Class.isDefined($[235])){qx.event.handler.DragAndDropHandler.getInstance().handleKeyEvent($8);}}$8.dispose();},_onmouseevent:qx.core.Variant.select($[1],{"mshtml":function($0){if(!$0){$0=window.event;}var $1=qx.event.handler.EventHandler.getDomTarget($0);var $2=$0.type;if($2==$[148]){if(this._mouseIsDown&&$0.button==0){this._onmouseevent_post($0,$[22]);this._mouseIsDown=false;}}else{if($2==$[12]){this._mouseIsDown=true;}else if($2==$[22]){this._mouseIsDown=false;}if($2==$[22]&&!this._lastMouseDown&&((new Date).valueOf()-this._lastMouseEventDate)<250){this._onmouseevent_post($0,$[12]);}else if($2==$[104]&&this._lastMouseEventType==$[22]&&((new Date).valueOf()-this._lastMouseEventDate)<250){this._onmouseevent_post($0,$[53]);}switch($2){case $[12]:case $[22]:case $[53]:case $[104]:case $[219]:this._lastMouseEventType=$2;this._lastMouseEventDate=(new Date).valueOf();this._lastMouseDown=$2==$[12];}}this._onmouseevent_post($0,$2,$1);},"default":function($0){var $1=qx.event.handler.EventHandler.getDomTarget($0);var $2=$0.type;switch($2){case $[405]:$2=$[184];break;case $[53]:case $[104]:if($0.which!==1){return;}}this._onmouseevent_post($0,$2,$1);}}),_onmouseevent_click_fix:qx.core.Variant.select($[1],{"gecko":function($0,$1,$2){var $3=false;switch($1){case $[12]:this._lastMouseDownDomTarget=$0;this._lastMouseDownDispatchTarget=$2;break;case $[22]:if(this._lastMouseDownDispatchTarget===$2&&$0!==this._lastMouseDownDomTarget){$3=true;}else{this._lastMouseDownDomTarget=null;this._lastMouseDownDispatchTarget=null;}}return $3;},"default":null}),_onmouseevent_post:function($0,$1,$2){var $3,$4,$5,$6,$7,$8,$9,$a;$4=this.getCaptureWidget();$7=qx.event.handler.EventHandler.getOriginalTargetObject($2);if(!$4){$5=$6=qx.event.handler.EventHandler.getTargetObject(null,$7,true);}else{$5=$4;$6=qx.event.handler.EventHandler.getTargetObject(null,$7,true);}if(!$6){return;}$a=$6.getEnabled();if(qx.core.Variant.isSet($[1],$[21])){$9=this._onmouseevent_click_fix($2,$1,$5);}if($1==$[219]&&!this.getAllowClientContextMenu()){qx.event.handler.EventHandler.stopDomEvent($0);}if($a&&$1==$[12]){qx.event.handler.FocusHandler.mouseFocus=true;var $b=$6.getFocusRoot();if($b){this.setFocusRoot($b);var $c=$6;while(!$c.isFocusable()&&$c!=$b){$c=$c.getParent();}$b.setFocusedChild($c);$b.setActiveChild($6);}}switch($1){case $[61]:case $[105]:$8=qx.event.handler.EventHandler.getRelatedTargetObjectFromEvent($0);if($8==$6){return;}}$3=new qx.event.type.MouseEvent($1,$0,$2,$6,$7,$8);qx.event.type.MouseEvent.storeEventState($3);if($a){var $d=false;$d=$5?$5.dispatchEvent($3):true;this._onmouseevent_special_post($1,$6,$7,$5,$d,$3,$0);}else{if($1==$[61]){if(qx.Class.isDefined($[151])){qx.ui.popup.ToolTipManager.getInstance().handleMouseOver($3);}}}$3.dispose();$3=null;qx.ui.core.Widget.flushGlobalQueues();if($9){this._onmouseevent_post($0,$[53],this._lastMouseDownDomTarget);this._lastMouseDownDomTarget=null;this._lastMouseDownDispatchTarget=null;}},_onmouseevent_special_post:function($0,$1,$2,$3,$4,$5,$6){switch($0){case $[12]:if(qx.Class.isDefined($[166])){qx.ui.popup.PopupManager.getInstance().update($1);}if(qx.Class.isDefined($[152])){qx.ui.menu.Manager.getInstance().update($1,$0);}if(qx.Class.isDefined($[262])){qx.ui.embed.IframeManager.getInstance().handleMouseDown($5);}break;case $[22]:if(qx.Class.isDefined($[152])){qx.ui.menu.Manager.getInstance().update($1,$0);}if(qx.Class.isDefined($[262])){qx.ui.embed.IframeManager.getInstance().handleMouseUp($5);}break;case $[61]:if(qx.Class.isDefined($[151])){qx.ui.popup.ToolTipManager.getInstance().handleMouseOver($5);}break;case $[105]:if(qx.Class.isDefined($[151])){qx.ui.popup.ToolTipManager.getInstance().handleMouseOut($5);}break;}this._ignoreWindowBlur=$0===$[12];if(qx.Class.isDefined($[235])&&$1){qx.event.handler.DragAndDropHandler.getInstance().handleMouseEvent($5);}},_ondragevent:function($0){if(!$0){$0=window.event;}qx.event.handler.EventHandler.stopDomEvent($0);},_onselectevent:function($0){if(!$0){$0=window.event;}var $1=qx.event.handler.EventHandler.getOriginalTargetObjectFromEvent($0);while($1){if($1.getSelectable()!=null){if(!$1.getSelectable()){qx.event.handler.EventHandler.stopDomEvent($0);}break;}$1=$1.getParent();}},_focused:false,_onwindowblur:function($0){if(!this._focused||this._ignoreWindowBlur){return;}this._focused=false;this.setCaptureWidget(null);if(qx.Class.isDefined($[166])){qx.ui.popup.PopupManager.getInstance().update();}if(qx.Class.isDefined($[152])){qx.ui.menu.Manager.getInstance().update();}if(qx.Class.isDefined($[235])){qx.event.handler.DragAndDropHandler.getInstance().globalCancelDrag();}qx.ui.core.ClientDocument.getInstance().createDispatchEvent($[283]);},_onwindowfocus:function($0){if(this._focused){return;}this._focused=true;qx.ui.core.ClientDocument.getInstance().createDispatchEvent($[1467]);},_onwindowresize:function($0){qx.ui.core.ClientDocument.getInstance().createDispatchEvent($[363]);}},destruct:function(){this.detachEvents();this._disposeObjectDeep($[1794],1);this._disposeFields($[962],$[1275],$[1458],$[976],$[1742],$[1685]);this._disposeFields($[1105],$[1202],$[1040],$[1584],$[766]);}}); >+qx.Class.define($[1576],{statics:{ELEMENT:1,ATTRIBUTE:2,TEXT:3,CDATA_SECTION:4,ENTITY_REFERENCE:5,ENTITY:6,PROCESSING_INSTRUCTION:7,COMMENT:8,DOCUMENT:9,DOCUMENT_TYPE:10,DOCUMENT_FRAGMENT:11,NOTATION:12,getDocument:function($0){if(this.isDocument($0)){return $0;}return $0.ownerDocument||$0.document||null;},getWindow:qx.core.Variant.select($[1],{"mshtml":function($0){return this.getDocument($0).parentWindow;},"default":function($0){return this.getDocument($0).defaultView;}}),getDocumentElement:function($0){return this.getDocument($0).documentElement;},getBodyElement:function($0){return this.getDocument($0).body;},isElement:function($0){return !!($0&&$0.nodeType===qx.dom.Node.ELEMENT);},isDocument:function($0){return !!($0&&$0.nodeType===qx.dom.Node.DOCUMENT);},isText:function($0){return !!($0&&$0.nodeType===qx.dom.Node.TEXT);},isWindow:function($0){return $0.document&&this.getWindow($0.document)==$0;},getText:function($0){if(!$0||!$0.nodeType){return null;}switch($0.nodeType){case 1:var $1,$2=[],$3=$0.childNodes,$4=$3.length;for($1=0;$1<$4;$1++){$2[$1]=this.getText($3[$1]);}return $2.join($[0]);case 2:return $0.nodeValue;break;case 3:return $0.nodeValue;break;}return null;}}}); >+qx.Class.define($[1362],{type:$[18],extend:qx.core.Target,construct:function(){arguments.callee.base.call(this);this.__onkeypress=qx.lang.Function.bind(this._onkeypress,this);this.__onkeyupdown=qx.lang.Function.bind(this._onkeyupdown,this);},members:{_attachEvents:function(){var $0=qx.core.Variant.isSet($[1],$[21])?window:document.body;qx.html.EventRegistration.addEventListener($0,$[40],this.__onkeypress);qx.html.EventRegistration.addEventListener($0,$[84],this.__onkeyupdown);qx.html.EventRegistration.addEventListener($0,$[16],this.__onkeyupdown);},_detachEvents:function(){var $0=qx.core.Variant.isSet($[1],$[21])?window:document.body;qx.html.EventRegistration.removeEventListener($0,$[40],this.__onkeypress);qx.html.EventRegistration.removeEventListener($0,$[84],this.__onkeyupdown);qx.html.EventRegistration.removeEventListener($0,$[16],this.__onkeyupdown);},_onkeyupdown:qx.core.Variant.select($[1],{"mshtml":function($0){$0=window.event||$0;var $1=$0.keyCode;var $2=0;var $3=$0.type;this.debug("native - type: "+$3+" keyCode: "+$1+" charCode: "+$2);if(!(this._lastUpDownType[$1]==$[16]&&$3==$[16])){this._idealKeyHandler($1,$2,$3,$0);}if($3==$[16]){if(this._isNonPrintableKeyCode($1)||$1==8||$1==9){this._idealKeyHandler($1,$2,$[40],$0);}}this._lastUpDownType[$1]=$3;},"gecko":function($0){var $1=this._keyCodeFix[$0.keyCode]||$0.keyCode;var $2=$0.charCode;var $3=$0.type;this.debug("native - type: "+$3+" keyCode: "+$1+" charCode: "+$2);if(qx.core.Client.getInstance().runsOnWindows()){var $4=$1?this._keyCodeToIdentifier($1):this._charCodeToIdentifier($2);if(!(this._lastUpDownType[$4]==$[40]&&$3==$[16])){this._idealKeyHandler($1,$2,$3,$0);}this._lastUpDownType[$4]=$3;}else{this._idealKeyHandler($1,$2,$3,$0);}},"webkit":function($0){var $1=0;var $2=0;var $3=$0.type;this.debug("native - type: "+$3+" keyCode: "+$1+" charCode: "+$2);if(qx.core.Client.getInstance().getVersion()<420){if(!this._lastCharCodeForType){this._lastCharCodeForType={};}var $4=this._lastCharCodeForType[$3]>63000;if($4){this._lastCharCodeForType[$3]=null;return;}this._lastCharCodeForType[$3]=$0.charCode;}if($3==$[84]||$3==$[16]){$1=this._charCode2KeyCode[$0.charCode]||$0.keyCode;}else{if(this._charCode2KeyCode[$0.charCode]){$1=this._charCode2KeyCode[$0.charCode];}else{$2=$0.charCode;}}this._idealKeyHandler($1,$2,$3,$0);},"opera":function($0){this._idealKeyHandler($0.keyCode,0,$0.type,$0);this._lastKeyCode=$0.keyCode;},"default":function(){throw new Error("Unsupported browser for key event handler!");}}),_onkeypress:qx.core.Variant.select($[1],{"mshtml":function($0){var $0=window.event||$0;if(this._charCode2KeyCode[$0.keyCode]){this._idealKeyHandler(this._charCode2KeyCode[$0.keyCode],0,$0.type,$0);}else{this._idealKeyHandler(0,$0.keyCode,$0.type,$0);}},"gecko":function($0){var $1=this._keyCodeFix[$0.keyCode]||$0.keyCode;var $2=$0.charCode;var $3=$0.type;this.debug("native - type: "+$3+" keyCode: "+$1+" charCode: "+$2);if(qx.core.Client.getInstance().runsOnWindows()){var $4=$1?this._keyCodeToIdentifier($1):this._charCodeToIdentifier($2);if(!(this._lastUpDownType[$4]==$[40]&&$3==$[16])){this._idealKeyHandler($1,$2,$3,$0);}this._lastUpDownType[$4]=$3;}else{this._idealKeyHandler($1,$2,$3,$0);}},"webkit":function($0){var $1=0;var $2=0;var $3=$0.type;if(qx.core.Client.getInstance().getVersion()<420){if(!this._lastCharCodeForType){this._lastCharCodeForType={};}var $4=this._lastCharCodeForType[$3]>63000;if($4){this._lastCharCodeForType[$3]=null;return;}this._lastCharCodeForType[$3]=$0.charCode;}if($3==$[84]||$3==$[16]){$1=this._charCode2KeyCode[$0.charCode]||$0.keyCode;}else{if(this._charCode2KeyCode[$0.charCode]){$1=this._charCode2KeyCode[$0.charCode];}else{$2=$0.charCode;}}this._idealKeyHandler($1,$2,$3,$0);},"opera":function($0){var $1=$0.keyCode;var $2=$0.type;if($1!=this._lastKeyCode){this._idealKeyHandler(0,this._lastKeyCode,$2,$0);}else{if(this._keyCodeToIdentifierMap[$1]){this._idealKeyHandler($1,0,$2,$0);}else{this._idealKeyHandler(0,$1,$2,$0);}}this._lastKeyCode=$1;},"default":function(){throw new Error("Unsupported browser for key event handler!");}}),_specialCharCodeMap:{8:$[191],9:$[188],13:$[46],27:$[129],32:$[85]},_keyCodeToIdentifierMap:{16:$[142],17:$[125],18:$[136],20:$[409],224:$[223],37:$[60],38:$[69],39:$[64],40:$[76],33:$[88],34:$[99],35:$[162],36:$[150],45:$[203],46:$[169],112:$[315],113:$[331],114:$[344],115:$[361],116:$[384],117:$[404],118:$[420],119:$[434],120:$[440],121:$[370],122:$[354],123:$[491],144:$[127],44:$[237],145:$[266],19:$[248],91:$[286],93:$[279]},_numpadToCharCode:{96:$[41].charCodeAt(0),97:$[482].charCodeAt(0),98:$[419].charCodeAt(0),99:$[433].charCodeAt(0),100:$[385].charCodeAt(0),101:$[403].charCodeAt(0),102:$[347].charCodeAt(0),103:$[362].charCodeAt(0),104:$[345].charCodeAt(0),105:$[172].charCodeAt(0),106:$[140].charCodeAt(0),107:$[246].charCodeAt(0),109:$[137].charCodeAt(0),110:$[101].charCodeAt(0),111:$[135].charCodeAt(0)},_charCodeA:$[174].charCodeAt(0),_charCodeZ:$[498].charCodeAt(0),_charCode0:$[41].charCodeAt(0),_charCode9:$[172].charCodeAt(0),_isNonPrintableKeyCode:function($0){return this._keyCodeToIdentifierMap[$0]?true:false;},_isIdentifiableKeyCode:function($0){if($0>=this._charCodeA&&$0<=this._charCodeZ){return true;}if($0>=this._charCode0&&$0<=this._charCode9){return true;}if(this._specialCharCodeMap[$0]){return true;}if(this._numpadToCharCode[$0]){return true;}if(this._isNonPrintableKeyCode($0)){return true;}return false;},isValidKeyIdentifier:function($0){if(this._identifierToKeyCodeMap[$0]){return true;}if($0.length!=1){return false;}if($0>=$[41]&&$0<=$[172]){return true;}if($0>=$[174]&&$0<=$[498]){return true;}switch($0){case $[246]:case $[137]:case $[140]:case $[135]:return true;default:return false;}},_keyCodeToIdentifier:function($0){if(this._isIdentifiableKeyCode($0)){var $1=this._numpadToCharCode[$0];if($1){return String.fromCharCode($1);}return (this._keyCodeToIdentifierMap[$0]||this._specialCharCodeMap[$0]||String.fromCharCode($0));}else{return $[212];}},_charCodeToIdentifier:function($0){return this._specialCharCodeMap[$0]||String.fromCharCode($0).toUpperCase();},_identifierToKeyCode:function($0){return this._identifierToKeyCodeMap[$0]||$0.charCodeAt(0);},_idealKeyHandler:function($0,$1,$2,$3){if(!$0&&!$1){return;}var $4;if($0){$4=this._keyCodeToIdentifier($0);qx.event.handler.EventHandler.getInstance()._onkeyevent_post($3,$2,$0,$1,$4);}else{$4=this._charCodeToIdentifier($1);qx.event.handler.EventHandler.getInstance()._onkeyevent_post($3,$[40],$0,$1,$4);qx.event.handler.EventHandler.getInstance()._onkeyevent_post($3,$[300],$0,$1,$4);}}},defer:function($0,$1,$2){if(!$1._identifierToKeyCodeMap){$1._identifierToKeyCodeMap={};for(var $3 in $1._keyCodeToIdentifierMap){$1._identifierToKeyCodeMap[$1._keyCodeToIdentifierMap[$3]]=parseInt($3);}for(var $3 in $1._specialCharCodeMap){$1._identifierToKeyCodeMap[$1._specialCharCodeMap[$3]]=parseInt($3);}}if(qx.core.Variant.isSet($[1],$[13])){$1._lastUpDownType={};$1._charCode2KeyCode={13:13,27:27};}else if(qx.core.Variant.isSet($[1],$[21])){$1._lastUpDownType={};$1._keyCodeFix={12:$1._identifierToKeyCode($[127])};}else if(qx.core.Variant.isSet($[1],$[147])){$1._charCode2KeyCode={63289:$1._identifierToKeyCode($[127]),63276:$1._identifierToKeyCode($[88]),63277:$1._identifierToKeyCode($[99]),63275:$1._identifierToKeyCode($[162]),63273:$1._identifierToKeyCode($[150]),63234:$1._identifierToKeyCode($[60]),63232:$1._identifierToKeyCode($[69]),63235:$1._identifierToKeyCode($[64]),63233:$1._identifierToKeyCode($[76]),63272:$1._identifierToKeyCode($[169]),63302:$1._identifierToKeyCode($[203]),63236:$1._identifierToKeyCode($[315]),63237:$1._identifierToKeyCode($[331]),63238:$1._identifierToKeyCode($[344]),63239:$1._identifierToKeyCode($[361]),63240:$1._identifierToKeyCode($[384]),63241:$1._identifierToKeyCode($[404]),63242:$1._identifierToKeyCode($[420]),63243:$1._identifierToKeyCode($[434]),63244:$1._identifierToKeyCode($[440]),63245:$1._identifierToKeyCode($[370]),63246:$1._identifierToKeyCode($[354]),63247:$1._identifierToKeyCode($[491]),63248:$1._identifierToKeyCode($[237]),3:$1._identifierToKeyCode($[46]),12:$1._identifierToKeyCode($[127]),13:$1._identifierToKeyCode($[46])};}else if(qx.core.Variant.isSet($[1],$[154])){$1._lastKeyCode=null;}},destruct:function(){this._detachEvents();this._disposeFields($[890],$[1195]);}}); >+qx.Class.define($[1273],{extend:qx.event.type.Event,construct:function($0,$1,$2,$3,$4){arguments.callee.base.call(this,$0);this.setDomEvent($1);this.setDomTarget($2);this.setTarget($3);this.setOriginalTarget($4);},statics:{SHIFT_MASK:1,CTRL_MASK:2,ALT_MASK:4,META_MASK:8},properties:{bubbles:{_fast:true,defaultValue:true,noCompute:true},propagationStopped:{_fast:true,defaultValue:false,noCompute:true},domEvent:{_fast:true,setOnlyOnce:true,noCompute:true},domTarget:{_fast:true,setOnlyOnce:true,noCompute:true},modifiers:{_cached:true,defaultValue:null}},members:{_computeModifiers:function(){var $0=0;var $1=this.getDomEvent();if($1.shiftKey)$0|=qx.event.type.DomEvent.SHIFT_MASK;if($1.ctrlKey)$0|=qx.event.type.DomEvent.CTRL_MASK;if($1.altKey)$0|=qx.event.type.DomEvent.ALT_MASK;if($1.metaKey)$0|=qx.event.type.DomEvent.META_MASK;return $0;},isCtrlPressed:function(){return this.getDomEvent().ctrlKey;},isShiftPressed:function(){return this.getDomEvent().shiftKey;},isAltPressed:function(){return this.getDomEvent().altKey;},isMetaPressed:function(){return this.getDomEvent().metaKey;},isCtrlOrCommandPressed:function(){if(qx.core.Client.getInstance().runsOnMacintosh()){return this.getDomEvent().metaKey;}else{return this.getDomEvent().ctrlKey;}},setDefaultPrevented:qx.core.Variant.select($[1],{"mshtml":function($0){if(!$0){return this.error("It is not possible to set preventDefault to false if it was true before!","setDefaultPrevented");}this.getDomEvent().returnValue=false;arguments.callee.base.call(this,$0);},"default":function($0){if(!$0){return this.error("It is not possible to set preventDefault to false if it was true before!","setDefaultPrevented");}this.getDomEvent().preventDefault();this.getDomEvent().returnValue=false;arguments.callee.base.call(this,$0);}})},destruct:function(){this._disposeFields($[965],$[1454]);}}); > qx.Class.define($[186],{extend:qx.event.type.DomEvent,construct:function($0,$1,$2,$3,$4,$5,$6,$7){arguments.callee.base.call(this,$0,$1,$2,$3,$4);this._keyCode=$5;this.setCharCode($6);this.setKeyIdentifier($7);},statics:{keys:{esc:27,enter:13,tab:9,space:32,up:38,down:40,left:37,right:39,shift:16,ctrl:17,alt:18,f1:112,f2:113,f3:114,f4:115,f5:116,f6:117,f7:118,f8:119,f9:120,f10:121,f11:122,f12:123,print:124,del:46,backspace:8,insert:45,home:36,end:35,pageup:33,pagedown:34,numlock:144,numpad_0:96,numpad_1:97,numpad_2:98,numpad_3:99,numpad_4:100,numpad_5:101,numpad_6:102,numpad_7:103,numpad_8:104,numpad_9:105,numpad_divide:111,numpad_multiply:106,numpad_minus:109,numpad_plus:107},codes:{}},properties:{charCode:{_fast:true,setOnlyOnce:true,noCompute:true},keyIdentifier:{_fast:true,setOnlyOnce:true,noCompute:true}},members:{getKeyCode:function(){qx.log.Logger.deprecatedMethodWarning(arguments.callee,$[893]);return this._keyCode;}},defer:function($0){for(var $1 in $0.keys){$0.codes[$0.keys[$1]]=$1;}}}); >-qx.Class.define($[86],{extend:qx.event.type.DomEvent,construct:function($0,$1,$2,$3,$4,$5){arguments.callee.base.call(this,$0,$1,$2,$3,$4);if($5){this.setRelatedTarget($5);}},statics:{C_BUTTON_LEFT:"left",C_BUTTON_MIDDLE:"middle",C_BUTTON_RIGHT:"right",C_BUTTON_NONE:"none",_screenX:0,_screenY:0,_clientX:0,_clientY:0,_pageX:0,_pageY:0,_button:null,buttons:qx.core.Variant.select($[1],{"mshtml":{left:1,right:2,middle:4},"default":{left:0,right:2,middle:1}}),storeEventState:function($0){this._screenX=$0.getScreenX();this._screenY=$0.getScreenY();this._clientX=$0.getClientX();this._clientY=$0.getClientY();this._pageX=$0.getPageX();this._pageY=$0.getPageY();this._button=$0.getButton();},getScreenX:function(){return this._screenX;},getScreenY:function(){return this._screenY;},getClientX:function(){return this._clientX;},getClientY:function(){return this._clientY;},getPageX:function(){return this._pageX;},getPageY:function(){return this._pageY;},getButton:function(){return this._button;}},properties:{button:{_fast:true,readOnly:true},wheelDelta:{_fast:true,readOnly:true}},members:{getPageX:qx.core.Variant.select($[1],{"mshtml":function(){return this.getDomEvent().clientX+qx.bom.Viewport.getScrollLeft(window);},"default":function(){return this.getDomEvent().pageX;}}),getPageY:qx.core.Variant.select($[1],{"mshtml":function(){return this.getDomEvent().clientY+qx.bom.Viewport.getScrollTop(window);},"default":function(){return this.getDomEvent().pageY;}}),getClientX:function(){return this.getDomEvent().clientX;},getClientY:function(){return this.getDomEvent().clientY;},getScreenX:function(){return this.getDomEvent().screenX;},getScreenY:function(){return this.getDomEvent().screenY;},isLeftButtonPressed:qx.core.Variant.select($[1],{"mshtml":function(){if(this.getType()==$[53]){return true;}else{return this.getButton()===qx.event.type.MouseEvent.C_BUTTON_LEFT;}},"default":function(){return this.getButton()===qx.event.type.MouseEvent.C_BUTTON_LEFT;}}),isMiddleButtonPressed:function(){return this.getButton()===qx.event.type.MouseEvent.C_BUTTON_MIDDLE;},isRightButtonPressed:function(){return this.getButton()===qx.event.type.MouseEvent.C_BUTTON_RIGHT;},__buttons:qx.core.Variant.select($[1],{"mshtml":{1:$[11],2:$[9],4:$[62]},"default":{0:$[11],2:$[9],1:$[62]}}),_computeButton:function(){switch(this.getDomEvent().type){case $[53]:case $[104]:return $[11];case $[219]:return $[9];default:return this.__buttons[this.getDomEvent().button]||$[7];}},_computeWheelDelta:qx.core.Variant.select($[1],{"default":function(){return this.getDomEvent().wheelDelta/120;},"gecko":function(){return -(this.getDomEvent().detail/3);}})}}); >+qx.Class.define($[87],{extend:qx.event.type.DomEvent,construct:function($0,$1,$2,$3,$4,$5){arguments.callee.base.call(this,$0,$1,$2,$3,$4);if($5){this.setRelatedTarget($5);}},statics:{C_BUTTON_LEFT:"left",C_BUTTON_MIDDLE:"middle",C_BUTTON_RIGHT:"right",C_BUTTON_NONE:"none",_screenX:0,_screenY:0,_clientX:0,_clientY:0,_pageX:0,_pageY:0,_button:null,buttons:qx.core.Variant.select($[1],{"mshtml":{left:1,right:2,middle:4},"default":{left:0,right:2,middle:1}}),storeEventState:function($0){this._screenX=$0.getScreenX();this._screenY=$0.getScreenY();this._clientX=$0.getClientX();this._clientY=$0.getClientY();this._pageX=$0.getPageX();this._pageY=$0.getPageY();this._button=$0.getButton();},getScreenX:function(){return this._screenX;},getScreenY:function(){return this._screenY;},getClientX:function(){return this._clientX;},getClientY:function(){return this._clientY;},getPageX:function(){return this._pageX;},getPageY:function(){return this._pageY;},getButton:function(){return this._button;}},properties:{button:{_fast:true,readOnly:true},wheelDelta:{_fast:true,readOnly:true}},members:{getPageX:qx.core.Variant.select($[1],{"mshtml":function(){return this.getDomEvent().clientX+qx.bom.Viewport.getScrollLeft(window);},"default":function(){return this.getDomEvent().pageX;}}),getPageY:qx.core.Variant.select($[1],{"mshtml":function(){return this.getDomEvent().clientY+qx.bom.Viewport.getScrollTop(window);},"default":function(){return this.getDomEvent().pageY;}}),getClientX:function(){return this.getDomEvent().clientX;},getClientY:function(){return this.getDomEvent().clientY;},getScreenX:function(){return this.getDomEvent().screenX;},getScreenY:function(){return this.getDomEvent().screenY;},isLeftButtonPressed:qx.core.Variant.select($[1],{"mshtml":function(){if(this.getType()==$[53]){return true;}else{return this.getButton()===qx.event.type.MouseEvent.C_BUTTON_LEFT;}},"default":function(){return this.getButton()===qx.event.type.MouseEvent.C_BUTTON_LEFT;}}),isMiddleButtonPressed:function(){return this.getButton()===qx.event.type.MouseEvent.C_BUTTON_MIDDLE;},isRightButtonPressed:function(){return this.getButton()===qx.event.type.MouseEvent.C_BUTTON_RIGHT;},__buttons:qx.core.Variant.select($[1],{"mshtml":{1:$[11],2:$[9],4:$[62]},"default":{0:$[11],2:$[9],1:$[62]}}),_computeButton:function(){switch(this.getDomEvent().type){case $[53]:case $[104]:return $[11];case $[219]:return $[9];default:return this.__buttons[this.getDomEvent().button]||$[7];}},_computeWheelDelta:qx.core.Variant.select($[1],{"default":function(){return this.getDomEvent().wheelDelta/120;},"gecko":function(){return -(this.getDomEvent().detail/3);}})}}); >+qx.Class.define($[1061],{extend:qx.core.Target,construct:function(){arguments.callee.base.call(this);this._objects={};},members:{add:function($0){if(this.getDisposed()){return;}this._objects[$0.toHashCode()]=$0;},remove:function($0){if(this.getDisposed()){return false;}delete this._objects[$0.toHashCode()];},has:function($0){return this._objects[$0.toHashCode()]!=null;},get:function($0){return this._objects[$0.toHashCode()];},getAll:function(){return this._objects;},enableAll:function(){for(var $0 in this._objects){this._objects[$0].setEnabled(true);}},disableAll:function(){for(var $0 in this._objects){this._objects[$0].setEnabled(false);}}},destruct:function(){this._disposeObjectDeep($[497]);}}); > qx.Class.define($[262],{type:$[18],extend:qx.util.manager.Object,construct:function(){arguments.callee.base.call(this);this._blocked={};},members:{handleMouseDown:function($0){var $1=this._blockData=qx.lang.Object.copy(this.getAll());for(var $2 in $1){$1[$2].block();}},handleMouseUp:function($0){var $1=this._blockData;for(var $2 in $1){$1[$2].release();}}}}); > qx.Class.define($[1339],{extend:qx.ui.core.Parent,construct:function(){arguments.callee.base.call(this);},members:{_createLayoutImpl:function(){return new qx.ui.layout.impl.CanvasLayoutImpl(this);}}}); >-qx.Class.define($[794],{extend:qx.core.Object,construct:function($0){arguments.callee.base.call(this);this._widget=$0;},members:{getWidget:function(){return this._widget;},computeChildBoxWidth:function($0){return $0.getWidthValue()||$0._computeBoxWidthFallback();},computeChildBoxHeight:function($0){return $0.getHeightValue()||$0._computeBoxHeightFallback();},computeChildNeededWidth:function($0){var $1=$0._computedMinWidthTypePercent?null:$0.getMinWidthValue();var $2=$0._computedMaxWidthTypePercent?null:$0.getMaxWidthValue();var $3=($0._computedWidthTypePercent||$0._computedWidthTypeFlex?null:$0.getWidthValue())||$0.getPreferredBoxWidth()||0;return qx.lang.Number.limit($3,$1,$2)+$0.getMarginLeft()+$0.getMarginRight();},computeChildNeededHeight:function($0){var $1=$0._computedMinHeightTypePercent?null:$0.getMinHeightValue();var $2=$0._computedMaxHeightTypePercent?null:$0.getMaxHeightValue();var $3=($0._computedHeightTypePercent||$0._computedHeightTypeFlex?null:$0.getHeightValue())||$0.getPreferredBoxHeight()||0;return qx.lang.Number.limit($3,$1,$2)+$0.getMarginTop()+$0.getMarginBottom();},computeChildrenNeededWidth_max:function(){for(var $0=0,$1=this.getWidget().getVisibleChildren(),$2=$1.length,$3=0;$0<$2;$0++){$3=Math.max($3,$1[$0].getNeededWidth());}return $3;},computeChildrenNeededHeight_max:function(){for(var $0=0,$1=this.getWidget().getVisibleChildren(),$2=$1.length,$3=0;$0<$2;$0++){$3=Math.max($3,$1[$0].getNeededHeight());}return $3;},computeChildrenNeededWidth_sum:function(){for(var $0=0,$1=this.getWidget().getVisibleChildren(),$2=$1.length,$3=0;$0<$2;$0++){$3+=$1[$0].getNeededWidth();}return $3;},computeChildrenNeededHeight_sum:function(){for(var $0=0,$1=this.getWidget().getVisibleChildren(),$2=$1.length,$3=0;$0<$2;$0++){$3+=$1[$0].getNeededHeight();}return $3;},computeChildrenNeededWidth:null,computeChildrenNeededHeight:null,updateSelfOnChildOuterWidthChange:function($0){},updateSelfOnChildOuterHeightChange:function($0){},updateChildOnInnerWidthChange:function($0){},updateChildOnInnerHeightChange:function($0){},updateSelfOnJobQueueFlush:function($0){},updateChildrenOnJobQueueFlush:function($0){},updateChildrenOnAddChild:function($0,$1){},updateChildrenOnRemoveChild:function($0,$1){},updateChildrenOnMoveChild:function($0,$1,$2){},flushChildrenQueue:function($0){var $1=this.getWidget();for(var $2 in $0){$1._layoutChild($0[$2]);}},layoutChild:function($0,$1){},layoutChild_sizeLimitX:qx.core.Variant.select($[1],{"mshtml":qx.lang.Function.returnTrue,"default":function($0,$1){if($1.minWidth){$0._computedMinWidthTypeNull?$0._resetRuntimeMinWidth():$0._renderRuntimeMinWidth($0.getMinWidthValue());}else if($1.initial&&!$0._computedMinWidthTypeNull){$0._renderRuntimeMinWidth($0.getMinWidthValue());}if($1.maxWidth){$0._computedMaxWidthTypeNull?$0._resetRuntimeMaxWidth():$0._renderRuntimeMaxWidth($0.getMaxWidthValue());}else if($1.initial&&!$0._computedMaxWidthTypeNull){$0._renderRuntimeMaxWidth($0.getMaxWidthValue());}}}),layoutChild_sizeLimitY:qx.core.Variant.select($[1],{"mshtml":qx.lang.Function.returnTrue,"default":function($0,$1){if($1.minHeight){$0._computedMinHeightTypeNull?$0._resetRuntimeMinHeight():$0._renderRuntimeMinHeight($0.getMinHeightValue());}else if($1.initial&&!$0._computedMinHeightTypeNull){$0._renderRuntimeMinHeight($0.getMinHeightValue());}if($1.maxHeight){$0._computedMaxHeightTypeNull?$0._resetRuntimeMaxHeight():$0._renderRuntimeMaxHeight($0.getMaxHeightValue());}else if($1.initial&&!$0._computedMaxHeightTypeNull){$0._renderRuntimeMaxHeight($0.getMaxHeightValue());}}}),layoutChild_marginX:function($0,$1){if($1.marginLeft||$1.initial){var $2=$0.getMarginLeft();$2!=null?$0._renderRuntimeMarginLeft($2):$0._resetRuntimeMarginLeft();}if($1.marginRight||$1.initial){var $3=$0.getMarginRight();$3!=null?$0._renderRuntimeMarginRight($3):$0._resetRuntimeMarginRight();}},layoutChild_marginY:function($0,$1){if($1.marginTop||$1.initial){var $2=$0.getMarginTop();$2!=null?$0._renderRuntimeMarginTop($2):$0._resetRuntimeMarginTop();}if($1.marginBottom||$1.initial){var $3=$0.getMarginBottom();$3!=null?$0._renderRuntimeMarginBottom($3):$0._resetRuntimeMarginBottom();}},layoutChild_sizeX_essentialWrapper:function($0,$1){return $0._isWidthEssential()?this.layoutChild_sizeX($0,$1):$0._resetRuntimeWidth();},layoutChild_sizeY_essentialWrapper:function($0,$1){return $0._isHeightEssential()?this.layoutChild_sizeY($0,$1):$0._resetRuntimeHeight();}},defer:function($0,$1){$1.computeChildrenNeededWidth=$1.computeChildrenNeededWidth_max;$1.computeChildrenNeededHeight=$1.computeChildrenNeededHeight_max;},destruct:function(){this._disposeFields($[1187]);}}); >+qx.Class.define($[795],{extend:qx.core.Object,construct:function($0){arguments.callee.base.call(this);this._widget=$0;},members:{getWidget:function(){return this._widget;},computeChildBoxWidth:function($0){return $0.getWidthValue()||$0._computeBoxWidthFallback();},computeChildBoxHeight:function($0){return $0.getHeightValue()||$0._computeBoxHeightFallback();},computeChildNeededWidth:function($0){var $1=$0._computedMinWidthTypePercent?null:$0.getMinWidthValue();var $2=$0._computedMaxWidthTypePercent?null:$0.getMaxWidthValue();var $3=($0._computedWidthTypePercent||$0._computedWidthTypeFlex?null:$0.getWidthValue())||$0.getPreferredBoxWidth()||0;return qx.lang.Number.limit($3,$1,$2)+$0.getMarginLeft()+$0.getMarginRight();},computeChildNeededHeight:function($0){var $1=$0._computedMinHeightTypePercent?null:$0.getMinHeightValue();var $2=$0._computedMaxHeightTypePercent?null:$0.getMaxHeightValue();var $3=($0._computedHeightTypePercent||$0._computedHeightTypeFlex?null:$0.getHeightValue())||$0.getPreferredBoxHeight()||0;return qx.lang.Number.limit($3,$1,$2)+$0.getMarginTop()+$0.getMarginBottom();},computeChildrenNeededWidth_max:function(){for(var $0=0,$1=this.getWidget().getVisibleChildren(),$2=$1.length,$3=0;$0<$2;$0++){$3=Math.max($3,$1[$0].getNeededWidth());}return $3;},computeChildrenNeededHeight_max:function(){for(var $0=0,$1=this.getWidget().getVisibleChildren(),$2=$1.length,$3=0;$0<$2;$0++){$3=Math.max($3,$1[$0].getNeededHeight());}return $3;},computeChildrenNeededWidth_sum:function(){for(var $0=0,$1=this.getWidget().getVisibleChildren(),$2=$1.length,$3=0;$0<$2;$0++){$3+=$1[$0].getNeededWidth();}return $3;},computeChildrenNeededHeight_sum:function(){for(var $0=0,$1=this.getWidget().getVisibleChildren(),$2=$1.length,$3=0;$0<$2;$0++){$3+=$1[$0].getNeededHeight();}return $3;},computeChildrenNeededWidth:null,computeChildrenNeededHeight:null,updateSelfOnChildOuterWidthChange:function($0){},updateSelfOnChildOuterHeightChange:function($0){},updateChildOnInnerWidthChange:function($0){},updateChildOnInnerHeightChange:function($0){},updateSelfOnJobQueueFlush:function($0){},updateChildrenOnJobQueueFlush:function($0){},updateChildrenOnAddChild:function($0,$1){},updateChildrenOnRemoveChild:function($0,$1){},updateChildrenOnMoveChild:function($0,$1,$2){},flushChildrenQueue:function($0){var $1=this.getWidget();for(var $2 in $0){$1._layoutChild($0[$2]);}},layoutChild:function($0,$1){},layoutChild_sizeLimitX:qx.core.Variant.select($[1],{"mshtml":qx.lang.Function.returnTrue,"default":function($0,$1){if($1.minWidth){$0._computedMinWidthTypeNull?$0._resetRuntimeMinWidth():$0._renderRuntimeMinWidth($0.getMinWidthValue());}else if($1.initial&&!$0._computedMinWidthTypeNull){$0._renderRuntimeMinWidth($0.getMinWidthValue());}if($1.maxWidth){$0._computedMaxWidthTypeNull?$0._resetRuntimeMaxWidth():$0._renderRuntimeMaxWidth($0.getMaxWidthValue());}else if($1.initial&&!$0._computedMaxWidthTypeNull){$0._renderRuntimeMaxWidth($0.getMaxWidthValue());}}}),layoutChild_sizeLimitY:qx.core.Variant.select($[1],{"mshtml":qx.lang.Function.returnTrue,"default":function($0,$1){if($1.minHeight){$0._computedMinHeightTypeNull?$0._resetRuntimeMinHeight():$0._renderRuntimeMinHeight($0.getMinHeightValue());}else if($1.initial&&!$0._computedMinHeightTypeNull){$0._renderRuntimeMinHeight($0.getMinHeightValue());}if($1.maxHeight){$0._computedMaxHeightTypeNull?$0._resetRuntimeMaxHeight():$0._renderRuntimeMaxHeight($0.getMaxHeightValue());}else if($1.initial&&!$0._computedMaxHeightTypeNull){$0._renderRuntimeMaxHeight($0.getMaxHeightValue());}}}),layoutChild_marginX:function($0,$1){if($1.marginLeft||$1.initial){var $2=$0.getMarginLeft();$2!=null?$0._renderRuntimeMarginLeft($2):$0._resetRuntimeMarginLeft();}if($1.marginRight||$1.initial){var $3=$0.getMarginRight();$3!=null?$0._renderRuntimeMarginRight($3):$0._resetRuntimeMarginRight();}},layoutChild_marginY:function($0,$1){if($1.marginTop||$1.initial){var $2=$0.getMarginTop();$2!=null?$0._renderRuntimeMarginTop($2):$0._resetRuntimeMarginTop();}if($1.marginBottom||$1.initial){var $3=$0.getMarginBottom();$3!=null?$0._renderRuntimeMarginBottom($3):$0._resetRuntimeMarginBottom();}},layoutChild_sizeX_essentialWrapper:function($0,$1){return $0._isWidthEssential()?this.layoutChild_sizeX($0,$1):$0._resetRuntimeWidth();},layoutChild_sizeY_essentialWrapper:function($0,$1){return $0._isHeightEssential()?this.layoutChild_sizeY($0,$1):$0._resetRuntimeHeight();}},defer:function($0,$1){$1.computeChildrenNeededWidth=$1.computeChildrenNeededWidth_max;$1.computeChildrenNeededHeight=$1.computeChildrenNeededHeight_max;},destruct:function(){this._disposeFields($[1186]);}}); > qx.Class.define($[1713],{statics:{isInRange:function($0,$1,$2){return $0>=$1&&$0<=$2;},isBetweenRange:function($0,$1,$2){return $0>$1&&$0<$2;},limit:function($0,$1,$2){if(typeof $2===$[50]&&$0>$2){return $2;}else if(typeof $1===$[50]&&$0<$1){return $1;}else{return $0;}}}}); > qx.Class.define($[1792],{extend:qx.ui.layout.impl.LayoutImpl,construct:function($0){arguments.callee.base.call(this,$0);},members:{computeChildBoxWidth:function($0){var $1=null;if($0._computedLeftTypeNull||$0._computedRightTypeNull){$1=$0.getWidthValue();}else if($0._hasParent){$1=this.getWidget().getInnerWidth()-$0.getLeftValue()-$0.getRightValue();}return $1||$0._computeBoxWidthFallback();},computeChildBoxHeight:function($0){var $1=null;if($0._computedTopTypeNull||$0._computedBottomTypeNull){$1=$0.getHeightValue();}else if($0._hasParent){$1=this.getWidget().getInnerHeight()-$0.getTopValue()-$0.getBottomValue();}return $1||$0._computeBoxHeightFallback();},computeChildNeededWidth:function($0){var $1=$0._computedLeftTypePercent?null:$0.getLeftValue();var $2=$0._computedRightTypePercent?null:$0.getRightValue();var $3=$0._computedMinWidthTypePercent?null:$0.getMinWidthValue();var $4=$0._computedMaxWidthTypePercent?null:$0.getMaxWidthValue();if($1!=null&&$2!=null){var $5=$0.getPreferredBoxWidth()||0;}else{var $5=($0._computedWidthTypePercent?null:$0.getWidthValue())||$0.getPreferredBoxWidth()||0;}return qx.lang.Number.limit($5,$3,$4)+$1+$2+$0.getMarginLeft()+$0.getMarginRight();},computeChildNeededHeight:function($0){var $1=$0._computedTopTypePercent?null:$0.getTopValue();var $2=$0._computedBottomTypePercent?null:$0.getBottomValue();var $3=$0._computedMinHeightTypePercent?null:$0.getMinHeightValue();var $4=$0._computedMaxHeightTypePercent?null:$0.getMaxHeightValue();if($1!=null&&$2!=null){var $5=$0.getPreferredBoxHeight()||0;}else{var $5=($0._computedHeightTypePercent?null:$0.getHeightValue())||$0.getPreferredBoxHeight()||0;}return qx.lang.Number.limit($5,$3,$4)+$1+$2+$0.getMarginTop()+$0.getMarginBottom();},updateChildOnInnerWidthChange:function($0){var $1=$0._recomputePercentX();var $2=$0._recomputeRangeX();return $1||$2;},updateChildOnInnerHeightChange:function($0){var $1=$0._recomputePercentY();var $2=$0._recomputeRangeY();return $1||$2;},layoutChild:function($0,$1){this.layoutChild_sizeX_essentialWrapper($0,$1);this.layoutChild_sizeY_essentialWrapper($0,$1);this.layoutChild_sizeLimitX($0,$1);this.layoutChild_sizeLimitY($0,$1);this.layoutChild_locationX($0,$1);this.layoutChild_locationY($0,$1);this.layoutChild_marginX($0,$1);this.layoutChild_marginY($0,$1);},layoutChild_sizeX:qx.core.Variant.select($[1],{"mshtml|opera|webkit":function($0,$1){if($1.initial||$1.width||$1.minWidth||$1.maxWidth||$1.left||$1.right){if($0._computedMinWidthTypeNull&&$0._computedWidthTypeNull&&$0._computedMaxWidthTypeNull&&!(!$0._computedLeftTypeNull&&!$0._computedRightTypeNull)){$0._resetRuntimeWidth();}else{$0._renderRuntimeWidth($0.getBoxWidth());}}},"default":function($0,$1){if($1.initial||$1.width){$0._computedWidthTypeNull?$0._resetRuntimeWidth():$0._renderRuntimeWidth($0.getWidthValue());}}}),layoutChild_sizeY:qx.core.Variant.select($[1],{"mshtml|opera|webkit":function($0,$1){if($1.initial||$1.height||$1.minHeight||$1.maxHeight||$1.top||$1.bottom){if($0._computedMinHeightTypeNull&&$0._computedHeightTypeNull&&$0._computedMaxHeightTypeNull&&!(!$0._computedTopTypeNull&&!$0._computedBottomTypeNull)){$0._resetRuntimeHeight();}else{$0._renderRuntimeHeight($0.getBoxHeight());}}},"default":function($0,$1){if($1.initial||$1.height){$0._computedHeightTypeNull?$0._resetRuntimeHeight():$0._renderRuntimeHeight($0.getHeightValue());}}}),layoutChild_locationX:function($0,$1){var $2=this.getWidget();if($1.initial||$1.left||$1.parentPaddingLeft){$0._computedLeftTypeNull?$0._computedRightTypeNull&&$2.getPaddingLeft()>0?$0._renderRuntimeLeft($2.getPaddingLeft()):$0._resetRuntimeLeft():$0._renderRuntimeLeft($0.getLeftValue()+$2.getPaddingLeft());}if($1.initial||$1.right||$1.parentPaddingRight){$0._computedRightTypeNull?$0._computedLeftTypeNull&&$2.getPaddingRight()>0?$0._renderRuntimeRight($2.getPaddingRight()):$0._resetRuntimeRight():$0._renderRuntimeRight($0.getRightValue()+$2.getPaddingRight());}},layoutChild_locationY:function($0,$1){var $2=this.getWidget();if($1.initial||$1.top||$1.parentPaddingTop){$0._computedTopTypeNull?$0._computedBottomTypeNull&&$2.getPaddingTop()>0?$0._renderRuntimeTop($2.getPaddingTop()):$0._resetRuntimeTop():$0._renderRuntimeTop($0.getTopValue()+$2.getPaddingTop());}if($1.initial||$1.bottom||$1.parentPaddingBottom){$0._computedBottomTypeNull?$0._computedTopTypeNull&&$2.getPaddingBottom()>0?$0._renderRuntimeBottom($2.getPaddingBottom()):$0._resetRuntimeBottom():$0._renderRuntimeBottom($0.getBottomValue()+$2.getPaddingBottom());}}}}); >-qx.Class.define($[1060],{type:$[18],extend:qx.ui.layout.CanvasLayout,construct:function(){arguments.callee.base.call(this);this._window=window;this._document=window.document;this.setElement(this._document.body);this._document.body.style.position=$[0];if(qx.core.Variant.isSet($[1],$[13])&&(qx.core.Client.getInstance().getMajor()<7)){try{document.execCommand($[1748],false,true);}catch(err){}}this._cachedInnerWidth=this._document.body.offsetWidth;this._cachedInnerHeight=this._document.body.offsetHeight;this.addEventListener($[364],this._onwindowresize);this._modalWidgets=[];this._modalNativeWindow=null;this.activateFocusRoot();this.initHideFocus();this.initSelectable();qx.event.handler.EventHandler.getInstance().setFocusRoot(this);},events:{"focus":$[4],"windowblur":$[4],"windowfocus":$[4],"windowresize":$[4]},properties:{appearance:{refine:true,init:$[934]},enableElementFocus:{refine:true,init:false},enabled:{refine:true,init:true},selectable:{refine:true,init:false},hideFocus:{refine:true,init:true},globalCursor:{check:$[6],nullable:true,themeable:true,apply:$[1044],event:$[1500]}},members:{_applyParent:qx.lang.Function.returnTrue,getTopLevelWidget:qx.lang.Function.returnThis,getWindowElement:function(){return this._window;},getDocumentElement:function(){return this._document;},getParent:qx.lang.Function.returnNull,getToolTip:qx.lang.Function.returnNull,isMaterialized:qx.lang.Function.returnTrue,isSeeable:qx.lang.Function.returnTrue,_isDisplayable:true,_hasParent:false,_initialLayoutDone:true,_getBlocker:function(){if(!this._blocker){this._blocker=new qx.ui.core.ClientDocumentBlocker;this._blocker.addEventListener($[12],this.blockHelper,this);this._blocker.addEventListener($[22],this.blockHelper,this);this.add(this._blocker);}return this._blocker;},blockHelper:function($0){if(this._modalNativeWindow){if(!this._modalNativeWindow.isClosed()){this._modalNativeWindow.focus();}else{this.debug("Window seems to be closed already! => Releasing Blocker");this.release(this._modalNativeWindow);}}},block:function($0){this._getBlocker().show();if(qx.Class.isDefined($[502])&&$0 instanceof qx.ui.window.Window){this._modalWidgets.push($0);var $1=$0.getZIndex();this._getBlocker().setZIndex($1);$0.setZIndex($1+1);}else if(qx.Class.isDefined($[528])&&$0 instanceof qx.client.NativeWindow){this._modalNativeWindow=$0;this._getBlocker().setZIndex(1e7);}},release:function($0){if($0){if(qx.Class.isDefined($[528])&&$0 instanceof qx.client.NativeWindow){this._modalNativeWindow=null;}else{qx.lang.Array.remove(this._modalWidgets,$0);}}var $1=this._modalWidgets.length;if($1==0){this._getBlocker().hide();}else{var $2=this._modalWidgets[$1-1];var $3=$2.getZIndex();this._getBlocker().setZIndex($3);$2.setZIndex($3+1);}},createStyleElement:function($0){return qx.html.StyleSheet.createElement($0);},addCssRule:function($0,$1,$2){return qx.html.StyleSheet.addRule($0,$1,$2);},removeCssRule:function($0,$1){return qx.html.StyleSheet.removeRule($0,$1);},removeAllCssRules:function($0){return qx.html.StyleSheet.removeAllRules($0);},_applyGlobalCursor:qx.core.Variant.select($[1],{"mshtml":function($0,$1){if($0==$[292]){$0=$[204];}if($1==$[292]){$1=$[204];}var $2,$3;var $4=this._cursorElements;if($4){for(var $5=0,$6=$4.length;$5<$6;$5++){$2=$4[$5];if($2.style.cursor==$1){$2.style.cursor=$2._oldCursor;$2._oldCursor=null;}}}var $7=document.all;var $4=this._cursorElements=[];if($0!=null&&$0!=$[0]&&$0!=$[3]){for(var $5=0,$6=$7.length;$5<$6;$5++){$2=$7[$5];$3=$2.style.cursor;if($3!=null&&$3!=$[0]&&$3!=$[3]){$2._oldCursor=$3;$2.style.cursor=$0;$4.push($2);}}document.body.style.cursor=$0;}else{document.body.style.cursor=$[0];}},"default":function($0,$1){if(!this._globalCursorStyleSheet){this._globalCursorStyleSheet=this.createStyleElement();}this.removeCssRule(this._globalCursorStyleSheet,$[140]);if($0){this.addCssRule(this._globalCursorStyleSheet,$[140],$[627]+$0+$[764]);}}}),_onwindowresize:function($0){if(qx.Class.isDefined($[166])){qx.ui.popup.PopupManager.getInstance().update();}this._recomputeInnerWidth();this._recomputeInnerHeight();qx.ui.core.Widget.flushGlobalQueues();},_computeInnerWidth:function(){return this._document.body.offsetWidth;},_computeInnerHeight:function(){return this._document.body.offsetHeight;}},settings:{"qx.enableApplicationLayout":true,"qx.boxModelCorrection":true},defer:function(){if(qx.core.Setting.get($[639])){var $0=qx.core.Client.getInstance().getEngineBoxSizingAttributes();var $1=$0.join($[367])+$[367];var $2=$0.join($[347])+$[347];qx.html.StyleSheet.createElement($[758]+$[1343]+$[1553]+$1+$[1433]+$[1762]+$2+$[277]);}if(qx.core.Setting.get($[1699])){qx.html.StyleSheet.createElement($[1770]);}},destruct:function(){this._disposeObjects($[491]);this._disposeFields($[1134],$[1156],$[1576],$[1447],$[1612]);}}); >-qx.Class.define($[1239],{extend:qx.ui.core.Widget,members:{renderPadding:function($0){if($0.paddingLeft){this._renderRuntimePaddingLeft(this.getPaddingLeft());}if($0.paddingRight){this._renderRuntimePaddingRight(this.getPaddingRight());}if($0.paddingTop){this._renderRuntimePaddingTop(this.getPaddingTop());}if($0.paddingBottom){this._renderRuntimePaddingBottom(this.getPaddingBottom());}},_renderContent:function(){if(this._computedWidthTypePixel){this._cachedPreferredInnerWidth=null;}else{this._invalidatePreferredInnerWidth();}if(this._computedHeightTypePixel){this._cachedPreferredInnerHeight=null;}else{this._invalidatePreferredInnerHeight();}if(this._initialLayoutDone){this.addToJobQueue($[82]);}},_layoutPost:function($0){if($0.initial||$0.load||$0.width||$0.height){this._postApply();}},_postApply:qx.lang.Function.returnTrue,_computeBoxWidthFallback:function(){return this.getPreferredBoxWidth();},_computeBoxHeightFallback:function(){return this.getPreferredBoxHeight();},_computePreferredInnerWidth:qx.lang.Function.returnZero,_computePreferredInnerHeight:qx.lang.Function.returnZero,_isWidthEssential:function(){if(!this._computedLeftTypeNull&&!this._computedRightTypeNull){return true;}if(!this._computedWidthTypeNull&&!this._computedWidthTypeAuto){return true;}if(!this._computedMinWidthTypeNull&&!this._computedMinWidthTypeAuto){return true;}if(!this._computedMaxWidthTypeNull&&!this._computedMaxWidthTypeAuto){return true;}if(this._borderElement){return true;}return false;},_isHeightEssential:function(){if(!this._computedTopTypeNull&&!this._computedBottomTypeNull){return true;}if(!this._computedHeightTypeNull&&!this._computedHeightTypeAuto){return true;}if(!this._computedMinHeightTypeNull&&!this._computedMinHeightTypeAuto){return true;}if(!this._computedMaxHeightTypeNull&&!this._computedMaxHeightTypeAuto){return true;}if(this._borderElement){return true;}return false;}}}); >-qx.Class.define($[1600],{extend:qx.ui.basic.Terminator,construct:function(){arguments.callee.base.call(this);this.initTop();this.initLeft();this.initWidth();this.initHeight();this.initZIndex();},properties:{appearance:{refine:true,init:$[730]},zIndex:{refine:true,init:1e8},top:{refine:true,init:0},left:{refine:true,init:0},width:{refine:true,init:$[56]},height:{refine:true,init:$[56]},display:{refine:true,init:false}},members:{getFocusRoot:function(){return null;}}}); >-qx.Class.define($[510],{extend:qx.core.Target,construct:function($0){arguments.callee.base.call(this);if($0!=null){this._attachedWidget=$0;}},statics:{mouseFocus:false},members:{getAttachedWidget:function(){return this._attachedWidget;},_onkeyevent:function($0,$1){if($1.getKeyIdentifier()!=$[188]){return;}$1.stopPropagation();$1.preventDefault();qx.event.handler.FocusHandler.mouseFocus=false;var $2=this.getAttachedWidget().getFocusedChild();if(!$1.isShiftPressed()){var $3=$2?this.getWidgetAfter($0,$2):this.getFirstWidget($0);}else{var $3=$2?this.getWidgetBefore($0,$2):this.getLastWidget($0);}if($3){$3.setFocused(true);$3._ontabfocus();}},compareTabOrder:function($0,$1){if($0==$1){return 0;}var $2=$0.getTabIndex();var $3=$1.getTabIndex();if($2!=$3){return $2-$3;}var $4=qx.html.Location.getPageBoxTop($0.getElement());var $5=qx.html.Location.getPageBoxTop($1.getElement());if($4!=$5){return $4-$5;}var $6=qx.html.Location.getPageBoxLeft($0.getElement());var $7=qx.html.Location.getPageBoxLeft($1.getElement());if($6!=$7){return $6-$7;}var $8=$0.getZIndex();var $9=$1.getZIndex();if($8!=$9){return $8-$9;}return 0;},getFirstWidget:function($0){return this._getFirst($0,null);},getLastWidget:function($0){return this._getLast($0,null);},getWidgetAfter:function($0,$1){if($0==$1){return this.getFirstWidget($0);}if($1.getAnonymous()){$1=$1.getParent();}if($1==null){return [];}var $2=[];this._getAllAfter($0,$1,$2);$2.sort(this.compareTabOrder);return $2.length>0?$2[0]:this.getFirstWidget($0);},getWidgetBefore:function($0,$1){if($0==$1){return this.getLastWidget($0);}if($1.getAnonymous()){$1=$1.getParent();}if($1==null){return [];}var $2=[];this._getAllBefore($0,$1,$2);$2.sort(this.compareTabOrder);var $3=$2.length;return $3>0?$2[$3-1]:this.getLastWidget($0);},_getAllAfter:function($0,$1,$2){var $3=$0.getChildren();var $4;var $5=$3.length;for(var $6=0;$6<$5;$6++){$4=$3[$6];if(!($4 instanceof qx.ui.core.Parent)&&!($4 instanceof qx.ui.basic.Terminator)){continue;}if($4.isFocusable()&&$4.getTabIndex()>0&&this.compareTabOrder($1,$4)<0){$2.push($3[$6]);}if(!$4.isFocusRoot()&&$4 instanceof qx.ui.core.Parent){this._getAllAfter($4,$1,$2);}}},_getAllBefore:function($0,$1,$2){var $3=$0.getChildren();var $4;var $5=$3.length;for(var $6=0;$6<$5;$6++){$4=$3[$6];if(!($4 instanceof qx.ui.core.Parent)&&!($4 instanceof qx.ui.basic.Terminator)){continue;}if($4.isFocusable()&&$4.getTabIndex()>0&&this.compareTabOrder($1,$4)>0){$2.push($4);}if(!$4.isFocusRoot()&&$4 instanceof qx.ui.core.Parent){this._getAllBefore($4,$1,$2);}}},_getFirst:function($0,$1){var $2=$0.getChildren();var $3;var $4=$2.length;for(var $5=0;$5<$4;$5++){$3=$2[$5];if(!($3 instanceof qx.ui.core.Parent)&&!($3 instanceof qx.ui.basic.Terminator)){continue;}if($3.isFocusable()&&$3.getTabIndex()>0){if($1==null||this.compareTabOrder($3,$1)<0){$1=$3;}}if(!$3.isFocusRoot()&&$3 instanceof qx.ui.core.Parent){$1=this._getFirst($3,$1);}}return $1;},_getLast:function($0,$1){var $2=$0.getChildren();var $3;var $4=$2.length;for(var $5=0;$5<$4;$5++){$3=$2[$5];if(!($3 instanceof qx.ui.core.Parent)&&!($3 instanceof qx.ui.basic.Terminator)){continue;}if($3.isFocusable()&&$3.getTabIndex()>0){if($1==null||this.compareTabOrder($3,$1)>0){$1=$3;}}if(!$3.isFocusRoot()&&$3 instanceof qx.ui.core.Parent){$1=this._getLast($3,$1);}}return $1;}},destruct:function(){this._disposeFields($[1158]);}}); >-qx.Class.define($[653],{type:$[18],extend:qx.core.Target,construct:function(){arguments.callee.base.call(this);this.__visible={};this.__all={};},members:{add:function($0){var $1=this.__all;if($1[$0]===undefined){$1[$0]=1;}else{$1[$0]++;}},remove:function($0){var $1=this.__all;if($1[$0]!==undefined){$1[$0]--;}if($1[$0]<=0){delete $1[$0];}},show:function($0){var $1=this.__visible;if($1[$0]===undefined){$1[$0]=1;}else{$1[$0]++;}},hide:function($0){var $1=this.__visible;if($1[$0]!==undefined){$1[$0]--;}if($1[$0]<=0){delete $1[$0];}},getVisibleImages:function(){var $0=this.__visible;var $1={};for(var $2 in $0){if($0[$2]>0){$1[$2]=true;}}return $1;},getHiddenImages:function(){var $0=this.__visible;var $1=this.__all;var $2={};for(var $3 in $1){if($0[$3]===undefined){$2[$3]=true;}}return $2;}},destruct:function(){this._disposeFields($[770],$[1420]);}}); >-qx.Class.define($[490],{extend:qx.core.Target,events:{"execute":$[98]},construct:function($0,$1){arguments.callee.base.call(this);this.__modifier={};this.__key=null;if($0!=null){this.setShortcut($0);}if($1!=null){this.warn("The use of keyCode in command is deprecated. Use keyIdentifier instead.");this.setKeyCode($1);}{};qx.event.handler.EventHandler.getInstance().addCommand(this);},properties:{enabled:{init:true,check:$[2],event:$[462]},shortcut:{check:$[6],apply:$[1482],nullable:true},keyCode:{check:$[19],nullable:true},keyIdentifier:{check:$[6],nullable:true}},members:{getKeyCode:function(){return this._keyCode;},setKeyCode:function($0){qx.log.Logger.deprecatedMethodWarning(arguments.callee);this._keyCode=$0;},execute:function($0){if(this.hasEventListeners($[128])){var $1=new qx.event.type.DataEvent($[128],$0);this.dispatchEvent($1,true);}return false;},_applyShortcut:function($0,$1){if($0){this.__modifier={};this.__key=null;var $2=$0.split(/[-+\s]+/);var $3=$2.length;for(var $4=0;$4<$3;$4++){var $5=this.__oldKeyNameToKeyIdentifier($2[$4]);switch($5){case $[125]:case $[142]:case $[223]:case $[136]:this.__modifier[$5]=true;break;case $[212]:var $6=$[1707]+$2[$4];this.error($6);throw $6;default:if(this.__key){var $6=$[1550];this.error($6);throw $6;}this.__key=$5;}}}return true;},matchesKeyEvent:function($0){var $1=this.__key||this.getKeyIdentifier();if(!$1&&!this.getKeyCode()){return ;}if((this.__modifier.Shift&&!$0.isShiftPressed())||(this.__modifier.Control&&!$0.isCtrlPressed())||(this.__modifier.Alt&&!$0.isAltPressed())){return false;}if($1){if($1==$0.getKeyIdentifier()){return true;}}else{if(this.getKeyCode()==$0.getKeyCode()){return true;}}return false;},__oldKeyNameToKeyIdentifierMap:{esc:$[129],ctrl:$[125],print:$[237],del:$[169],pageup:$[87],pagedown:$[99],numlock:$[127],numpad_0:$[41],numpad_1:$[482],numpad_2:$[418],numpad_3:$[432],numpad_4:$[385],numpad_5:$[402],numpad_6:$[348],numpad_7:$[363],numpad_8:$[346],numpad_9:$[172],numpad_divide:$[135],numpad_multiply:$[140],numpad_minus:$[137],numpad_plus:$[246]},__oldKeyNameToKeyIdentifier:function($0){var $1=qx.event.handler.KeyEventHandler.getInstance();var $2=$[212];if($1.isValidKeyIdentifier($0)){return $0;}if($0.length==1&&$0>=$[313]&&$0<=$[1149]){return $0.toUpperCase();}$0=$0.toLowerCase();if(!qx.event.type.KeyEvent.keys[$0]){return $[212];}var $2=this.__oldKeyNameToKeyIdentifierMap[$0];if($2){return $2;}else{return qx.lang.String.toFirstUp($0);}},toString:function(){var $0=this.getKeyCode();var $1=this.__key||this.getKeyIdentifier();var $2=[];for(var $3 in this.__modifier){$2.push(qx.locale.Key.getKeyName($[258],$3));}if($1){$2.push(qx.locale.Key.getKeyName($[258],$1));}if($0!=null){var $4=qx.event.type.KeyEvent.codes[$0];$2.push($4?qx.lang.String.toFirstUp($4):String($0));}return $2.join($[137]);}},destruct:function(){var $0=qx.event.handler.EventHandler.getInstance();if($0){$0.removeCommand(this);}this._disposeFields($[1655],$[1023]);}}); >-qx.Class.define($[689],{statics:{getKeyName:function($0,$1,$2){if($0!=$[258]&&$0!=$[1745]){throw new Error('format must be one of: "short", "full"');}var $3=$[1127]+$0+$[155]+$1;var $4=new qx.locale.LocalizedString($3,[],$2);if($4==$3){return qx.locale.Key._keyNames[$3]||$1;}else{return $4.toString();}}},defer:function($0,$1,$2){var $3={};var $4=qx.locale.Manager;$3[$4.marktr($[857])]=$[191];$3[$4.marktr($[1195])]=$[188];$3[$4.marktr($[938])]=$[84];$3[$4.marktr($[1523])]=$[46];$3[$4.marktr($[1780])]=$[142];$3[$4.marktr($[1783])]=$[1100];$3[$4.marktr($[1305])]=$[136];$3[$4.marktr($[952])]=$[1338];$3[$4.marktr($[1728])]=$[223];$3[$4.marktr($[1701])]=$[1314];$3[$4.marktr($[650])]=$[60];$3[$4.marktr($[1247])]=$[69];$3[$4.marktr($[657])]=$[64];$3[$4.marktr($[1178])]=$[76];$3[$4.marktr($[1730])]=$[1408];$3[$4.marktr($[1135])]=$[781];$3[$4.marktr($[726])]=$[162];$3[$4.marktr($[1101])]=$[150];$3[$4.marktr($[1034])]=$[800];$3[$4.marktr($[745])]=$[990];$3[$4.marktr($[648])]=$[1000];$3[$4.marktr($[1503])]=$[598];$3[$4.marktr($[899])]=$[266];$3[$4.marktr($[1731])]=$[248];$3[$4.marktr($[1566])]=$[286];$3[$4.marktr($[1565])]=$[279];$3[$4.marktr($[1764])]=$[191];$3[$4.marktr($[1138])]=$[769];$3[$4.marktr($[786])]=$[84];$3[$4.marktr($[1085])]=$[46];$3[$4.marktr($[1362])]=$[142];$3[$4.marktr($[766])]=$[125];$3[$4.marktr($[780])]=$[136];$3[$4.marktr($[1789])]=$[408];$3[$4.marktr($[614])]=$[223];$3[$4.marktr($[1015])]=$[129];$3[$4.marktr($[1625])]=$[60];$3[$4.marktr($[737])]=$[69];$3[$4.marktr($[1759])]=$[64];$3[$4.marktr($[777])]=$[76];$3[$4.marktr($[1445])]=$[87];$3[$4.marktr($[1013])]=$[99];$3[$4.marktr($[1368])]=$[162];$3[$4.marktr($[1595])]=$[150];$3[$4.marktr($[1249])]=$[203];$3[$4.marktr($[1394])]=$[169];$3[$4.marktr($[1365])]=$[127];$3[$4.marktr($[738])]=$[237];$3[$4.marktr($[964])]=$[266];$3[$4.marktr($[1440])]=$[248];$3[$4.marktr($[735])]=$[286];$3[$4.marktr($[1422])]=$[279];$0._keyNames=$3;}}); >-qx.Class.define($[1222],{extend:qx.core.Target,construct:function($0,$1,$2){arguments.callee.base.call(this);if($0 instanceof Array){this._list=qx.lang.Object.fromArray($0);}else{this._list=$0;}this._timer=new qx.client.Timer(qx.core.Setting.get($[1350]));this._timer.addEventListener($[85],this.__oninterval,this);if($1){this.addEventListener($[15],$1,$2||null);}},events:{"completed":$[4]},members:{_stopped:false,start:function(){if(qx.lang.Object.isEmpty(this._list)){this.createDispatchEvent($[15]);return;}for(var $0 in this._list){var $1=qx.io.image.PreloaderManager.getInstance().create(qx.io.Alias.getInstance().resolve($0));if($1.isErroneous()||$1.isLoaded()){delete this._list[$0];}else{$1._origSource=$0;$1.addEventListener($[82],this.__onload,this);$1.addEventListener($[95],this.__onerror,this);}}this._check();},__onload:function($0){if(this.getDisposed()){return;}delete this._list[$0.getTarget()._origSource];this._check();},__onerror:function($0){if(this.getDisposed()){return;}delete this._list[$0.getTarget()._origSource];this._check();},__oninterval:function($0){this.debug("Cannot preload: "+qx.lang.Object.getKeysAsString(this._list));this._stopped=true;this._timer.stop();this.createDispatchEvent($[15]);},_check:function(){if(this._stopped){return;}if(qx.lang.Object.isEmpty(this._list)){this._timer.stop();this.createDispatchEvent($[15]);}else{this._timer.restart();}}},settings:{"qx.preloaderTimeout":3000},destruct:function(){if(this._timer){this._timer.removeEventListener($[85],this.__oninterval,this);this._disposeObjects($[284]);}this._disposeFields($[336]);}}); >-qx.Class.define($[1790],{type:$[18],extend:qx.core.Object,construct:function(){arguments.callee.base.call(this);this._objects={};},members:{add:function($0){this._objects[$0.getUri()]=$0;},remove:function($0){delete this._objects[$0.getUri()];},has:function($0){return this._objects[$0]!=null;},get:function($0){return this._objects[$0];},create:function($0){if(this._objects[$0]){return this._objects[$0];}return new qx.io.image.Preloader($0);}},destruct:function(){this._disposeFields($[468]);}}); >-qx.Class.define($[415],{extend:qx.core.Target,events:{"load":$[4],"error":$[4]},construct:function($0){if(qx.io.image.PreloaderManager.getInstance().has($0)){this.debug("Reuse qx.io.image.Preloader in old-style!");this.debug("Please use qx.io.image.PreloaderManager.getInstance().create(source) instead!");return qx.io.image.PreloaderManager.getInstance().get($0);}arguments.callee.base.call(this);this._element=new Image;this._element.onload=qx.lang.Function.bind(this.__onload,this);this._element.onerror=qx.lang.Function.bind(this.__onerror,this);this._source=$0;this._element.src=$0;if(qx.core.Variant.isSet($[1],$[13])){this._isPng=/\.png$/i.test(this._element.nameProp);}qx.io.image.PreloaderManager.getInstance().add(this);},members:{_source:null,_isLoaded:false,_isErroneous:false,getUri:function(){return this._source;},getSource:function(){return this._source;},isLoaded:function(){return this._isLoaded;},isErroneous:function(){return this._isErroneous;},_isPng:false,getIsPng:function(){return this._isPng;},getWidth:qx.core.Variant.select($[1],{"gecko":function(){return this._element.naturalWidth;},"default":function(){return this._element.width;}}),getHeight:qx.core.Variant.select($[1],{"gecko":function(){return this._element.naturalHeight;},"default":function(){return this._element.height;}}),__onload:function(){if(this._isLoaded||this._isErroneous){return;}this._isLoaded=true;this._isErroneous=false;if(this.hasEventListeners($[82])){this.dispatchEvent(new qx.event.type.Event($[82]),true);}},__onerror:function(){if(this._isLoaded||this._isErroneous){return;}this.debug("Could not load: "+this._source);this._isLoaded=false;this._isErroneous=true;if(this.hasEventListeners($[95])){this.dispatchEvent(new qx.event.type.Event($[95]),true);}}},destruct:function(){if(this._element){this._element.onload=this._element.onerror=null;}this._disposeFields($[329],$[1737],$[1448],$[1586]);}}); >-qx.Class.define($[325],{extend:qx.core.Target,implement:qx.application.IApplication,properties:{uiReady:{check:$[2],init:false}},members:{main:function(){qx.ui.core.Widget.initScrollbarWidth();qx.theme.manager.Meta.getInstance().initialize();qx.event.handler.EventHandler.getInstance();qx.ui.core.ClientDocument.getInstance();qx.client.Timer.once(this._preload,this,0);},close:function(){},terminate:function(){},_preload:function(){this.debug("preloading visible images...");this.__preloader=new qx.io.image.PreloaderSystem(qx.io.image.Manager.getInstance().getVisibleImages(),this._preloaderDone,this);this.__preloader.start();},_preloaderDone:function(){this.setUiReady(true);this.__preloader.dispose();this.__preloader=null;var $0=(new Date).valueOf();qx.ui.core.Widget.flushGlobalQueues();this.info("render runtime: "+(new Date-$0)+"ms");qx.event.handler.EventHandler.getInstance().attachEvents();qx.client.Timer.once(this._postload,this,100);},_postload:function(){this.debug("preloading hidden images...");this.__postloader=new qx.io.image.PreloaderSystem(qx.io.image.Manager.getInstance().getHiddenImages(),this._postloaderDone,this);this.__postloader.start();},_postloaderDone:function(){this.__postloader.dispose();this.__postloader=null;}}}); >-qx.Class.define($[507],{extend:qx.util.manager.Object,properties:{activeWindow:{check:$[119],nullable:true,apply:$[1123]}},members:{_applyActiveWindow:function($0,$1){qx.ui.popup.PopupManager.getInstance().update();if($1){$1.setActive(false);}if($0){$0.setActive(true);}if($1&&$1.getModal()){$1.getTopLevelWidget().release($1);}if($0&&$0.getModal()){$0.getTopLevelWidget().block($0);}},update:function(){var $0,$1;var $2=this.getAll();for(var $1 in $2){$0=$2[$1];if(!$0.getAutoHide()){continue;}$0.hide();}},compareWindows:function($0,$1){switch($0.getWindowManager().getActiveWindow()){case $0:return 1;case $1:return -1;}return $0.getZIndex()-$1.getZIndex();},add:function($0){arguments.callee.base.call(this,$0);this.setActiveWindow($0);},remove:function($0){arguments.callee.base.call(this,$0);if(this.getActiveWindow()==$0){var $1=[];for(var $2 in this._objects){$1.push(this._objects[$2]);}var $3=$1.length;if($3==0){this.setActiveWindow(null);}else if($3==1){this.setActiveWindow($1[0]);}else if($3>1){$1.sort(this.compareWindows);this.setActiveWindow($1[$3-1]);}}}}}); >+qx.Class.define($[1060],{type:$[18],extend:qx.ui.layout.CanvasLayout,construct:function(){arguments.callee.base.call(this);this._window=window;this._document=window.document;this.setElement(this._document.body);this._document.body.style.position=$[0];if(qx.core.Variant.isSet($[1],$[13])&&(qx.core.Client.getInstance().getMajor()<7)){try{document.execCommand($[1748],false,true);}catch(err){}}this._cachedInnerWidth=this._document.body.offsetWidth;this._cachedInnerHeight=this._document.body.offsetHeight;this.addEventListener($[363],this._onwindowresize);this._modalWidgets=[];this._modalNativeWindow=null;this.activateFocusRoot();this.initHideFocus();this.initSelectable();qx.event.handler.EventHandler.getInstance().setFocusRoot(this);},events:{"focus":$[4],"windowblur":$[4],"windowfocus":$[4],"windowresize":$[4]},properties:{appearance:{refine:true,init:$[933]},enableElementFocus:{refine:true,init:false},enabled:{refine:true,init:true},selectable:{refine:true,init:false},hideFocus:{refine:true,init:true},globalCursor:{check:$[6],nullable:true,themeable:true,apply:$[1043],event:$[1499]}},members:{_applyParent:qx.lang.Function.returnTrue,getTopLevelWidget:qx.lang.Function.returnThis,getWindowElement:function(){return this._window;},getDocumentElement:function(){return this._document;},getParent:qx.lang.Function.returnNull,getToolTip:qx.lang.Function.returnNull,isMaterialized:qx.lang.Function.returnTrue,isSeeable:qx.lang.Function.returnTrue,_isDisplayable:true,_hasParent:false,_initialLayoutDone:true,_getBlocker:function(){if(!this._blocker){this._blocker=new qx.ui.core.ClientDocumentBlocker;this._blocker.addEventListener($[12],this.blockHelper,this);this._blocker.addEventListener($[22],this.blockHelper,this);this.add(this._blocker);}return this._blocker;},blockHelper:function($0){if(this._modalNativeWindow){if(!this._modalNativeWindow.isClosed()){this._modalNativeWindow.focus();}else{this.debug("Window seems to be closed already! => Releasing Blocker");this.release(this._modalNativeWindow);}}},block:function($0){this._getBlocker().show();if(qx.Class.isDefined($[503])&&$0 instanceof qx.ui.window.Window){this._modalWidgets.push($0);var $1=$0.getZIndex();this._getBlocker().setZIndex($1);$0.setZIndex($1+1);}else if(qx.Class.isDefined($[529])&&$0 instanceof qx.client.NativeWindow){this._modalNativeWindow=$0;this._getBlocker().setZIndex(1e7);}},release:function($0){if($0){if(qx.Class.isDefined($[529])&&$0 instanceof qx.client.NativeWindow){this._modalNativeWindow=null;}else{qx.lang.Array.remove(this._modalWidgets,$0);}}var $1=this._modalWidgets.length;if($1==0){this._getBlocker().hide();}else{var $2=this._modalWidgets[$1-1];var $3=$2.getZIndex();this._getBlocker().setZIndex($3);$2.setZIndex($3+1);}},createStyleElement:function($0){return qx.html.StyleSheet.createElement($0);},addCssRule:function($0,$1,$2){return qx.html.StyleSheet.addRule($0,$1,$2);},removeCssRule:function($0,$1){return qx.html.StyleSheet.removeRule($0,$1);},removeAllCssRules:function($0){return qx.html.StyleSheet.removeAllRules($0);},_applyGlobalCursor:qx.core.Variant.select($[1],{"mshtml":function($0,$1){if($0==$[292]){$0=$[204];}if($1==$[292]){$1=$[204];}var $2,$3;var $4=this._cursorElements;if($4){for(var $5=0,$6=$4.length;$5<$6;$5++){$2=$4[$5];if($2.style.cursor==$1){$2.style.cursor=$2._oldCursor;$2._oldCursor=null;}}}var $7=document.all;var $4=this._cursorElements=[];if($0!=null&&$0!=$[0]&&$0!=$[3]){for(var $5=0,$6=$7.length;$5<$6;$5++){$2=$7[$5];$3=$2.style.cursor;if($3!=null&&$3!=$[0]&&$3!=$[3]){$2._oldCursor=$3;$2.style.cursor=$0;$4.push($2);}}document.body.style.cursor=$0;}else{document.body.style.cursor=$[0];}},"default":function($0,$1){if(!this._globalCursorStyleSheet){this._globalCursorStyleSheet=this.createStyleElement();}this.removeCssRule(this._globalCursorStyleSheet,$[140]);if($0){this.addCssRule(this._globalCursorStyleSheet,$[140],$[627]+$0+$[765]);}}}),_onwindowresize:function($0){if(qx.Class.isDefined($[166])){qx.ui.popup.PopupManager.getInstance().update();}this._recomputeInnerWidth();this._recomputeInnerHeight();qx.ui.core.Widget.flushGlobalQueues();},_computeInnerWidth:function(){return this._document.body.offsetWidth;},_computeInnerHeight:function(){return this._document.body.offsetHeight;}},settings:{"qx.enableApplicationLayout":true,"qx.boxModelCorrection":true},defer:function(){if(qx.core.Setting.get($[639])){var $0=qx.core.Client.getInstance().getEngineBoxSizingAttributes();var $1=$0.join($[366])+$[366];var $2=$0.join($[346])+$[346];qx.html.StyleSheet.createElement($[759]+$[1343]+$[1553]+$1+$[1433]+$[1762]+$2+$[277]);}if(qx.core.Setting.get($[1699])){qx.html.StyleSheet.createElement($[1770]);}},destruct:function(){this._disposeObjects($[490]);this._disposeFields($[1133],$[1155],$[1575],$[1446],$[1611]);}}); >+qx.Class.define($[1238],{extend:qx.ui.core.Widget,members:{renderPadding:function($0){if($0.paddingLeft){this._renderRuntimePaddingLeft(this.getPaddingLeft());}if($0.paddingRight){this._renderRuntimePaddingRight(this.getPaddingRight());}if($0.paddingTop){this._renderRuntimePaddingTop(this.getPaddingTop());}if($0.paddingBottom){this._renderRuntimePaddingBottom(this.getPaddingBottom());}},_renderContent:function(){if(this._computedWidthTypePixel){this._cachedPreferredInnerWidth=null;}else{this._invalidatePreferredInnerWidth();}if(this._computedHeightTypePixel){this._cachedPreferredInnerHeight=null;}else{this._invalidatePreferredInnerHeight();}if(this._initialLayoutDone){this.addToJobQueue($[82]);}},_layoutPost:function($0){if($0.initial||$0.load||$0.width||$0.height){this._postApply();}},_postApply:qx.lang.Function.returnTrue,_computeBoxWidthFallback:function(){return this.getPreferredBoxWidth();},_computeBoxHeightFallback:function(){return this.getPreferredBoxHeight();},_computePreferredInnerWidth:qx.lang.Function.returnZero,_computePreferredInnerHeight:qx.lang.Function.returnZero,_isWidthEssential:function(){if(!this._computedLeftTypeNull&&!this._computedRightTypeNull){return true;}if(!this._computedWidthTypeNull&&!this._computedWidthTypeAuto){return true;}if(!this._computedMinWidthTypeNull&&!this._computedMinWidthTypeAuto){return true;}if(!this._computedMaxWidthTypeNull&&!this._computedMaxWidthTypeAuto){return true;}if(this._borderElement){return true;}return false;},_isHeightEssential:function(){if(!this._computedTopTypeNull&&!this._computedBottomTypeNull){return true;}if(!this._computedHeightTypeNull&&!this._computedHeightTypeAuto){return true;}if(!this._computedMinHeightTypeNull&&!this._computedMinHeightTypeAuto){return true;}if(!this._computedMaxHeightTypeNull&&!this._computedMaxHeightTypeAuto){return true;}if(this._borderElement){return true;}return false;}}}); >+qx.Class.define($[1599],{extend:qx.ui.basic.Terminator,construct:function(){arguments.callee.base.call(this);this.initTop();this.initLeft();this.initWidth();this.initHeight();this.initZIndex();},properties:{appearance:{refine:true,init:$[731]},zIndex:{refine:true,init:1e8},top:{refine:true,init:0},left:{refine:true,init:0},width:{refine:true,init:$[56]},height:{refine:true,init:$[56]},display:{refine:true,init:false}},members:{getFocusRoot:function(){return null;}}}); >+qx.Class.define($[1353],{type:$[18],extend:qx.util.manager.Object,construct:function(){arguments.callee.base.call(this);this.__cache={};this.__stateMap={};this.__stateMapLength=1;},properties:{appearanceTheme:{check:$[121],nullable:true,apply:$[1616],event:$[1800]}},members:{_applyAppearanceTheme:function($0,$1){this._currentTheme=$0;this._oldTheme=$1;if(qx.theme.manager.Meta.getInstance().getAutoSync()){this.syncAppearanceTheme();}},syncAppearanceTheme:function(){if(!this._currentTheme&&!this._oldTheme){return;}if(this._currentTheme){this.__cache[this._currentTheme.name]={};}var $0=qx.core.Init.getInstance().getApplication();if($0&&$0.getUiReady()){qx.ui.core.ClientDocument.getInstance()._recursiveAppearanceThemeUpdate(this._currentTheme,this._oldTheme);}if(this._oldTheme){delete this.__cache[this._oldTheme.name];}delete this._currentTheme;delete this._oldTheme;},styleFrom:function($0,$1){var $2=this.getAppearanceTheme();if(!$2){return;}return this.styleFromTheme($2,$0,$1);},styleFromTheme:function($0,$1,$2){var $3=$0.appearances[$1];if(!$3){{};return null;}if(!$3.style){if($3.include){return this.styleFromTheme($0,$3.include,$2);}else{return null;}}var $4=this.__stateMap;var $5=[$1];for(var $6 in $2){if(!$4[$6]){$4[$6]=this.__stateMapLength++;}$5[$4[$6]]=true;}var $7=$5.join();var $8=this.__cache[$0.name];if($8&&$8[$7]!==undefined){return $8[$7];}var $9;if($3.include||$3.base){var $a=$3.style($2);var $b;if($3.include){$b=this.styleFromTheme($0,$3.include,$2);}$9={};if($3.base){var $c=this.styleFromTheme($3.base,$1,$2);if($3.include){for(var $d in $c){if($b[$d]===undefined&&$a[$d]===undefined){$9[$d]=$c[$d];}}}else{for(var $d in $c){if($a[$d]===undefined){$9[$d]=$c[$d];}}}}if($3.include){for(var $d in $b){if($a[$d]===undefined){$9[$d]=$b[$d];}}}for(var $d in $a){$9[$d]=$a[$d];}}else{$9=$3.style($2);}if($8){$8[$7]=$9||null;}return $9||null;}},destruct:function(){this._disposeFields($[711],$[1377]);}}); >+qx.Class.define($[1562],{type:$[18],extend:qx.core.Target,properties:{theme:{check:$[121],nullable:true,apply:$[1020],event:$[1031]},autoSync:{check:$[2],init:true,apply:$[854]}},members:{_applyTheme:function($0,$1){var $2=null;var $3=null;var $4=null;var $5=null;var $6=null;var $7=null;if($0){$2=$0.meta.color||null;$3=$0.meta.border||null;$4=$0.meta.font||null;$5=$0.meta.widget||null;$6=$0.meta.icon||null;$7=$0.meta.appearance||null;}if($1){this.setAutoSync(false);}var $8=qx.theme.manager.Color.getInstance();var $9=qx.theme.manager.Border.getInstance();var $a=qx.theme.manager.Font.getInstance();var $b=qx.theme.manager.Icon.getInstance();var $c=qx.theme.manager.Widget.getInstance();var $d=qx.theme.manager.Appearance.getInstance();$8.setColorTheme($2);$9.setBorderTheme($3);$a.setFontTheme($4);$c.setWidgetTheme($5);$b.setIconTheme($6);$d.setAppearanceTheme($7);if($1){this.setAutoSync(true);}},_applyAutoSync:function($0,$1){if($0){qx.theme.manager.Appearance.getInstance().syncAppearanceTheme();qx.theme.manager.Icon.getInstance().syncIconTheme();qx.theme.manager.Widget.getInstance().syncWidgetTheme();qx.theme.manager.Font.getInstance().syncFontTheme();qx.theme.manager.Border.getInstance().syncBorderTheme();qx.theme.manager.Color.getInstance().syncColorTheme();}},initialize:function(){var $0=qx.core.Setting;var $1,$2;$1=$0.get($[1515]);if($1){$2=qx.Theme.getByName($1);if(!$2){throw new Error("The meta theme to use is not available: "+$1);}this.setTheme($2);}$1=$0.get($[1078]);if($1){$2=qx.Theme.getByName($1);if(!$2){throw new Error("The color theme to use is not available: "+$1);}qx.theme.manager.Color.getInstance().setColorTheme($2);}$1=$0.get($[1526]);if($1){$2=qx.Theme.getByName($1);if(!$2){throw new Error("The border theme to use is not available: "+$1);}qx.theme.manager.Border.getInstance().setBorderTheme($2);}$1=$0.get($[798]);if($1){$2=qx.Theme.getByName($1);if(!$2){throw new Error("The font theme to use is not available: "+$1);}qx.theme.manager.Font.getInstance().setFontTheme($2);}$1=$0.get($[1652]);if($1){$2=qx.Theme.getByName($1);if(!$2){throw new Error("The widget theme to use is not available: "+$1);}qx.theme.manager.Widget.getInstance().setWidgetTheme($2);}$1=$0.get($[606]);if($1){$2=qx.Theme.getByName($1);if(!$2){throw new Error("The icon theme to use is not available: "+$1);}qx.theme.manager.Icon.getInstance().setIconTheme($2);}$1=$0.get($[974]);if($1){$2=qx.Theme.getByName($1);if(!$2){throw new Error("The appearance theme to use is not available: "+$1);}qx.theme.manager.Appearance.getInstance().setAppearanceTheme($2);}},__queryThemes:function($0){var $1=qx.Theme.getAll();var $2;var $3=[];for(var $4 in $1){$2=$1[$4];if($2[$0]){$3.push($2);}}return $3;},getMetaThemes:function(){return this.__queryThemes($[349]);},getColorThemes:function(){return this.__queryThemes($[392]);},getBorderThemes:function(){return this.__queryThemes($[520]);},getFontThemes:function(){return this.__queryThemes($[465]);},getWidgetThemes:function(){return this.__queryThemes($[524]);},getIconThemes:function(){return this.__queryThemes($[485]);},getAppearanceThemes:function(){return this.__queryThemes($[319]);}},settings:{"qx.theme":$[1115],"qx.colorTheme":null,"qx.borderTheme":null,"qx.fontTheme":null,"qx.widgetTheme":null,"qx.appearanceTheme":null,"qx.iconTheme":null}}); >+qx.Class.define($[913],{type:$[18],extend:qx.util.manager.Value,properties:{colorTheme:{check:$[121],nullable:true,apply:$[1559],event:$[828]}},members:{_applyColorTheme:function($0){var $1=this._dynamic={};if($0){var $2=$0.colors;var $3=qx.util.ColorUtil;var $4;for(var $5 in $2){$4=$2[$5];if(typeof $4===$[8]){if(!$3.isCssString($4)){throw new Error("Could not parse color: "+$4);}}else if($4 instanceof Array){$4=$3.rgbToRgbString($4);}else{throw new Error("Could not parse color: "+$4);}$1[$5]=$4;}}if(qx.theme.manager.Meta.getInstance().getAutoSync()){this.syncColorTheme();}},syncColorTheme:function(){this._updateObjects();}}}); >+qx.Class.define($[1488],{statics:{REGEXP:{hex3:/^#([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex6:/^#([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,rgb:/^rgb\(\s*([0-9]{1,3}\.{0,1}[0-9]*)\s*,\s*([0-9]{1,3}\.{0,1}[0-9]*)\s*,\s*([0-9]{1,3}\.{0,1}[0-9]*)\s*\)$/},SYSTEM:{activeborder:true,activecaption:true,appworkspace:true,background:true,buttonface:true,buttonhighlight:true,buttonshadow:true,buttontext:true,captiontext:true,graytext:true,highlight:true,highlighttext:true,inactiveborder:true,inactivecaption:true,inactivecaptiontext:true,infobackground:true,infotext:true,menu:true,menutext:true,scrollbar:true,threeddarkshadow:true,threedface:true,threedhighlight:true,threedlightshadow:true,threedshadow:true,window:true,windowframe:true,windowtext:true},NAMED:{black:[0,0,0],silver:[192,192,192],gray:[128,128,128],white:[255,255,255],maroon:[128,0,0],red:[255,0,0],purple:[128,0,128],fuchsia:[255,0,255],green:[0,128,0],lime:[0,255,0],olive:[128,128,0],yellow:[255,255,0],navy:[0,0,128],blue:[0,0,255],teal:[0,128,128],aqua:[0,255,255],transparent:[-1,-1,-1],grey:[128,128,128],magenta:[255,0,255],orange:[255,165,0],brown:[165,42,42]},isNamedColor:function($0){return this.NAMED[$0]!==undefined;},isSystemColor:function($0){return this.SYSTEM[$0]!==undefined;},isThemedColor:function($0){return qx.theme.manager.Color.getInstance().isDynamic($0);},stringToRgb:function($0){if(this.isThemedColor($0)){var $0=qx.theme.manager.Color.getInstance().resolveDynamic($0);}if(this.isNamedColor($0)){return this.NAMED[$0];}else if(this.isSystemColor($0)){throw new Error("Could not convert system colors to RGB: "+$0);}else if(this.isRgbString($0)){return this.__rgbStringToRgb();}else if(this.isHex3String($0)){return this.__hex3StringToRgb();}else if(this.isHex6String($0)){return this.__hex6StringToRgb();}throw new Error("Could not parse color: "+$0);},cssStringToRgb:function($0){if(this.isNamedColor($0)){return this.NAMED[$0];}else if(this.isSystemColor($0)){throw new Error("Could not convert system colors to RGB: "+$0);}else if(this.isRgbString($0)){return this.__rgbStringToRgb();}else if(this.isHex3String($0)){return this.__hex3StringToRgb();}else if(this.isHex6String($0)){return this.__hex6StringToRgb();}throw new Error("Could not parse color: "+$0);},stringToRgbString:function($0){return this.rgbToRgbString(this.stringToRgb($0));},rgbToRgbString:function($0){return $[1102]+$0[0]+$[101]+$0[1]+$[101]+$0[2]+$[145];},rgbToHexString:function($0){return (qx.lang.String.pad($0[0].toString(16).toUpperCase(),2)+qx.lang.String.pad($0[1].toString(16).toUpperCase(),2)+qx.lang.String.pad($0[2].toString(16).toUpperCase(),2));},isValid:function($0){return this.isThemedColor($0)||this.isCssString($0);},isCssString:function($0){return this.isSystemColor($0)||this.isNamedColor($0)||this.isHex3String($0)||this.isHex6String($0)||this.isRgbString($0);},isHex3String:function($0){return this.REGEXP.hex3.test($0);},isHex6String:function($0){return this.REGEXP.hex6.test($0);},isRgbString:function($0){return this.REGEXP.rgb.test($0);},__rgbStringToRgb:function(){var $0=parseInt(RegExp.$1);var $1=parseInt(RegExp.$2);var $2=parseInt(RegExp.$3);return [$0,$1,$2];},__hex3StringToRgb:function(){var $0=parseInt(RegExp.$1,16)*17;var $1=parseInt(RegExp.$2,16)*17;var $2=parseInt(RegExp.$3,16)*17;return [$0,$1,$2];},__hex6StringToRgb:function(){var $0=(parseInt(RegExp.$1,16)*16)+parseInt(RegExp.$2,16);var $1=(parseInt(RegExp.$3,16)*16)+parseInt(RegExp.$4,16);var $2=(parseInt(RegExp.$5,16)*16)+parseInt(RegExp.$6,16);return [$0,$1,$2];},hex3StringToRgb:function($0){if(this.isHex3String($0)){return this.__hex3StringToRgb($0);}throw new Error("Invalid hex3 value: "+$0);},hex6StringToRgb:function($0){if(this.isHex6String($0)){return this.__hex6StringToRgb($0);}throw new Error("Invalid hex6 value: "+$0);},hexStringToRgb:function($0){if(this.isHex3String($0)){return this.__hex3StringToRgb($0);}if(this.isHex6String($0)){return this.__hex6StringToRgb($0);}throw new Error("Invalid hex value: "+$0);},rgbToHsb:function($0){var $1,$2,$3;var $4=$0[0];var $5=$0[1];var $6=$0[2];var $7=($4>$5)?$4:$5;if($6>$7){$7=$6;}var $8=($4<$5)?$4:$5;if($6<$8){$8=$6;}$3=$7/255.0;if($7!=0){$2=($7-$8)/$7;}else{$2=0;}if($2==0){$1=0;}else{var $9=($7-$4)/($7-$8);var $a=($7-$5)/($7-$8);var $b=($7-$6)/($7-$8);if($4==$7){$1=$b-$a;}else if($5==$7){$1=2.0+$9-$b;}else{$1=4.0+$a-$9;}$1=$1/6.0;if($1<0){$1=$1+1.0;}}return [Math.round($1*360),Math.round($2*100),Math.round($3*100)];},hsbToRgb:function($0){var $1,$2,$3,$4,$5;var $6=$0[0]/360;var $7=$0[1]/100;var $8=$0[2]/100;if($6>=1.0){$6%=1.0;}if($7>1.0){$7=1.0;}if($8>1.0){$8=1.0;}var $9=Math.floor(255*$8);var $a={};if($7==0.0){$a.red=$a.green=$a.blue=$9;}else{$6*=6.0;$1=Math.floor($6);$2=$6-$1;$3=Math.floor($9*(1.0-$7));$4=Math.floor($9*(1.0-($7*$2)));$5=Math.floor($9*(1.0-($7*(1.0-$2))));switch($1){case 0:$a.red=$9;$a.green=$5;$a.blue=$3;break;case 1:$a.red=$4;$a.green=$9;$a.blue=$3;break;case 2:$a.red=$3;$a.green=$9;$a.blue=$5;break;case 3:$a.red=$3;$a.green=$4;$a.blue=$9;break;case 4:$a.red=$5;$a.green=$3;$a.blue=$9;break;case 5:$a.red=$9;$a.green=$3;$a.blue=$4;break;}}return $a;},randomColor:function(){var $0=Math.round(Math.random()*255);var $1=Math.round(Math.random()*255);var $2=Math.round(Math.random()*255);return this.rgbToRgbString([$0,$1,$2]);}}}); >+qx.Class.define($[1006],{type:$[18],extend:qx.util.manager.Value,properties:{borderTheme:{check:$[121],nullable:true,apply:$[876],event:$[587]}},members:{resolveDynamic:function($0){return $0 instanceof qx.ui.core.Border?$0:this._dynamic[$0];},isDynamic:function($0){return $0&&($0 instanceof qx.ui.core.Border||this._dynamic[$0]!==undefined);},syncBorderTheme:function(){this._updateObjects();},updateObjectsEdge:function($0,$1){var $2=this._registry;var $3=this._dynamic;var $4;for(var $5 in $2){$4=$2[$5];if($4.value===$0||$3[$4.value]===$0){$4.callback.call($4.object,$0,$1);}}},_applyBorderTheme:function($0){var $1=this._dynamic;for(var $2 in $1){if($1[$2].themed){$1[$2].dispose();delete $1[$2];}}if($0){var $3=$0.borders;var $4=qx.ui.core.Border;for(var $2 in $3){$1[$2]=(new $4).set($3[$2]);$1[$2].themed=true;}}if(qx.theme.manager.Meta.getInstance().getAutoSync()){this.syncBorderTheme();}}}}); >+qx.Class.define($[1181],{extend:qx.core.Object,construct:function($0,$1,$2){arguments.callee.base.call(this);if($0!==undefined){this.setWidth($0);}if($1!==undefined){this.setStyle($1);}if($2!==undefined){this.setColor($2);}},statics:{fromString:function($0){var $1=new qx.ui.core.Border;var $2=$0.split(/\s+/);var $3,$4;for(var $5=0,$6=$2.length;$5<$6;$5++){$3=$2[$5];switch($3){case $[170]:case $[196]:case $[192]:case $[190]:case $[42]:case $[167]:case $[187]:case $[171]:case $[7]:$1.setStyle($3);break;default:$4=parseInt($3);if($4===$3||qx.lang.String.contains($3,$[38])){$1.setWidth($4);}else{$1.setColor($3);}break;}}return $1;},fromConfig:function($0){var $1=new qx.ui.core.Border;$1.set($0);return $1;},resetTop:qx.core.Variant.select($[1],{"gecko":function($0){var $1=$0._style;if($1){$1.borderTopWidth=$1.borderTopStyle=$1.borderTopColor=$1.MozBorderTopColors=$[0];}},"default":function($0){var $1=$0._style;if($1){$1.borderTopWidth=$1.borderTopStyle=$1.borderTopColor=$[0];}$1=$0._innerStyle;if($1){$1.borderTopWidth=$1.borderTopStyle=$1.borderTopColor=$[0];}}}),resetRight:qx.core.Variant.select($[1],{"gecko":function($0){var $1=$0._style;if($1){$1.borderRightWidth=$1.borderRightStyle=$1.borderRightColor=$1.MozBorderRightColors=$[0];}},"default":function($0){var $1=$0._style;if($1){$1.borderRightWidth=$1.borderRightStyle=$1.borderRightColor=$[0];}$1=$0._innerStyle;if($1){$1.borderRightWidth=$1.borderRightStyle=$1.borderRightColor=$[0];}}}),resetBottom:qx.core.Variant.select($[1],{"gecko":function($0){var $1=$0._style;if($1){$1.borderBottomWidth=$1.borderBottomStyle=$1.borderBottomColor=$1.MozBorderBottomColors=$[0];}},"default":function($0){var $1=$0._style;if($1){$1.borderBottomWidth=$1.borderBottomStyle=$1.borderBottomColor=$[0];}$1=$0._innerStyle;if($1){$1.borderBottomWidth=$1.borderBottomStyle=$1.borderBottomColor=$[0];}}}),resetLeft:qx.core.Variant.select($[1],{"gecko":function($0){var $1=$0._style;if($1){$1.borderLeftWidth=$1.borderLeftStyle=$1.borderLeftColor=$1.MozBorderLeftColors=$[0];}},"default":function($0){var $1=$0._style;if($1){$1.borderLeftWidth=$1.borderLeftStyle=$1.borderLeftColor=$[0];}$1=$0._innerStyle;if($1){$1.borderLeftWidth=$1.borderLeftStyle=$1.borderLeftColor=$[0];}}})},properties:{widthTop:{check:$[19],init:0,apply:$[1451]},widthRight:{check:$[19],init:0,apply:$[1131]},widthBottom:{check:$[19],init:0,apply:$[1242]},widthLeft:{check:$[19],init:0,apply:$[1678]},styleTop:{nullable:true,check:[$[42],$[167],$[187],$[171],$[190],$[192],$[196],$[170]],init:$[42],apply:$[1640]},styleRight:{nullable:true,check:[$[42],$[167],$[187],$[171],$[190],$[192],$[196],$[170]],init:$[42],apply:$[1230]},styleBottom:{nullable:true,check:[$[42],$[167],$[187],$[171],$[190],$[192],$[196],$[170]],init:$[42],apply:$[1044]},styleLeft:{nullable:true,check:[$[42],$[167],$[187],$[171],$[190],$[192],$[196],$[170]],init:$[42],apply:$[1437]},colorTop:{nullable:true,check:$[90],apply:$[1769]},colorRight:{nullable:true,check:$[90],apply:$[1239]},colorBottom:{nullable:true,check:$[90],apply:$[743]},colorLeft:{nullable:true,check:$[90],apply:$[1308]},colorInnerTop:{nullable:true,check:$[90],apply:$[1430]},colorInnerRight:{nullable:true,check:$[90],apply:$[1331]},colorInnerBottom:{nullable:true,check:$[90],apply:$[967]},colorInnerLeft:{nullable:true,check:$[90],apply:$[1756]},left:{group:[$[527],$[360],$[531]]},right:{group:[$[447],$[357],$[377]]},top:{group:[$[474],$[337],$[418]]},bottom:{group:[$[406],$[446],$[401]]},width:{group:[$[474],$[447],$[406],$[527]],mode:$[103]},style:{group:[$[337],$[357],$[446],$[360]],mode:$[103]},color:{group:[$[418],$[377],$[401],$[531]],mode:$[103]},innerColor:{group:[$[1581],$[1736],$[927],$[1664]],mode:$[103]}},members:{_applyWidthTop:function($0,$1){this.__widthTop=$0==null?$[52]:$0+$[38];this.__computeComplexTop();this.__informManager($[20]);},_applyWidthRight:function($0,$1){this.__widthRight=$0==null?$[52]:$0+$[38];this.__computeComplexRight();this.__informManager($[9]);},_applyWidthBottom:function($0,$1){this.__widthBottom=$0==null?$[52]:$0+$[38];this.__computeComplexBottom();this.__informManager($[17]);},_applyWidthLeft:function($0,$1){this.__widthLeft=$0==null?$[52]:$0+$[38];this.__computeComplexLeft();this.__informManager($[11]);},_applyColorTop:function($0,$1){qx.theme.manager.Color.getInstance().connect(this._changeColorTop,this,$0);},_applyColorRight:function($0,$1){qx.theme.manager.Color.getInstance().connect(this._changeColorRight,this,$0);},_applyColorBottom:function($0,$1){qx.theme.manager.Color.getInstance().connect(this._changeColorBottom,this,$0);},_applyColorLeft:function($0,$1){qx.theme.manager.Color.getInstance().connect(this._changeColorLeft,this,$0);},_applyColorInnerTop:function($0,$1){qx.theme.manager.Color.getInstance().connect(this._changeColorInnerTop,this,$0);},_applyColorInnerRight:function($0,$1){qx.theme.manager.Color.getInstance().connect(this._changeColorInnerRight,this,$0);},_applyColorInnerBottom:function($0,$1){qx.theme.manager.Color.getInstance().connect(this._changeColorInnerBottom,this,$0);},_applyColorInnerLeft:function($0,$1){qx.theme.manager.Color.getInstance().connect(this._changeColorInnerLeft,this,$0);},_applyStyleTop:function(){this.__informManager($[20]);},_applyStyleRight:function(){this.__informManager($[9]);},_applyStyleBottom:function(){this.__informManager($[17]);},_applyStyleLeft:function(){this.__informManager($[11]);},_changeColorTop:function($0){this.__colorTop=$0;this.__computeComplexTop();this.__informManager($[20]);},_changeColorInnerTop:function($0){this.__colorInnerTop=$0;this.__computeComplexTop();this.__informManager($[20]);},_changeColorRight:function($0){this.__colorRight=$0;this.__computeComplexRight();this.__informManager($[9]);},_changeColorInnerRight:function($0){this.__colorInnerRight=$0;this.__computeComplexRight();this.__informManager($[9]);},_changeColorBottom:function($0){this.__colorBottom=$0;this.__computeComplexBottom();this.__informManager($[17]);},_changeColorInnerBottom:function($0){this.__colorInnerBottom=$0;this.__computeComplexBottom();this.__informManager($[17]);},_changeColorLeft:function($0){this.__colorLeft=$0;this.__computeComplexLeft();this.__informManager($[11]);},_changeColorInnerLeft:function($0){this.__colorInnerLeft=$0;this.__computeComplexLeft();this.__informManager($[11]);},__computeComplexTop:function(){this.__complexTop=this.getWidthTop()===2&&this.__colorInnerTop!=null&&this.__colorTop!=this.__colorInnerTop;},__computeComplexRight:function(){this.__complexRight=this.getWidthRight()===2&&this.__colorInnerRight!=null&&this.__colorRight!=this.__colorInnerRight;},__computeComplexBottom:function(){this.__complexBottom=this.getWidthBottom()===2&&this.__colorInnerBottom!=null&&this.__colorBottom!=this.__colorInnerBottom;},__computeComplexLeft:function(){this.__complexLeft=this.getWidthLeft()===2&&this.__colorInnerLeft!=null&&this.__colorLeft!=this.__colorInnerLeft;},__informManager:function($0){qx.theme.manager.Border.getInstance().updateObjectsEdge(this,$0);},renderTop:qx.core.Variant.select($[1],{"gecko":function($0){var $1=$0._style;$1.borderTopWidth=this.__widthTop||$[52];$1.borderTopColor=this.__colorTop||$[0];if(this.__complexTop){$1.borderTopStyle=$[42];$1.MozBorderTopColors=this.__colorTop+$[83]+this.__colorInnerTop;}else{$1.borderTopStyle=this.getStyleTop()||$[7];$1.MozBorderTopColors=$[0];}},"default":function($0){var $1=$0._style;var $2=$0._innerStyle;if(this.__complexTop){if(!$2){$0.prepareEnhancedBorder();$2=$0._innerStyle;}$1.borderTopWidth=$2.borderTopWidth=$[161];$1.borderTopStyle=$2.borderTopStyle=$[42];$1.borderTopColor=this.__colorTop;$2.borderTopColor=this.__colorInnerTop;}else{$1.borderTopWidth=this.__widthTop||$[52];$1.borderTopStyle=this.getStyleTop()||$[7];$1.borderTopColor=this.__colorTop||$[0];if($2){$2.borderTopWidth=$2.borderTopStyle=$2.borderTopColor=$[0];}}}}),renderRight:qx.core.Variant.select($[1],{"gecko":function($0){var $1=$0._style;$1.borderRightWidth=this.__widthRight||$[52];$1.borderRightColor=this.__colorRight||$[0];if(this.__complexRight){$1.borderRightStyle=$[42];$1.MozBorderRightColors=this.__colorRight+$[83]+this.__colorInnerRight;}else{$1.borderRightStyle=this.getStyleRight()||$[7];$1.MozBorderRightColors=$[0];}},"default":function($0){var $1=$0._style;var $2=$0._innerStyle;if(this.__complexRight){if(!$2){$0.prepareEnhancedBorder();$2=$0._innerStyle;}$1.borderRightWidth=$2.borderRightWidth=$[161];$1.borderRightStyle=$2.borderRightStyle=$[42];$1.borderRightColor=this.__colorRight;$2.borderRightColor=this.__colorInnerRight;}else{$1.borderRightWidth=this.__widthRight||$[52];$1.borderRightStyle=this.getStyleRight()||$[7];$1.borderRightColor=this.__colorRight||$[0];if($2){$2.borderRightWidth=$2.borderRightStyle=$2.borderRightColor=$[0];}}}}),renderBottom:qx.core.Variant.select($[1],{"gecko":function($0){var $1=$0._style;$1.borderBottomWidth=this.__widthBottom||$[52];$1.borderBottomColor=this.__colorBottom||$[0];if(this.__complexBottom){$1.borderBottomStyle=$[42];$1.MozBorderBottomColors=this.__colorBottom+$[83]+this.__colorInnerBottom;}else{$1.borderBottomStyle=this.getStyleBottom()||$[7];$1.MozBorderBottomColors=$[0];}},"default":function($0){var $1=$0._style;var $2=$0._innerStyle;if(this.__complexBottom){if(!$2){$0.prepareEnhancedBorder();$2=$0._innerStyle;}$1.borderBottomWidth=$2.borderBottomWidth=$[161];$1.borderBottomStyle=$2.borderBottomStyle=$[42];$1.borderBottomColor=this.__colorBottom;$2.borderBottomColor=this.__colorInnerBottom;}else{$1.borderBottomWidth=this.__widthBottom||$[52];$1.borderBottomStyle=this.getStyleBottom()||$[7];$1.borderBottomColor=this.__colorBottom||$[0];if($2){$2.borderBottomWidth=$2.borderBottomStyle=$2.borderBottomColor=$[0];}}}}),renderLeft:qx.core.Variant.select($[1],{"gecko":function($0){var $1=$0._style;$1.borderLeftWidth=this.__widthLeft||$[52];$1.borderLeftColor=this.__colorLeft||$[0];if(this.__complexLeft){$1.borderLeftStyle=$[42];$1.MozBorderLeftColors=this.__colorLeft+$[83]+this.__colorInnerLeft;}else{$1.borderLeftStyle=this.getStyleLeft()||$[7];$1.MozBorderLeftColors=$[0];}},"default":function($0){var $1=$0._style;var $2=$0._innerStyle;if(this.__complexLeft){if(!$2){$0.prepareEnhancedBorder();$2=$0._innerStyle;}$1.borderLeftWidth=$2.borderLeftWidth=$[161];$1.borderLeftStyle=$2.borderLeftStyle=$[42];$1.borderLeftColor=this.__colorLeft;$2.borderLeftColor=this.__colorInnerLeft;}else{$1.borderLeftWidth=this.__widthLeft||$[52];$1.borderLeftStyle=this.getStyleLeft()||$[7];$1.borderLeftColor=this.__colorLeft||$[0];if($2){$2.borderLeftWidth=$2.borderLeftStyle=$2.borderLeftColor=$[0];}}}})}}); >+qx.Class.define($[1786],{type:$[18],extend:qx.util.manager.Value,properties:{fontTheme:{check:$[121],nullable:true,apply:$[892],event:$[1171]}},members:{resolveDynamic:function($0){return $0 instanceof qx.ui.core.Font?$0:this._dynamic[$0];},isDynamic:function($0){return $0&&($0 instanceof qx.ui.core.Font||this._dynamic[$0]!==undefined);},syncFontTheme:function(){this._updateObjects();},_applyFontTheme:function($0){var $1=this._dynamic;for(var $2 in $1){if($1[$2].themed){$1[$2].dispose();delete $1[$2];}}if($0){var $3=$0.fonts;var $4=qx.ui.core.Font;for(var $2 in $3){$1[$2]=(new $4).set($3[$2]);$1[$2].themed=true;}}if(qx.theme.manager.Meta.getInstance().getAutoSync()){this.syncFontTheme();}}}}); >+qx.Class.define($[793],{extend:qx.core.Object,construct:function($0,$1){arguments.callee.base.call(this);if($0!==undefined){this.setSize($0);}if($1!==undefined){this.setFamily($1);}},statics:{fromString:function($0){var $1=new qx.ui.core.Font;var $2=$0.split(/\s+/);var $3=[];var $4;for(var $5=0;$5<$2.length;$5++){switch($4=$2[$5]){case $[278]:$1.setBold(true);break;case $[374]:$1.setItalic(true);break;case $[304]:$1.setDecoration($[304]);break;default:var $6=parseInt($4);if($6==$4||qx.lang.String.contains($4,$[38])){$1.setSize($6);}else{$3.push($4);}break;}}if($3.length>0){$1.setFamily($3);}return $1;},fromConfig:function($0){var $1=new qx.ui.core.Font;$1.set($0);return $1;},reset:function($0){$0.removeStyleProperty($[473]);$0.removeStyleProperty($[210]);$0.removeStyleProperty($[380]);$0.removeStyleProperty($[333]);$0.removeStyleProperty($[467]);},resetElement:function($0){var $1=$0.style;$1.fontFamily=$[0];$1.fontSize=$[0];$1.fontWeight=$[0];$1.fontStyle=$[0];$1.textDecoration=$[0];},resetStyle:function($0){$0.fontFamily=$[0];$0.fontSize=$[0];$0.fontWeight=$[0];$0.fontStyle=$[0];$0.textDecoration=$[0];}},properties:{size:{check:$[5],nullable:true,apply:$[590]},family:{check:$[414],nullable:true,apply:$[1520]},bold:{check:$[2],nullable:true,apply:$[1765]},italic:{check:$[2],nullable:true,apply:$[1247]},decoration:{check:[$[304],$[666],$[1725]],nullable:true,apply:$[1732]}},members:{__size:null,__family:null,__bold:null,__italic:null,__decoration:null,_applySize:function($0,$1){this.__size=$0===null?null:$0+$[38];},_applyFamily:function($0,$1){var $2=$[0];for(var $3=0,$4=$0.length;$3<$4;$3++){if($0[$3].indexOf($[83])>0){$2+=$[109]+$0[$3]+$[109];}else{$2+=$0[$3];}if($3!=$4-1){$2+=$[101];}}this.__family=$2;},_applyBold:function($0,$1){this.__bold=$0===null?null:$0?$[278]:$[156];},_applyItalic:function($0,$1){this.__italic=$0===null?null:$0?$[374]:$[156];},_applyDecoration:function($0,$1){this.__decoration=$0===null?null:$0;},render:function($0){$0.setStyleProperty($[473],this.__family);$0.setStyleProperty($[210],this.__size);$0.setStyleProperty($[380],this.__bold);$0.setStyleProperty($[333],this.__italic);$0.setStyleProperty($[467],this.__decoration);},renderStyle:function($0){$0.fontFamily=this.__family||$[0];$0.fontSize=this.__size||$[0];$0.fontWeight=this.__bold||$[0];$0.fontStyle=this.__italic||$[0];$0.textDecoration=this.__decoration||$[0];},renderElement:function($0){var $1=$0.style;$1.fontFamily=this.__family||$[0];$1.fontSize=this.__size||$[0];$1.fontWeight=this.__bold||$[0];$1.fontStyle=this.__italic||$[0];$1.textDecoration=this.__decoration||$[0];},generateStyle:function(){return (this.__family?$[1440]+this.__family.replace(/\"/g,$[334])+$[79]:$[0])+(this.__size?$[903]+this.__size+$[79]:$[0])+(this.__weight?$[1460]+this.__weight+$[79]:$[0])+(this.__style?$[1106]+this.__style+$[79]:$[0])+(this.__decoration?$[1297]+this.__decoration+$[79]:$[0]);}}}); >+qx.Class.define($[997],{type:$[18],extend:qx.core.Target,properties:{iconTheme:{check:$[121],nullable:true,apply:$[1130],event:$[1403]}},members:{_applyIconTheme:function($0,$1){if(qx.theme.manager.Meta.getInstance().getAutoSync()){this.syncIconTheme();}},syncIconTheme:function(){var $0=this.getIconTheme();var $1=qx.io.Alias.getInstance();$0?$1.add($[133],$0.icons.uri):$1.remove($[133]);}}}); >+qx.Class.define($[695],{type:$[18],extend:qx.util.manager.Value,construct:function(){arguments.callee.base.call(this);this._aliases={};this.add($[178],qx.core.Setting.get($[288])+$[814]);},members:{_preprocess:function($0){var $1=this._dynamic;if($1[$0]===false){return $0;}else if($1[$0]===undefined){if($0.charAt(0)===$[135]||$0.charAt(0)===$[24]||$0.indexOf($[1079])===0||$0.indexOf($[850])===$[41]||$0.indexOf($[1361])===0){$1[$0]=false;return $0;}var $2=$0.substring(0,$0.indexOf($[135]));var $3=this._aliases[$2];if($3!==undefined){$1[$0]=$3+$0.substring($2.length);}}return $0;},add:function($0,$1){this._aliases[$0]=$1;var $2=this._dynamic;var $3=this._registry;var $4;var $5={};for(var $6 in $2){if($6.substring(0,$6.indexOf($[135]))===$0){$2[$6]=$1+$6.substring($0.length);$5[$6]=true;}}for(var $7 in $3){$4=$3[$7];if($5[$4.value]){$4.callback.call($4.object,$2[$4.value]);}}},remove:function($0){delete this._aliases[$0];},resolve:function($0){if($0!==null){$0=this._preprocess($0);}return this._dynamic[$0]||$0;}},destruct:function(){this._disposeFields($[881]);}}); >+qx.Class.define($[1435],{type:$[18],extend:qx.core.Target,properties:{widgetTheme:{check:$[121],nullable:true,apply:$[1342],event:$[1766]}},members:{_applyWidgetTheme:function($0,$1){if(qx.theme.manager.Meta.getInstance().getAutoSync()){this.syncWidgetTheme();}},syncWidgetTheme:function(){var $0=this.getWidgetTheme();var $1=qx.io.Alias.getInstance();$0?$1.add($[216],$0.widgets.uri):$1.remove($[216]);}}}); >+qx.Class.define($[511],{extend:qx.core.Target,construct:function($0){arguments.callee.base.call(this);if($0!=null){this._attachedWidget=$0;}},statics:{mouseFocus:false},members:{getAttachedWidget:function(){return this._attachedWidget;},_onkeyevent:function($0,$1){if($1.getKeyIdentifier()!=$[188]){return;}$1.stopPropagation();$1.preventDefault();qx.event.handler.FocusHandler.mouseFocus=false;var $2=this.getAttachedWidget().getFocusedChild();if(!$1.isShiftPressed()){var $3=$2?this.getWidgetAfter($0,$2):this.getFirstWidget($0);}else{var $3=$2?this.getWidgetBefore($0,$2):this.getLastWidget($0);}if($3){$3.setFocused(true);$3._ontabfocus();}},compareTabOrder:function($0,$1){if($0==$1){return 0;}var $2=$0.getTabIndex();var $3=$1.getTabIndex();if($2!=$3){return $2-$3;}var $4=qx.html.Location.getPageBoxTop($0.getElement());var $5=qx.html.Location.getPageBoxTop($1.getElement());if($4!=$5){return $4-$5;}var $6=qx.html.Location.getPageBoxLeft($0.getElement());var $7=qx.html.Location.getPageBoxLeft($1.getElement());if($6!=$7){return $6-$7;}var $8=$0.getZIndex();var $9=$1.getZIndex();if($8!=$9){return $8-$9;}return 0;},getFirstWidget:function($0){return this._getFirst($0,null);},getLastWidget:function($0){return this._getLast($0,null);},getWidgetAfter:function($0,$1){if($0==$1){return this.getFirstWidget($0);}if($1.getAnonymous()){$1=$1.getParent();}if($1==null){return [];}var $2=[];this._getAllAfter($0,$1,$2);$2.sort(this.compareTabOrder);return $2.length>0?$2[0]:this.getFirstWidget($0);},getWidgetBefore:function($0,$1){if($0==$1){return this.getLastWidget($0);}if($1.getAnonymous()){$1=$1.getParent();}if($1==null){return [];}var $2=[];this._getAllBefore($0,$1,$2);$2.sort(this.compareTabOrder);var $3=$2.length;return $3>0?$2[$3-1]:this.getLastWidget($0);},_getAllAfter:function($0,$1,$2){var $3=$0.getChildren();var $4;var $5=$3.length;for(var $6=0;$6<$5;$6++){$4=$3[$6];if(!($4 instanceof qx.ui.core.Parent)&&!($4 instanceof qx.ui.basic.Terminator)){continue;}if($4.isFocusable()&&$4.getTabIndex()>0&&this.compareTabOrder($1,$4)<0){$2.push($3[$6]);}if(!$4.isFocusRoot()&&$4 instanceof qx.ui.core.Parent){this._getAllAfter($4,$1,$2);}}},_getAllBefore:function($0,$1,$2){var $3=$0.getChildren();var $4;var $5=$3.length;for(var $6=0;$6<$5;$6++){$4=$3[$6];if(!($4 instanceof qx.ui.core.Parent)&&!($4 instanceof qx.ui.basic.Terminator)){continue;}if($4.isFocusable()&&$4.getTabIndex()>0&&this.compareTabOrder($1,$4)>0){$2.push($4);}if(!$4.isFocusRoot()&&$4 instanceof qx.ui.core.Parent){this._getAllBefore($4,$1,$2);}}},_getFirst:function($0,$1){var $2=$0.getChildren();var $3;var $4=$2.length;for(var $5=0;$5<$4;$5++){$3=$2[$5];if(!($3 instanceof qx.ui.core.Parent)&&!($3 instanceof qx.ui.basic.Terminator)){continue;}if($3.isFocusable()&&$3.getTabIndex()>0){if($1==null||this.compareTabOrder($3,$1)<0){$1=$3;}}if(!$3.isFocusRoot()&&$3 instanceof qx.ui.core.Parent){$1=this._getFirst($3,$1);}}return $1;},_getLast:function($0,$1){var $2=$0.getChildren();var $3;var $4=$2.length;for(var $5=0;$5<$4;$5++){$3=$2[$5];if(!($3 instanceof qx.ui.core.Parent)&&!($3 instanceof qx.ui.basic.Terminator)){continue;}if($3.isFocusable()&&$3.getTabIndex()>0){if($1==null||this.compareTabOrder($3,$1)>0){$1=$3;}}if(!$3.isFocusRoot()&&$3 instanceof qx.ui.core.Parent){$1=this._getLast($3,$1);}}return $1;}},destruct:function(){this._disposeFields($[1157]);}}); >+qx.Class.define($[1290],{statics:{getPageOuterLeft:function($0){return qx.html.Location.getPageBoxLeft($0)-qx.html.Style.getMarginLeft($0);},getPageOuterTop:function($0){return qx.html.Location.getPageBoxTop($0)-qx.html.Style.getMarginTop($0);},getPageOuterRight:function($0){return qx.html.Location.getPageBoxRight($0)+qx.html.Style.getMarginRight($0);},getPageOuterBottom:function($0){return qx.html.Location.getPageBoxBottom($0)+qx.html.Style.getMarginBottom($0);},getClientOuterLeft:function($0){return qx.html.Location.getClientBoxLeft($0)-qx.html.Style.getMarginLeft($0);},getClientOuterTop:function($0){return qx.html.Location.getClientBoxTop($0)-qx.html.Style.getMarginTop($0);},getClientOuterRight:function($0){return qx.html.Location.getClientBoxRight($0)+qx.html.Style.getMarginRight($0);},getClientOuterBottom:function($0){return qx.html.Location.getClientBoxBottom($0)+qx.html.Style.getMarginBottom($0);},getClientBoxLeft:qx.core.Variant.select($[1],{"mshtml":function($0){return $0.getBoundingClientRect().left;},"gecko":function($0){return qx.html.Location.getClientAreaLeft($0)-qx.html.Style.getBorderLeft($0);},"default":function($0){var $1=$0.offsetLeft;while($0.tagName.toLowerCase()!=$[126]){$0=$0.offsetParent;$1+=$0.offsetLeft-$0.scrollLeft;}return $1;}}),getClientBoxTop:qx.core.Variant.select($[1],{"mshtml":function($0){return $0.getBoundingClientRect().top;},"gecko":function($0){return qx.html.Location.getClientAreaTop($0)-qx.html.Style.getBorderTop($0);},"default":function($0){var $1=$0.offsetTop;while($0.tagName.toLowerCase()!=$[126]){$0=$0.offsetParent;$1+=$0.offsetTop-$0.scrollTop;}return $1;}}),getClientBoxRight:qx.core.Variant.select($[1],{"mshtml":function($0){return $0.getBoundingClientRect().right;},"default":function($0){return qx.html.Location.getClientBoxLeft($0)+qx.html.Dimension.getBoxWidth($0);}}),getClientBoxBottom:qx.core.Variant.select($[1],{"mshtml":function($0){return $0.getBoundingClientRect().bottom;},"default":function($0){return qx.html.Location.getClientBoxTop($0)+qx.html.Dimension.getBoxHeight($0);}}),getPageBoxLeft:qx.core.Variant.select($[1],{"mshtml":function($0){return qx.html.Location.getClientBoxLeft($0)+qx.html.Scroll.getLeftSum($0);},"gecko":function($0){return qx.html.Location.getPageAreaLeft($0)-qx.html.Style.getBorderLeft($0);},"default":function($0){var $1=$0.offsetLeft;while($0.tagName.toLowerCase()!=$[126]){$0=$0.offsetParent;$1+=$0.offsetLeft;}return $1;}}),getPageBoxTop:qx.core.Variant.select($[1],{"mshtml":function($0){return qx.html.Location.getClientBoxTop($0)+qx.html.Scroll.getTopSum($0);},"gecko":function($0){return qx.html.Location.getPageAreaTop($0)-qx.html.Style.getBorderTop($0);},"default":function($0){var $1=$0.offsetTop;while($0.tagName.toLowerCase()!=$[126]){$0=$0.offsetParent;$1+=$0.offsetTop;}return $1;}}),getPageBoxRight:qx.core.Variant.select($[1],{"mshtml":function($0){return qx.html.Location.getClientBoxRight($0)+qx.html.Scroll.getLeftSum($0);},"default":function($0){return qx.html.Location.getPageBoxLeft($0)+qx.html.Dimension.getBoxWidth($0);}}),getPageBoxBottom:qx.core.Variant.select($[1],{"mshtml":function($0){return qx.html.Location.getClientBoxBottom($0)+qx.html.Scroll.getTopSum($0);},"default":function($0){return qx.html.Location.getPageBoxTop($0)+qx.html.Dimension.getBoxHeight($0);}}),getClientAreaLeft:qx.core.Variant.select($[1],{"gecko":function($0){return qx.html.Location.getPageAreaLeft($0)-qx.html.Scroll.getLeftSum($0);},"default":function($0){return qx.html.Location.getClientBoxLeft($0)+qx.html.Style.getBorderLeft($0);}}),getClientAreaTop:qx.core.Variant.select($[1],{"gecko":function($0){return qx.html.Location.getPageAreaTop($0)-qx.html.Scroll.getTopSum($0);},"default":function($0){return qx.html.Location.getClientBoxTop($0)+qx.html.Style.getBorderTop($0);}}),getClientAreaRight:function($0){return qx.html.Location.getClientAreaLeft($0)+qx.html.Dimension.getAreaWidth($0);},getClientAreaBottom:function($0){return qx.html.Location.getClientAreaTop($0)+qx.html.Dimension.getAreaHeight($0);},getPageAreaLeft:qx.core.Variant.select($[1],{"gecko":function($0){return $0.ownerDocument.getBoxObjectFor($0).x;},"default":function($0){return qx.html.Location.getPageBoxLeft($0)+qx.html.Style.getBorderLeft($0);}}),getPageAreaTop:qx.core.Variant.select($[1],{"gecko":function($0){return $0.ownerDocument.getBoxObjectFor($0).y;},"default":function($0){return qx.html.Location.getPageBoxTop($0)+qx.html.Style.getBorderTop($0);}}),getPageAreaRight:function($0){return qx.html.Location.getPageAreaLeft($0)+qx.html.Dimension.getAreaWidth($0);},getPageAreaBottom:function($0){return qx.html.Location.getPageAreaTop($0)+qx.html.Dimension.getAreaHeight($0);},getClientInnerLeft:function($0){return qx.html.Location.getClientAreaLeft($0)+qx.html.Style.getPaddingLeft($0);},getClientInnerTop:function($0){return qx.html.Location.getClientAreaTop($0)+qx.html.Style.getPaddingTop($0);},getClientInnerRight:function($0){return qx.html.Location.getClientInnerLeft($0)+qx.html.Dimension.getInnerWidth($0);},getClientInnerBottom:function($0){return qx.html.Location.getClientInnerTop($0)+qx.html.Dimension.getInnerHeight($0);},getPageInnerLeft:function($0){return qx.html.Location.getPageAreaLeft($0)+qx.html.Style.getPaddingLeft($0);},getPageInnerTop:function($0){return qx.html.Location.getPageAreaTop($0)+qx.html.Style.getPaddingTop($0);},getPageInnerRight:function($0){return qx.html.Location.getPageInnerLeft($0)+qx.html.Dimension.getInnerWidth($0);},getPageInnerBottom:function($0){return qx.html.Location.getPageInnerTop($0)+qx.html.Dimension.getInnerHeight($0);},getScreenBoxLeft:qx.core.Variant.select($[1],{"gecko":function($0){var $1=0;var $2=$0.parentNode;while($2.nodeType==1){$1+=$2.scrollLeft;$2=$2.parentNode;}return $0.ownerDocument.getBoxObjectFor($0).screenX-$1;},"default":function($0){return qx.html.Location.getScreenDocumentLeft($0)+qx.html.Location.getPageBoxLeft($0);}}),getScreenBoxTop:qx.core.Variant.select($[1],{"gecko":function($0){var $1=0;var $2=$0.parentNode;while($2.nodeType==1){$1+=$2.scrollTop;$2=$2.parentNode;}return $0.ownerDocument.getBoxObjectFor($0).screenY-$1;},"default":function($0){return qx.html.Location.getScreenDocumentTop($0)+qx.html.Location.getPageBoxTop($0);}}),getScreenBoxRight:function($0){return qx.html.Location.getScreenBoxLeft($0)+qx.html.Dimension.getBoxWidth($0);},getScreenBoxBottom:function($0){return qx.html.Location.getScreenBoxTop($0)+qx.html.Dimension.getBoxHeight($0);},getScreenOuterLeft:function($0){return qx.html.Location.getScreenBoxLeft($0)-qx.html.Style.getMarginLeft($0);},getScreenOuterTop:function($0){return qx.html.Location.getScreenBoxTop($0)-qx.html.Style.getMarginTop($0);},getScreenOuterRight:function($0){return qx.html.Location.getScreenBoxRight($0)+qx.html.Style.getMarginRight($0);},getScreenOuterBottom:function($0){return qx.html.Location.getScreenBoxBottom($0)+qx.html.Style.getMarginBottom($0);},getScreenAreaLeft:function($0){return qx.html.Location.getScreenBoxLeft($0)+qx.html.Dimension.getInsetLeft($0);},getScreenAreaTop:function($0){return qx.html.Location.getScreenBoxTop($0)+qx.html.Dimension.getInsetTop($0);},getScreenAreaRight:function($0){return qx.html.Location.getScreenBoxRight($0)-qx.html.Dimension.getInsetRight($0);},getScreenAreaBottom:function($0){return qx.html.Location.getScreenBoxBottom($0)-qx.html.Dimension.getInsetBottom($0);},getScreenInnerLeft:function($0){return qx.html.Location.getScreenAreaLeft($0)+qx.html.Style.getPaddingLeft($0);},getScreenInnerTop:function($0){return qx.html.Location.getScreenAreaTop($0)+qx.html.Style.getPaddingTop($0);},getScreenInnerRight:function($0){return qx.html.Location.getScreenAreaRight($0)-qx.html.Style.getPaddingRight($0);},getScreenInnerBottom:function($0){return qx.html.Location.getScreenAreaBottom($0)-qx.html.Style.getPaddingBottom($0);},getScreenDocumentLeft:qx.core.Variant.select($[1],{"gecko":function($0){return qx.html.Location.getScreenOuterLeft($0.ownerDocument.body);},"default":function($0){return $0.document.parentWindow.screenLeft;}}),getScreenDocumentTop:qx.core.Variant.select($[1],{"gecko":function($0){return qx.html.Location.getScreenOuterTop($0.ownerDocument.body);},"default":function($0){return $0.document.parentWindow.screenTop;}}),getScreenDocumentRight:qx.core.Variant.select($[1],{"gecko":function($0){return qx.html.Location.getScreenOuterRight($0.ownerDocument.body);},"default":function($0){}}),getScreenDocumentBottom:qx.core.Variant.select($[1],{"gecko":function($0){return qx.html.Location.getScreenOuterBottom($0.ownerDocument.body);},"default":function($0){}})}}); >+qx.Class.define($[757],{statics:{getLeftSum:function($0){var $1=0;var $2=$0.parentNode;while($2.nodeType==1){$1+=$2.scrollLeft;$2=$2.parentNode;}return $1;},getTopSum:function($0){var $1=0;var $2=$0.parentNode;while($2.nodeType==1){$1+=$2.scrollTop;$2=$2.parentNode;}return $1;}}}); >+qx.Class.define($[653],{type:$[18],extend:qx.core.Target,construct:function(){arguments.callee.base.call(this);this.__visible={};this.__all={};},members:{add:function($0){var $1=this.__all;if($1[$0]===undefined){$1[$0]=1;}else{$1[$0]++;}},remove:function($0){var $1=this.__all;if($1[$0]!==undefined){$1[$0]--;}if($1[$0]<=0){delete $1[$0];}},show:function($0){var $1=this.__visible;if($1[$0]===undefined){$1[$0]=1;}else{$1[$0]++;}},hide:function($0){var $1=this.__visible;if($1[$0]!==undefined){$1[$0]--;}if($1[$0]<=0){delete $1[$0];}},getVisibleImages:function(){var $0=this.__visible;var $1={};for(var $2 in $0){if($0[$2]>0){$1[$2]=true;}}return $1;},getHiddenImages:function(){var $0=this.__visible;var $1=this.__all;var $2={};for(var $3 in $1){if($0[$3]===undefined){$2[$3]=true;}}return $2;}},destruct:function(){this._disposeFields($[771],$[1421]);}}); >+qx.Class.define($[868],{statics:{getLeft:qx.core.Variant.select($[1],{"gecko":function($0){var $1=$0.offsetLeft;var $2=$0.parentNode;var $3=qx.html.Style.getStyleProperty($0,$[78]);var $4=qx.html.Style.getStyleProperty($2,$[78]);if($3!=$[54]&&$3!=$[123]){$1-=qx.html.Style.getBorderLeft($2);}if($4!=$[54]&&$4!=$[123]){while($2){$2=$2.parentNode;if(!$2||typeof $2.tagName!==$[8]){break;}var $5=qx.html.Style.getStyleProperty($2,$[78]);if($5==$[54]||$5==$[123]){$1-=qx.html.Style.getBorderLeft($2)+qx.html.Style.getPaddingLeft($2);break;}}}return $1;},"default":function($0){return $0.offsetLeft;}}),getTop:qx.core.Variant.select($[1],{"gecko":function($0){var $1=$0.offsetTop;var $2=$0.parentNode;var $3=qx.html.Style.getStyleProperty($0,$[78]);var $4=qx.html.Style.getStyleProperty($2,$[78]);if($3!=$[54]&&$3!=$[123]){$1-=qx.html.Style.getBorderTop($2);}if($4!=$[54]&&$4!=$[123]){while($2){$2=$2.parentNode;if(!$2||typeof $2.tagName!==$[8]){break;}var $5=qx.html.Style.getStyleProperty($2,$[78]);if($5==$[54]||$5==$[123]){$1-=qx.html.Style.getBorderTop($2)+qx.html.Style.getPaddingTop($2);break;}}}return $1;},"default":function($0){return $0.offsetTop;}})}}); >+qx.Class.define($[1727],{statics:{scrollX:function($0,$1){var $2,$3,$4,$5;var $6=$0.parentNode;var $7=$0.offsetLeft;var $4=$0.offsetWidth;while($6){switch(qx.html.Style.getStyleProperty($6,$[63])){case $[26]:case $[3]:case $[281]:$5=true;break;default:switch(qx.html.Style.getStyleProperty($6,$[175])){case $[26]:case $[3]:$5=true;break;default:$5=false;}}if($5){$2=$6.clientWidth;$3=$6.scrollLeft;if($1){$6.scrollLeft=$7;}else if($1==false){$6.scrollLeft=$7+$4-$2;}else if($4>$2||$7<$3){$6.scrollLeft=$7;}else if(($7+$4)>($3+$2)){$6.scrollLeft=$7+$4-$2;}$7=$6.offsetLeft;$4=$6.offsetWidth;}else{$7+=$6.offsetLeft;}if($6.tagName.toLowerCase()==$[126]){break;}$6=$6.offsetParent;}return true;},scrollY:function($0,$1){var $2,$3,$4,$5;var $6=$0.parentNode;var $7=$0.offsetTop;var $4=$0.offsetHeight;while($6){switch(qx.html.Style.getStyleProperty($6,$[63])){case $[26]:case $[3]:case $[274]:$5=true;break;default:switch(qx.html.Style.getStyleProperty($6,$[179])){case $[26]:case $[3]:$5=true;break;default:$5=false;}}if($5){$2=$6.clientHeight;$3=$6.scrollTop;if($1){$6.scrollTop=$7;}else if($1==false){$6.scrollTop=$7+$4-$2;}else if($4>$2||$7<$3){$6.scrollTop=$7;}else if(($7+$4)>($3+$2)){$6.scrollTop=$7+$4-$2;}$7=$6.offsetTop;$4=$6.offsetHeight;}else{$7+=$6.offsetTop;}if($6.tagName.toLowerCase()==$[126]){break;}$6=$6.offsetParent;}return true;}}}); >+qx.Class.define($[1221],{extend:qx.core.Target,construct:function($0,$1,$2){arguments.callee.base.call(this);if($0 instanceof Array){this._list=qx.lang.Object.fromArray($0);}else{this._list=$0;}this._timer=new qx.client.Timer(qx.core.Setting.get($[1350]));this._timer.addEventListener($[86],this.__oninterval,this);if($1){this.addEventListener($[15],$1,$2||null);}},events:{"completed":$[4]},members:{_stopped:false,start:function(){if(qx.lang.Object.isEmpty(this._list)){this.createDispatchEvent($[15]);return;}for(var $0 in this._list){var $1=qx.io.image.PreloaderManager.getInstance().create(qx.io.Alias.getInstance().resolve($0));if($1.isErroneous()||$1.isLoaded()){delete this._list[$0];}else{$1._origSource=$0;$1.addEventListener($[82],this.__onload,this);$1.addEventListener($[95],this.__onerror,this);}}this._check();},__onload:function($0){if(this.getDisposed()){return;}delete this._list[$0.getTarget()._origSource];this._check();},__onerror:function($0){if(this.getDisposed()){return;}delete this._list[$0.getTarget()._origSource];this._check();},__oninterval:function($0){this.debug("Cannot preload: "+qx.lang.Object.getKeysAsString(this._list));this._stopped=true;this._timer.stop();this.createDispatchEvent($[15]);},_check:function(){if(this._stopped){return;}if(qx.lang.Object.isEmpty(this._list)){this._timer.stop();this.createDispatchEvent($[15]);}else{this._timer.restart();}}},settings:{"qx.preloaderTimeout":3000},destruct:function(){if(this._timer){this._timer.removeEventListener($[86],this.__oninterval,this);this._disposeObjects($[284]);}this._disposeFields($[336]);}}); >+qx.Class.define($[1790],{type:$[18],extend:qx.core.Object,construct:function(){arguments.callee.base.call(this);this._objects={};},members:{add:function($0){this._objects[$0.getUri()]=$0;},remove:function($0){delete this._objects[$0.getUri()];},has:function($0){return this._objects[$0]!=null;},get:function($0){return this._objects[$0];},create:function($0){if(this._objects[$0]){return this._objects[$0];}return new qx.io.image.Preloader($0);}},destruct:function(){this._disposeFields($[497]);}}); >+qx.Class.define($[416],{extend:qx.core.Target,events:{"load":$[4],"error":$[4]},construct:function($0){if(qx.io.image.PreloaderManager.getInstance().has($0)){this.debug("Reuse qx.io.image.Preloader in old-style!");this.debug("Please use qx.io.image.PreloaderManager.getInstance().create(source) instead!");return qx.io.image.PreloaderManager.getInstance().get($0);}arguments.callee.base.call(this);this._element=new Image;this._element.onload=qx.lang.Function.bind(this.__onload,this);this._element.onerror=qx.lang.Function.bind(this.__onerror,this);this._source=$0;this._element.src=$0;if(qx.core.Variant.isSet($[1],$[13])){this._isPng=/\.png$/i.test(this._element.nameProp);}qx.io.image.PreloaderManager.getInstance().add(this);},members:{_source:null,_isLoaded:false,_isErroneous:false,getUri:function(){return this._source;},getSource:function(){return this._source;},isLoaded:function(){return this._isLoaded;},isErroneous:function(){return this._isErroneous;},_isPng:false,getIsPng:function(){return this._isPng;},getWidth:qx.core.Variant.select($[1],{"gecko":function(){return this._element.naturalWidth;},"default":function(){return this._element.width;}}),getHeight:qx.core.Variant.select($[1],{"gecko":function(){return this._element.naturalHeight;},"default":function(){return this._element.height;}}),__onload:function(){if(this._isLoaded||this._isErroneous){return;}this._isLoaded=true;this._isErroneous=false;if(this.hasEventListeners($[82])){this.dispatchEvent(new qx.event.type.Event($[82]),true);}},__onerror:function(){if(this._isLoaded||this._isErroneous){return;}this.debug("Could not load: "+this._source);this._isLoaded=false;this._isErroneous=true;if(this.hasEventListeners($[95])){this.dispatchEvent(new qx.event.type.Event($[95]),true);}}},destruct:function(){if(this._element){this._element.onload=this._element.onerror=null;}this._disposeFields($[329],$[1737],$[1447],$[1585]);}}); >+qx.Class.define($[489],{extend:qx.core.Target,events:{"execute":$[98]},construct:function($0,$1){arguments.callee.base.call(this);this.__modifier={};this.__key=null;if($0!=null){this.setShortcut($0);}if($1!=null){this.warn("The use of keyCode in command is deprecated. Use keyIdentifier instead.");this.setKeyCode($1);}{};qx.event.handler.EventHandler.getInstance().addCommand(this);},properties:{enabled:{init:true,check:$[2],event:$[463]},shortcut:{check:$[6],apply:$[1481],nullable:true},keyCode:{check:$[19],nullable:true},keyIdentifier:{check:$[6],nullable:true}},members:{getKeyCode:function(){return this._keyCode;},setKeyCode:function($0){qx.log.Logger.deprecatedMethodWarning(arguments.callee);this._keyCode=$0;},execute:function($0){if(this.hasEventListeners($[128])){var $1=new qx.event.type.DataEvent($[128],$0);this.dispatchEvent($1,true);}return false;},_applyShortcut:function($0,$1){if($0){this.__modifier={};this.__key=null;var $2=$0.split(/[-+\s]+/);var $3=$2.length;for(var $4=0;$4<$3;$4++){var $5=this.__oldKeyNameToKeyIdentifier($2[$4]);switch($5){case $[125]:case $[142]:case $[223]:case $[136]:this.__modifier[$5]=true;break;case $[212]:var $6=$[1707]+$2[$4];this.error($6);throw $6;default:if(this.__key){var $6=$[1550];this.error($6);throw $6;}this.__key=$5;}}}return true;},matchesKeyEvent:function($0){var $1=this.__key||this.getKeyIdentifier();if(!$1&&!this.getKeyCode()){return ;}if((this.__modifier.Shift&&!$0.isShiftPressed())||(this.__modifier.Control&&!$0.isCtrlPressed())||(this.__modifier.Alt&&!$0.isAltPressed())){return false;}if($1){if($1==$0.getKeyIdentifier()){return true;}}else{if(this.getKeyCode()==$0.getKeyCode()){return true;}}return false;},__oldKeyNameToKeyIdentifierMap:{esc:$[129],ctrl:$[125],print:$[237],del:$[169],pageup:$[88],pagedown:$[99],numlock:$[127],numpad_0:$[41],numpad_1:$[482],numpad_2:$[419],numpad_3:$[433],numpad_4:$[385],numpad_5:$[403],numpad_6:$[347],numpad_7:$[362],numpad_8:$[345],numpad_9:$[172],numpad_divide:$[135],numpad_multiply:$[140],numpad_minus:$[137],numpad_plus:$[246]},__oldKeyNameToKeyIdentifier:function($0){var $1=qx.event.handler.KeyEventHandler.getInstance();var $2=$[212];if($1.isValidKeyIdentifier($0)){return $0;}if($0.length==1&&$0>=$[313]&&$0<=$[1148]){return $0.toUpperCase();}$0=$0.toLowerCase();if(!qx.event.type.KeyEvent.keys[$0]){return $[212];}var $2=this.__oldKeyNameToKeyIdentifierMap[$0];if($2){return $2;}else{return qx.lang.String.toFirstUp($0);}},toString:function(){var $0=this.getKeyCode();var $1=this.__key||this.getKeyIdentifier();var $2=[];for(var $3 in this.__modifier){$2.push(qx.locale.Key.getKeyName($[258],$3));}if($1){$2.push(qx.locale.Key.getKeyName($[258],$1));}if($0!=null){var $4=qx.event.type.KeyEvent.codes[$0];$2.push($4?qx.lang.String.toFirstUp($4):String($0));}return $2.join($[137]);}},destruct:function(){var $0=qx.event.handler.EventHandler.getInstance();if($0){$0.removeCommand(this);}this._disposeFields($[1654],$[1022]);}}); >+qx.Class.define($[690],{statics:{getKeyName:function($0,$1,$2){if($0!=$[258]&&$0!=$[1745]){throw new Error('format must be one of: "short", "full"');}var $3=$[1126]+$0+$[155]+$1;var $4=new qx.locale.LocalizedString($3,[],$2);if($4==$3){return qx.locale.Key._keyNames[$3]||$1;}else{return $4.toString();}}},defer:function($0,$1,$2){var $3={};var $4=qx.locale.Manager;$3[$4.marktr($[858])]=$[191];$3[$4.marktr($[1194])]=$[188];$3[$4.marktr($[937])]=$[85];$3[$4.marktr($[1522])]=$[46];$3[$4.marktr($[1780])]=$[142];$3[$4.marktr($[1783])]=$[1100];$3[$4.marktr($[1304])]=$[136];$3[$4.marktr($[951])]=$[1338];$3[$4.marktr($[1728])]=$[223];$3[$4.marktr($[1701])]=$[1313];$3[$4.marktr($[650])]=$[60];$3[$4.marktr($[1246])]=$[69];$3[$4.marktr($[657])]=$[64];$3[$4.marktr($[1177])]=$[76];$3[$4.marktr($[1730])]=$[1409];$3[$4.marktr($[1134])]=$[782];$3[$4.marktr($[727])]=$[162];$3[$4.marktr($[1101])]=$[150];$3[$4.marktr($[1033])]=$[801];$3[$4.marktr($[746])]=$[989];$3[$4.marktr($[648])]=$[999];$3[$4.marktr($[1502])]=$[598];$3[$4.marktr($[899])]=$[266];$3[$4.marktr($[1731])]=$[248];$3[$4.marktr($[1565])]=$[286];$3[$4.marktr($[1564])]=$[279];$3[$4.marktr($[1764])]=$[191];$3[$4.marktr($[1137])]=$[770];$3[$4.marktr($[787])]=$[85];$3[$4.marktr($[1085])]=$[46];$3[$4.marktr($[1363])]=$[142];$3[$4.marktr($[767])]=$[125];$3[$4.marktr($[781])]=$[136];$3[$4.marktr($[1789])]=$[409];$3[$4.marktr($[614])]=$[223];$3[$4.marktr($[1014])]=$[129];$3[$4.marktr($[1624])]=$[60];$3[$4.marktr($[738])]=$[69];$3[$4.marktr($[1759])]=$[64];$3[$4.marktr($[778])]=$[76];$3[$4.marktr($[1444])]=$[88];$3[$4.marktr($[1012])]=$[99];$3[$4.marktr($[1369])]=$[162];$3[$4.marktr($[1594])]=$[150];$3[$4.marktr($[1248])]=$[203];$3[$4.marktr($[1395])]=$[169];$3[$4.marktr($[1366])]=$[127];$3[$4.marktr($[739])]=$[237];$3[$4.marktr($[963])]=$[266];$3[$4.marktr($[1439])]=$[248];$3[$4.marktr($[736])]=$[286];$3[$4.marktr($[1423])]=$[279];$0._keyNames=$3;}}); >+qx.Class.define($[508],{extend:qx.util.manager.Object,properties:{activeWindow:{check:$[119],nullable:true,apply:$[1122]}},members:{_applyActiveWindow:function($0,$1){qx.ui.popup.PopupManager.getInstance().update();if($1){$1.setActive(false);}if($0){$0.setActive(true);}if($1&&$1.getModal()){$1.getTopLevelWidget().release($1);}if($0&&$0.getModal()){$0.getTopLevelWidget().block($0);}},update:function(){var $0,$1;var $2=this.getAll();for(var $1 in $2){$0=$2[$1];if(!$0.getAutoHide()){continue;}$0.hide();}},compareWindows:function($0,$1){switch($0.getWindowManager().getActiveWindow()){case $0:return 1;case $1:return -1;}return $0.getZIndex()-$1.getZIndex();},add:function($0){arguments.callee.base.call(this,$0);this.setActiveWindow($0);},remove:function($0){arguments.callee.base.call(this,$0);if(this.getActiveWindow()==$0){var $1=[];for(var $2 in this._objects){$1.push(this._objects[$2]);}var $3=$1.length;if($3==0){this.setActiveWindow(null);}else if($3==1){this.setActiveWindow($1[0]);}else if($3>1){$1.sort(this.compareWindows);this.setActiveWindow($1[$3-1]);}}}}}); > qx.Class.define($[166],{type:$[18],extend:qx.util.manager.Object,construct:function(){arguments.callee.base.call(this);},members:{update:function($0){if(!($0 instanceof qx.ui.core.Widget)){$0=null;}var $1,$2;var $3=this.getAll();for($2 in $3){$1=$3[$2];if(!$1.getAutoHide()||$0==$1||$1.contains($0)){continue;}if(qx.Class.isDefined($[241])&&$0 instanceof qx.ui.popup.ToolTip&&!($1 instanceof qx.ui.popup.ToolTip)){continue;}$1.hide();}}}}); >-qx.Class.define($[688],{extend:qx.ui.layout.CanvasLayout,construct:function(){arguments.callee.base.call(this);this.setZIndex(this._minZIndex);if(this._isFocusRoot){this.activateFocusRoot();}this.initHeight();this.initWidth();},properties:{appearance:{refine:true,init:$[1124]},width:{refine:true,init:$[3]},height:{refine:true,init:$[3]},display:{refine:true,init:false},autoHide:{check:$[2],init:true},centered:{check:$[2],init:false},restrictToPageOnOpen:{check:$[2],init:true},restrictToPageLeft:{check:$[5],init:0},restrictToPageRight:{check:$[5],init:0},restrictToPageTop:{check:$[5],init:0},restrictToPageBottom:{check:$[5],init:0}},members:{_isFocusRoot:true,_showTimeStamp:(new Date(0)).valueOf(),_hideTimeStamp:(new Date(0)).valueOf(),_beforeAppear:function(){arguments.callee.base.call(this);if(this.getRestrictToPageOnOpen()){this._wantedLeft=this.getLeft();if(this._wantedLeft!=null){this.setLeft(10000);if(this.getElement()!=null){this.getElement().style.left=10000;}}}qx.ui.popup.PopupManager.getInstance().add(this);qx.ui.popup.PopupManager.getInstance().update(this);this._showTimeStamp=(new Date).valueOf();this.bringToFront();},_beforeDisappear:function(){arguments.callee.base.call(this);qx.ui.popup.PopupManager.getInstance().remove(this);this._hideTimeStamp=(new Date).valueOf();},_afterAppear:function(){arguments.callee.base.call(this);if(this.getRestrictToPageOnOpen()){var $0=qx.ui.core.ClientDocument.getInstance();var $1=$0.getClientWidth();var $2=$0.getClientHeight();var $3=qx.bom.Viewport.getScrollTop();var $4=qx.bom.Viewport.getScrollLeft();var $5=this.getRestrictToPageLeft()+$4;var $6=this.getRestrictToPageRight()-$4;var $7=this.getRestrictToPageTop()+$3;var $8=this.getRestrictToPageBottom()-$3;var $9=(this._wantedLeft==null)?this.getLeft():this._wantedLeft;var $a=this.getTop();var $b=this.getBoxWidth();var $c=this.getBoxHeight();var $d=this.getLeft();var $e=$a;if($9+$b>$1-$6){$9=$1-$6-$b;}if($a+$c>$2-$8){$a=$2-$8-$c;}if($9<$5){$9=$5;}if($a<$7){$a=$7;}if($9!=$d||$a!=$e){var $f=this;window.setTimeout(function(){$f.setLeft($9);$f.setTop($a);},0);}}},_makeActive:function(){this.getFocusRoot().setActiveChild(this);},_makeInactive:function(){var $0=this.getFocusRoot();var $1=$0.getActiveChild();if($1==this){$0.setActiveChild($0);}},_minZIndex:1e6,bringToFront:function(){this.setZIndex(this._minZIndex+1000000);this._sendTo();},sendToBack:function(){this.setZIndex(this._minZIndex+1);this._sendTo();},_sendTo:function(){var $0=qx.lang.Object.getValues(qx.ui.popup.PopupManager.getInstance().getAll());if(qx.Class.isDefined($[152])){var $1=qx.lang.Object.getValues(qx.ui.menu.Manager.getInstance().getAll());var $2=$0.concat($1).sort(qx.util.Compare.byZIndex);}else{var $2=$0.sort(qx.util.Compare.byZIndex);}var $3=$2.length;var $4=this._minZIndex;for(var $5=0;$5<$3;$5++){$2[$5].setZIndex($4++);}},getShowTimeStamp:function(){return this._showTimeStamp;},getHideTimeStamp:function(){return this._hideTimeStamp;},positionRelativeTo:function($0,$1,$2){if($0 instanceof qx.ui.core.Widget){$0=$0.getElement();}if($0){var $3=qx.bom.element.Location.get($0);this.setLocation($3.left+($1||0),$3.top+($2||0));}else{this.warn('Missing reference element');}},centerToBrowser:function(){var $0=qx.ui.core.ClientDocument.getInstance();var $1=($0.getClientWidth()-this.getBoxWidth())/2;var $2=($0.getClientHeight()-this.getBoxHeight())/2;this.setLeft($1<0?0:$1);this.setTop($2<0?0:$2);}},destruct:function(){qx.ui.popup.PopupManager.getInstance().remove(this);this._disposeFields($[946],$[1125]);}}); >+qx.Class.define($[689],{extend:qx.ui.layout.CanvasLayout,construct:function(){arguments.callee.base.call(this);this.setZIndex(this._minZIndex);if(this._isFocusRoot){this.activateFocusRoot();}this.initHeight();this.initWidth();},properties:{appearance:{refine:true,init:$[1123]},width:{refine:true,init:$[3]},height:{refine:true,init:$[3]},display:{refine:true,init:false},autoHide:{check:$[2],init:true},centered:{check:$[2],init:false},restrictToPageOnOpen:{check:$[2],init:true},restrictToPageLeft:{check:$[5],init:0},restrictToPageRight:{check:$[5],init:0},restrictToPageTop:{check:$[5],init:0},restrictToPageBottom:{check:$[5],init:0}},members:{_isFocusRoot:true,_showTimeStamp:(new Date(0)).valueOf(),_hideTimeStamp:(new Date(0)).valueOf(),_beforeAppear:function(){arguments.callee.base.call(this);if(this.getRestrictToPageOnOpen()){this._wantedLeft=this.getLeft();if(this._wantedLeft!=null){this.setLeft(10000);if(this.getElement()!=null){this.getElement().style.left=10000;}}}qx.ui.popup.PopupManager.getInstance().add(this);qx.ui.popup.PopupManager.getInstance().update(this);this._showTimeStamp=(new Date).valueOf();this.bringToFront();},_beforeDisappear:function(){arguments.callee.base.call(this);qx.ui.popup.PopupManager.getInstance().remove(this);this._hideTimeStamp=(new Date).valueOf();},_afterAppear:function(){arguments.callee.base.call(this);if(this.getRestrictToPageOnOpen()){var $0=qx.ui.core.ClientDocument.getInstance();var $1=$0.getClientWidth();var $2=$0.getClientHeight();var $3=qx.bom.Viewport.getScrollTop();var $4=qx.bom.Viewport.getScrollLeft();var $5=this.getRestrictToPageLeft()+$4;var $6=this.getRestrictToPageRight()-$4;var $7=this.getRestrictToPageTop()+$3;var $8=this.getRestrictToPageBottom()-$3;var $9=(this._wantedLeft==null)?this.getLeft():this._wantedLeft;var $a=this.getTop();var $b=this.getBoxWidth();var $c=this.getBoxHeight();var $d=this.getLeft();var $e=$a;if($9+$b>$1-$6){$9=$1-$6-$b;}if($a+$c>$2-$8){$a=$2-$8-$c;}if($9<$5){$9=$5;}if($a<$7){$a=$7;}if($9!=$d||$a!=$e){var $f=this;window.setTimeout(function(){$f.setLeft($9);$f.setTop($a);},0);}}},_makeActive:function(){this.getFocusRoot().setActiveChild(this);},_makeInactive:function(){var $0=this.getFocusRoot();var $1=$0.getActiveChild();if($1==this){$0.setActiveChild($0);}},_minZIndex:1e6,bringToFront:function(){this.setZIndex(this._minZIndex+1000000);this._sendTo();},sendToBack:function(){this.setZIndex(this._minZIndex+1);this._sendTo();},_sendTo:function(){var $0=qx.lang.Object.getValues(qx.ui.popup.PopupManager.getInstance().getAll());if(qx.Class.isDefined($[152])){var $1=qx.lang.Object.getValues(qx.ui.menu.Manager.getInstance().getAll());var $2=$0.concat($1).sort(qx.util.Compare.byZIndex);}else{var $2=$0.sort(qx.util.Compare.byZIndex);}var $3=$2.length;var $4=this._minZIndex;for(var $5=0;$5<$3;$5++){$2[$5].setZIndex($4++);}},getShowTimeStamp:function(){return this._showTimeStamp;},getHideTimeStamp:function(){return this._hideTimeStamp;},positionRelativeTo:function($0,$1,$2){if($0 instanceof qx.ui.core.Widget){$0=$0.getElement();}if($0){var $3=qx.bom.element.Location.get($0);this.setLocation($3.left+($1||0),$3.top+($2||0));}else{this.warn('Missing reference element');}},centerToBrowser:function(){var $0=qx.ui.core.ClientDocument.getInstance();var $1=($0.getClientWidth()-this.getBoxWidth())/2;var $2=($0.getClientHeight()-this.getBoxHeight())/2;this.setLeft($1<0?0:$1);this.setTop($2<0?0:$2);}},destruct:function(){qx.ui.popup.PopupManager.getInstance().remove(this);this._disposeFields($[945],$[1124]);}}); > qx.Class.define($[1068],{statics:{byString:function($0,$1){return $0==$1?0:$0>$1?1:-1;},byStringCaseInsensitive:function($0,$1){return qx.util.Compare.byString($0.toLowerCase(),$1.toLowerCase());},byStringUmlautsShort:function($0,$1){return qx.util.Compare.byString(qx.util.Normalization.umlautsShort($0),qx.util.Normalization.umlautsShort($1));},byStringUmlautsShortCaseInsensitive:function($0,$1){return qx.util.Compare.byString(qx.util.Normalization.umlautsShort($0).toLowerCase(),qx.util.Normalization.umlautsShort($1).toLowerCase());},byStringUmlautsLong:function($0,$1){return qx.util.Compare.byString(qx.util.Normalization.umlautsLong($0),qx.util.Normalization.umlautsLong($1));},byStringUmlautsLongCaseInsensitive:function($0,$1){return qx.util.Compare.byString(qx.util.Normalization.umlautsLong($0).toLowerCase(),qx.util.Normalization.umlautsLong($1).toLowerCase());},byFloat:function($0,$1){return $0-$1;},byIntegerString:function($0,$1){return parseInt($0)-parseInt($1);},byFloatString:function($0,$1){return parseFloat($0)-parseFloat($1);},byIPv4:function($0,$1){var $2=$0.split($[24],4);var $3=$1.split($[24],4);for(var $4=0;$4<3;$4++){$0=parseInt($2[$4]);$1=parseInt($3[$4]);if($0!=$1){return $0-$1;}}return parseInt($2[3])-parseInt($3[3]);},byZIndex:function($0,$1){return $0.getZIndex()-$1.getZIndex();}},defer:function($0){$0.byInteger=$0.byNumber=$0.byFloat;$0.byNumberString=$0.byFloatString;}}); >-qx.Class.define($[734],{statics:{__umlautsRegExp:new RegExp($[1716],$[289]),__umlautsShortData:{"\xC4":$[174],"\xD6":$[1094],"\xDC":$[671],"\xE4":$[313],"\xF6":$[713],"\xFC":$[1602],"\xDF":$[534]},__umlautsShort:function($0){return qx.util.Normalization.__umlautsShortData[$0];},umlautsShort:function($0){return $0.replace(qx.util.Normalization.__umlautsRegExp,qx.lang.Function.bind(this.__umlautsShort,this));},__umlautsLongData:{"\xC4":$[1088],"\xD6":$[1614],"\xDC":$[1230],"\xE4":$[1016],"\xF6":$[1520],"\xFC":$[1168],"\xDF":$[1514]},__umlautsLong:function($0){return qx.util.Normalization.__umlautsLongData[$0];},umlautsLong:function($0){return $0.replace(qx.util.Normalization.__umlautsRegExp,qx.lang.Function.bind(this.__umlautsLong,this));}}}); >-qx.Class.define($[1229],{statics:{__style:function($0,$1){return qx.bom.element.Style.get($0,$1,qx.bom.element.Style.COMPUTED_MODE,false);},__num:function($0,$1){return parseInt(qx.bom.element.Style.get($0,$1,qx.bom.element.Style.COMPUTED_MODE,false))||0;},__computeScroll:function($0){var $1=0,$2=0;if(qx.core.Variant.isSet($[1],$[13])&&$0.getBoundingClientRect){var $3=qx.dom.Node.getWindow($0);$1-=qx.bom.Viewport.getScrollLeft($3);$2-=qx.bom.Viewport.getScrollTop($3);}else{var $4=qx.dom.Node.getDocument($0).body;$0=$0.parentNode;while($0&&$0!=$4){$1+=$0.scrollLeft;$2+=$0.scrollTop;$0=$0.parentNode;}}return {left:$1,top:$2};},__computeBody:qx.core.Variant.select($[1],{"mshtml":function($0){var $1=qx.dom.Node.getDocument($0);var $2=$1.body;var $3=$2.offsetLeft;var $4=$2.offsetTop;$3-=this.__num($2,$[72]);$4-=this.__num($2,$[68]);if($1.compatMode===$[91]){$3+=this.__num($2,$[159]);$4+=this.__num($2,$[153]);}return {left:$3,top:$4};},"webkit":function($0){var $1=qx.dom.Node.getDocument($0);var $2=$1.body;var $3=$2.offsetLeft;var $4=$2.offsetTop;$3+=this.__num($2,$[72]);$4+=this.__num($2,$[68]);if($1.compatMode===$[91]){$3+=this.__num($2,$[159]);$4+=this.__num($2,$[153]);}return {left:$3,top:$4};},"gecko":function($0){var $1=qx.dom.Node.getDocument($0).body;var $2=$1.offsetLeft;var $3=$1.offsetTop;if(qx.bom.element.Dimension.getBoxSizing($1)!==$[238]){$2+=this.__num($1,$[72]);$3+=this.__num($1,$[68]);if(!$0.getBoundingClientRect){var $4;while($0){if(this.__style($0,$[78])===$[54]||this.__style($0,$[78])===$[123]){$4=true;break;}$0=$0.offsetParent;}if(!$4){$2+=this.__num($1,$[72]);$3+=this.__num($1,$[68]);}}}return {left:$2,top:$3};},"default":function($0){var $1=qx.dom.Node.getDocument($0).body;var $2=$1.offsetLeft;var $3=$1.offsetTop;return {left:$2,top:$3};}}),__computeOffset:qx.core.Variant.select($[1],{"mshtml|webkit":function($0){var $1=qx.dom.Node.getDocument($0);if($0.getBoundingClientRect){var $2=$0.getBoundingClientRect();var $3=$2.left;var $4=$2.top;if($1.compatMode===$[91]){$3-=this.__num($0,$[72]);$4-=this.__num($0,$[68]);}}else{var $3=$0.offsetLeft;var $4=$0.offsetTop;$0=$0.offsetParent;var $5=$1.body;while($0&&$0!=$5){$3+=$0.offsetLeft;$4+=$0.offsetTop;$3+=this.__num($0,$[72]);$4+=this.__num($0,$[68]);$0=$0.offsetParent;}}return {left:$3,top:$4};},"gecko":function($0){if($0.getBoundingClientRect){var $1=$0.getBoundingClientRect();var $2=Math.round($1.left);var $3=Math.round($1.top);}else{var $2=0;var $3=0;var $4=qx.dom.Node.getDocument($0).body;var $5=qx.bom.element.Dimension;if($5.getBoxSizing($0)!==$[238]){$2-=this.__num($0,$[72]);$3-=this.__num($0,$[68]);}while($0&&$0!==$4){$2+=$0.offsetLeft;$3+=$0.offsetTop;if($5.getBoxSizing($0)!==$[238]){$2+=this.__num($0,$[72]);$3+=this.__num($0,$[68]);}if($0.parentNode&&this.__style($0.parentNode,$[63])!=$[1661]){$2+=this.__num($0.parentNode,$[72]);$3+=this.__num($0.parentNode,$[68]);}$0=$0.offsetParent;}}return {left:$2,top:$3};},"default":function($0){var $1=0;var $2=0;var $3=qx.dom.Node.getDocument($0).body;while($0&&$0!==$3){$1+=$0.offsetLeft;$2+=$0.offsetTop;$0=$0.offsetParent;}return {left:$1,top:$2};}}),get:function($0,$1){var $2=this.__computeBody($0);if($0.tagName==$[821]){var $3=$2.left;var $4=$2.top;}else{var $5=this.__computeOffset($0);var $6=this.__computeScroll($0);var $3=$5.left+$2.left-$6.left;var $4=$5.top+$2.top-$6.top;}var $7=$3+$0.offsetWidth;var $8=$4+$0.offsetHeight;if($1){switch($1){case $[429]:$3-=this.__num($0,$[159]);$4-=this.__num($0,$[153]);$7+=this.__num($0,$[225]);$8+=this.__num($0,$[211]);break;case $[1714]:break;case $[352]:$3+=this.__num($0,$[242]);$4+=this.__num($0,$[215]);$7-=this.__num($0,$[245]);$8-=this.__num($0,$[231]);case $[26]:$3-=$0.scrollLeft;$4-=$0.scrollTop;$7+=$0.scrollLeft;$8+=$0.scrollTop;case $[591]:$3+=this.__num($0,$[72]);$4+=this.__num($0,$[68]);$7-=this.__num($0,$[423]);$8-=this.__num($0,$[342]);break;default:throw new Error("Invalid mode for location detection: "+$1);}}return {left:$3,top:$4,right:$7,bottom:$8};},getLeft:function($0,$1){return this.get($0,$1).left;},getTop:function($0,$1){return this.get($0,$1).top;},getRight:function($0,$1){return this.get($0,$1).right;},getBottom:function($0,$1){return this.get($0,$1).bottom;},getRelative:function($0,$1,$2,$3){var $4=this.get($0,$2);var $5=this.get($1,$3);return {left:$4.left-$5.left,top:$4.top-$5.top,right:$4.right-$5.right,bottom:$4.bottom-$5.bottom};}}}); >-qx.Class.define($[926],{statics:{__hints:{names:{"float":qx.core.Variant.isSet($[1],$[13])?$[1157]:$[1205],"boxSizing":qx.core.Variant.isSet($[1],$[21])?$[1164]:$[458]},mshtmlPixel:{width:$[1008],height:$[762],left:$[1358],right:$[1431],top:$[1296],bottom:$[569]},special:{clip:true,cursor:true,opacity:true,overflowX:true,overflowY:true}},setCss:qx.core.Variant.select($[1],{"mshtml":function($0,$1){$0.style.cssText=$1;},"default":function($0,$1){$0.setAttribute($[44],$1);}}),getCss:qx.core.Variant.select($[1],{"mshtml":function($0){return $0.style.cssText.toLowerCase();},"default":function($0){return $0.getAttribute($[44]);}}),COMPUTED_MODE:1,CASCADED_MODE:2,LOCAL_MODE:3,set:function($0,$1,$2,$3){var $4=this.__hints;$1=$4.names[$1]||$1;$0.style[$1]=$2||$[0];},reset:function($0,$1,$2){var $3=this.__hints;$1=$3.names[$1]||$1;$0.style[$1]=$[0];},get:qx.core.Variant.select($[1],{"mshtml":function($0,$1,$2,$3){var $4=this.__hints;$1=$4.names[$1]||$1;switch($2){case this.LOCAL_MODE:return $0.style[$1]||$[0];case this.CASCADED_MODE:return $0.currentStyle[$1];default:var $5=$0.currentStyle[$1];if(/^-?[\.\d]+(px)?$/i.test($5)){return $5;}var $6=$4.mshtmlPixel[$1];if($6){var $7=$0.style[$1];$0.style[$1]=$5||0;var $8=$0.style[$6]+$[38];$0.style[$1]=$7;return $8;}if(/^-?[\.\d]+(em|pt|%)?$/i.test($5)){throw new Error("Untranslated computed property value: "+$1+". Only pixel values work well across different clients.");}return $5;}},"default":function($0,$1,$2,$3){var $4=this.__hints;$1=$4.names[$1]||$1;switch($2){case this.LOCAL_MODE:return $0.style[$1];case this.CASCADED_MODE:if($0.currentStyle){return $0.currentStyle[$1];}throw new Error("Cascaded styles are not supported in this browser!");default:var $5=qx.dom.Node.getDocument($0);var $6=$5.defaultView.getComputedStyle($0,null);return $6?$6[$1]:null;}}})}}); >-qx.Class.define($[625],{statics:{getWidth:function($0){return $0.offsetWidth;},getHeight:function($0){return $0.offsetHeight;},getClientWidth:function($0){return $0.clientWidth;},getClientHeight:function($0){return $0.clientHeight;},getScrollWidth:function($0){return $0.scrollWidth;},getScrollHeight:function($0){return $0.scrollHeight;},__nativeBorderBox:{tags:{button:true,select:true},types:{search:true,button:true,submit:true,reset:true,checkbox:true,radio:true}},__usesNativeBorderBox:function($0){var $1=this.__nativeBorderBox;return $1.tags[$0.tagName.toLowerCase()]||$1.types[$0.type];},setBoxSizing:qx.core.Variant.select($[1],{"gecko":function($0,$1){$0.style.MozBoxSizing=$1||$[0];},"mshtml":function($0,$1){},"default":function($0,$1){$0.style.boxSizing=$1||$[0];}}),getBoxSizing:qx.core.Variant.select($[1],{"gecko":function($0){return qx.bom.element.Style.get($0,$[955],qx.bom.element.Style.COMPUTED_MODE,false);},"mshtml":function($0){if(qx.bom.Document.isStandardMode(qx.dom.Node.getDocument($0))){if(!this.__usesNativeBorderBox($0)){return $[1618];}}return $[238];},"default":function($0){return qx.bom.element.Style.get($0,$[458],qx.bom.element.Style.COMPUTED_MODE,false);}})}}); >-qx.Class.define($[1190],{statics:{isQuirksMode:function($0){return ($0||window).document.compatMode!==$[91];},isStandardMode:function($0){return ($0||window).document.compatMode===$[91];},getWidth:function($0){var $1=($0||window).document;var $2=qx.bom.Viewport.getWidth($0);var $3=$1.compatMode===$[91]?$1.documentElement.scrollWidth:$1.body.scrollWidth;return Math.max($3,$2);},getHeight:function($0){var $1=($0||window).document;var $2=qx.bom.Viewport.getHeight($0);var $3=$1.compatMode===$[91]?$1.documentElement.scrollHeight:$1.body.scrollHeight;return Math.max($3,$2);}}}); >-qx.Mixin.define($[1052],{construct:function($0){this._frame=new qx.ui.basic.Terminator;this._frame.setAppearance($[1070]);this.addEventListener($[12],this._onmousedown);this.addEventListener($[22],this._onmouseup);this.addEventListener($[148],this._onmousemove);},properties:{resizableWest:{check:$[2],init:true,apply:$[206]},resizableNorth:{check:$[2],init:true,apply:$[206]},resizableEast:{check:$[2],init:true,apply:$[206]},resizableSouth:{check:$[2],init:true,apply:$[206]},resizable:{group:[$[592],$[551],$[1648],$[1118]],mode:$[103]},resizeMethod:{init:$[81],check:[$[240],$[454],$[81],$[139]],event:$[700]}},members:{isResizable:function(){return this.getResizableWest()||this.getResizableEast()||this.getResizableNorth()||this.getResizableSouth();},getResizable:function(){return this.isResizable();},_applyResizable:function($0,$1){},_onmousedown:function($0){if(this._resizeNorth||this._resizeSouth||this._resizeWest||this._resizeEast){this.setCapture(true);this.getTopLevelWidget().setGlobalCursor(this.getCursor());var $1=this.getElement();var $2=this._getResizeParent();var $3=$2.getElement();var $4=qx.bom.element.Location.get($3,$[26]);var $5=qx.bom.element.Location.get($1);switch(this.getResizeMethod()){case $[139]:this.setOpacity(0.5);break;case $[81]:var $6=this._frame;if($6.getParent()!=$2){$6.setParent($2);qx.ui.core.Widget.flushGlobalQueues();}$6._renderRuntimeLeft($5.left-$4.left);$6._renderRuntimeTop($5.top-$4.top);$6._renderRuntimeWidth($1.offsetWidth);$6._renderRuntimeHeight($1.offsetHeight);$6.setZIndex(this.getZIndex()+1);break;}var $7=this._resizeSession={};var $8=this._getMinSizeReference();if(this._resizeWest){$7.boxWidth=$1.offsetWidth;$7.boxRight=$5.right;}if(this._resizeWest||this._resizeEast){$7.boxLeft=$5.left;$7.parentContentLeft=$4.left;$7.parentContentRight=$4.right;$7.minWidth=$8.getMinWidthValue();$7.maxWidth=$8.getMaxWidthValue();}if(this._resizeNorth){$7.boxHeight=$1.offsetHeight;$7.boxBottom=$5.bottom;}if(this._resizeNorth||this._resizeSouth){$7.boxTop=$5.top;$7.parentContentTop=$4.top;$7.parentContentBottom=$4.bottom;$7.minHeight=$8.getMinHeightValue();$7.maxHeight=$8.getMaxHeightValue();}}else{delete this._resizeSession;}$0.stopPropagation();},_onmouseup:function($0){var $1=this._resizeSession;if($1){this.setCapture(false);this.getTopLevelWidget().setGlobalCursor(null);switch(this.getResizeMethod()){case $[81]:var $2=this._frame;if(!($2&&$2.getParent())){break;}case $[454]:if($1.lastLeft!=null){this.setLeft($1.lastLeft);}if($1.lastTop!=null){this.setTop($1.lastTop);}if($1.lastWidth!=null){this._changeWidth($1.lastWidth);}if($1.lastHeight!=null){this._changeHeight($1.lastHeight);}if(this.getResizeMethod()==$[81]){this._frame.setParent(null);}break;case $[139]:this.setOpacity(null);break;}delete this._resizeSession;}$0.stopPropagation();},_near:function($0,$1){return $1>($0-5)&&$1<($0+5);},_onmousemove:function($0){if(this._disableResize){return;}var $1=this._resizeSession;if($1){if(this._resizeWest){$1.lastWidth=qx.lang.Number.limit($1.boxWidth+$1.boxLeft-Math.max($0.getPageX(),$1.parentContentLeft),$1.minWidth,$1.maxWidth);$1.lastLeft=$1.boxRight-$1.lastWidth-$1.parentContentLeft;}else if(this._resizeEast){$1.lastWidth=qx.lang.Number.limit(Math.min($0.getPageX(),$1.parentContentRight)-$1.boxLeft,$1.minWidth,$1.maxWidth);}if(this._resizeNorth){$1.lastHeight=qx.lang.Number.limit($1.boxHeight+$1.boxTop-Math.max($0.getPageY(),$1.parentContentTop),$1.minHeight,$1.maxHeight);$1.lastTop=$1.boxBottom-$1.lastHeight-$1.parentContentTop;}else if(this._resizeSouth){$1.lastHeight=qx.lang.Number.limit(Math.min($0.getPageY(),$1.parentContentBottom)-$1.boxTop,$1.minHeight,$1.maxHeight);}switch(this.getResizeMethod()){case $[240]:case $[139]:if(this._resizeWest||this._resizeEast){this.setWidth($1.lastWidth);if(this._resizeWest){this.setLeft($1.lastLeft);}}if(this._resizeNorth||this._resizeSouth){this.setHeight($1.lastHeight);if(this._resizeNorth){this.setTop($1.lastTop);}}break;default:var $2=this.getResizeMethod()==$[81]?this._frame:this;if(this._resizeWest||this._resizeEast){$2._renderRuntimeWidth($1.lastWidth);if(this._resizeWest){$2._renderRuntimeLeft($1.lastLeft);}}if(this._resizeNorth||this._resizeSouth){$2._renderRuntimeHeight($1.lastHeight);if(this._resizeNorth){$2._renderRuntimeTop($1.lastTop);}}}}else{var $3=$[0];var $4=this.getElement();this._resizeNorth=this._resizeSouth=this._resizeWest=this._resizeEast=false;var $5=qx.bom.element.Location.get($4);if(this._near($5.top,$0.getPageY())){if(this.getResizableNorth()){$3=$[635];this._resizeNorth=true;}}else if(this._near($5.bottom,$0.getPageY())){if(this.getResizableSouth()){$3=$[534];this._resizeSouth=true;}}if(this._near($5.left,$0.getPageX())){if(this.getResizableWest()){$3+=$[1405];this._resizeWest=true;}}else if(this._near($5.right,$0.getPageX())){if(this.getResizableEast()){$3+=$[1429];this._resizeEast=true;}}if(this._resizeNorth||this._resizeSouth||this._resizeWest||this._resizeEast){this.setCursor($3+$[1491]);}else{this.resetCursor();}}$0.stopPropagation();}},destruct:function(){this._disposeObjects($[307]);}}); >-qx.Interface.define($[989],{members:{_changeWidth:function($0){return true;},_changeHeight:function($0){return true;},_getResizeParent:function(){return true;},_getMinSizeReference:function(){return true;}}}); >-qx.Class.define($[1465],{extend:qx.ui.popup.Popup,include:qx.ui.resizer.MResizable,implement:qx.ui.resizer.IResizable,construct:function(){arguments.callee.base.call(this);this.initMinWidth();this.initMinHeight();this.initWidth();this.initHeight();},properties:{appearance:{refine:true,init:$[1450]},minWidth:{refine:true,init:$[3]},minHeight:{refine:true,init:$[3]},width:{refine:true,init:$[3]},height:{refine:true,init:$[3]}},members:{_changeWidth:function($0){this.setWidth($0);},_changeHeight:function($0){this.setHeight($0);},_getResizeParent:function(){return this.getParent();},_getMinSizeReference:function(){return this;}}}); >-qx.Class.define($[502],{extend:qx.ui.resizer.ResizablePopup,construct:function($0,$1,$2){arguments.callee.base.call(this);this.setWindowManager($2||qx.ui.window.Window.getDefaultWindowManager());var $3=this._layout=new qx.ui.layout.VerticalBoxLayout;$3.setEdge(0);this.add($3);var $4=this._captionBar=new qx.ui.layout.HorizontalBoxLayout;$4.setAppearance($[971]);$4.setHeight($[3]);$4.setOverflow($[36]);$3.add($4);var $5=this._captionIcon=new qx.ui.basic.Image;$5.setAppearance($[1074]);$4.add($5);var $6=this._captionTitle=new qx.ui.basic.Label($0);$6.setAppearance($[1645]);$6.setSelectable(false);$4.add($6);var $7=this._captionFlex=new qx.ui.basic.HorizontalSpacer;$4.add($7);var $8=this._minimizeButton=new qx.ui.form.Button;$8.setAppearance($[1526]);$8.setTabIndex(-1);$8.addEventListener($[128],this._onminimizebuttonclick,this);$8.addEventListener($[12],this._onbuttonmousedown,this);$4.add($8);var $9=this._restoreButton=new qx.ui.form.Button;$9.setAppearance($[815]);$9.setTabIndex(-1);$9.addEventListener($[128],this._onrestorebuttonclick,this);$9.addEventListener($[12],this._onbuttonmousedown,this);var $a=this._maximizeButton=new qx.ui.form.Button;$a.setAppearance($[1193]);$a.setTabIndex(-1);$a.addEventListener($[128],this._onmaximizebuttonclick,this);$a.addEventListener($[12],this._onbuttonmousedown,this);$4.add($a);var $b=this._closeButton=new qx.ui.form.Button;$b.setAppearance($[919]);$b.setTabIndex(-1);$b.addEventListener($[128],this._onclosebuttonclick,this);$b.addEventListener($[12],this._onbuttonmousedown,this);$4.add($b);var $c=this._pane=new qx.ui.layout.CanvasLayout;$c.setHeight($[138]);$c.setOverflow($[36]);$3.add($c);var $d=this._statusBar=new qx.ui.layout.HorizontalBoxLayout;$d.setAppearance($[925]);$d.setHeight($[3]);var $e=this._statusText=new qx.ui.basic.Label($[395]);$e.setAppearance($[1390]);$e.setSelectable(false);$d.add($e);if($0!=null){this.setCaption($0);}if($1!=null){this.setIcon($1);}this.setAutoHide(false);this.addEventListener($[12],this._onwindowmousedown);this.addEventListener($[53],this._onwindowclick);$4.addEventListener($[12],this._oncaptionmousedown,this);$4.addEventListener($[22],this._oncaptionmouseup,this);$4.addEventListener($[148],this._oncaptionmousemove,this);$4.addEventListener($[104],this._oncaptiondblblick,this);this.remapChildrenHandlingTo(this._pane);},statics:{getDefaultWindowManager:function(){if(!qx.ui.window.Window._defaultWindowManager){qx.ui.window.Window._defaultWindowManager=new qx.ui.window.Manager;}return qx.ui.window.Window._defaultWindowManager;}},properties:{appearance:{refine:true,init:$[884]},windowManager:{check:$[507],event:$[1419]},active:{check:$[2],init:false,apply:$[541],event:$[1494]},modal:{check:$[2],init:false,apply:$[1611],event:$[921]},mode:{check:[$[226],$[70]],init:null,nullable:true,apply:$[1795],event:$[1146]},opener:{check:$[66]},caption:{apply:$[1077],event:$[1428],dispose:true},icon:{check:$[6],nullable:true,apply:$[181],event:$[757]},status:{check:$[6],init:$[395],apply:$[1141],event:$[1483]},showClose:{check:$[2],init:true,apply:$[1019]},showMaximize:{check:$[2],init:true,apply:$[1096]},showMinimize:{check:$[2],init:true,apply:$[1533]},showStatusbar:{check:$[2],init:false,apply:$[1163]},allowClose:{check:$[2],init:true,apply:$[560]},allowMaximize:{check:$[2],init:true,apply:$[749]},allowMinimize:{check:$[2],init:true,apply:$[1260]},showCaption:{check:$[2],init:true,apply:$[1498]},showIcon:{check:$[2],init:true,apply:$[1535]},moveable:{check:$[2],init:true,event:$[1474]},moveMethod:{check:[$[240],$[81],$[139]],init:$[240],event:$[936]}},members:{getPane:function(){return this._pane;},getCaptionBar:function(){return this._captionBar;},getStatusBar:function(){return this._statusBar;},close:function(){this.hide();},open:function($0){if($0!=null){this.setOpener($0);}if(this.getCentered()){this.centerToBrowser();}this.show();},focus:function(){this.setActive(true);},blur:function(){this.setActive(false);},maximize:function(){this.setMode($[70]);},minimize:function(){this.setMode($[226]);},restore:function(){this.setMode(null);},_beforeAppear:function(){qx.ui.layout.CanvasLayout.prototype._beforeAppear.call(this);qx.ui.popup.PopupManager.getInstance().update();qx.event.handler.EventHandler.getInstance().setFocusRoot(this);this.getWindowManager().add(this);this._makeActive();},_beforeDisappear:function(){qx.ui.layout.CanvasLayout.prototype._beforeDisappear.call(this);var $0=qx.event.handler.EventHandler.getInstance().getFocusRoot();if($0==this||this.contains($0)){qx.event.handler.EventHandler.getInstance().setFocusRoot(null);}var $1=qx.event.handler.EventHandler.getInstance().getCaptureWidget();if($1&&this.contains($1)){$1.setCapture(false);}this.getWindowManager().remove(this);this._makeInactive();},_minZIndex:1e5,_sendTo:function(){var $0=qx.lang.Object.getValues(this.getWindowManager().getAll()).sort(qx.util.Compare.byZIndex);var $1=$0.length;var $2=this._minZIndex;for(var $3=0;$3<$1;$3++){$0[$3].setZIndex($2++);}},_applyActive:function($0,$1){if($1){if(this.getFocused()){this.setFocused(false);}if(this.getWindowManager().getActiveWindow()==this){this.getWindowManager().setActiveWindow(null);}this.removeState($[59]);this._captionBar.removeState($[59]);this._minimizeButton.removeState($[59]);this._restoreButton.removeState($[59]);this._maximizeButton.removeState($[59]);this._closeButton.removeState($[59]);}else{if(!this.getFocusedChild()){this.setFocused(true);}this.getWindowManager().setActiveWindow(this);this.bringToFront();this.addState($[59]);this._captionBar.addState($[59]);this._minimizeButton.addState($[59]);this._restoreButton.addState($[59]);this._maximizeButton.addState($[59]);this._closeButton.addState($[59]);}},_applyModal:function($0,$1){if(this._initialLayoutDone&&this.getVisibility()&&this.getDisplay()){var $2=this.getTopLevelWidget();$0?$2.block(this):$2.release(this);}},_applyAllowClose:function($0,$1){this._closeButtonManager();},_applyAllowMaximize:function($0,$1){this._maximizeButtonManager();},_applyAllowMinimize:function($0,$1){this._minimizeButtonManager();},_applyMode:function($0,$1){switch($0){case $[226]:this._disableResize=true;this._minimize();break;case $[70]:this._disableResize=true;this._maximize();break;default:delete this._disableResize;switch($1){case $[70]:this._restoreFromMaximized();break;case $[226]:this._restoreFromMinimized();break;}}},_applyShowCaption:function($0,$1){if($0){this._captionBar.addAt(this._captionTitle,this.getShowIcon()?1:0);}else{this._captionBar.remove(this._captionTitle);}},_applyShowIcon:function($0,$1){if($0){this._captionBar.addAtBegin(this._captionIcon);}else{this._captionBar.remove(this._captionIcon);}},_applyShowStatusbar:function($0,$1){if($0){this._layout.addAtEnd(this._statusBar);}else{this._layout.remove(this._statusBar);}},_applyShowClose:function($0,$1){if($0){this._captionBar.addAtEnd(this._closeButton);}else{this._captionBar.remove(this._closeButton);}},_applyShowMaximize:function($0,$1){if($0){var $2=this.getMode()==$[70]?this._restoreButton:this._maximizeButton;if(this.getShowMinimize()){this._captionBar.addAfter($2,this._minimizeButton);}else{this._captionBar.addAfter($2,this._captionFlex);}}else{this._captionBar.remove(this._maximizeButton);this._captionBar.remove(this._restoreButton);}},_applyShowMinimize:function($0,$1){if($0){this._captionBar.addAfter(this._minimizeButton,this._captionFlex);}else{this._captionBar.remove(this._minimizeButton);}},_minimizeButtonManager:function(){this.getAllowMinimize()===false?this._minimizeButton.setEnabled(false):this._minimizeButton.resetEnabled();},_closeButtonManager:function(){this.getAllowClose()===false?this._closeButton.setEnabled(false):this._closeButton.resetEnabled();},_maximizeButtonManager:function(){var $0=this.getAllowMaximize()&&this.getResizable()&&this._computedMaxWidthTypeNull&&this._computedMaxHeightTypeNull;if(this._maximizeButton){$0===false?this._maximizeButton.setEnabled(false):this._maximizeButton.resetEnabled();}if(this._restoreButton){$0===false?this._restoreButton.setEnabled(false):this._restoreButton.resetEnabled();}},_applyStatus:function($0,$1){this._statusText.setText($0);},_applyMaxWidth:function($0,$1){arguments.callee.base.call(this,$0);this._maximizeButtonManager();},_applyMaxHeight:function($0,$1){arguments.callee.base.call(this,$0);this._maximizeButtonManager();},_applyResizable:function($0,$1){this._maximizeButtonManager();},_applyCaption:function($0,$1){this._captionTitle.setText($0);},_applyIcon:function($0,$1){this._captionIcon.setSource($0);},_minimize:function(){this.blur();this.hide();},_restoreFromMaximized:function(){this.setLeft(this._previousLeft?this._previousLeft:null);this.setWidth(this._previousWidth?this._previousWidth:null);this.setRight(this._previousRight?this._previousRight:null);this.setTop(this._previousTop?this._previousTop:null);this.setHeight(this._previousHeight?this._previousHeight:null);this.setBottom(this._previousBottom?this._previousBottom:null);this.removeState($[70]);if(this.getShowMaximize()){var $0=this._captionBar;var $1=$0.indexOf(this._restoreButton);$0.remove(this._restoreButton);$0.addAt(this._maximizeButton,$1);}this.focus();},_restoreFromMinimized:function(){if(this.hasState($[70])){this.setMode($[70]);}this.show();this.focus();},_maximize:function(){if(this.hasState($[70])){return;}this._previousLeft=this.getLeft();this._previousWidth=this.getWidth();this._previousRight=this.getRight();this._previousTop=this.getTop();this._previousHeight=this.getHeight();this._previousBottom=this.getBottom();this.setWidth(null);this.setLeft(0);this.setRight(0);this.setHeight(null);this.setTop(0);this.setBottom(0);this.addState($[70]);if(this.getShowMaximize()){var $0=this._captionBar;var $1=$0.indexOf(this._maximizeButton);$0.remove(this._maximizeButton);$0.addAt(this._restoreButton,$1);}this.focus();},_onwindowclick:function($0){$0.stopPropagation();},_onwindowmousedown:function($0){this.focus();},_onbuttonmousedown:function($0){$0.stopPropagation();},_onminimizebuttonclick:function($0){this.minimize();this._minimizeButton.removeState($[14]);this._minimizeButton.removeState($[35]);this._minimizeButton.removeState($[43]);$0.stopPropagation();},_onrestorebuttonclick:function($0){this.restore();this._restoreButton.removeState($[14]);this._restoreButton.removeState($[35]);this._restoreButton.removeState($[43]);$0.stopPropagation();},_onmaximizebuttonclick:function($0){this.maximize();this._maximizeButton.removeState($[14]);this._maximizeButton.removeState($[35]);this._maximizeButton.removeState($[43]);$0.stopPropagation();},_onclosebuttonclick:function($0){this.close();this._closeButton.removeState($[14]);this._closeButton.removeState($[35]);this._closeButton.removeState($[43]);$0.stopPropagation();},_oncaptionmousedown:function($0){if(!$0.isLeftButtonPressed()||!this.getMoveable()||this.getMode()!=null){return;}this._captionBar.setCapture(true);var $1=this.getElement();var $2=this.getParent();var $3=$2.getElement();var $4=qx.bom.element.Location.get($3,$[26]);var $5=qx.bom.element.Location.get($1);this._dragSession={offsetX:$0.getPageX()-$5.left+$4.left,offsetY:$0.getPageY()-$5.top+$4.top,parentAvailableAreaLeft:$4.left+5,parentAvailableAreaTop:$4.top+5,parentAvailableAreaRight:$4.right-5,parentAvailableAreaBottom:$4.bottom-5};switch(this.getMoveMethod()){case $[139]:this.setOpacity(0.5);break;case $[81]:var $6=this._frame;if($6.getParent()!=this.getParent()){$6.setParent(this.getParent());qx.ui.core.Widget.flushGlobalQueues();}$6._renderRuntimeLeft($5.left-$4.left);$6._renderRuntimeTop($5.top-$4.top);$6._renderRuntimeWidth($1.offsetWidth);$6._renderRuntimeHeight($1.offsetHeight);$6.setZIndex(this.getZIndex()+1);break;}},_oncaptionmouseup:function($0){var $1=this._dragSession;if(!$1){return;}this._captionBar.setCapture(false);if($1.lastX!=null){this.setLeft($1.lastX);}if($1.lastY!=null){this.setTop($1.lastY);}switch(this.getMoveMethod()){case $[139]:this.setOpacity(null);break;case $[81]:this._frame.setParent(null);break;}delete this._dragSession;},_oncaptionmousemove:function($0){var $1=this._dragSession;if(!$1||!this._captionBar.getCapture()){return;}if(!qx.lang.Number.isBetweenRange($0.getPageX(),$1.parentAvailableAreaLeft,$1.parentAvailableAreaRight)||!qx.lang.Number.isBetweenRange($0.getPageY(),$1.parentAvailableAreaTop,$1.parentAvailableAreaBottom)){return;}var $2=this.getMoveMethod()==$[81]?this._frame:this;$2._renderRuntimeLeft($1.lastX=$0.getPageX()-$1.offsetX);$2._renderRuntimeTop($1.lastY=$0.getPageY()-$1.offsetY);},_oncaptiondblblick:function($0){if(!this._maximizeButton.getEnabled()){return;}return this.getMode()==$[70]?this.restore():this.maximize();}},destruct:function(){this._disposeObjects($[344],$[695],$[1485],$[668],$[916],$[1295],$[1256],$[974],$[914],$[430],$[1042],$[1251]);}}); >-qx.Class.define($[716],{extend:qx.ui.core.Parent,construct:function($0){arguments.callee.base.call(this);if($0!=null){this.setOrientation($0);}else{this.initOrientation();}},statics:{STR_REVERSED:"-reversed"},properties:{orientation:{check:[$[132],$[117]],init:$[132],apply:$[1555],event:$[1779]},spacing:{check:$[5],init:0,themeable:true,apply:$[577],event:$[1564]},horizontalChildrenAlign:{check:[$[11],$[57],$[9]],init:$[11],themeable:true,apply:$[1087]},verticalChildrenAlign:{check:[$[20],$[62],$[17]],init:$[20],themeable:true,apply:$[1009]},reverseChildrenOrder:{check:$[2],init:false,apply:$[1729]},stretchChildrenOrthogonalAxis:{check:$[2],init:true,apply:$[760]},useAdvancedFlexAllocation:{check:$[2],init:false,apply:$[1587]},accumulatedChildrenOuterWidth:{_cached:true,defaultValue:null},accumulatedChildrenOuterHeight:{_cached:true,defaultValue:null}},members:{_createLayoutImpl:function(){return this.getOrientation()==$[117]?new qx.ui.layout.impl.VerticalBoxLayoutImpl(this):new qx.ui.layout.impl.HorizontalBoxLayoutImpl(this);},_layoutHorizontal:false,_layoutVertical:false,_layoutMode:$[11],isHorizontal:function(){return this._layoutHorizontal;},isVertical:function(){return this._layoutVertical;},getLayoutMode:function(){if(this._layoutMode==null){this._updateLayoutMode();}return this._layoutMode;},_updateLayoutMode:function(){this._layoutMode=this._layoutVertical?this.getVerticalChildrenAlign():this.getHorizontalChildrenAlign();if(this.getReverseChildrenOrder()){this._layoutMode+=qx.ui.layout.BoxLayout.STR_REVERSED;}},_invalidateLayoutMode:function(){this._layoutMode=null;},_applyOrientation:function($0,$1){this._layoutHorizontal=$0==$[132];this._layoutVertical=$0==$[117];if(this._layoutImpl){this._layoutImpl.dispose();this._layoutImpl=null;}if($0){this._layoutImpl=this._createLayoutImpl();}this._doLayoutOrder($0,$1);this.addToQueueRuntime($[1373]);},_applySpacing:function($0,$1){this._doLayout();this.addToQueueRuntime($[1654]);},_applyHorizontalChildrenAlign:function($0,$1){this._doLayoutOrder();this.addToQueueRuntime($[1496]);},_applyVerticalChildrenAlign:function($0,$1){this._doLayoutOrder();this.addToQueueRuntime($[1227]);},_applyReverseChildrenOrder:function($0,$1){this._doLayoutOrder();this.addToQueueRuntime($[869]);},_applyStretchChildrenOrthogonalAxis:function($0,$1){this.addToQueueRuntime($[1524]);},_applyUseAdvancedFlexAllocation:function($0,$1){this.addToQueueRuntime($[1777]);},_doLayoutOrder:function(){this._invalidateLayoutMode();this._doLayout();},_doLayout:function(){this._invalidatePreferredInnerDimensions();this._invalidateAccumulatedChildrenOuterWidth();this._invalidateAccumulatedChildrenOuterHeight();},_computeAccumulatedChildrenOuterWidth:function(){var $0=this.getVisibleChildren(),$1,$2=-1,$3=this.getSpacing(),$4=-$3;while($1=$0[++$2]){$4+=$1.getOuterWidth()+$3;}return $4;},_computeAccumulatedChildrenOuterHeight:function(){var $0=this.getVisibleChildren(),$1,$2=-1,$3=this.getSpacing(),$4=-$3;while($1=$0[++$2]){$4+=$1.getOuterHeight()+$3;}return $4;},_recomputeChildrenStretchingX:function(){var $0=this.getVisibleChildren(),$1,$2=-1;while($1=$0[++$2]){if($1._recomputeStretchingX()&&$1._recomputeBoxWidth()){$1._recomputeOuterWidth();}}},_recomputeChildrenStretchingY:function(){var $0=this.getVisibleChildren(),$1,$2=-1;while($1=$0[++$2]){if($1._recomputeStretchingY()&&$1._recomputeBoxHeight()){$1._recomputeOuterHeight();}}}}}); >-qx.Class.define($[860],{extend:qx.ui.layout.impl.LayoutImpl,properties:{enableFlexSupport:{check:$[2],init:true}},members:{computeChildBoxWidth:function($0){if(this.getWidget().getStretchChildrenOrthogonalAxis()&&$0._computedWidthTypeNull&&$0.getAllowStretchX()){return this.getWidget().getInnerWidth();}return $0.getWidthValue()||$0._computeBoxWidthFallback();},computeChildBoxHeight:function($0){return $0.getHeightValue()||$0._computeBoxHeightFallback();},computeChildrenFlexHeight:function(){if(this._childrenFlexHeightComputed||!this.getEnableFlexSupport()){return;}this._childrenFlexHeightComputed=true;var $0=this.getWidget();var $1=$0.getVisibleChildren();var $2=$1.length;var $3;var $4=[];var $5=$0.getInnerHeight();var $6=$0.getSpacing()*($2-1);var $7;for($7=0;$7<$2;$7++){$3=$1[$7];if($3._computedHeightTypeFlex){$4.push($3);if($0._computedHeightTypeAuto){$6+=$3.getPreferredBoxHeight();}}else{$6+=$3.getOuterHeight();}}var $8=$5-$6;var $9=$4.length;var $a=0;for($7=0;$7<$9;$7++){$a+=$4[$7]._computedHeightParsed;}var $b=$8/$a;if(!$0.getUseAdvancedFlexAllocation()){for($7=0;$7<$9;$7++){$3=$4[$7];$3._computedHeightFlexValue=Math.round($3._computedHeightParsed*$b);$6+=$3._computedHeightFlexValue;}}else{var $c=0;var $d,$9,$e,$f,$g,$h;for($7=0;$7<$9;$7++){$3=$4[$7];$h=$3._computedHeightFlexValue=$3._computedHeightParsed*$b;$c+=$h-qx.lang.Number.limit($h,$3.getMinHeightValue(),$3.getMaxHeightValue());}$c=Math.round($c);if($c==0){for($7=0;$7<$9;$7++){$3=$4[$7];$3._computedHeightFlexValue=Math.round($3._computedHeightFlexValue);$6+=$3._computedHeightFlexValue;}}else{var $i=$c>0;for($7=$9-1;$7>=0;$7--){$3=$4[$7];if($i){$e=($3.getMaxHeightValue()||Infinity)-$3._computedHeightFlexValue;if($e>0){$3._allocationLoops=Math.floor($e/$3._computedHeightParsed);}else{qx.lang.Array.removeAt($4,$7);$3._computedHeightFlexValue=Math.round($3._computedHeightFlexValue);$6+=Math.round($3._computedHeightFlexValue+$e);}}else{$e=qx.util.Validation.isValidNumber($3.getMinHeightValue())?$3._computedHeightFlexValue-$3.getMinHeightValue():$3._computedHeightFlexValue;if($e>0){$3._allocationLoops=Math.floor($e/$3._computedHeightParsed);}else{qx.lang.Array.removeAt($4,$7);$3._computedHeightFlexValue=Math.round($3._computedHeightFlexValue);$6+=Math.round($3._computedHeightFlexValue-$e);}}}while($c!=0&&$9>0){$9=$4.length;$d=Infinity;$g=0;for($7=0;$7<$9;$7++){$d=Math.min($d,$4[$7]._allocationLoops);$g+=$4[$7]._computedHeightParsed;}$f=Math.min($g*$d,$c);$c-=$f;for($7=$9-1;$7>=0;$7--){$3=$4[$7];$3._computedHeightFlexValue+=$f/$g*$3._computedHeightParsed;if($3._allocationLoops==$d){$3._computedHeightFlexValue=Math.round($3._computedHeightFlexValue);$6+=$3._computedHeightFlexValue;delete $3._allocationLoops;qx.lang.Array.removeAt($4,$7);}else{if($c==0){$3._computedHeightFlexValue=Math.round($3._computedHeightFlexValue);$6+=$3._computedHeightFlexValue;delete $3._allocationLoops;}else{$3._allocationLoops-=$d;}}}}}}$3._computedHeightFlexValue+=$5-$6;},invalidateChildrenFlexHeight:function(){delete this._childrenFlexHeightComputed;},computeChildrenNeededHeight:function(){var $0=this.getWidget();return qx.ui.layout.impl.LayoutImpl.prototype.computeChildrenNeededHeight_sum.call(this)+(($0.getVisibleChildrenLength()-1)*$0.getSpacing());},updateSelfOnChildOuterHeightChange:function($0){this.getWidget()._invalidateAccumulatedChildrenOuterHeight();},updateChildOnInnerWidthChange:function($0){var $1=$0._recomputePercentX();var $2=$0._recomputeStretchingX();if(($0.getHorizontalAlign()||this.getWidget().getHorizontalChildrenAlign())==$[57]){$0.addToLayoutChanges($[100]);}return $1||$2;},updateChildOnInnerHeightChange:function($0){if(this.getWidget().getVerticalChildrenAlign()==$[62]){$0.addToLayoutChanges($[113]);}var $1=$0._recomputePercentY();var $2=$0._recomputeFlexY();return $1||$2;},updateSelfOnJobQueueFlush:function($0){if($0.addChild||$0.removeChild){this.getWidget()._invalidateAccumulatedChildrenOuterHeight();}},updateChildrenOnJobQueueFlush:function($0){var $1=false,$2=false;var $3=this.getWidget();if($0.orientation){$1=$2=true;}if($0.spacing||$0.orientation||$0.reverseChildrenOrder||$0.verticalChildrenAlign){$3._addChildrenToLayoutQueue($[113]);}if($0.horizontalChildrenAlign){$3._addChildrenToLayoutQueue($[100]);}if($0.stretchChildrenOrthogonalAxis){$1=true;}if($1){$3._recomputeChildrenStretchingX();$3._addChildrenToLayoutQueue($[30]);}if($2){$3._recomputeChildrenStretchingY();$3._addChildrenToLayoutQueue($[31]);}return true;},updateChildrenOnRemoveChild:function($0,$1){var $2=this.getWidget(),$3=$2.getVisibleChildren(),$4=$3.length,$5,$6=-1;if(this.getEnableFlexSupport()){for(var $6=0;$6<$4;$6++){$5=$3[$6];if($5.getHasFlexY()){$1=Math.min($1,$6);break;}}$6=-1;}switch($2.getLayoutMode()){case $[17]:case $[221]:while(($5=$3[++$6])&&$6<$1){$5.addToLayoutChanges($[113]);}break;case $[62]:case $[228]:while($5=$3[++$6]){$5.addToLayoutChanges($[113]);}break;default:$6+=$1;while($5=$3[++$6]){$5.addToLayoutChanges($[113]);}}},updateChildrenOnMoveChild:function($0,$1,$2){var $3=this.getWidget().getVisibleChildren();var $4=Math.min($1,$2);var $5=Math.max($1,$2)+1;for(var $6=$4;$6<$5;$6++){$3[$6].addToLayoutChanges($[113]);}},flushChildrenQueue:function($0){var $1=this.getWidget(),$2=$1.getVisibleChildren(),$3=$2.length,$4,$5;if(this.getEnableFlexSupport()){this.invalidateChildrenFlexHeight();for($5=0;$5<$3;$5++){$4=$2[$5];if($4.getHasFlexY()){$4._computedHeightValue=null;if($4._recomputeBoxHeight()){$4._recomputeOuterHeight();$4._recomputeInnerHeight();}$0[$4.toHashCode()]=$4;$4._layoutChanges.height=true;}}}switch($1.getLayoutMode()){case $[17]:case $[221]:for(var $5=$3-1;$5>=0&&!$0[$2[$5].toHashCode()];$5--){}for(var $6=0;$6<=$5;$6++){$1._layoutChild($4=$2[$6]);}break;case $[62]:case $[228]:$5=-1;while($4=$2[++$5]){$1._layoutChild($4);}break;default:$5=-1;var $7=false;while($4=$2[++$5]){if($7||$0[$4.toHashCode()]){$1._layoutChild($4);$7=true;}}}},layoutChild:function($0,$1){this.layoutChild_sizeX($0,$1);this.layoutChild_sizeY($0,$1);this.layoutChild_sizeLimitX($0,$1);this.layoutChild_sizeLimitY($0,$1);this.layoutChild_locationX($0,$1);this.layoutChild_locationY($0,$1);this.layoutChild_marginX($0,$1);this.layoutChild_marginY($0,$1);},layoutChild_sizeX:qx.core.Variant.select($[1],{"mshtml|opera|webkit":function($0,$1){if($1.initial||$1.width||$1.minWidth||$1.maxWidth){if(($0._isWidthEssential()&&(!$0._computedWidthTypeNull||!$0._computedMinWidthTypeNull||!$0._computedMaxWidthTypeNull))||($0.getAllowStretchX()&&this.getWidget().getStretchChildrenOrthogonalAxis())){$0._renderRuntimeWidth($0.getBoxWidth());}else{$0._resetRuntimeWidth();}}},"default":function($0,$1){if($1.initial||$1.width){if($0._isWidthEssential()&&!$0._computedWidthTypeNull){$0._renderRuntimeWidth($0.getWidthValue());}else{$0._resetRuntimeWidth();}}}}),layoutChild_sizeY:qx.core.Variant.select($[1],{"mshtml|opera|webkit":function($0,$1){if($1.initial||$1.height||$1.minHeight||$1.maxHeight){if($0._isHeightEssential()&&(!$0._computedHeightTypeNull||!$0._computedMinHeightTypeNull||!$0._computedMaxHeightTypeNull)){$0._renderRuntimeHeight($0.getBoxHeight());}else{$0._resetRuntimeHeight();}}},"default":function($0,$1){if($1.initial||$1.height){if($0._isHeightEssential()&&!$0._computedHeightTypeNull){$0._renderRuntimeHeight($0.getHeightValue());}else{$0._resetRuntimeHeight();}}}}),layoutChild_locationY:function($0,$1){var $2=this.getWidget();if($2.getFirstVisibleChild()==$0){switch($2.getLayoutMode()){case $[17]:case $[221]:var $3=$2.getPaddingBottom()+$2.getAccumulatedChildrenOuterHeight()-$0.getOuterHeight();break;case $[62]:case $[228]:var $3=$2.getPaddingTop()+Math.round(($2.getInnerHeight()-$2.getAccumulatedChildrenOuterHeight())/2);break;default:var $3=$2.getPaddingTop();}}else{var $4=$0.getPreviousVisibleSibling();switch($2.getLayoutMode()){case $[17]:case $[221]:var $3=$4._cachedLocationVertical-$0.getOuterHeight()-$2.getSpacing();break;default:var $3=$4._cachedLocationVertical+$4.getOuterHeight()+$2.getSpacing();}}$0._cachedLocationVertical=$3;switch(this.getWidget().getLayoutMode()){case $[17]:case $[1266]:case $[228]:$3+=!$0._computedBottomTypeNull?$0.getBottomValue():!$0._computedTopTypeNull?-($0.getTopValue()):0;$0._resetRuntimeTop();$0._renderRuntimeBottom($3);break;default:$3+=!$0._computedTopTypeNull?$0.getTopValue():!$0._computedBottomTypeNull?-($0.getBottomValue()):0;$0._resetRuntimeBottom();$0._renderRuntimeTop($3);}},layoutChild_locationX:function($0,$1){var $2=this.getWidget();if(qx.core.Variant.isSet($[1],$[21])){if($0.getAllowStretchX()&&$2.getStretchChildrenOrthogonalAxis()&&$0._computedWidthTypeNull){$0._renderRuntimeLeft($2.getPaddingLeft()||0);$0._renderRuntimeRight($2.getPaddingRight()||0);return;}}var $3=$0.getHorizontalAlign()||$2.getHorizontalChildrenAlign();var $4=$3==$[57]?Math.round(($2.getInnerWidth()-$0.getOuterWidth())/2):0;if($3==$[9]){$4+=$2.getPaddingRight();if(!$0._computedRightTypeNull){$4+=$0.getRightValue();}else if(!$0._computedLeftTypeNull){$4-=$0.getLeftValue();}$0._resetRuntimeLeft();$0._renderRuntimeRight($4);}else{$4+=$2.getPaddingLeft();if(!$0._computedLeftTypeNull){$4+=$0.getLeftValue();}else if(!$0._computedRightTypeNull){$4-=$0.getRightValue();}$0._resetRuntimeRight();$0._renderRuntimeLeft($4);}}}}); >-qx.Class.define($[1421],{extend:qx.ui.layout.impl.LayoutImpl,properties:{enableFlexSupport:{check:$[2],init:true}},members:{computeChildBoxWidth:function($0){return $0.getWidthValue()||$0._computeBoxWidthFallback();},computeChildBoxHeight:function($0){if(this.getWidget().getStretchChildrenOrthogonalAxis()&&$0._computedHeightTypeNull&&$0.getAllowStretchY()){return this.getWidget().getInnerHeight();}return $0.getHeightValue()||$0._computeBoxHeightFallback();},computeChildrenFlexWidth:function(){if(this._childrenFlexWidthComputed||!this.getEnableFlexSupport()){return;}this._childrenFlexWidthComputed=true;var $0=this.getWidget();var $1=$0.getVisibleChildren();var $2=$1.length;var $3;var $4=[];var $5=$0.getInnerWidth();var $6=$0.getSpacing()*($2-1);var $7;for($7=0;$7<$2;$7++){$3=$1[$7];if($3._computedWidthTypeFlex){$4.push($3);if($0._computedWidthTypeAuto){$6+=$3.getPreferredBoxWidth();}}else{$6+=$3.getOuterWidth();}}var $8=$5-$6;var $9=$4.length;var $a=0;for($7=0;$7<$9;$7++){$a+=$4[$7]._computedWidthParsed;}var $b=$8/$a;if(!$0.getUseAdvancedFlexAllocation()){for($7=0;$7<$9;$7++){$3=$4[$7];$3._computedWidthFlexValue=Math.round($3._computedWidthParsed*$b);$6+=$3._computedWidthFlexValue;}}else{var $c=0;var $d,$9,$e,$f,$g,$h;for($7=0;$7<$9;$7++){$3=$4[$7];$h=$3._computedWidthFlexValue=$3._computedWidthParsed*$b;$c+=$h-qx.lang.Number.limit($h,$3.getMinWidthValue(),$3.getMaxWidthValue());}$c=Math.round($c);if($c==0){for($7=0;$7<$9;$7++){$3=$4[$7];$3._computedWidthFlexValue=Math.round($3._computedWidthFlexValue);$6+=$3._computedWidthFlexValue;}}else{var $i=$c>0;for($7=$9-1;$7>=0;$7--){$3=$4[$7];if($i){$e=($3.getMaxWidthValue()||Infinity)-$3._computedWidthFlexValue;if($e>0){$3._allocationLoops=Math.floor($e/$3._computedWidthParsed);}else{qx.lang.Array.removeAt($4,$7);$3._computedWidthFlexValue=Math.round($3._computedWidthFlexValue);$6+=Math.round($3._computedWidthFlexValue+$e);}}else{$e=qx.util.Validation.isValidNumber($3.getMinWidthValue())?$3._computedWidthFlexValue-$3.getMinWidthValue():$3._computedWidthFlexValue;if($e>0){$3._allocationLoops=Math.floor($e/$3._computedWidthParsed);}else{qx.lang.Array.removeAt($4,$7);$3._computedWidthFlexValue=Math.round($3._computedWidthFlexValue);$6+=Math.round($3._computedWidthFlexValue-$e);}}}while($c!=0&&$9>0){$9=$4.length;$d=Infinity;$g=0;for($7=0;$7<$9;$7++){$d=Math.min($d,$4[$7]._allocationLoops);$g+=$4[$7]._computedWidthParsed;}$f=Math.min($g*$d,$c);$c-=$f;for($7=$9-1;$7>=0;$7--){$3=$4[$7];$3._computedWidthFlexValue+=$f/$g*$3._computedWidthParsed;if($3._allocationLoops==$d){$3._computedWidthFlexValue=Math.round($3._computedWidthFlexValue);$6+=$3._computedWidthFlexValue;delete $3._allocationLoops;qx.lang.Array.removeAt($4,$7);}else{if($c==0){$3._computedWidthFlexValue=Math.round($3._computedWidthFlexValue);$6+=$3._computedWidthFlexValue;delete $3._allocationLoops;}else{$3._allocationLoops-=$d;}}}}}}$3._computedWidthFlexValue+=$5-$6;},invalidateChildrenFlexWidth:function(){delete this._childrenFlexWidthComputed;},computeChildrenNeededWidth:function(){var $0=this.getWidget();return qx.ui.layout.impl.LayoutImpl.prototype.computeChildrenNeededWidth_sum.call(this)+(($0.getVisibleChildrenLength()-1)*$0.getSpacing());},updateSelfOnChildOuterWidthChange:function($0){this.getWidget()._invalidateAccumulatedChildrenOuterWidth();},updateChildOnInnerWidthChange:function($0){if(this.getWidget().getHorizontalChildrenAlign()==$[57]){$0.addToLayoutChanges($[100]);}var $1=$0._recomputePercentX();var $2=$0._recomputeFlexX();return $1||$2;},updateChildOnInnerHeightChange:function($0){var $1=$0._recomputePercentY();var $2=$0._recomputeStretchingY();if(($0.getVerticalAlign()||this.getWidget().getVerticalChildrenAlign())==$[62]){$0.addToLayoutChanges($[113]);}return $1||$2;},updateSelfOnJobQueueFlush:function($0){if($0.addChild||$0.removeChild){this.getWidget()._invalidateAccumulatedChildrenOuterWidth();}},updateChildrenOnJobQueueFlush:function($0){var $1=false,$2=false;var $3=this.getWidget();if($0.orientation){$1=$2=true;}if($0.spacing||$0.orientation||$0.reverseChildrenOrder||$0.horizontalChildrenAlign){$3._addChildrenToLayoutQueue($[100]);}if($0.verticalChildrenAlign){$3._addChildrenToLayoutQueue($[113]);}if($0.stretchChildrenOrthogonalAxis){$2=true;}if($1){$3._recomputeChildrenStretchingX();$3._addChildrenToLayoutQueue($[30]);}if($2){$3._recomputeChildrenStretchingY();$3._addChildrenToLayoutQueue($[31]);}return true;},updateChildrenOnRemoveChild:function($0,$1){var $2=this.getWidget(),$3=$2.getVisibleChildren(),$4=$3.length,$5,$6=-1;if(this.getEnableFlexSupport()){for($6=0;$6<$4;$6++){$5=$3[$6];if($5.getHasFlexX()){$1=Math.min($1,$6);break;}}$6=-1;}switch($2.getLayoutMode()){case $[9]:case $[217]:while(($5=$3[++$6])&&$6<$1){$5.addToLayoutChanges($[100]);}break;case $[57]:case $[229]:while($5=$3[++$6]){$5.addToLayoutChanges($[100]);}break;default:$6+=$1;while($5=$3[++$6]){$5.addToLayoutChanges($[100]);}}},updateChildrenOnMoveChild:function($0,$1,$2){var $3=this.getWidget().getVisibleChildren();var $4=Math.min($1,$2);var $5=Math.max($1,$2)+1;for(var $6=$4;$6<$5;$6++){$3[$6].addToLayoutChanges($[100]);}},flushChildrenQueue:function($0){var $1=this.getWidget(),$2=$1.getVisibleChildren(),$3=$2.length,$4,$5;if(this.getEnableFlexSupport()){this.invalidateChildrenFlexWidth();for($5=0;$5<$3;$5++){$4=$2[$5];if($4.getHasFlexX()){$4._computedWidthValue=null;if($4._recomputeBoxWidth()){$4._recomputeOuterWidth();$4._recomputeInnerWidth();}$0[$4.toHashCode()]=$4;$4._layoutChanges.width=true;}}}switch($1.getLayoutMode()){case $[9]:case $[217]:for(var $5=$3-1;$5>=0&&!$0[$2[$5].toHashCode()];$5--){}for(var $6=0;$6<=$5;$6++){$1._layoutChild($4=$2[$6]);}break;case $[57]:case $[229]:$5=-1;while($4=$2[++$5]){$1._layoutChild($4);}break;default:$5=-1;var $7=false;while($4=$2[++$5]){if($7||$0[$4.toHashCode()]){$1._layoutChild($4);$7=true;}}}},layoutChild:function($0,$1){this.layoutChild_sizeX($0,$1);this.layoutChild_sizeY($0,$1);this.layoutChild_sizeLimitX($0,$1);this.layoutChild_sizeLimitY($0,$1);this.layoutChild_locationX($0,$1);this.layoutChild_locationY($0,$1);this.layoutChild_marginX($0,$1);this.layoutChild_marginY($0,$1);},layoutChild_sizeX:qx.core.Variant.select($[1],{"mshtml|opera|webkit":function($0,$1){if($1.initial||$1.width||$1.minWidth||$1.maxWidth){if($0._isWidthEssential()&&(!$0._computedWidthTypeNull||!$0._computedMinWidthTypeNull||!$0._computedMaxWidthTypeNull)){$0._renderRuntimeWidth($0.getBoxWidth());}else{$0._resetRuntimeWidth();}}},"default":function($0,$1){if($1.initial||$1.width){if($0._isWidthEssential()&&!$0._computedWidthTypeNull){$0._renderRuntimeWidth($0.getWidthValue());}else{$0._resetRuntimeWidth();}}}}),layoutChild_sizeY:qx.core.Variant.select($[1],{"mshtml|opera|webkit":function($0,$1){if($1.initial||$1.height||$1.minHeight||$1.maxHeight){if(($0._isHeightEssential()&&(!$0._computedHeightTypeNull||!$0._computedMinHeightTypeNull||!$0._computedMaxHeightTypeNull))||($0.getAllowStretchY()&&this.getWidget().getStretchChildrenOrthogonalAxis())){$0._renderRuntimeHeight($0.getBoxHeight());}else{$0._resetRuntimeHeight();}}},"default":function($0,$1){if($1.initial||$1.height){if($0._isHeightEssential()&&!$0._computedHeightTypeNull){$0._renderRuntimeHeight($0.getHeightValue());}else{$0._resetRuntimeHeight();}}}}),layoutChild_locationX:function($0,$1){var $2=this.getWidget();if($2.getFirstVisibleChild()==$0){switch($2.getLayoutMode()){case $[9]:case $[217]:var $3=$2.getPaddingRight()+$2.getAccumulatedChildrenOuterWidth()-$0.getOuterWidth();break;case $[57]:case $[229]:var $3=$2.getPaddingLeft()+Math.round(($2.getInnerWidth()-$2.getAccumulatedChildrenOuterWidth())/2);break;default:var $3=$2.getPaddingLeft();}}else{var $4=$0.getPreviousVisibleSibling();switch($2.getLayoutMode()){case $[9]:case $[217]:var $3=$4._cachedLocationHorizontal-$0.getOuterWidth()-$2.getSpacing();break;default:var $3=$4._cachedLocationHorizontal+$4.getOuterWidth()+$2.getSpacing();}}$0._cachedLocationHorizontal=$3;switch($2.getLayoutMode()){case $[9]:case $[1062]:case $[229]:$3+=!$0._computedRightTypeNull?$0.getRightValue():!$0._computedLeftTypeNull?-($0.getLeftValue()):0;$0._resetRuntimeLeft();$0._renderRuntimeRight($3);break;default:$3+=!$0._computedLeftTypeNull?$0.getLeftValue():!$0._computedRightTypeNull?-($0.getRightValue()):0;$0._resetRuntimeRight();$0._renderRuntimeLeft($3);}},layoutChild_locationY:function($0,$1){var $2=this.getWidget();if(qx.core.Variant.isSet($[1],$[21])){if($0.getAllowStretchY()&&$2.getStretchChildrenOrthogonalAxis()&&$0._computedHeightTypeNull){$0._renderRuntimeTop($2.getPaddingTop()||0);$0._renderRuntimeBottom($2.getPaddingBottom()||0);return;}}var $3=$0.getVerticalAlign()||$2.getVerticalChildrenAlign();var $4=$3==$[62]?Math.round(($2.getInnerHeight()-$0.getOuterHeight())/2):0;if($3==$[17]){$4+=$2.getPaddingBottom();if(!$0._computedBottomTypeNull){$4+=$0.getBottomValue();}else if(!$0._computedTopTypeNull){$4-=$0.getTopValue();}$0._resetRuntimeTop();$0._renderRuntimeBottom($4);}else{$4+=$2.getPaddingTop();if(!$0._computedTopTypeNull){$4+=$0.getTopValue();}else if(!$0._computedBottomTypeNull){$4-=$0.getBottomValue();}$0._resetRuntimeBottom();$0._renderRuntimeTop($4);}}}}); >+qx.Class.define($[735],{statics:{__umlautsRegExp:new RegExp($[1716],$[289]),__umlautsShortData:{"\xC4":$[174],"\xD6":$[1094],"\xDC":$[672],"\xE4":$[313],"\xF6":$[714],"\xFC":$[1601],"\xDF":$[534]},__umlautsShort:function($0){return qx.util.Normalization.__umlautsShortData[$0];},umlautsShort:function($0){return $0.replace(qx.util.Normalization.__umlautsRegExp,qx.lang.Function.bind(this.__umlautsShort,this));},__umlautsLongData:{"\xC4":$[1088],"\xD6":$[1613],"\xDC":$[1229],"\xE4":$[1015],"\xF6":$[1519],"\xFC":$[1167],"\xDF":$[1513]},__umlautsLong:function($0){return qx.util.Normalization.__umlautsLongData[$0];},umlautsLong:function($0){return $0.replace(qx.util.Normalization.__umlautsRegExp,qx.lang.Function.bind(this.__umlautsLong,this));}}}); >+qx.Class.define($[1228],{statics:{__style:function($0,$1){return qx.bom.element.Style.get($0,$1,qx.bom.element.Style.COMPUTED_MODE,false);},__num:function($0,$1){return parseInt(qx.bom.element.Style.get($0,$1,qx.bom.element.Style.COMPUTED_MODE,false))||0;},__computeScroll:function($0){var $1=0,$2=0;if(qx.core.Variant.isSet($[1],$[13])&&$0.getBoundingClientRect){var $3=qx.dom.Node.getWindow($0);$1-=qx.bom.Viewport.getScrollLeft($3);$2-=qx.bom.Viewport.getScrollTop($3);}else{var $4=qx.dom.Node.getDocument($0).body;$0=$0.parentNode;while($0&&$0!=$4){$1+=$0.scrollLeft;$2+=$0.scrollTop;$0=$0.parentNode;}}return {left:$1,top:$2};},__computeBody:qx.core.Variant.select($[1],{"mshtml":function($0){var $1=qx.dom.Node.getDocument($0);var $2=$1.body;var $3=$2.offsetLeft;var $4=$2.offsetTop;$3-=this.__num($2,$[72]);$4-=this.__num($2,$[68]);if($1.compatMode===$[91]){$3+=this.__num($2,$[159]);$4+=this.__num($2,$[153]);}return {left:$3,top:$4};},"webkit":function($0){var $1=qx.dom.Node.getDocument($0);var $2=$1.body;var $3=$2.offsetLeft;var $4=$2.offsetTop;$3+=this.__num($2,$[72]);$4+=this.__num($2,$[68]);if($1.compatMode===$[91]){$3+=this.__num($2,$[159]);$4+=this.__num($2,$[153]);}return {left:$3,top:$4};},"gecko":function($0){var $1=qx.dom.Node.getDocument($0).body;var $2=$1.offsetLeft;var $3=$1.offsetTop;if(qx.bom.element.Dimension.getBoxSizing($1)!==$[238]){$2+=this.__num($1,$[72]);$3+=this.__num($1,$[68]);if(!$0.getBoundingClientRect){var $4;while($0){if(this.__style($0,$[78])===$[54]||this.__style($0,$[78])===$[123]){$4=true;break;}$0=$0.offsetParent;}if(!$4){$2+=this.__num($1,$[72]);$3+=this.__num($1,$[68]);}}}return {left:$2,top:$3};},"default":function($0){var $1=qx.dom.Node.getDocument($0).body;var $2=$1.offsetLeft;var $3=$1.offsetTop;return {left:$2,top:$3};}}),__computeOffset:qx.core.Variant.select($[1],{"mshtml|webkit":function($0){var $1=qx.dom.Node.getDocument($0);if($0.getBoundingClientRect){var $2=$0.getBoundingClientRect();var $3=$2.left;var $4=$2.top;if($1.compatMode===$[91]){$3-=this.__num($0,$[72]);$4-=this.__num($0,$[68]);}}else{var $3=$0.offsetLeft;var $4=$0.offsetTop;$0=$0.offsetParent;var $5=$1.body;while($0&&$0!=$5){$3+=$0.offsetLeft;$4+=$0.offsetTop;$3+=this.__num($0,$[72]);$4+=this.__num($0,$[68]);$0=$0.offsetParent;}}return {left:$3,top:$4};},"gecko":function($0){if($0.getBoundingClientRect){var $1=$0.getBoundingClientRect();var $2=Math.round($1.left);var $3=Math.round($1.top);}else{var $2=0;var $3=0;var $4=qx.dom.Node.getDocument($0).body;var $5=qx.bom.element.Dimension;if($5.getBoxSizing($0)!==$[238]){$2-=this.__num($0,$[72]);$3-=this.__num($0,$[68]);}while($0&&$0!==$4){$2+=$0.offsetLeft;$3+=$0.offsetTop;if($5.getBoxSizing($0)!==$[238]){$2+=this.__num($0,$[72]);$3+=this.__num($0,$[68]);}if($0.parentNode&&this.__style($0.parentNode,$[63])!=$[1660]){$2+=this.__num($0.parentNode,$[72]);$3+=this.__num($0.parentNode,$[68]);}$0=$0.offsetParent;}}return {left:$2,top:$3};},"default":function($0){var $1=0;var $2=0;var $3=qx.dom.Node.getDocument($0).body;while($0&&$0!==$3){$1+=$0.offsetLeft;$2+=$0.offsetTop;$0=$0.offsetParent;}return {left:$1,top:$2};}}),get:function($0,$1){var $2=this.__computeBody($0);if($0.tagName==$[822]){var $3=$2.left;var $4=$2.top;}else{var $5=this.__computeOffset($0);var $6=this.__computeScroll($0);var $3=$5.left+$2.left-$6.left;var $4=$5.top+$2.top-$6.top;}var $7=$3+$0.offsetWidth;var $8=$4+$0.offsetHeight;if($1){switch($1){case $[430]:$3-=this.__num($0,$[159]);$4-=this.__num($0,$[153]);$7+=this.__num($0,$[225]);$8+=this.__num($0,$[211]);break;case $[1714]:break;case $[351]:$3+=this.__num($0,$[242]);$4+=this.__num($0,$[215]);$7-=this.__num($0,$[245]);$8-=this.__num($0,$[231]);case $[26]:$3-=$0.scrollLeft;$4-=$0.scrollTop;$7+=$0.scrollLeft;$8+=$0.scrollTop;case $[591]:$3+=this.__num($0,$[72]);$4+=this.__num($0,$[68]);$7-=this.__num($0,$[424]);$8-=this.__num($0,$[341]);break;default:throw new Error("Invalid mode for location detection: "+$1);}}return {left:$3,top:$4,right:$7,bottom:$8};},getLeft:function($0,$1){return this.get($0,$1).left;},getTop:function($0,$1){return this.get($0,$1).top;},getRight:function($0,$1){return this.get($0,$1).right;},getBottom:function($0,$1){return this.get($0,$1).bottom;},getRelative:function($0,$1,$2,$3){var $4=this.get($0,$2);var $5=this.get($1,$3);return {left:$4.left-$5.left,top:$4.top-$5.top,right:$4.right-$5.right,bottom:$4.bottom-$5.bottom};}}}); >+qx.Class.define($[925],{statics:{__hints:{names:{"float":qx.core.Variant.isSet($[1],$[13])?$[1156]:$[1204],"boxSizing":qx.core.Variant.isSet($[1],$[21])?$[1163]:$[459]},mshtmlPixel:{width:$[1007],height:$[763],left:$[1359],right:$[1431],top:$[1294],bottom:$[569]},special:{clip:true,cursor:true,opacity:true,overflowX:true,overflowY:true}},setCss:qx.core.Variant.select($[1],{"mshtml":function($0,$1){$0.style.cssText=$1;},"default":function($0,$1){$0.setAttribute($[44],$1);}}),getCss:qx.core.Variant.select($[1],{"mshtml":function($0){return $0.style.cssText.toLowerCase();},"default":function($0){return $0.getAttribute($[44]);}}),COMPUTED_MODE:1,CASCADED_MODE:2,LOCAL_MODE:3,set:function($0,$1,$2,$3){var $4=this.__hints;$1=$4.names[$1]||$1;$0.style[$1]=$2||$[0];},reset:function($0,$1,$2){var $3=this.__hints;$1=$3.names[$1]||$1;$0.style[$1]=$[0];},get:qx.core.Variant.select($[1],{"mshtml":function($0,$1,$2,$3){var $4=this.__hints;$1=$4.names[$1]||$1;switch($2){case this.LOCAL_MODE:return $0.style[$1]||$[0];case this.CASCADED_MODE:return $0.currentStyle[$1];default:var $5=$0.currentStyle[$1];if(/^-?[\.\d]+(px)?$/i.test($5)){return $5;}var $6=$4.mshtmlPixel[$1];if($6){var $7=$0.style[$1];$0.style[$1]=$5||0;var $8=$0.style[$6]+$[38];$0.style[$1]=$7;return $8;}if(/^-?[\.\d]+(em|pt|%)?$/i.test($5)){throw new Error("Untranslated computed property value: "+$1+". Only pixel values work well across different clients.");}return $5;}},"default":function($0,$1,$2,$3){var $4=this.__hints;$1=$4.names[$1]||$1;switch($2){case this.LOCAL_MODE:return $0.style[$1];case this.CASCADED_MODE:if($0.currentStyle){return $0.currentStyle[$1];}throw new Error("Cascaded styles are not supported in this browser!");default:var $5=qx.dom.Node.getDocument($0);var $6=$5.defaultView.getComputedStyle($0,null);return $6?$6[$1]:null;}}})}}); >+qx.Class.define($[625],{statics:{getWidth:function($0){return $0.offsetWidth;},getHeight:function($0){return $0.offsetHeight;},getClientWidth:function($0){return $0.clientWidth;},getClientHeight:function($0){return $0.clientHeight;},getScrollWidth:function($0){return $0.scrollWidth;},getScrollHeight:function($0){return $0.scrollHeight;},__nativeBorderBox:{tags:{button:true,select:true},types:{search:true,button:true,submit:true,reset:true,checkbox:true,radio:true}},__usesNativeBorderBox:function($0){var $1=this.__nativeBorderBox;return $1.tags[$0.tagName.toLowerCase()]||$1.types[$0.type];},setBoxSizing:qx.core.Variant.select($[1],{"gecko":function($0,$1){$0.style.MozBoxSizing=$1||$[0];},"mshtml":function($0,$1){},"default":function($0,$1){$0.style.boxSizing=$1||$[0];}}),getBoxSizing:qx.core.Variant.select($[1],{"gecko":function($0){return qx.bom.element.Style.get($0,$[954],qx.bom.element.Style.COMPUTED_MODE,false);},"mshtml":function($0){if(qx.bom.Document.isStandardMode(qx.dom.Node.getDocument($0))){if(!this.__usesNativeBorderBox($0)){return $[1617];}}return $[238];},"default":function($0){return qx.bom.element.Style.get($0,$[459],qx.bom.element.Style.COMPUTED_MODE,false);}})}}); >+qx.Class.define($[1189],{statics:{isQuirksMode:function($0){return ($0||window).document.compatMode!==$[91];},isStandardMode:function($0){return ($0||window).document.compatMode===$[91];},getWidth:function($0){var $1=($0||window).document;var $2=qx.bom.Viewport.getWidth($0);var $3=$1.compatMode===$[91]?$1.documentElement.scrollWidth:$1.body.scrollWidth;return Math.max($3,$2);},getHeight:function($0){var $1=($0||window).document;var $2=qx.bom.Viewport.getHeight($0);var $3=$1.compatMode===$[91]?$1.documentElement.scrollHeight:$1.body.scrollHeight;return Math.max($3,$2);}}}); >+qx.Mixin.define($[1052],{construct:function($0){this._frame=new qx.ui.basic.Terminator;this._frame.setAppearance($[1070]);this.addEventListener($[12],this._onmousedown);this.addEventListener($[22],this._onmouseup);this.addEventListener($[148],this._onmousemove);},properties:{resizableWest:{check:$[2],init:true,apply:$[206]},resizableNorth:{check:$[2],init:true,apply:$[206]},resizableEast:{check:$[2],init:true,apply:$[206]},resizableSouth:{check:$[2],init:true,apply:$[206]},resizable:{group:[$[592],$[551],$[1647],$[1448]],mode:$[103]},resizeMethod:{init:$[81],check:[$[240],$[455],$[81],$[139]],event:$[701]}},members:{isResizable:function(){return this.getResizableWest()||this.getResizableEast()||this.getResizableNorth()||this.getResizableSouth();},getResizable:function(){return this.isResizable();},_applyResizable:function($0,$1){},_onmousedown:function($0){if(this._resizeNorth||this._resizeSouth||this._resizeWest||this._resizeEast){this.setCapture(true);this.getTopLevelWidget().setGlobalCursor(this.getCursor());var $1=this.getElement();var $2=this._getResizeParent();var $3=$2.getElement();var $4=qx.bom.element.Location.get($3,$[26]);var $5=qx.bom.element.Location.get($1);switch(this.getResizeMethod()){case $[139]:this.setOpacity(0.5);break;case $[81]:var $6=this._frame;if($6.getParent()!=$2){$6.setParent($2);qx.ui.core.Widget.flushGlobalQueues();}$6._renderRuntimeLeft($5.left-$4.left);$6._renderRuntimeTop($5.top-$4.top);$6._renderRuntimeWidth($1.offsetWidth);$6._renderRuntimeHeight($1.offsetHeight);$6.setZIndex(this.getZIndex()+1);break;}var $7=this._resizeSession={};var $8=this._getMinSizeReference();if(this._resizeWest){$7.boxWidth=$1.offsetWidth;$7.boxRight=$5.right;}if(this._resizeWest||this._resizeEast){$7.boxLeft=$5.left;$7.parentContentLeft=$4.left;$7.parentContentRight=$4.right;$7.minWidth=$8.getMinWidthValue();$7.maxWidth=$8.getMaxWidthValue();}if(this._resizeNorth){$7.boxHeight=$1.offsetHeight;$7.boxBottom=$5.bottom;}if(this._resizeNorth||this._resizeSouth){$7.boxTop=$5.top;$7.parentContentTop=$4.top;$7.parentContentBottom=$4.bottom;$7.minHeight=$8.getMinHeightValue();$7.maxHeight=$8.getMaxHeightValue();}}else{delete this._resizeSession;}$0.stopPropagation();},_onmouseup:function($0){var $1=this._resizeSession;if($1){this.setCapture(false);this.getTopLevelWidget().setGlobalCursor(null);switch(this.getResizeMethod()){case $[81]:var $2=this._frame;if(!($2&&$2.getParent())){break;}case $[455]:if($1.lastLeft!=null){this.setLeft($1.lastLeft);}if($1.lastTop!=null){this.setTop($1.lastTop);}if($1.lastWidth!=null){this._changeWidth($1.lastWidth);}if($1.lastHeight!=null){this._changeHeight($1.lastHeight);}if(this.getResizeMethod()==$[81]){this._frame.setParent(null);}break;case $[139]:this.setOpacity(null);break;}delete this._resizeSession;}$0.stopPropagation();},_near:function($0,$1){return $1>($0-5)&&$1<($0+5);},_onmousemove:function($0){if(this._disableResize){return;}var $1=this._resizeSession;if($1){if(this._resizeWest){$1.lastWidth=qx.lang.Number.limit($1.boxWidth+$1.boxLeft-Math.max($0.getPageX(),$1.parentContentLeft),$1.minWidth,$1.maxWidth);$1.lastLeft=$1.boxRight-$1.lastWidth-$1.parentContentLeft;}else if(this._resizeEast){$1.lastWidth=qx.lang.Number.limit(Math.min($0.getPageX(),$1.parentContentRight)-$1.boxLeft,$1.minWidth,$1.maxWidth);}if(this._resizeNorth){$1.lastHeight=qx.lang.Number.limit($1.boxHeight+$1.boxTop-Math.max($0.getPageY(),$1.parentContentTop),$1.minHeight,$1.maxHeight);$1.lastTop=$1.boxBottom-$1.lastHeight-$1.parentContentTop;}else if(this._resizeSouth){$1.lastHeight=qx.lang.Number.limit(Math.min($0.getPageY(),$1.parentContentBottom)-$1.boxTop,$1.minHeight,$1.maxHeight);}switch(this.getResizeMethod()){case $[240]:case $[139]:if(this._resizeWest||this._resizeEast){this.setWidth($1.lastWidth);if(this._resizeWest){this.setLeft($1.lastLeft);}}if(this._resizeNorth||this._resizeSouth){this.setHeight($1.lastHeight);if(this._resizeNorth){this.setTop($1.lastTop);}}break;default:var $2=this.getResizeMethod()==$[81]?this._frame:this;if(this._resizeWest||this._resizeEast){$2._renderRuntimeWidth($1.lastWidth);if(this._resizeWest){$2._renderRuntimeLeft($1.lastLeft);}}if(this._resizeNorth||this._resizeSouth){$2._renderRuntimeHeight($1.lastHeight);if(this._resizeNorth){$2._renderRuntimeTop($1.lastTop);}}}}else{var $3=$[0];var $4=this.getElement();this._resizeNorth=this._resizeSouth=this._resizeWest=this._resizeEast=false;var $5=qx.bom.element.Location.get($4);if(this._near($5.top,$0.getPageY())){if(this.getResizableNorth()){$3=$[635];this._resizeNorth=true;}}else if(this._near($5.bottom,$0.getPageY())){if(this.getResizableSouth()){$3=$[534];this._resizeSouth=true;}}if(this._near($5.left,$0.getPageX())){if(this.getResizableWest()){$3+=$[1406];this._resizeWest=true;}}else if(this._near($5.right,$0.getPageX())){if(this.getResizableEast()){$3+=$[1429];this._resizeEast=true;}}if(this._resizeNorth||this._resizeSouth||this._resizeWest||this._resizeEast){this.setCursor($3+$[1490]);}else{this.resetCursor();}}$0.stopPropagation();}},destruct:function(){this._disposeObjects($[307]);}}); >+qx.Interface.define($[988],{members:{_changeWidth:function($0){return true;},_changeHeight:function($0){return true;},_getResizeParent:function(){return true;},_getMinSizeReference:function(){return true;}}}); >+qx.Class.define($[1464],{extend:qx.ui.popup.Popup,include:qx.ui.resizer.MResizable,implement:qx.ui.resizer.IResizable,construct:function(){arguments.callee.base.call(this);this.initMinWidth();this.initMinHeight();this.initWidth();this.initHeight();},properties:{appearance:{refine:true,init:$[1450]},minWidth:{refine:true,init:$[3]},minHeight:{refine:true,init:$[3]},width:{refine:true,init:$[3]},height:{refine:true,init:$[3]}},members:{_changeWidth:function($0){this.setWidth($0);},_changeHeight:function($0){this.setHeight($0);},_getResizeParent:function(){return this.getParent();},_getMinSizeReference:function(){return this;}}}); >+qx.Class.define($[503],{extend:qx.ui.resizer.ResizablePopup,construct:function($0,$1,$2){arguments.callee.base.call(this);this.setWindowManager($2||qx.ui.window.Window.getDefaultWindowManager());var $3=this._layout=new qx.ui.layout.VerticalBoxLayout;$3.setEdge(0);this.add($3);var $4=this._captionBar=new qx.ui.layout.HorizontalBoxLayout;$4.setAppearance($[970]);$4.setHeight($[3]);$4.setOverflow($[36]);$3.add($4);var $5=this._captionIcon=new qx.ui.basic.Image;$5.setAppearance($[1074]);$4.add($5);var $6=this._captionTitle=new qx.ui.basic.Label($0);$6.setAppearance($[1644]);$6.setSelectable(false);$4.add($6);var $7=this._captionFlex=new qx.ui.basic.HorizontalSpacer;$4.add($7);var $8=this._minimizeButton=new qx.ui.form.Button;$8.setAppearance($[1525]);$8.setTabIndex(-1);$8.addEventListener($[128],this._onminimizebuttonclick,this);$8.addEventListener($[12],this._onbuttonmousedown,this);$4.add($8);var $9=this._restoreButton=new qx.ui.form.Button;$9.setAppearance($[816]);$9.setTabIndex(-1);$9.addEventListener($[128],this._onrestorebuttonclick,this);$9.addEventListener($[12],this._onbuttonmousedown,this);var $a=this._maximizeButton=new qx.ui.form.Button;$a.setAppearance($[1192]);$a.setTabIndex(-1);$a.addEventListener($[128],this._onmaximizebuttonclick,this);$a.addEventListener($[12],this._onbuttonmousedown,this);$4.add($a);var $b=this._closeButton=new qx.ui.form.Button;$b.setAppearance($[918]);$b.setTabIndex(-1);$b.addEventListener($[128],this._onclosebuttonclick,this);$b.addEventListener($[12],this._onbuttonmousedown,this);$4.add($b);var $c=this._pane=new qx.ui.layout.CanvasLayout;$c.setHeight($[138]);$c.setOverflow($[36]);$3.add($c);var $d=this._statusBar=new qx.ui.layout.HorizontalBoxLayout;$d.setAppearance($[924]);$d.setHeight($[3]);var $e=this._statusText=new qx.ui.basic.Label($[396]);$e.setAppearance($[1391]);$e.setSelectable(false);$d.add($e);if($0!=null){this.setCaption($0);}if($1!=null){this.setIcon($1);}this.setAutoHide(false);this.addEventListener($[12],this._onwindowmousedown);this.addEventListener($[53],this._onwindowclick);$4.addEventListener($[12],this._oncaptionmousedown,this);$4.addEventListener($[22],this._oncaptionmouseup,this);$4.addEventListener($[148],this._oncaptionmousemove,this);$4.addEventListener($[104],this._oncaptiondblblick,this);this.remapChildrenHandlingTo(this._pane);},statics:{getDefaultWindowManager:function(){if(!qx.ui.window.Window._defaultWindowManager){qx.ui.window.Window._defaultWindowManager=new qx.ui.window.Manager;}return qx.ui.window.Window._defaultWindowManager;}},properties:{appearance:{refine:true,init:$[884]},windowManager:{check:$[508],event:$[1420]},active:{check:$[2],init:false,apply:$[541],event:$[1493]},modal:{check:$[2],init:false,apply:$[1610],event:$[920]},mode:{check:[$[226],$[70]],init:null,nullable:true,apply:$[1795],event:$[1145]},opener:{check:$[66]},caption:{apply:$[1077],event:$[1428],dispose:true},icon:{check:$[6],nullable:true,apply:$[181],event:$[758]},status:{check:$[6],init:$[396],apply:$[1140],event:$[1482]},showClose:{check:$[2],init:true,apply:$[1018]},showMaximize:{check:$[2],init:true,apply:$[1096]},showMinimize:{check:$[2],init:true,apply:$[1533]},showStatusbar:{check:$[2],init:false,apply:$[1162]},allowClose:{check:$[2],init:true,apply:$[560]},allowMaximize:{check:$[2],init:true,apply:$[750]},allowMinimize:{check:$[2],init:true,apply:$[1259]},showCaption:{check:$[2],init:true,apply:$[1497]},showIcon:{check:$[2],init:true,apply:$[1535]},moveable:{check:$[2],init:true,event:$[1473]},moveMethod:{check:[$[240],$[81],$[139]],init:$[240],event:$[935]}},members:{getPane:function(){return this._pane;},getCaptionBar:function(){return this._captionBar;},getStatusBar:function(){return this._statusBar;},close:function(){this.hide();},open:function($0){if($0!=null){this.setOpener($0);}if(this.getCentered()){this.centerToBrowser();}this.show();},focus:function(){this.setActive(true);},blur:function(){this.setActive(false);},maximize:function(){this.setMode($[70]);},minimize:function(){this.setMode($[226]);},restore:function(){this.setMode(null);},_beforeAppear:function(){qx.ui.layout.CanvasLayout.prototype._beforeAppear.call(this);qx.ui.popup.PopupManager.getInstance().update();qx.event.handler.EventHandler.getInstance().setFocusRoot(this);this.getWindowManager().add(this);this._makeActive();},_beforeDisappear:function(){qx.ui.layout.CanvasLayout.prototype._beforeDisappear.call(this);var $0=qx.event.handler.EventHandler.getInstance().getFocusRoot();if($0==this||this.contains($0)){qx.event.handler.EventHandler.getInstance().setFocusRoot(null);}var $1=qx.event.handler.EventHandler.getInstance().getCaptureWidget();if($1&&this.contains($1)){$1.setCapture(false);}this.getWindowManager().remove(this);this._makeInactive();},_minZIndex:1e5,_sendTo:function(){var $0=qx.lang.Object.getValues(this.getWindowManager().getAll()).sort(qx.util.Compare.byZIndex);var $1=$0.length;var $2=this._minZIndex;for(var $3=0;$3<$1;$3++){$0[$3].setZIndex($2++);}},_applyActive:function($0,$1){if($1){if(this.getFocused()){this.setFocused(false);}if(this.getWindowManager().getActiveWindow()==this){this.getWindowManager().setActiveWindow(null);}this.removeState($[59]);this._captionBar.removeState($[59]);this._minimizeButton.removeState($[59]);this._restoreButton.removeState($[59]);this._maximizeButton.removeState($[59]);this._closeButton.removeState($[59]);}else{if(!this.getFocusedChild()){this.setFocused(true);}this.getWindowManager().setActiveWindow(this);this.bringToFront();this.addState($[59]);this._captionBar.addState($[59]);this._minimizeButton.addState($[59]);this._restoreButton.addState($[59]);this._maximizeButton.addState($[59]);this._closeButton.addState($[59]);}},_applyModal:function($0,$1){if(this._initialLayoutDone&&this.getVisibility()&&this.getDisplay()){var $2=this.getTopLevelWidget();$0?$2.block(this):$2.release(this);}},_applyAllowClose:function($0,$1){this._closeButtonManager();},_applyAllowMaximize:function($0,$1){this._maximizeButtonManager();},_applyAllowMinimize:function($0,$1){this._minimizeButtonManager();},_applyMode:function($0,$1){switch($0){case $[226]:this._disableResize=true;this._minimize();break;case $[70]:this._disableResize=true;this._maximize();break;default:delete this._disableResize;switch($1){case $[70]:this._restoreFromMaximized();break;case $[226]:this._restoreFromMinimized();break;}}},_applyShowCaption:function($0,$1){if($0){this._captionBar.addAt(this._captionTitle,this.getShowIcon()?1:0);}else{this._captionBar.remove(this._captionTitle);}},_applyShowIcon:function($0,$1){if($0){this._captionBar.addAtBegin(this._captionIcon);}else{this._captionBar.remove(this._captionIcon);}},_applyShowStatusbar:function($0,$1){if($0){this._layout.addAtEnd(this._statusBar);}else{this._layout.remove(this._statusBar);}},_applyShowClose:function($0,$1){if($0){this._captionBar.addAtEnd(this._closeButton);}else{this._captionBar.remove(this._closeButton);}},_applyShowMaximize:function($0,$1){if($0){var $2=this.getMode()==$[70]?this._restoreButton:this._maximizeButton;if(this.getShowMinimize()){this._captionBar.addAfter($2,this._minimizeButton);}else{this._captionBar.addAfter($2,this._captionFlex);}}else{this._captionBar.remove(this._maximizeButton);this._captionBar.remove(this._restoreButton);}},_applyShowMinimize:function($0,$1){if($0){this._captionBar.addAfter(this._minimizeButton,this._captionFlex);}else{this._captionBar.remove(this._minimizeButton);}},_minimizeButtonManager:function(){this.getAllowMinimize()===false?this._minimizeButton.setEnabled(false):this._minimizeButton.resetEnabled();},_closeButtonManager:function(){this.getAllowClose()===false?this._closeButton.setEnabled(false):this._closeButton.resetEnabled();},_maximizeButtonManager:function(){var $0=this.getAllowMaximize()&&this.getResizable()&&this._computedMaxWidthTypeNull&&this._computedMaxHeightTypeNull;if(this._maximizeButton){$0===false?this._maximizeButton.setEnabled(false):this._maximizeButton.resetEnabled();}if(this._restoreButton){$0===false?this._restoreButton.setEnabled(false):this._restoreButton.resetEnabled();}},_applyStatus:function($0,$1){this._statusText.setText($0);},_applyMaxWidth:function($0,$1){arguments.callee.base.call(this,$0);this._maximizeButtonManager();},_applyMaxHeight:function($0,$1){arguments.callee.base.call(this,$0);this._maximizeButtonManager();},_applyResizable:function($0,$1){this._maximizeButtonManager();},_applyCaption:function($0,$1){this._captionTitle.setText($0);},_applyIcon:function($0,$1){this._captionIcon.setSource($0);},_minimize:function(){this.blur();this.hide();},_restoreFromMaximized:function(){this.setLeft(this._previousLeft?this._previousLeft:null);this.setWidth(this._previousWidth?this._previousWidth:null);this.setRight(this._previousRight?this._previousRight:null);this.setTop(this._previousTop?this._previousTop:null);this.setHeight(this._previousHeight?this._previousHeight:null);this.setBottom(this._previousBottom?this._previousBottom:null);this.removeState($[70]);if(this.getShowMaximize()){var $0=this._captionBar;var $1=$0.indexOf(this._restoreButton);$0.remove(this._restoreButton);$0.addAt(this._maximizeButton,$1);}this.focus();},_restoreFromMinimized:function(){if(this.hasState($[70])){this.setMode($[70]);}this.show();this.focus();},_maximize:function(){if(this.hasState($[70])){return;}this._previousLeft=this.getLeft();this._previousWidth=this.getWidth();this._previousRight=this.getRight();this._previousTop=this.getTop();this._previousHeight=this.getHeight();this._previousBottom=this.getBottom();this.setWidth(null);this.setLeft(0);this.setRight(0);this.setHeight(null);this.setTop(0);this.setBottom(0);this.addState($[70]);if(this.getShowMaximize()){var $0=this._captionBar;var $1=$0.indexOf(this._maximizeButton);$0.remove(this._maximizeButton);$0.addAt(this._restoreButton,$1);}this.focus();},_onwindowclick:function($0){$0.stopPropagation();},_onwindowmousedown:function($0){this.focus();},_onbuttonmousedown:function($0){$0.stopPropagation();},_onminimizebuttonclick:function($0){this.minimize();this._minimizeButton.removeState($[14]);this._minimizeButton.removeState($[35]);this._minimizeButton.removeState($[43]);$0.stopPropagation();},_onrestorebuttonclick:function($0){this.restore();this._restoreButton.removeState($[14]);this._restoreButton.removeState($[35]);this._restoreButton.removeState($[43]);$0.stopPropagation();},_onmaximizebuttonclick:function($0){this.maximize();this._maximizeButton.removeState($[14]);this._maximizeButton.removeState($[35]);this._maximizeButton.removeState($[43]);$0.stopPropagation();},_onclosebuttonclick:function($0){this.close();this._closeButton.removeState($[14]);this._closeButton.removeState($[35]);this._closeButton.removeState($[43]);$0.stopPropagation();},_oncaptionmousedown:function($0){if(!$0.isLeftButtonPressed()||!this.getMoveable()||this.getMode()!=null){return;}this._captionBar.setCapture(true);var $1=this.getElement();var $2=this.getParent();var $3=$2.getElement();var $4=qx.bom.element.Location.get($3,$[26]);var $5=qx.bom.element.Location.get($1);this._dragSession={offsetX:$0.getPageX()-$5.left+$4.left,offsetY:$0.getPageY()-$5.top+$4.top,parentAvailableAreaLeft:$4.left+5,parentAvailableAreaTop:$4.top+5,parentAvailableAreaRight:$4.right-5,parentAvailableAreaBottom:$4.bottom-5};switch(this.getMoveMethod()){case $[139]:this.setOpacity(0.5);break;case $[81]:var $6=this._frame;if($6.getParent()!=this.getParent()){$6.setParent(this.getParent());qx.ui.core.Widget.flushGlobalQueues();}$6._renderRuntimeLeft($5.left-$4.left);$6._renderRuntimeTop($5.top-$4.top);$6._renderRuntimeWidth($1.offsetWidth);$6._renderRuntimeHeight($1.offsetHeight);$6.setZIndex(this.getZIndex()+1);break;}},_oncaptionmouseup:function($0){var $1=this._dragSession;if(!$1){return;}this._captionBar.setCapture(false);if($1.lastX!=null){this.setLeft($1.lastX);}if($1.lastY!=null){this.setTop($1.lastY);}switch(this.getMoveMethod()){case $[139]:this.setOpacity(null);break;case $[81]:this._frame.setParent(null);break;}delete this._dragSession;},_oncaptionmousemove:function($0){var $1=this._dragSession;if(!$1||!this._captionBar.getCapture()){return;}if(!qx.lang.Number.isBetweenRange($0.getPageX(),$1.parentAvailableAreaLeft,$1.parentAvailableAreaRight)||!qx.lang.Number.isBetweenRange($0.getPageY(),$1.parentAvailableAreaTop,$1.parentAvailableAreaBottom)){return;}var $2=this.getMoveMethod()==$[81]?this._frame:this;$2._renderRuntimeLeft($1.lastX=$0.getPageX()-$1.offsetX);$2._renderRuntimeTop($1.lastY=$0.getPageY()-$1.offsetY);},_oncaptiondblblick:function($0){if(!this._maximizeButton.getEnabled()){return;}return this.getMode()==$[70]?this.restore():this.maximize();}},destruct:function(){this._disposeObjects($[343],$[696],$[1484],$[669],$[916],$[1293],$[1255],$[973],$[914],$[431],$[1041],$[1250]);}}); >+qx.Class.define($[717],{extend:qx.ui.core.Parent,construct:function($0){arguments.callee.base.call(this);if($0!=null){this.setOrientation($0);}else{this.initOrientation();}},statics:{STR_REVERSED:"-reversed"},properties:{orientation:{check:[$[132],$[117]],init:$[132],apply:$[1555],event:$[1779]},spacing:{check:$[5],init:0,themeable:true,apply:$[577],event:$[1563]},horizontalChildrenAlign:{check:[$[11],$[57],$[9]],init:$[11],themeable:true,apply:$[1087]},verticalChildrenAlign:{check:[$[20],$[62],$[17]],init:$[20],themeable:true,apply:$[1008]},reverseChildrenOrder:{check:$[2],init:false,apply:$[1729]},stretchChildrenOrthogonalAxis:{check:$[2],init:true,apply:$[761]},useAdvancedFlexAllocation:{check:$[2],init:false,apply:$[1586]},accumulatedChildrenOuterWidth:{_cached:true,defaultValue:null},accumulatedChildrenOuterHeight:{_cached:true,defaultValue:null}},members:{_createLayoutImpl:function(){return this.getOrientation()==$[117]?new qx.ui.layout.impl.VerticalBoxLayoutImpl(this):new qx.ui.layout.impl.HorizontalBoxLayoutImpl(this);},_layoutHorizontal:false,_layoutVertical:false,_layoutMode:$[11],isHorizontal:function(){return this._layoutHorizontal;},isVertical:function(){return this._layoutVertical;},getLayoutMode:function(){if(this._layoutMode==null){this._updateLayoutMode();}return this._layoutMode;},_updateLayoutMode:function(){this._layoutMode=this._layoutVertical?this.getVerticalChildrenAlign():this.getHorizontalChildrenAlign();if(this.getReverseChildrenOrder()){this._layoutMode+=qx.ui.layout.BoxLayout.STR_REVERSED;}},_invalidateLayoutMode:function(){this._layoutMode=null;},_applyOrientation:function($0,$1){this._layoutHorizontal=$0==$[132];this._layoutVertical=$0==$[117];if(this._layoutImpl){this._layoutImpl.dispose();this._layoutImpl=null;}if($0){this._layoutImpl=this._createLayoutImpl();}this._doLayoutOrder($0,$1);this.addToQueueRuntime($[1374]);},_applySpacing:function($0,$1){this._doLayout();this.addToQueueRuntime($[1653]);},_applyHorizontalChildrenAlign:function($0,$1){this._doLayoutOrder();this.addToQueueRuntime($[1495]);},_applyVerticalChildrenAlign:function($0,$1){this._doLayoutOrder();this.addToQueueRuntime($[1226]);},_applyReverseChildrenOrder:function($0,$1){this._doLayoutOrder();this.addToQueueRuntime($[869]);},_applyStretchChildrenOrthogonalAxis:function($0,$1){this.addToQueueRuntime($[1523]);},_applyUseAdvancedFlexAllocation:function($0,$1){this.addToQueueRuntime($[1777]);},_doLayoutOrder:function(){this._invalidateLayoutMode();this._doLayout();},_doLayout:function(){this._invalidatePreferredInnerDimensions();this._invalidateAccumulatedChildrenOuterWidth();this._invalidateAccumulatedChildrenOuterHeight();},_computeAccumulatedChildrenOuterWidth:function(){var $0=this.getVisibleChildren(),$1,$2=-1,$3=this.getSpacing(),$4=-$3;while($1=$0[++$2]){$4+=$1.getOuterWidth()+$3;}return $4;},_computeAccumulatedChildrenOuterHeight:function(){var $0=this.getVisibleChildren(),$1,$2=-1,$3=this.getSpacing(),$4=-$3;while($1=$0[++$2]){$4+=$1.getOuterHeight()+$3;}return $4;},_recomputeChildrenStretchingX:function(){var $0=this.getVisibleChildren(),$1,$2=-1;while($1=$0[++$2]){if($1._recomputeStretchingX()&&$1._recomputeBoxWidth()){$1._recomputeOuterWidth();}}},_recomputeChildrenStretchingY:function(){var $0=this.getVisibleChildren(),$1,$2=-1;while($1=$0[++$2]){if($1._recomputeStretchingY()&&$1._recomputeBoxHeight()){$1._recomputeOuterHeight();}}}}}); >+qx.Class.define($[861],{extend:qx.ui.layout.impl.LayoutImpl,properties:{enableFlexSupport:{check:$[2],init:true}},members:{computeChildBoxWidth:function($0){if(this.getWidget().getStretchChildrenOrthogonalAxis()&&$0._computedWidthTypeNull&&$0.getAllowStretchX()){return this.getWidget().getInnerWidth();}return $0.getWidthValue()||$0._computeBoxWidthFallback();},computeChildBoxHeight:function($0){return $0.getHeightValue()||$0._computeBoxHeightFallback();},computeChildrenFlexHeight:function(){if(this._childrenFlexHeightComputed||!this.getEnableFlexSupport()){return;}this._childrenFlexHeightComputed=true;var $0=this.getWidget();var $1=$0.getVisibleChildren();var $2=$1.length;var $3;var $4=[];var $5=$0.getInnerHeight();var $6=$0.getSpacing()*($2-1);var $7;for($7=0;$7<$2;$7++){$3=$1[$7];if($3._computedHeightTypeFlex){$4.push($3);if($0._computedHeightTypeAuto){$6+=$3.getPreferredBoxHeight();}}else{$6+=$3.getOuterHeight();}}var $8=$5-$6;var $9=$4.length;var $a=0;for($7=0;$7<$9;$7++){$a+=$4[$7]._computedHeightParsed;}var $b=$8/$a;if(!$0.getUseAdvancedFlexAllocation()){for($7=0;$7<$9;$7++){$3=$4[$7];$3._computedHeightFlexValue=Math.round($3._computedHeightParsed*$b);$6+=$3._computedHeightFlexValue;}}else{var $c=0;var $d,$9,$e,$f,$g,$h;for($7=0;$7<$9;$7++){$3=$4[$7];$h=$3._computedHeightFlexValue=$3._computedHeightParsed*$b;$c+=$h-qx.lang.Number.limit($h,$3.getMinHeightValue(),$3.getMaxHeightValue());}$c=Math.round($c);if($c==0){for($7=0;$7<$9;$7++){$3=$4[$7];$3._computedHeightFlexValue=Math.round($3._computedHeightFlexValue);$6+=$3._computedHeightFlexValue;}}else{var $i=$c>0;for($7=$9-1;$7>=0;$7--){$3=$4[$7];if($i){$e=($3.getMaxHeightValue()||Infinity)-$3._computedHeightFlexValue;if($e>0){$3._allocationLoops=Math.floor($e/$3._computedHeightParsed);}else{qx.lang.Array.removeAt($4,$7);$3._computedHeightFlexValue=Math.round($3._computedHeightFlexValue);$6+=Math.round($3._computedHeightFlexValue+$e);}}else{$e=qx.util.Validation.isValidNumber($3.getMinHeightValue())?$3._computedHeightFlexValue-$3.getMinHeightValue():$3._computedHeightFlexValue;if($e>0){$3._allocationLoops=Math.floor($e/$3._computedHeightParsed);}else{qx.lang.Array.removeAt($4,$7);$3._computedHeightFlexValue=Math.round($3._computedHeightFlexValue);$6+=Math.round($3._computedHeightFlexValue-$e);}}}while($c!=0&&$9>0){$9=$4.length;$d=Infinity;$g=0;for($7=0;$7<$9;$7++){$d=Math.min($d,$4[$7]._allocationLoops);$g+=$4[$7]._computedHeightParsed;}$f=Math.min($g*$d,$c);$c-=$f;for($7=$9-1;$7>=0;$7--){$3=$4[$7];$3._computedHeightFlexValue+=$f/$g*$3._computedHeightParsed;if($3._allocationLoops==$d){$3._computedHeightFlexValue=Math.round($3._computedHeightFlexValue);$6+=$3._computedHeightFlexValue;delete $3._allocationLoops;qx.lang.Array.removeAt($4,$7);}else{if($c==0){$3._computedHeightFlexValue=Math.round($3._computedHeightFlexValue);$6+=$3._computedHeightFlexValue;delete $3._allocationLoops;}else{$3._allocationLoops-=$d;}}}}}}$3._computedHeightFlexValue+=$5-$6;},invalidateChildrenFlexHeight:function(){delete this._childrenFlexHeightComputed;},computeChildrenNeededHeight:function(){var $0=this.getWidget();return qx.ui.layout.impl.LayoutImpl.prototype.computeChildrenNeededHeight_sum.call(this)+(($0.getVisibleChildrenLength()-1)*$0.getSpacing());},updateSelfOnChildOuterHeightChange:function($0){this.getWidget()._invalidateAccumulatedChildrenOuterHeight();},updateChildOnInnerWidthChange:function($0){var $1=$0._recomputePercentX();var $2=$0._recomputeStretchingX();if(($0.getHorizontalAlign()||this.getWidget().getHorizontalChildrenAlign())==$[57]){$0.addToLayoutChanges($[100]);}return $1||$2;},updateChildOnInnerHeightChange:function($0){if(this.getWidget().getVerticalChildrenAlign()==$[62]){$0.addToLayoutChanges($[113]);}var $1=$0._recomputePercentY();var $2=$0._recomputeFlexY();return $1||$2;},updateSelfOnJobQueueFlush:function($0){if($0.addChild||$0.removeChild){this.getWidget()._invalidateAccumulatedChildrenOuterHeight();}},updateChildrenOnJobQueueFlush:function($0){var $1=false,$2=false;var $3=this.getWidget();if($0.orientation){$1=$2=true;}if($0.spacing||$0.orientation||$0.reverseChildrenOrder||$0.verticalChildrenAlign){$3._addChildrenToLayoutQueue($[113]);}if($0.horizontalChildrenAlign){$3._addChildrenToLayoutQueue($[100]);}if($0.stretchChildrenOrthogonalAxis){$1=true;}if($1){$3._recomputeChildrenStretchingX();$3._addChildrenToLayoutQueue($[30]);}if($2){$3._recomputeChildrenStretchingY();$3._addChildrenToLayoutQueue($[31]);}return true;},updateChildrenOnRemoveChild:function($0,$1){var $2=this.getWidget(),$3=$2.getVisibleChildren(),$4=$3.length,$5,$6=-1;if(this.getEnableFlexSupport()){for(var $6=0;$6<$4;$6++){$5=$3[$6];if($5.getHasFlexY()){$1=Math.min($1,$6);break;}}$6=-1;}switch($2.getLayoutMode()){case $[17]:case $[221]:while(($5=$3[++$6])&&$6<$1){$5.addToLayoutChanges($[113]);}break;case $[62]:case $[228]:while($5=$3[++$6]){$5.addToLayoutChanges($[113]);}break;default:$6+=$1;while($5=$3[++$6]){$5.addToLayoutChanges($[113]);}}},updateChildrenOnMoveChild:function($0,$1,$2){var $3=this.getWidget().getVisibleChildren();var $4=Math.min($1,$2);var $5=Math.max($1,$2)+1;for(var $6=$4;$6<$5;$6++){$3[$6].addToLayoutChanges($[113]);}},flushChildrenQueue:function($0){var $1=this.getWidget(),$2=$1.getVisibleChildren(),$3=$2.length,$4,$5;if(this.getEnableFlexSupport()){this.invalidateChildrenFlexHeight();for($5=0;$5<$3;$5++){$4=$2[$5];if($4.getHasFlexY()){$4._computedHeightValue=null;if($4._recomputeBoxHeight()){$4._recomputeOuterHeight();$4._recomputeInnerHeight();}$0[$4.toHashCode()]=$4;$4._layoutChanges.height=true;}}}switch($1.getLayoutMode()){case $[17]:case $[221]:for(var $5=$3-1;$5>=0&&!$0[$2[$5].toHashCode()];$5--){}for(var $6=0;$6<=$5;$6++){$1._layoutChild($4=$2[$6]);}break;case $[62]:case $[228]:$5=-1;while($4=$2[++$5]){$1._layoutChild($4);}break;default:$5=-1;var $7=false;while($4=$2[++$5]){if($7||$0[$4.toHashCode()]){$1._layoutChild($4);$7=true;}}}},layoutChild:function($0,$1){this.layoutChild_sizeX($0,$1);this.layoutChild_sizeY($0,$1);this.layoutChild_sizeLimitX($0,$1);this.layoutChild_sizeLimitY($0,$1);this.layoutChild_locationX($0,$1);this.layoutChild_locationY($0,$1);this.layoutChild_marginX($0,$1);this.layoutChild_marginY($0,$1);},layoutChild_sizeX:qx.core.Variant.select($[1],{"mshtml|opera|webkit":function($0,$1){if($1.initial||$1.width||$1.minWidth||$1.maxWidth){if(($0._isWidthEssential()&&(!$0._computedWidthTypeNull||!$0._computedMinWidthTypeNull||!$0._computedMaxWidthTypeNull))||($0.getAllowStretchX()&&this.getWidget().getStretchChildrenOrthogonalAxis())){$0._renderRuntimeWidth($0.getBoxWidth());}else{$0._resetRuntimeWidth();}}},"default":function($0,$1){if($1.initial||$1.width){if($0._isWidthEssential()&&!$0._computedWidthTypeNull){$0._renderRuntimeWidth($0.getWidthValue());}else{$0._resetRuntimeWidth();}}}}),layoutChild_sizeY:qx.core.Variant.select($[1],{"mshtml|opera|webkit":function($0,$1){if($1.initial||$1.height||$1.minHeight||$1.maxHeight){if($0._isHeightEssential()&&(!$0._computedHeightTypeNull||!$0._computedMinHeightTypeNull||!$0._computedMaxHeightTypeNull)){$0._renderRuntimeHeight($0.getBoxHeight());}else{$0._resetRuntimeHeight();}}},"default":function($0,$1){if($1.initial||$1.height){if($0._isHeightEssential()&&!$0._computedHeightTypeNull){$0._renderRuntimeHeight($0.getHeightValue());}else{$0._resetRuntimeHeight();}}}}),layoutChild_locationY:function($0,$1){var $2=this.getWidget();if($2.getFirstVisibleChild()==$0){switch($2.getLayoutMode()){case $[17]:case $[221]:var $3=$2.getPaddingBottom()+$2.getAccumulatedChildrenOuterHeight()-$0.getOuterHeight();break;case $[62]:case $[228]:var $3=$2.getPaddingTop()+Math.round(($2.getInnerHeight()-$2.getAccumulatedChildrenOuterHeight())/2);break;default:var $3=$2.getPaddingTop();}}else{var $4=$0.getPreviousVisibleSibling();switch($2.getLayoutMode()){case $[17]:case $[221]:var $3=$4._cachedLocationVertical-$0.getOuterHeight()-$2.getSpacing();break;default:var $3=$4._cachedLocationVertical+$4.getOuterHeight()+$2.getSpacing();}}$0._cachedLocationVertical=$3;switch(this.getWidget().getLayoutMode()){case $[17]:case $[1265]:case $[228]:$3+=!$0._computedBottomTypeNull?$0.getBottomValue():!$0._computedTopTypeNull?-($0.getTopValue()):0;$0._resetRuntimeTop();$0._renderRuntimeBottom($3);break;default:$3+=!$0._computedTopTypeNull?$0.getTopValue():!$0._computedBottomTypeNull?-($0.getBottomValue()):0;$0._resetRuntimeBottom();$0._renderRuntimeTop($3);}},layoutChild_locationX:function($0,$1){var $2=this.getWidget();if(qx.core.Variant.isSet($[1],$[21])){if($0.getAllowStretchX()&&$2.getStretchChildrenOrthogonalAxis()&&$0._computedWidthTypeNull){$0._renderRuntimeLeft($2.getPaddingLeft()||0);$0._renderRuntimeRight($2.getPaddingRight()||0);return;}}var $3=$0.getHorizontalAlign()||$2.getHorizontalChildrenAlign();var $4=$3==$[57]?Math.round(($2.getInnerWidth()-$0.getOuterWidth())/2):0;if($3==$[9]){$4+=$2.getPaddingRight();if(!$0._computedRightTypeNull){$4+=$0.getRightValue();}else if(!$0._computedLeftTypeNull){$4-=$0.getLeftValue();}$0._resetRuntimeLeft();$0._renderRuntimeRight($4);}else{$4+=$2.getPaddingLeft();if(!$0._computedLeftTypeNull){$4+=$0.getLeftValue();}else if(!$0._computedRightTypeNull){$4-=$0.getRightValue();}$0._resetRuntimeRight();$0._renderRuntimeLeft($4);}}}}); >+qx.Class.define($[1422],{extend:qx.ui.layout.impl.LayoutImpl,properties:{enableFlexSupport:{check:$[2],init:true}},members:{computeChildBoxWidth:function($0){return $0.getWidthValue()||$0._computeBoxWidthFallback();},computeChildBoxHeight:function($0){if(this.getWidget().getStretchChildrenOrthogonalAxis()&&$0._computedHeightTypeNull&&$0.getAllowStretchY()){return this.getWidget().getInnerHeight();}return $0.getHeightValue()||$0._computeBoxHeightFallback();},computeChildrenFlexWidth:function(){if(this._childrenFlexWidthComputed||!this.getEnableFlexSupport()){return;}this._childrenFlexWidthComputed=true;var $0=this.getWidget();var $1=$0.getVisibleChildren();var $2=$1.length;var $3;var $4=[];var $5=$0.getInnerWidth();var $6=$0.getSpacing()*($2-1);var $7;for($7=0;$7<$2;$7++){$3=$1[$7];if($3._computedWidthTypeFlex){$4.push($3);if($0._computedWidthTypeAuto){$6+=$3.getPreferredBoxWidth();}}else{$6+=$3.getOuterWidth();}}var $8=$5-$6;var $9=$4.length;var $a=0;for($7=0;$7<$9;$7++){$a+=$4[$7]._computedWidthParsed;}var $b=$8/$a;if(!$0.getUseAdvancedFlexAllocation()){for($7=0;$7<$9;$7++){$3=$4[$7];$3._computedWidthFlexValue=Math.round($3._computedWidthParsed*$b);$6+=$3._computedWidthFlexValue;}}else{var $c=0;var $d,$9,$e,$f,$g,$h;for($7=0;$7<$9;$7++){$3=$4[$7];$h=$3._computedWidthFlexValue=$3._computedWidthParsed*$b;$c+=$h-qx.lang.Number.limit($h,$3.getMinWidthValue(),$3.getMaxWidthValue());}$c=Math.round($c);if($c==0){for($7=0;$7<$9;$7++){$3=$4[$7];$3._computedWidthFlexValue=Math.round($3._computedWidthFlexValue);$6+=$3._computedWidthFlexValue;}}else{var $i=$c>0;for($7=$9-1;$7>=0;$7--){$3=$4[$7];if($i){$e=($3.getMaxWidthValue()||Infinity)-$3._computedWidthFlexValue;if($e>0){$3._allocationLoops=Math.floor($e/$3._computedWidthParsed);}else{qx.lang.Array.removeAt($4,$7);$3._computedWidthFlexValue=Math.round($3._computedWidthFlexValue);$6+=Math.round($3._computedWidthFlexValue+$e);}}else{$e=qx.util.Validation.isValidNumber($3.getMinWidthValue())?$3._computedWidthFlexValue-$3.getMinWidthValue():$3._computedWidthFlexValue;if($e>0){$3._allocationLoops=Math.floor($e/$3._computedWidthParsed);}else{qx.lang.Array.removeAt($4,$7);$3._computedWidthFlexValue=Math.round($3._computedWidthFlexValue);$6+=Math.round($3._computedWidthFlexValue-$e);}}}while($c!=0&&$9>0){$9=$4.length;$d=Infinity;$g=0;for($7=0;$7<$9;$7++){$d=Math.min($d,$4[$7]._allocationLoops);$g+=$4[$7]._computedWidthParsed;}$f=Math.min($g*$d,$c);$c-=$f;for($7=$9-1;$7>=0;$7--){$3=$4[$7];$3._computedWidthFlexValue+=$f/$g*$3._computedWidthParsed;if($3._allocationLoops==$d){$3._computedWidthFlexValue=Math.round($3._computedWidthFlexValue);$6+=$3._computedWidthFlexValue;delete $3._allocationLoops;qx.lang.Array.removeAt($4,$7);}else{if($c==0){$3._computedWidthFlexValue=Math.round($3._computedWidthFlexValue);$6+=$3._computedWidthFlexValue;delete $3._allocationLoops;}else{$3._allocationLoops-=$d;}}}}}}$3._computedWidthFlexValue+=$5-$6;},invalidateChildrenFlexWidth:function(){delete this._childrenFlexWidthComputed;},computeChildrenNeededWidth:function(){var $0=this.getWidget();return qx.ui.layout.impl.LayoutImpl.prototype.computeChildrenNeededWidth_sum.call(this)+(($0.getVisibleChildrenLength()-1)*$0.getSpacing());},updateSelfOnChildOuterWidthChange:function($0){this.getWidget()._invalidateAccumulatedChildrenOuterWidth();},updateChildOnInnerWidthChange:function($0){if(this.getWidget().getHorizontalChildrenAlign()==$[57]){$0.addToLayoutChanges($[100]);}var $1=$0._recomputePercentX();var $2=$0._recomputeFlexX();return $1||$2;},updateChildOnInnerHeightChange:function($0){var $1=$0._recomputePercentY();var $2=$0._recomputeStretchingY();if(($0.getVerticalAlign()||this.getWidget().getVerticalChildrenAlign())==$[62]){$0.addToLayoutChanges($[113]);}return $1||$2;},updateSelfOnJobQueueFlush:function($0){if($0.addChild||$0.removeChild){this.getWidget()._invalidateAccumulatedChildrenOuterWidth();}},updateChildrenOnJobQueueFlush:function($0){var $1=false,$2=false;var $3=this.getWidget();if($0.orientation){$1=$2=true;}if($0.spacing||$0.orientation||$0.reverseChildrenOrder||$0.horizontalChildrenAlign){$3._addChildrenToLayoutQueue($[100]);}if($0.verticalChildrenAlign){$3._addChildrenToLayoutQueue($[113]);}if($0.stretchChildrenOrthogonalAxis){$2=true;}if($1){$3._recomputeChildrenStretchingX();$3._addChildrenToLayoutQueue($[30]);}if($2){$3._recomputeChildrenStretchingY();$3._addChildrenToLayoutQueue($[31]);}return true;},updateChildrenOnRemoveChild:function($0,$1){var $2=this.getWidget(),$3=$2.getVisibleChildren(),$4=$3.length,$5,$6=-1;if(this.getEnableFlexSupport()){for($6=0;$6<$4;$6++){$5=$3[$6];if($5.getHasFlexX()){$1=Math.min($1,$6);break;}}$6=-1;}switch($2.getLayoutMode()){case $[9]:case $[217]:while(($5=$3[++$6])&&$6<$1){$5.addToLayoutChanges($[100]);}break;case $[57]:case $[229]:while($5=$3[++$6]){$5.addToLayoutChanges($[100]);}break;default:$6+=$1;while($5=$3[++$6]){$5.addToLayoutChanges($[100]);}}},updateChildrenOnMoveChild:function($0,$1,$2){var $3=this.getWidget().getVisibleChildren();var $4=Math.min($1,$2);var $5=Math.max($1,$2)+1;for(var $6=$4;$6<$5;$6++){$3[$6].addToLayoutChanges($[100]);}},flushChildrenQueue:function($0){var $1=this.getWidget(),$2=$1.getVisibleChildren(),$3=$2.length,$4,$5;if(this.getEnableFlexSupport()){this.invalidateChildrenFlexWidth();for($5=0;$5<$3;$5++){$4=$2[$5];if($4.getHasFlexX()){$4._computedWidthValue=null;if($4._recomputeBoxWidth()){$4._recomputeOuterWidth();$4._recomputeInnerWidth();}$0[$4.toHashCode()]=$4;$4._layoutChanges.width=true;}}}switch($1.getLayoutMode()){case $[9]:case $[217]:for(var $5=$3-1;$5>=0&&!$0[$2[$5].toHashCode()];$5--){}for(var $6=0;$6<=$5;$6++){$1._layoutChild($4=$2[$6]);}break;case $[57]:case $[229]:$5=-1;while($4=$2[++$5]){$1._layoutChild($4);}break;default:$5=-1;var $7=false;while($4=$2[++$5]){if($7||$0[$4.toHashCode()]){$1._layoutChild($4);$7=true;}}}},layoutChild:function($0,$1){this.layoutChild_sizeX($0,$1);this.layoutChild_sizeY($0,$1);this.layoutChild_sizeLimitX($0,$1);this.layoutChild_sizeLimitY($0,$1);this.layoutChild_locationX($0,$1);this.layoutChild_locationY($0,$1);this.layoutChild_marginX($0,$1);this.layoutChild_marginY($0,$1);},layoutChild_sizeX:qx.core.Variant.select($[1],{"mshtml|opera|webkit":function($0,$1){if($1.initial||$1.width||$1.minWidth||$1.maxWidth){if($0._isWidthEssential()&&(!$0._computedWidthTypeNull||!$0._computedMinWidthTypeNull||!$0._computedMaxWidthTypeNull)){$0._renderRuntimeWidth($0.getBoxWidth());}else{$0._resetRuntimeWidth();}}},"default":function($0,$1){if($1.initial||$1.width){if($0._isWidthEssential()&&!$0._computedWidthTypeNull){$0._renderRuntimeWidth($0.getWidthValue());}else{$0._resetRuntimeWidth();}}}}),layoutChild_sizeY:qx.core.Variant.select($[1],{"mshtml|opera|webkit":function($0,$1){if($1.initial||$1.height||$1.minHeight||$1.maxHeight){if(($0._isHeightEssential()&&(!$0._computedHeightTypeNull||!$0._computedMinHeightTypeNull||!$0._computedMaxHeightTypeNull))||($0.getAllowStretchY()&&this.getWidget().getStretchChildrenOrthogonalAxis())){$0._renderRuntimeHeight($0.getBoxHeight());}else{$0._resetRuntimeHeight();}}},"default":function($0,$1){if($1.initial||$1.height){if($0._isHeightEssential()&&!$0._computedHeightTypeNull){$0._renderRuntimeHeight($0.getHeightValue());}else{$0._resetRuntimeHeight();}}}}),layoutChild_locationX:function($0,$1){var $2=this.getWidget();if($2.getFirstVisibleChild()==$0){switch($2.getLayoutMode()){case $[9]:case $[217]:var $3=$2.getPaddingRight()+$2.getAccumulatedChildrenOuterWidth()-$0.getOuterWidth();break;case $[57]:case $[229]:var $3=$2.getPaddingLeft()+Math.round(($2.getInnerWidth()-$2.getAccumulatedChildrenOuterWidth())/2);break;default:var $3=$2.getPaddingLeft();}}else{var $4=$0.getPreviousVisibleSibling();switch($2.getLayoutMode()){case $[9]:case $[217]:var $3=$4._cachedLocationHorizontal-$0.getOuterWidth()-$2.getSpacing();break;default:var $3=$4._cachedLocationHorizontal+$4.getOuterWidth()+$2.getSpacing();}}$0._cachedLocationHorizontal=$3;switch($2.getLayoutMode()){case $[9]:case $[1062]:case $[229]:$3+=!$0._computedRightTypeNull?$0.getRightValue():!$0._computedLeftTypeNull?-($0.getLeftValue()):0;$0._resetRuntimeLeft();$0._renderRuntimeRight($3);break;default:$3+=!$0._computedLeftTypeNull?$0.getLeftValue():!$0._computedRightTypeNull?-($0.getRightValue()):0;$0._resetRuntimeRight();$0._renderRuntimeLeft($3);}},layoutChild_locationY:function($0,$1){var $2=this.getWidget();if(qx.core.Variant.isSet($[1],$[21])){if($0.getAllowStretchY()&&$2.getStretchChildrenOrthogonalAxis()&&$0._computedHeightTypeNull){$0._renderRuntimeTop($2.getPaddingTop()||0);$0._renderRuntimeBottom($2.getPaddingBottom()||0);return;}}var $3=$0.getVerticalAlign()||$2.getVerticalChildrenAlign();var $4=$3==$[62]?Math.round(($2.getInnerHeight()-$0.getOuterHeight())/2):0;if($3==$[17]){$4+=$2.getPaddingBottom();if(!$0._computedBottomTypeNull){$4+=$0.getBottomValue();}else if(!$0._computedTopTypeNull){$4-=$0.getTopValue();}$0._resetRuntimeTop();$0._renderRuntimeBottom($4);}else{$4+=$2.getPaddingTop();if(!$0._computedTopTypeNull){$4+=$0.getTopValue();}else if(!$0._computedBottomTypeNull){$4-=$0.getBottomValue();}$0._resetRuntimeBottom();$0._renderRuntimeTop($4);}}}}); > qx.Class.define($[1743],{extend:qx.ui.layout.BoxLayout,properties:{orientation:{refine:true,init:$[117]}}}); >-qx.Class.define($[931],{extend:qx.ui.layout.BoxLayout}); >-qx.Class.define($[741],{extend:qx.ui.basic.Terminator,construct:function($0,$1,$2){arguments.callee.base.call(this);this._blank=qx.io.Alias.getInstance().resolve($[455]);if($0!=null){this.setSource($0);}if($1!=null){this.setWidth($1);}else{this.initWidth();}if($2!=null){this.setHeight($2);}else{this.initHeight();}this.initSelectable();},events:{"error":$[4]},properties:{allowStretchX:{refine:true,init:false},allowStretchY:{refine:true,init:false},selectable:{refine:true,init:false},width:{refine:true,init:$[3]},height:{refine:true,init:$[3]},appearance:{refine:true,init:$[1047]},source:{check:$[6],apply:$[365],event:$[392],nullable:true,themeable:true},preloader:{check:$[415],apply:$[624],nullable:true},loaded:{check:$[2],init:false,apply:$[1278]},resizeToInner:{check:$[2],init:false}},members:{_onload:function(){this.setLoaded(true);},_onerror:function(){this.warn("Could not load: "+this.getSource());this.setLoaded(false);if(this.hasEventListeners($[95])){this.dispatchEvent(new qx.event.type.Event($[95]),true);}},_beforeAppear:function(){var $0=this.getSource();if($0){qx.io.image.Manager.getInstance().show($0);this._registeredAsVisible=true;}return arguments.callee.base.call(this);},_beforeDisappear:function(){var $0=this.getSource();if($0&&this._registeredAsVisible){qx.io.image.Manager.getInstance().hide($0);delete this._registeredAsVisible;}return arguments.callee.base.call(this);},_applySource:function($0,$1){var $2=qx.io.image.Manager.getInstance();if($1){$2.remove($1);if(this._registeredAsVisible){$2.hide($1);delete this._registeredAsVisible;}}if($0){$2.add($0);if(this.isSeeable()){this._registeredAsVisible=true;$2.show($0);}}if(this.isCreated()){this._connect();}},_connect:function(){var $0=qx.io.Alias.getInstance();$0.connect(this._syncSource,this,this.getSource());},_syncSource:function($0){if($0===null){this.setPreloader(null);}else{var $1=qx.io.image.PreloaderManager.getInstance().create($0);this.setPreloader($1);}},_applyPreloader:function($0,$1){if($1){$1.removeEventListener($[82],this._onload,this);$1.removeEventListener($[95],this._onerror,this);}if($0){this.setLoaded(false);if($0.isErroneous()){this._onerror();}else if($0.isLoaded()){this.setLoaded(true);}else{$0.addEventListener($[82],this._onload,this);$0.addEventListener($[95],this._onerror,this);}}else{this.setLoaded(false);}},_applyLoaded:function($0,$1){if($0&&this.isCreated()){this._renderContent();}else if(!$0){this._invalidatePreferredInnerWidth();this._invalidatePreferredInnerHeight();}},_applyElement:function($0,$1){if($0){if(!this._image){try{if(qx.core.Variant.isSet($[1],$[147])){this._image=document.createElement($[945]);}else{this._image=new Image;}this._image.style.border=$[425];this._image.style.verticalAlign=$[20];this._image.alt=$[0];this._image.title=$[0];}catch(ex){this.error("Failed while creating image #1",ex);}if(qx.core.Variant.isSet($[1],$[351])){this._styleEnabled();}}$0.appendChild(this._image);}arguments.callee.base.call(this,$0,$1);if($0&&this.getSource()){this._connect();}},_postApply:function(){this._postApplyDimensions();this._updateContent();},_applyEnabled:function($0,$1){if(this._image){this._styleEnabled();}return arguments.callee.base.call(this,$0,$1);},_updateContent:qx.core.Variant.select($[1],{"mshtml":function(){var $0=this._image;var $1=this.getPreloader();var $2=$1&&$1.isLoaded()?$1.getSource():this._blank;if($1&&$1.getIsPng()&&this.getEnabled()){$0.src=this._blank;$0.style.filter=$[616]+$2+$[1715];}else{$0.src=$2;$0.style.filter=this.getEnabled()?$[0]:$[948];}},"default":function(){var $0=this.getPreloader();var $1=$0&&$0.isLoaded()?$0.getSource():this._blank;this._image.src=$1;}}),_resetContent:qx.core.Variant.select($[1],{"mshtml":function(){this._image.src=this._blank;this._image.style.filter=$[0];},"default":function(){this._image.src=this._blank;}}),_styleEnabled:qx.core.Variant.select($[1],{"mshtml":function(){this._updateContent();},"default":function(){if(this._image){var $0=this.getEnabled()===false?0.3:$[0];var $1=this._image.style;$1.opacity=$1.KhtmlOpacity=$1.MozOpacity=$0;}}}),_computePreferredInnerWidth:function(){var $0=this.getPreloader();return $0?$0.getWidth():0;},_computePreferredInnerHeight:function(){var $0=this.getPreloader();return $0?$0.getHeight():0;},_renderContent:function(){arguments.callee.base.call(this);qx.ui.core.Widget.flushGlobalQueues();},_postApplyDimensions:qx.core.Variant.select($[1],{"mshtml":function(){try{var $0=this._image.style;if(this.getResizeToInner()){$0.pixelWidth=this.getInnerWidth();$0.pixelHeight=this.getInnerHeight();}else{$0.pixelWidth=this.getPreferredInnerWidth();$0.pixelHeight=this.getPreferredInnerHeight();}}catch(ex){this.error("postApplyDimensions failed",ex);}},"default":function(){try{var $0=this._image;if(this.getResizeToInner()){$0.width=this.getInnerWidth();$0.height=this.getInnerHeight();}else{$0.width=this.getPreferredInnerWidth();$0.height=this.getPreferredInnerHeight();}}catch(ex){this.error("postApplyDimensions failed",ex);}}}),_changeInnerWidth:qx.core.Variant.select($[1],{"mshtml":function($0,$1){if(this.getResizeToInner()){this._image.style.pixelWidth=$0;}},"default":function($0,$1){if(this.getResizeToInner()){this._image.width=$0;}}}),_changeInnerHeight:qx.core.Variant.select($[1],{"mshtml":function($0,$1){if(this.getResizeToInner()){this._image.style.pixelHeight=$0;}},"default":function($0,$1){if(this.getResizeToInner()){this._image.height=$0;}}})},destruct:function(){if(this._image){this._image.style.filter=$[0];}this._disposeFields($[1345]);}}); >-qx.Class.define($[1210],{extend:qx.ui.basic.Terminator,construct:function($0){arguments.callee.base.call(this);if($0!=null){this.setText($0);}this.initWidth();this.initHeight();this.initSelectable();this.initCursor();this.initWrap();},statics:{_getMeasureNode:function(){var $0=this._measureNode;if(!$0){$0=document.createElement($[67]);var $1=$0.style;$1.width=$1.height=$[3];$1.visibility=$[36];$1.position=$[54];$1.zIndex=$[1233];document.body.appendChild($0);this._measureNode=$0;}return $0;}},properties:{appearance:{refine:true,init:$[195]},width:{refine:true,init:$[3]},height:{refine:true,init:$[3]},allowStretchX:{refine:true,init:false},allowStretchY:{refine:true,init:false},selectable:{refine:true,init:false},text:{apply:$[573],init:$[0],dispose:true,check:$[280]},wrap:{check:$[2],init:false,nullable:true,apply:$[271]},textAlign:{check:[$[11],$[57],$[9],$[264]],nullable:true,themeable:true,apply:$[287]},textOverflow:{check:$[2],init:true},mode:{check:[$[1649],$[254],$[3]],init:$[3]}},members:{_content:$[0],_applyTextAlign:function($0,$1){$0===null?this.removeStyleProperty($[244]):this.setStyleProperty($[244],$0);},_applyFont:function($0,$1){qx.theme.manager.Font.getInstance().connect(this._styleFont,this,$0);},_styleFont:function($0){this._invalidatePreferredInnerDimensions();$0?$0.render(this):qx.ui.core.Font.reset(this);},_applyTextColor:function($0,$1){qx.theme.manager.Color.getInstance().connect(this._styleTextColor,this,$0);},_styleTextColor:function($0){$0?this.setStyleProperty($[233],$0):this.removeStyleProperty($[233]);},_applyWrap:function($0,$1){$0==null?this.removeStyleProperty($[414]):this.setStyleProperty($[414],$0?$[156]:$[321]);},_applyText:function($0,$1){this._syncText(this.getText());},_syncText:function($0){this._content=$0;if(this._isCreated){this._renderContent();}},_computeObjectNeededDimensions:function(){var $0=arguments.callee.self._getMeasureNode();var $1=$0.style;var $2=this._styleProperties;$1.fontFamily=$2.fontFamily||$[0];$1.fontSize=$2.fontSize||$[0];$1.fontWeight=$2.fontWeight||$[0];$1.fontStyle=$2.fontStyle||$[0];$0.innerHTML=this._content;this._cachedPreferredInnerWidth=$0.scrollWidth;this._cachedPreferredInnerHeight=$0.scrollHeight;},_computePreferredInnerWidth:function(){this._computeObjectNeededDimensions();return this._cachedPreferredInnerWidth;},_computePreferredInnerHeight:function(){this._computeObjectNeededDimensions();return this._cachedPreferredInnerHeight;},_postApply:function(){var $0=this._content;var $1=this._getTargetNode();if($0==null){$1.innerHTML=$[0];}else{var $2=$1.style;if(!this.getWrap()){if(this.getInnerWidth()<this.getPreferredInnerWidth()){$2.overflow=$[36];}else{$2.overflow=$[0];}}$1.innerHTML=$0;}}}}); >+qx.Class.define($[930],{extend:qx.ui.layout.BoxLayout}); >+qx.Class.define($[742],{extend:qx.ui.basic.Terminator,construct:function($0,$1,$2){arguments.callee.base.call(this);this._blank=qx.io.Alias.getInstance().resolve($[456]);if($0!=null){this.setSource($0);}if($1!=null){this.setWidth($1);}else{this.initWidth();}if($2!=null){this.setHeight($2);}else{this.initHeight();}this.initSelectable();},events:{"error":$[4]},properties:{allowStretchX:{refine:true,init:false},allowStretchY:{refine:true,init:false},selectable:{refine:true,init:false},width:{refine:true,init:$[3]},height:{refine:true,init:$[3]},appearance:{refine:true,init:$[1046]},source:{check:$[6],apply:$[364],event:$[393],nullable:true,themeable:true},preloader:{check:$[416],apply:$[624],nullable:true},loaded:{check:$[2],init:false,apply:$[1277]},resizeToInner:{check:$[2],init:false}},members:{_onload:function(){this.setLoaded(true);},_onerror:function(){this.warn("Could not load: "+this.getSource());this.setLoaded(false);if(this.hasEventListeners($[95])){this.dispatchEvent(new qx.event.type.Event($[95]),true);}},_beforeAppear:function(){var $0=this.getSource();if($0){qx.io.image.Manager.getInstance().show($0);this._registeredAsVisible=true;}return arguments.callee.base.call(this);},_beforeDisappear:function(){var $0=this.getSource();if($0&&this._registeredAsVisible){qx.io.image.Manager.getInstance().hide($0);delete this._registeredAsVisible;}return arguments.callee.base.call(this);},_applySource:function($0,$1){var $2=qx.io.image.Manager.getInstance();if($1){$2.remove($1);if(this._registeredAsVisible){$2.hide($1);delete this._registeredAsVisible;}}if($0){$2.add($0);if(this.isSeeable()){this._registeredAsVisible=true;$2.show($0);}}if(this.isCreated()){this._connect();}},_connect:function(){var $0=qx.io.Alias.getInstance();$0.connect(this._syncSource,this,this.getSource());},_syncSource:function($0){if($0===null){this.setPreloader(null);}else{var $1=qx.io.image.PreloaderManager.getInstance().create($0);this.setPreloader($1);}},_applyPreloader:function($0,$1){if($1){$1.removeEventListener($[82],this._onload,this);$1.removeEventListener($[95],this._onerror,this);}if($0){this.setLoaded(false);if($0.isErroneous()){this._onerror();}else if($0.isLoaded()){this.setLoaded(true);}else{$0.addEventListener($[82],this._onload,this);$0.addEventListener($[95],this._onerror,this);}}else{this.setLoaded(false);}},_applyLoaded:function($0,$1){if($0&&this.isCreated()){this._renderContent();}else if(!$0){this._invalidatePreferredInnerWidth();this._invalidatePreferredInnerHeight();}},_applyElement:function($0,$1){if($0){if(!this._image){try{if(qx.core.Variant.isSet($[1],$[147])){this._image=document.createElement($[944]);}else{this._image=new Image;}this._image.style.border=$[426];this._image.style.verticalAlign=$[20];this._image.alt=$[0];this._image.title=$[0];}catch(ex){this.error("Failed while creating image #1",ex);}if(qx.core.Variant.isSet($[1],$[350])){this._styleEnabled();}}$0.appendChild(this._image);}arguments.callee.base.call(this,$0,$1);if($0&&this.getSource()){this._connect();}},_postApply:function(){this._postApplyDimensions();this._updateContent();},_applyEnabled:function($0,$1){if(this._image){this._styleEnabled();}return arguments.callee.base.call(this,$0,$1);},_updateContent:qx.core.Variant.select($[1],{"mshtml":function(){var $0=this._image;var $1=this.getPreloader();var $2=$1&&$1.isLoaded()?$1.getSource():this._blank;if($1&&$1.getIsPng()&&this.getEnabled()){$0.src=this._blank;$0.style.filter=$[616]+$2+$[1715];}else{$0.src=$2;$0.style.filter=this.getEnabled()?$[0]:$[947];}},"default":function(){var $0=this.getPreloader();var $1=$0&&$0.isLoaded()?$0.getSource():this._blank;this._image.src=$1;}}),_resetContent:qx.core.Variant.select($[1],{"mshtml":function(){this._image.src=this._blank;this._image.style.filter=$[0];},"default":function(){this._image.src=this._blank;}}),_styleEnabled:qx.core.Variant.select($[1],{"mshtml":function(){this._updateContent();},"default":function(){if(this._image){var $0=this.getEnabled()===false?0.3:$[0];var $1=this._image.style;$1.opacity=$1.KhtmlOpacity=$1.MozOpacity=$0;}}}),_computePreferredInnerWidth:function(){var $0=this.getPreloader();return $0?$0.getWidth():0;},_computePreferredInnerHeight:function(){var $0=this.getPreloader();return $0?$0.getHeight():0;},_renderContent:function(){arguments.callee.base.call(this);qx.ui.core.Widget.flushGlobalQueues();},_postApplyDimensions:qx.core.Variant.select($[1],{"mshtml":function(){try{var $0=this._image.style;if(this.getResizeToInner()){$0.pixelWidth=this.getInnerWidth();$0.pixelHeight=this.getInnerHeight();}else{$0.pixelWidth=this.getPreferredInnerWidth();$0.pixelHeight=this.getPreferredInnerHeight();}}catch(ex){this.error("postApplyDimensions failed",ex);}},"default":function(){try{var $0=this._image;if(this.getResizeToInner()){$0.width=this.getInnerWidth();$0.height=this.getInnerHeight();}else{$0.width=this.getPreferredInnerWidth();$0.height=this.getPreferredInnerHeight();}}catch(ex){this.error("postApplyDimensions failed",ex);}}}),_changeInnerWidth:qx.core.Variant.select($[1],{"mshtml":function($0,$1){if(this.getResizeToInner()){this._image.style.pixelWidth=$0;}},"default":function($0,$1){if(this.getResizeToInner()){this._image.width=$0;}}}),_changeInnerHeight:qx.core.Variant.select($[1],{"mshtml":function($0,$1){if(this.getResizeToInner()){this._image.style.pixelHeight=$0;}},"default":function($0,$1){if(this.getResizeToInner()){this._image.height=$0;}}})},destruct:function(){if(this._image){this._image.style.filter=$[0];}this._disposeFields($[1345]);}}); >+qx.Class.define($[1209],{extend:qx.ui.basic.Terminator,construct:function($0){arguments.callee.base.call(this);if($0!=null){this.setText($0);}this.initWidth();this.initHeight();this.initSelectable();this.initCursor();this.initWrap();},statics:{_getMeasureNode:function(){var $0=this._measureNode;if(!$0){$0=document.createElement($[67]);var $1=$0.style;$1.width=$1.height=$[3];$1.visibility=$[36];$1.position=$[54];$1.zIndex=$[1232];document.body.appendChild($0);this._measureNode=$0;}return $0;}},properties:{appearance:{refine:true,init:$[195]},width:{refine:true,init:$[3]},height:{refine:true,init:$[3]},allowStretchX:{refine:true,init:false},allowStretchY:{refine:true,init:false},selectable:{refine:true,init:false},text:{apply:$[573],init:$[0],dispose:true,check:$[280]},wrap:{check:$[2],init:false,nullable:true,apply:$[271]},textAlign:{check:[$[11],$[57],$[9],$[264]],nullable:true,themeable:true,apply:$[287]},textOverflow:{check:$[2],init:true},mode:{check:[$[1648],$[254],$[3]],init:$[3]}},members:{_content:$[0],_applyTextAlign:function($0,$1){$0===null?this.removeStyleProperty($[244]):this.setStyleProperty($[244],$0);},_applyFont:function($0,$1){qx.theme.manager.Font.getInstance().connect(this._styleFont,this,$0);},_styleFont:function($0){this._invalidatePreferredInnerDimensions();$0?$0.render(this):qx.ui.core.Font.reset(this);},_applyTextColor:function($0,$1){qx.theme.manager.Color.getInstance().connect(this._styleTextColor,this,$0);},_styleTextColor:function($0){$0?this.setStyleProperty($[233],$0):this.removeStyleProperty($[233]);},_applyWrap:function($0,$1){$0==null?this.removeStyleProperty($[415]):this.setStyleProperty($[415],$0?$[156]:$[321]);},_applyText:function($0,$1){this._syncText(this.getText());},_syncText:function($0){this._content=$0;if(this._isCreated){this._renderContent();}},_computeObjectNeededDimensions:function(){var $0=arguments.callee.self._getMeasureNode();var $1=$0.style;var $2=this._styleProperties;$1.fontFamily=$2.fontFamily||$[0];$1.fontSize=$2.fontSize||$[0];$1.fontWeight=$2.fontWeight||$[0];$1.fontStyle=$2.fontStyle||$[0];$0.innerHTML=this._content;this._cachedPreferredInnerWidth=$0.scrollWidth;this._cachedPreferredInnerHeight=$0.scrollHeight;},_computePreferredInnerWidth:function(){this._computeObjectNeededDimensions();return this._cachedPreferredInnerWidth;},_computePreferredInnerHeight:function(){this._computeObjectNeededDimensions();return this._cachedPreferredInnerHeight;},_postApply:function(){var $0=this._content;var $1=this._getTargetNode();if($0==null){$1.innerHTML=$[0];}else{var $2=$1.style;if(!this.getWrap()){if(this.getInnerWidth()<this.getPreferredInnerWidth()){$2.overflow=$[36];}else{$2.overflow=$[0];}}$1.innerHTML=$0;}}}}); > qx.Class.define($[1784],{extend:qx.ui.basic.Terminator,construct:function(){arguments.callee.base.call(this);this.initWidth();},properties:{width:{refine:true,init:$[138]}}}); >-qx.Class.define($[1072],{extend:qx.ui.layout.BoxLayout,construct:function($0,$1,$2,$3,$4){arguments.callee.base.call(this);this.getLayoutImpl().setEnableFlexSupport(false);if($0!==undefined){this.setLabel($0);}if(qx.Class.isDefined($[357])&&$4!=null&&$2!=null&&$3!=null&&qx.ui.embed.Flash.getPlayerVersion().getMajor()>0){this._flashMode=true;this.setIcon($4);}else if($1!=null){this.setIcon($1);}if($1||$4){if($2!=null){this.setIconWidth($2);}if($3!=null){this.setIconHeight($3);}}this.initWidth();this.initHeight();},properties:{orientation:{refine:true,init:$[132]},allowStretchX:{refine:true,init:false},allowStretchY:{refine:true,init:false},appearance:{refine:true,init:$[1347]},stretchChildrenOrthogonalAxis:{refine:true,init:false},width:{refine:true,init:$[3]},height:{refine:true,init:$[3]},horizontalChildrenAlign:{refine:true,init:$[57]},verticalChildrenAlign:{refine:true,init:$[62]},spacing:{refine:true,init:4},label:{apply:$[256],nullable:true,dispose:true,check:$[280]},icon:{check:$[6],apply:$[181],nullable:true,themeable:true},disabledIcon:{check:$[6],apply:$[1671],nullable:true,themeable:true},show:{init:$[110],check:[$[110],$[195],$[133],$[7]],themeable:true,nullable:true,inheritable:true,apply:$[1300],event:$[269]},iconPosition:{init:$[11],check:[$[20],$[9],$[17],$[11]],themeable:true,apply:$[1329]},iconWidth:{check:$[5],themeable:true,apply:$[1040],nullable:true},iconHeight:{check:$[5],themeable:true,apply:$[1567],nullable:true}},members:{_flashMode:false,_labelObject:null,_iconObject:null,_createLabel:function(){var $0=this._labelObject=new qx.ui.basic.Label(this.getLabel());$0.setAnonymous(true);this.addAt($0,this._iconObject?1:0);},_createIcon:function(){if(this._flashMode&&qx.Class.isDefined($[357])){var $0=this._iconObject=new qx.ui.embed.Flash(this.getIcon());}else{var $0=this._iconObject=new qx.ui.basic.Image();}$0.setAnonymous(true);var $1=this.getIconWidth();if($1!==null){this._iconObject.setWidth($1);}var $2=this.getIconWidth();if($2!==null){this._iconObject.setHeight($2);}this._updateIcon();this.addAt($0,0);},_updateIcon:function(){var $0=this.getIcon();if(this._iconObject&&this.getIcon&&this.getDisabledIcon){var $1=this.getDisabledIcon();if($1){if(this.getEnabled()){$0?this._iconObject.setSource($0):this._iconObject.resetSource();}else{$1?this._iconObject.setSource($1):this._iconObject.resetSource();}this._iconObject.setEnabled(true);}else{$0?this._iconObject.setSource($0):this._iconObject.resetSource();this._iconObject.resetEnabled();}}},getLabelObject:function(){return this._labelObject;},getIconObject:function(){return this._iconObject;},_applyIconPosition:function($0,$1){switch($0){case $[20]:case $[17]:this.setOrientation($[117]);this.setReverseChildrenOrder($0==$[17]);break;default:this.setOrientation($[132]);this.setReverseChildrenOrder($0==$[9]);break;}},_applyShow:function($0,$1){this._handleIcon();this._handleLabel();},_applyLabel:function($0,$1){if(this._labelObject){$0?this._labelObject.setText($0):this._labelObject.resetText();}this._handleLabel();},_applyIcon:function($0,$1){this._updateIcon();this._handleIcon();},_applyDisabledIcon:function($0,$1){this._updateIcon();this._handleIcon();},_applyIconWidth:function($0,$1){if(this._iconObject){this._iconObject.setWidth($0);}},_applyIconHeight:function($0,$1){if(this._iconObject){this._iconObject.setHeight($0);}},_iconIsVisible:false,_labelIsVisible:false,_handleLabel:function(){switch(this.getShow()){case $[195]:case $[110]:case $[116]:this._labelIsVisible=!!this.getLabel();break;default:this._labelIsVisible=false;}if(this._labelIsVisible){this._labelObject?this._labelObject.setDisplay(true):this._createLabel();}else if(this._labelObject){this._labelObject.setDisplay(false);}},_handleIcon:function(){switch(this.getShow()){case $[133]:case $[110]:case $[116]:this._iconIsVisible=!!this.getIcon();break;default:this._iconIsVisible=false;}if(this._iconIsVisible){this._iconObject?this._iconObject.setDisplay(true):this._createIcon();}else if(this._iconObject){this._iconObject.setDisplay(false);}}},destruct:function(){this._disposeObjects($[297],$[249]);}}); >-qx.Class.define($[303],{extend:qx.ui.basic.Atom,construct:function($0,$1,$2,$3,$4){arguments.callee.base.call(this,$0,$1,$2,$3,$4);this.initTabIndex();this.addEventListener($[61],this._onmouseover);this.addEventListener($[105],this._onmouseout);this.addEventListener($[12],this._onmousedown);this.addEventListener($[22],this._onmouseup);this.addEventListener($[16],this._onkeydown);this.addEventListener($[88],this._onkeyup);},properties:{appearance:{refine:true,init:$[1763]},tabIndex:{refine:true,init:1}},members:{_onmouseover:function($0){if($0.getTarget()!=this){return;}if(this.hasState($[35])){this.removeState($[35]);this.addState($[14]);}this.addState($[43]);},_onmouseout:function($0){if($0.getTarget()!=this){return;}this.removeState($[43]);if(this.hasState($[14])){this.setCapture(true);this.removeState($[14]);this.addState($[35]);}},_onmousedown:function($0){if($0.getTarget()!=this||!$0.isLeftButtonPressed()){return;}this.removeState($[35]);this.addState($[14]);},_onmouseup:function($0){this.setCapture(false);var $1=this.hasState($[14]);var $2=this.hasState($[35]);if($1){this.removeState($[14]);}if($2){this.removeState($[35]);}if(!$2){this.addState($[43]);if($1){this.execute();}}},_onkeydown:function($0){switch($0.getKeyIdentifier()){case $[46]:case $[84]:this.removeState($[35]);this.addState($[14]);$0.stopPropagation();}},_onkeyup:function($0){switch($0.getKeyIdentifier()){case $[46]:case $[84]:if(this.hasState($[14])){this.removeState($[35]);this.removeState($[14]);this.execute();$0.stopPropagation();}}}}}); >-qx.Class.define($[861],{extend:qx.log.appender.Abstract,properties:{element:{check:$[518],nullable:true,apply:$[466]},maxMessages:{check:$[5],init:500},useLongFormat:{refine:true,init:false}},members:{__backgroundColors:{0:$[201],200:$[201],500:$[1624],600:$[1245],700:$[409],800:$[409],1000:$[201]},_prepare:function(){if(!this._frame){this._frame=document.createElement($[67]);}},_applyElement:function($0,$1){this._prepare();if($0){$0.appendChild(this._frame);}else if($1){$1.removeChild(this._frame);}},clear:function(){if(this._frame){this._frame.innerHTML=$[0];}},appendLogEvent:function($0){this._prepare();var $1=$0.logger.getName();if($0.instanceId!=null){$1+=$[511]+$0.instanceId+$[115];}if($1!=this._lastGroup){var $2=document.createElement($[67]);$2.style.fontWeight=$[278];$2.innerHTML=$1;this._frame.appendChild($2);this._lastGroup=$1;}var $2=document.createElement($[67]);$2.style.backgroundColor=this.__backgroundColors[$0.level];$2.innerHTML=this.formatLogEvent($0).replace(/&/g,$[478]).replace(/</g,$[335]).replace(/ /g,$[1371]).replace(/[\n]/g,$[484]);this._frame.appendChild($2);while(this._frame.childNodes.length>this.getMaxMessages()){this._frame.removeChild(this._frame.firstChild);if(this._removedMessageCount==null){this._removedMessageCount=1;}else{this._removedMessageCount++;}}if(this._removedMessageCount!=null){this._frame.firstChild.className=$[0];this._frame.firstChild.innerHTML=$[316]+this._removedMessageCount+$[457];}}},destruct:function(){this._disposeFields($[307]);}}); >-qx.Class.define($[1259],{type:$[51],extend:qx.ui.layout.BoxLayout,construct:function($0){this._indentObject=$0._indentObject;this._iconObject=$0._iconObject;this._labelObject=$0._labelObject;this._indentObject.setAnonymous(true);this._iconObject.setAnonymous(true);this._labelObject.setAnonymous(true);this._labelObject.setSelectable(false);this._labelObject.setStyleProperty($[521],$[56]);this._labelObject.setMode($[254]);arguments.callee.base.call(this);if(qx.util.Validation.isValid($0._label)){this.setLabel($0._label);}this.initSelectable();this.BASE_URI=qx.io.Alias.getInstance().resolve("widget/tree/");for(var $1=0;$1<$0._fields.length;$1++){this.add($0._fields[$1]);}if($0._icons.unselected!==undefined){this.setIcon($0._icons.unselected);this.setIconSelected($0._icons.unselected);}else{this.initIcon();}if($0._icons.selected!==undefined){this.setIconSelected($0._icons.selected);}if(($0._icons.selected===undefined)&&($0._icons.unselected!==undefined)){this.initIconSelected();}this._iconObject.setAppearance($[1541]);this._labelObject.setAppearance($[960]);this.addEventListener($[12],this._onmousedown);this.addEventListener($[22],this._onmouseup);},properties:{orientation:{refine:true,init:$[132]},selectable:{refine:true,init:false},appearance:{refine:true,init:$[1796]},icon:{check:$[6],nullable:true,init:$[1226],apply:$[181]},iconSelected:{check:$[6],event:$[805],nullable:true,init:null,apply:$[181]},label:{check:$[280],apply:$[256],dispose:true},selected:{check:$[2],init:false,apply:$[267],event:$[261]}},members:{_applyLabel:function($0,$1){if(this._labelObject){this._labelObject.setText($0);}},_applyIcon:function($0,$1){var $2=this.getIconObject();if($2){var $3=this._evalCurrentIcon();if(!$3){$2.setDisplay(false);}else{$2.setDisplay(true);$2.setSource($3);}this.addToTreeQueue();}},_applySelected:function($0,$1){if($0){this.addState($[92]);this._labelObject.addState($[92]);}else{this.removeState($[92]);this._labelObject.removeState($[92]);}var $2=this.getTree();if(!$2._fastUpdate||($1&&$2._oldItem==this)){this._iconObject.setSource(this._evalCurrentIcon());if($0){this._iconObject.addState($[92]);}else{this._iconObject.removeState($[92]);}}var $3=this.getTree().getManager();$3.setItemSelected(this,$0);},_getRowStructure:function($0,$1,$2){if($0 instanceof qx.ui.tree.TreeRowStructure){return $0;}else{return qx.ui.tree.TreeRowStructure.getInstance().standard($0,$1,$2);}},_evalCurrentIcon:function(){if(this.getSelected()&&this.getIconSelected()){return this.getIconSelected();}else{return this.getIcon();}},getParentFolder:function(){if(this.getParent()&&typeof (this.getParent().getParent)==$[37]){return this.getParent().getParent();}return null;},getLevel:function(){var $0=this.getParentFolder();return $0?$0.getLevel()+1:null;},getTree:function(){var $0=this.getParentFolder();return $0?$0.getTree():null;},getIndentObject:function(){return this._indentObject;},getIconObject:function(){return this._iconObject;},getLabelObject:function(){return this._labelObject;},destroy:function(){var $0=this.getTree()?this.getTree().getManager():null;if($0){if($0.getItemSelected(this)){if($0.getMultiSelection()){$0.setItemSelected(this,false);}else{$0.deselectAll();}}if($0.getLeadItem()==this){$0.setLeadItem(null);}if($0.getAnchorItem()==this){$0.setAnchorItem(null);}}if(this.destroyContent){this.destroyContent();}this.disconnect();var $1=this.getParentFolder();if($1){$1.remove(this);}qx.client.Timer.once(function(){this.dispose();},this,0);},getHierarchy:function($0){if(this._labelObject){$0.unshift(this._labelObject.getText());}var $1=this.getParentFolder();if($1){$1.getHierarchy($0);}return $0;},addToTreeQueue:function(){var $0=this.getTree();if($0){$0.addChildToTreeQueue(this);}},removeFromTreeQueue:function(){var $0=this.getTree();if($0){$0.removeChildFromTreeQueue(this);}},addToCustomQueues:function($0){this.addToTreeQueue();arguments.callee.base.call(this,$0);},removeFromCustomQueues:function($0){this.removeFromTreeQueue();arguments.callee.base.call(this,$0);},_applyParent:function($0,$1){arguments.callee.base.call(this,$0,$1);if($1&&!$1.isDisplayable()&&$1.getParent()&&$1.getParent().isDisplayable()){$1.getParent().addToTreeQueue();}if($0&&!$0.isDisplayable()&&$0.getParent()&&$0.getParent().isDisplayable()){$0.getParent().addToTreeQueue();}},_handleDisplayableCustom:function($0,$1,$2){arguments.callee.base.call(this,$0,$1,$2);if($2){var $3=this.getParentFolder();var $4=this._previousParentFolder;if($4){if(this._wasLastVisibleChild){$4._updateIndent();}else if(!$4.hasContent()){$4.addToTreeQueue();}}if($3&&$3.isDisplayable()&&$3._initialLayoutDone){$3.addToTreeQueue();}if(this.isLastVisibleChild()){var $5=this.getPreviousVisibleSibling();if($5&&$5 instanceof qx.ui.tree.AbstractTreeElement){$5._updateIndent();}}if($0){this._updateIndent();}}},_onmousedown:function($0){if($0._treeProcessed){return;}this.getTree().getManager().handleMouseDown(this,$0);$0._treeProcessed=true;},_onmouseup:function($0){if($0._treeProcessed){return;}var $1=$0.getOriginalTarget();switch($1){case this._indentObject:case this._containerObject:case this:break;default:this.getTree().getManager().handleMouseUp(this,$0);$0._treeProcessed=true;}},flushTree:function(){this._previousParentFolder=this.getParentFolder();this._wasLastVisibleChild=this.isLastVisibleChild();var $0=this.getLevel();var $1=this.getTree();if(!$1){return;}var $2;var $3=[];var $4=this;var $5=0;var $6=$0;if($1.getRootOpenClose()){$6=$0+1;}if($1.getHideNode()){$5=1;}for(var $7=$5;$7<$6;$7++){$2=$4.getIndentSymbol($1.getUseTreeLines(),$7,$5,$6);if($2){$3.push($[761]);$3.push(($6-$7-1)*19);$3.push($[885]);$3.push(this.BASE_URI);$3.push($2);$3.push($[24]);$3.push($[1477]);$3.push($[1399]);}$4=$4.getParentFolder();}this._indentObject.setHtml($3.join($[0]));this._indentObject.setWidth(($6-$5)*19);}},destruct:function(){this._disposeObjects($[714],$[297],$[249]);this._disposeFields($[1189]);}}); >-qx.Class.define($[1207],{type:$[18],extend:qx.core.Object,construct:function(){arguments.callee.base.call(this);},members:{newRow:function(){this._indentObject=new qx.ui.embed.HtmlEmbed;this._iconObject=new qx.ui.basic.Image;this._labelObject=new qx.ui.basic.Label;this._fields=new Array;this._icons=new Object;this._fields.push(this._indentObject);this._indentAdded=false;this._iconAdded=false;this._labelAdded=false;return this;},standard:function($0,$1,$2){this.newRow();this.addIcon($1,$2);this.addLabel($0);return this;},addIndent:function(){if(!this._indentAdded){this._fields.shift();this._indentAdded=true;}else{throw new Error("Indent object added more than once.");}this._fields.push(this._indentObject);},addIcon:function($0,$1){if(!this._iconAdded){this._iconAdded=true;}else{throw new Error("Icon object added more than once.");}if($0!==undefined){this._icons.unselected=$0;}if($1!==undefined){this._icons.selected=$1;}this._fields.push(this._iconObject);},addLabel:function($0){if(!this._labelAdded){this._labelAdded=true;}else{throw new Error("Label added more than once.");}this._label=$0;this._fields.push(this._labelObject);},addObject:function($0,$1){if(typeof $1==$[58]){$0.setAnonymous($1);}this._fields.push($0);},getLabelObject:function(){return this._labelObject;},getIconObject:function(){return this._iconObject;}},destruct:function(){this._disposeFields($[744]);this._disposeObjects($[1349],$[1753],$[832]);this._disposeObjectDeep($[1039],1);}}); >-qx.Class.define($[1264],{extend:qx.ui.basic.Terminator,construct:function($0){arguments.callee.base.call(this);if($0!=null){this.setHtml($0);}},properties:{html:{check:$[6],init:$[0],apply:$[1170],event:$[826]},textAlign:{check:[$[11],$[57],$[9],$[264]],nullable:true,themeable:true,apply:$[287]},font:{refine:true,init:null},textColor:{refine:true,init:null}},members:{_applyHtml:function(){if(this._isCreated){this._syncHtml();}},_applyTextAlign:function($0,$1){$0===null?this.removeStyleProperty($[244]):this.setStyleProperty($[244],$0);},_applyFont:function($0,$1){qx.theme.manager.Font.getInstance().connect(this._styleFont,this,$0);},_styleFont:function($0){$0?$0.render(this):qx.ui.core.Font.reset(this);},_applyTextColor:function($0,$1){qx.theme.manager.Color.getInstance().connect(this._styleTextColor,this,$0);},_styleTextColor:function($0){$0?this.setStyleProperty($[233],$0):this.removeStyleProperty($[233]);},_applyElementData:function(){this._syncHtml();},_syncHtml:function(){this._getTargetNode().innerHTML=this.getHtml();}}}); >-qx.Class.define($[553],{extend:qx.ui.tree.AbstractTreeElement,construct:function($0,$1,$2){var $3=this._getRowStructure($0,$1,$2);arguments.callee.base.call(this,$3);this._treeRowStructureFields=$3._fields;this._iconObject.setAppearance($[1002]);this._labelObject.setAppearance($[1525]);this.addEventListener($[104],this._ondblclick);this.add=this.addToFolder;this.addBefore=this.addBeforeToFolder;this.addAfter=this.addAfterToFolder;this.addAt=this.addAtToFolder;this.addAtBegin=this.addAtBeginToFolder;this.addAtEnd=this.addAtEndToFolder;},events:{"treeOpenWithContent":$[98],"treeOpenWhileEmpty":$[98],"treeClose":$[98]},properties:{appearance:{refine:true,init:$[503]},icon:{refine:true,init:$[680]},iconSelected:{refine:true,init:$[851]},open:{check:$[2],init:false,apply:$[651],event:$[1030]},alwaysShowPlusMinusSymbol:{check:$[2],init:false,apply:$[1417]}},members:{hasContent:function(){return this._containerObject&&this._containerObject.getChildrenLength()>0;},open:function(){if(this.getOpen()){return;}if(this.hasContent()){if(this.getTree().hasEventListeners($[398])){this.getTree().dispatchEvent(new qx.event.type.DataEvent($[398],this),true);}this.getTopLevelWidget().setGlobalCursor($[582]);qx.client.Timer.once(this._openCallback,this,0);}else{if(this.getTree().hasEventListeners($[390])){this.getTree().dispatchEvent(new qx.event.type.DataEvent($[390],this),true);}this.setOpen(true);}},close:function(){if(this.getTree().hasEventListeners($[318])){this.getTree().dispatchEvent(new qx.event.type.DataEvent($[318],this),true);}if(this.getOpen()){if(qx.lang.Array.contains(this.getItems(true,true),this.getTree().getSelectedElement())){this.getTree().getManager().setSelectedItem(this);}}this.setOpen(false);},toggle:function(){this.getOpen()?this.close():this.open();},_openCallback:function(){this.setOpen(true);qx.ui.core.Widget.flushGlobalQueues();this.getTopLevelWidget().setGlobalCursor(null);},_createChildrenStructure:function(){if(!(this instanceof qx.ui.tree.Tree)){this.setHeight($[3]);}this.setVerticalChildrenAlign($[20]);if(!this._horizontalLayout){this.setOrientation($[117]);this._horizontalLayout=new qx.ui.layout.HorizontalBoxLayout;this._horizontalLayout.setWidth(null);this._horizontalLayout.setParent(this);this._horizontalLayout.setAnonymous(true);this._horizontalLayout.setAppearance(this instanceof qx.ui.tree.Tree?$[1253]:$[503]);this.setAppearance($[216]);for(var $0=0;$0<this._treeRowStructureFields.length;$0++){this._treeRowStructureFields[$0].setParent(this._horizontalLayout);}this._treeRowStructureFields=null;}if(!this._containerObject){this._containerObject=new qx.ui.layout.VerticalBoxLayout;this._containerObject.setWidth(null);this._containerObject.setHeight($[3]);this._containerObject.setAnonymous(true);this._containerObject.setDisplay(this.getOpen());this._containerObject.setParent(this);}},_handleChildMove:function($0,$1,$2){if($0.isDisplayable()){var $3=this._containerObject.getChildren();var $4=$3.indexOf($0);if($4!=-1){if($2){$1=$3.indexOf($2);}if($1==$3.length-1){$0._updateIndent();this._containerObject.getLastVisibleChild()._updateIndent();}else if($0._wasLastVisibleChild){$0._updateIndent();var $5=$0.getPreviousVisibleSibling();if($5){$5._updateIndent();}}}}},addToFolder:function($0){this._createChildrenStructure();if(this._containerObject){return this._containerObject.add.apply(this._containerObject,arguments);}},addBeforeToFolder:function($0,$1){this._createChildrenStructure();if(this._containerObject){this._handleChildMove($0,null,$1);return this._containerObject.addBefore.apply(this._containerObject,arguments);}},addAfterToFolder:function($0,$1){this._createChildrenStructure();if(this._containerObject){this._handleChildMove($0,null,$1);return this._containerObject.addAfter.apply(this._containerObject,arguments);}},addAtToFolder:function($0,$1){this._createChildrenStructure();if(this._containerObject){this._handleChildMove($0,$1);return this._containerObject.addAt.apply(this._containerObject,arguments);}},addAtBeginToFolder:function($0){return this.addAtToFolder($0,0);},addAtEndToFolder:function($0){this._createChildrenStructure();if(this._containerObject){var $1=this._containerObject.getLastChild();if($1){this._handleChildMove($0,null,$1);return this._containerObject.addAfter.call(this._containerObject,$0,$1);}else{return this.addAtBeginToFolder($0);}}},__saveSelectionBeforeRemove:function(){var $0=this.getTree();if($0){this.__oldSelection=$0.getSelectedElement();$0.setSelectedElement($0);}},__restoreSelectionAfterRemove:function(){var $0=this.getTree();if($0){if(!this.__oldSelection||!this.__oldSelection.getTree()){$0.setSelectedElement($0);}else{$0.setSelectedElement(this.__oldSelection);}}},remove:function($0){if(this._containerObject){this.__saveSelectionBeforeRemove();this._containerObject.remove.apply(this._containerObject,arguments);this.__restoreSelectionAfterRemove();}},removeAt:function($0){if(this._containerObject){this.__saveSelectionBeforeRemove();this._containerObject.removeAt($0);this.__restoreSelectionAfterRemove();}},removeAll:function(){if(this._containerObject){this.__saveSelectionBeforeRemove();this._containerObject.removeAll();this.__restoreSelectionAfterRemove();}},getContainerObject:function(){return this._containerObject;},getHorizontalLayout:function(){return this._horizontalLayout;},getFirstVisibleChildOfFolder:function(){if(this._containerObject){return this._containerObject.getFirstChild();}},getLastVisibleChildOfFolder:function(){if(this._containerObject){return this._containerObject.getLastChild();}},getItems:function($0,$1){var $2=[this];if(this._containerObject){var $3=$1==true?this._containerObject.getChildren():this._containerObject.getVisibleChildren();if($0==false){$2=$2.concat($3);}else{for(var $4=0,$5=$3.length;$4<$5;$4++){$2=$2.concat($3[$4].getItems($0,$1));}}}return $2;},destroyContent:function(){if(!this.hasContent()){return;}var $0=this.getTree()?this.getTree().getManager():null;var $1;var $2;if($0){$1=$0.getLeadItem();$2=$0.getAnchorItem();}this._containerObject.setDisplay(true);var $3=this._containerObject.getChildren();var $4;for(var $5=$3.length-1;$5>=0;--$5){$4=$3[$5];if($4!=this){if($0){if($1==$4){$0.setLeadItem(null);}if($2==$4){$0.setAnchorItem(null);}if($0.getItemSelected($4)){if($0.getMultiSelection()){$0.setItemSelected($4,false);}else{$0.deselectAll();}}if($4.destroyContent){$4.destroyContent();}}$4.removeFromTreeQueue();$4.disconnect();this._containerObject.remove($4);qx.client.Timer.once(function(){$4.dispose();delete $3[$5];},this,0);}}},_applyOpen:function($0,$1){var $2=this.getTree();if($2&&$2.getExcludeSpecificTreeLines().length>0){this._updateIndent();}else{this._updateLastColumn();}if(this._containerObject){this._containerObject.setDisplay($0);}},_applyAlwaysShowPlusMinusSymbol:function($0,$1){var $2=this.getTree();if($2){if($2.getExcludeSpecificTreeLines().length>0){this._updateIndent();}else{this._updateLastColumn();}}},_updateLastColumn:function(){if(this._indentObject){var $0=this._indentObject.getElement();if($0&&$0.firstChild){$0.firstChild.src=this.BASE_URI+this.getIndentSymbol(this.getTree().getUseTreeLines(),0,0,0)+$[1211];}}},_onmousedown:function($0){if($0._treeProcessed){return;}var $1=$0.getOriginalTarget();switch($1){case this._indentObject:if(this._indentObject.getElement().firstChild==$0.getDomTarget()){this.getTree().getManager().handleMouseDown(this,$0);this.toggle();}break;case this._containerObject:break;case this:if(this._containerObject){break;}default:this.getTree().getManager().handleMouseDown(this,$0);}$0._treeProcessed=true;},_onmouseup:function($0){if($0._treeProcessed){return;}var $1=$0.getOriginalTarget();switch($1){case this._indentObject:case this._containerObject:case this:break;default:if(!this.getTree().getUseDoubleClick()){this.open();this.getTree().getManager().handleMouseUp(this,$0);$0._treeProcessed=true;}this.getTree().getManager().handleMouseUp($0.getTarget(),$0);}},_ondblclick:function($0){if(!this.getTree().getUseDoubleClick()){return;}this.toggle();$0.stopPropagation();},getIndentSymbol:function($0,$1,$2,$3){var $4=this.getLevel();var $5=this.getTree().getExcludeSpecificTreeLines();var $6=$5[$3-$1-1];if($1==$2){if(this.hasContent()||this.getAlwaysShowPlusMinusSymbol()){if(!$0){return this.getOpen()?$[444]:$[338];}if($4==1){var $7=this.getParentFolder();if($7&&!$7._horizontalLayout.getVisibility()&&this.isFirstChild()){if(this.isLastChild()||$6===true){return this.getOpen()?$[301]:$[250];}else{return this.getOpen()?$[1162]:$[896];}}}if($6===true){return this.getOpen()?$[301]:$[250];}else if(this.isLastChild()){return this.getOpen()?$[1036]:$[1237];}else{return this.getOpen()?$[1493]:$[1397];}}else if($0&&!($6===true)){return this.isLastChild()?$[474]:$[412];}}else{if($0&&!this.isLastChild()){if($6===true){return null;}return $[370];}return null;}},_updateIndent:function(){qx.ui.tree.TreeFile.prototype._updateIndent.call(this);if(!this._containerObject){return;}var $0=this._containerObject.getVisibleChildren();for(var $1=0,$2=$0.length;$1<$2;$1++){$0[$1]._updateIndent();}}},destruct:function(){this._disposeFields($[750]);this._disposeObjects($[646],$[1704]);}}); >-qx.Class.define($[773],{extend:qx.ui.tree.TreeFolder,construct:function($0,$1,$2){arguments.callee.base.call(this,this._getRowStructure($0,$1,$2));this._manager=new qx.ui.tree.SelectionManager(this);this._iconObject.setAppearance($[662]);this._labelObject.setAppearance($[1640]);this.setOpen(true);this.addToFolder();this.addEventListener($[16],this._onkeydown);this.addEventListener($[40],this._onkeypress);this.addEventListener($[88],this._onkeyup);},statics:{isTreeFolder:function($0){return ($0&&$0 instanceof qx.ui.tree.TreeFolder&&!($0 instanceof qx.ui.tree.Tree));},isOpenTreeFolder:function($0){return ($0 instanceof qx.ui.tree.TreeFolder&&$0.getOpen()&&$0.hasContent());}},properties:{useDoubleClick:{check:$[2],init:false},useTreeLines:{check:$[2],init:true,apply:$[1479]},tabIndex:{refine:true,init:1},excludeSpecificTreeLines:{check:$[413],init:[],apply:$[1639]},hideNode:{check:$[2],init:false,apply:$[1478]},rootOpenClose:{check:$[2],init:false,apply:$[703]}},members:{useDoubleClick:function(){qx.log.Logger.deprecatedMethodWarning(arguments.callee,$[957]);return this.getUseDoubleClick();},useTreeLines:function(){qx.log.Logger.deprecatedMethodWarning(arguments.callee,$[1213]);return this.getUseTreeLines();},hideNode:function(){qx.log.Logger.deprecatedMethodWarning(arguments.callee,$[1223]);return this.getHideNode();},getManager:function(){return this._manager;},getSelectedElement:function(){return this.getManager().getSelectedItems()[0];},getItems:function($0,$1){var $2=[];if(!this.getHideNode()){$2.push(this);}if(this._containerObject){var $3=$1==true?this._containerObject.getChildren():this._containerObject.getVisibleChildren();if($0==false){$2=$2.concat($3);}else{for(var $4=0,$5=$3.length;$4<$5;$4++){$2=$2.concat($3[$4].getItems($0,$1));}}}return $2;},addChildToTreeQueue:function($0){if(!$0._isInTreeQueue&&!$0._isDisplayable){this.debug("Ignoring invisible child: "+$0);}if(!$0._isInTreeQueue&&$0._isDisplayable){qx.ui.core.Widget.addToGlobalWidgetQueue(this);if(!this._treeQueue){this._treeQueue={};}this._treeQueue[$0.toHashCode()]=$0;$0._isInTreeQueue=true;}},removeChildFromTreeQueue:function($0){if($0._isInTreeQueue){if(this._treeQueue){delete this._treeQueue[$0.toHashCode()];}delete $0._isInTreeQueue;}},flushWidgetQueue:function(){this.flushTreeQueue();},flushTreeQueue:function(){if(!qx.lang.Object.isEmpty(this._treeQueue)){for(var $0 in this._treeQueue){this._treeQueue[$0].flushTree();delete this._treeQueue[$0]._isInTreeQueue;}delete this._treeQueue;}},_applyUseTreeLines:function($0,$1){if(this._initialLayoutDone){this._updateIndent();}},_applyHideNode:function($0,$1){if(!$0){this._horizontalLayout.setHeight(this._horizontalLayout.originalHeight);this._horizontalLayout.show();}else{this._horizontalLayout.originalHeight=this._horizontalLayout.getHeight();this._horizontalLayout.setHeight(0);this._horizontalLayout.hide();}if(this._initialLayoutDone){this._updateIndent();}},_applyRootOpenClose:function($0,$1){if(this._initialLayoutDone){this._updateIndent();}},getExcludeSpecificTreeLines:function(){return qx.lang.Array.clone(this[$[1161]]);},_applyExcludeSpecificTreeLines:function($0,$1){if(this._initialLayoutDone){this._updateIndent();}},getTree:function(){return this;},getParentFolder:function(){return null;},getLevel:function(){return 0;},_onkeydown:function($0){var $1=this.getManager();$1.getSelectedItem();},_onkeypress:function($0){var $1=this.getManager();var $2=$1.getSelectedItem();switch($0.getKeyIdentifier()){case $[46]:$0.preventDefault();if(qx.ui.tree.Tree.isTreeFolder($2)){return $2.toggle();}break;case $[60]:$0.preventDefault();if(qx.ui.tree.Tree.isTreeFolder($2)){if(!$2.getOpen()){var $3=$2.getParentFolder();if($3 instanceof qx.ui.tree.TreeFolder){if($3 instanceof qx.ui.tree.Tree&&$3.getHideNode()){return;}if(!($3 instanceof qx.ui.tree.Tree)){$3.close();}this.setSelectedElement($3);}}else{return $2.close();}}else if($2 instanceof qx.ui.tree.TreeFile){var $3=$2.getParentFolder();if($3 instanceof qx.ui.tree.TreeFolder){if(!($3 instanceof qx.ui.tree.Tree)){$3.close();}this.setSelectedElement($3);}}break;case $[64]:$0.preventDefault();if(qx.ui.tree.Tree.isTreeFolder($2)){if(!$2.getOpen()){return $2.open();}else if($2.hasContent()){var $4=$2.getFirstVisibleChildOfFolder();this.setSelectedElement($4);if($4 instanceof qx.ui.tree.TreeFolder){$4.open();}return;}}break;default:if(!this._fastUpdate){this._fastUpdate=true;this._oldItem=$2;}$1.handleKeyPress($0);}},_onkeyup:function($0){if(this._fastUpdate){var $1=this.getManager().getSelectedItem();if(!$1){return;}$1.getIconObject().addState($[92]);delete this._fastUpdate;delete this._oldItem;}},getLastTreeChild:function(){var $0=this;while($0 instanceof qx.ui.tree.AbstractTreeElement){if(!($0 instanceof qx.ui.tree.TreeFolder)||!$0.getOpen()){return $0;}$0=$0.getLastVisibleChildOfFolder();}return null;},getFirstTreeChild:function(){return this;},setSelectedElement:function($0){var $1=this.getManager();$1.setSelectedItem($0);$1.setLeadItem($0);},getHierarchy:function($0){if(!this.getHideNode()&&this._labelObject){$0.unshift(this._labelObject.getText());}return $0;},getIndentSymbol:function($0,$1,$2){if($1==$2&&(this.hasContent()||this.getAlwaysShowPlusMinusSymbol())){if(!$0){return this.getOpen()?$[444]:$[338];}else{return this.getOpen()?$[301]:$[250];}}else{return null;}}},destruct:function(){this._disposeObjects($[213]);}}); >-qx.Class.define($[1257],{extend:qx.core.Target,construct:function($0){arguments.callee.base.call(this);this._selectedItems=new qx.ui.selection.Selection(this);if($0!=null){this.setBoundedWidget($0);}},events:{"changeSelection":$[98]},properties:{boundedWidget:{check:$[66],nullable:true},multiSelection:{check:$[2],init:true},dragSelection:{check:$[2],init:true},canDeselect:{check:$[2],init:true},fireChange:{check:$[2],init:true},anchorItem:{check:$[119],nullable:true,apply:$[626],event:$[1303]},leadItem:{check:$[119],nullable:true,apply:$[1265],event:$[728]},multiColumnSupport:{check:$[2],init:false}},members:{_applyAnchorItem:function($0,$1){if($1){this.renderItemAnchorState($1,false);}if($0){this.renderItemAnchorState($0,true);}},_applyLeadItem:function($0,$1){if($1){this.renderItemLeadState($1,false);}if($0){this.renderItemLeadState($0,true);}},_getFirst:function(){return this.getBoundedWidget().getFirstVisibleChild();},_getLast:function(){return this.getBoundedWidget().getLastVisibleChild();},getFirst:function(){var $0=this._getFirst();if($0){return $0.getEnabled()?$0:this.getNext($0);}},getLast:function(){var $0=this._getLast();if($0){return $0.getEnabled()?$0:this.getPrevious($0);}},getItems:function(){return this.getBoundedWidget().getChildren();},getNextSibling:function($0){return $0.getNextSibling();},getPreviousSibling:function($0){return $0.getPreviousSibling();},getNext:function($0){while($0){$0=this.getNextSibling($0);if(!$0){break;}if(this.getItemEnabled($0)){return $0;}}return null;},getPrevious:function($0){while($0){$0=this.getPreviousSibling($0);if(!$0){break;}if(this.getItemEnabled($0)){return $0;}}return null;},isBefore:function($0,$1){var $2=this.getItems();return $2.indexOf($0)<$2.indexOf($1);},isEqual:function($0,$1){return $0==$1;},getItemHashCode:function($0){return $0.toHashCode();},scrollItemIntoView:function($0,$1){$0.scrollIntoView($1);},getItemLeft:function($0){return $0.getOffsetLeft();},getItemTop:function($0){return $0.getOffsetTop();},getItemWidth:function($0){return $0.getOffsetWidth();},getItemHeight:function($0){return $0.getOffsetHeight();},getItemEnabled:function($0){return $0.getEnabled();},renderItemSelectionState:function($0,$1){$1?$0.addState($[92]):$0.removeState($[92]);if($0.handleStateChange){$0.handleStateChange();}},renderItemAnchorState:function($0,$1){$1?$0.addState($[459]):$0.removeState($[459]);if($0.handleStateChange!=null){$0.handleStateChange();}},renderItemLeadState:function($0,$1){$1?$0.addState($[276]):$0.removeState($[276]);if($0.handleStateChange!=null){$0.handleStateChange();}},getItemSelected:function($0){return this._selectedItems.contains($0);},setItemSelected:function($0,$1){switch(this.getMultiSelection()){case true:if(!this.getItemEnabled($0)){return;}if(this.getItemSelected($0)==$1){return;}this.renderItemSelectionState($0,$1);$1?this._selectedItems.add($0):this._selectedItems.remove($0);this._dispatchChange();break;case false:var $2=this.getSelectedItems()[0];if($1){var $3=$2;if(this.isEqual($0,$3)){return;}if($3!=null){this.renderItemSelectionState($3,false);}this.renderItemSelectionState($0,true);this._selectedItems.removeAll();this._selectedItems.add($0);this._dispatchChange();}else{if(!this.isEqual($2,$0)){this.renderItemSelectionState($0,false);this._selectedItems.removeAll();this._dispatchChange();}}break;}},getSelectedItems:function(){return this._selectedItems.toArray();},getSelectedItem:function(){return this._selectedItems.getFirst();},setSelectedItems:function($0){var $1=this._getChangeValue();var $2=this.getFireChange();this.setFireChange(false);this._deselectAll();var $3;var $4=$0.length;for(var $5=0;$5<$4;$5++){$3=$0[$5];if(!this.getItemEnabled($3)){continue;}this._selectedItems.add($3);this.renderItemSelectionState($3,true);}this.setFireChange($2);if($2&&this._hasChanged($1)){this._dispatchChange();}},setSelectedItem:function($0){if(!$0){return;}if(!this.getItemEnabled($0)){return;}var $1=this._getChangeValue();var $2=this.getFireChange();this.setFireChange(false);this._deselectAll();this._selectedItems.add($0);this.renderItemSelectionState($0,true);this.setFireChange($2);if($2&&this._hasChanged($1)){this._dispatchChange();}},selectAll:function(){var $0=this._getChangeValue();var $1=this.getFireChange();this.setFireChange(false);this._selectAll();this.setFireChange($1);if($1&&this._hasChanged($0)){this._dispatchChange();}},_selectAll:function(){if(!this.getMultiSelection()){return;}var $0;var $1=this.getItems();var $2=$1.length;this._selectedItems.removeAll();for(var $3=0;$3<$2;$3++){$0=$1[$3];if(!this.getItemEnabled($0)){continue;}this._selectedItems.add($0);this.renderItemSelectionState($0,true);}return true;},deselectAll:function(){var $0=this._getChangeValue();var $1=this.getFireChange();this.setFireChange(false);this._deselectAll();this.setFireChange($1);if($1&&this._hasChanged($0))this._dispatchChange();},_deselectAll:function(){var $0=this._selectedItems.toArray();for(var $1=0;$1<$0.length;$1++){this.renderItemSelectionState($0[$1],false);}this._selectedItems.removeAll();return true;},selectItemRange:function($0,$1){var $2=this._getChangeValue();var $3=this.getFireChange();this.setFireChange(false);this._selectItemRange($0,$1,true);this.setFireChange($3);if($3&&this._hasChanged($2)){this._dispatchChange();}},_selectItemRange:function($0,$1,$2){if(this.isBefore($1,$0)){return this._selectItemRange($1,$0,$2);}if($2){this._deselectAll();}var $3=$0;while($3!=null){if(this.getItemEnabled($3)){this._selectedItems.add($3);this.renderItemSelectionState($3,true);}if(this.isEqual($3,$1)){break;}$3=this.getNext($3);}return true;},_deselectItemRange:function($0,$1){if(this.isBefore($1,$0)){return this._deselectItemRange($1,$0);}var $2=$0;while($2!=null){this._selectedItems.remove($2);this.renderItemSelectionState($2,false);if(this.isEqual($2,$1)){break;}$2=this.getNext($2);}},_activeDragSession:false,handleMouseDown:function($0,$1){$1.stopPropagation();if(!$1.isLeftButtonPressed()&&!$1.isRightButtonPressed()){return;}if($1.isRightButtonPressed()&&this.getItemSelected($0)){return;}if($1.isShiftPressed()||this.getDragSelection()||(!this.getItemSelected($0)&&!$1.isCtrlPressed())){this._onmouseevent($0,$1);}else{this.setLeadItem($0);}this._activeDragSession=this.getDragSelection();if(this._activeDragSession){this.getBoundedWidget().addEventListener($[22],this._ondragup,this);this.getBoundedWidget().setCapture(true);}},_ondragup:function($0){this.getBoundedWidget().removeEventListener($[22],this._ondragup,this);this.getBoundedWidget().setCapture(false);this._activeDragSession=false;},handleMouseUp:function($0,$1){if(!$1.isLeftButtonPressed()){return;}if($1.isCtrlPressed()||this.getItemSelected($0)&&!this._activeDragSession){this._onmouseevent($0,$1);}if(this._activeDragSession){this._activeDragSession=false;this.getBoundedWidget().setCapture(false);}},handleMouseOver:function($0,$1){if(!this.getDragSelection()||!this._activeDragSession){return;}this._onmouseevent($0,$1,true);},handleClick:function($0,$1){},handleDblClick:function($0,$1){},_onmouseevent:function($0,$1,$2){if(!this.getItemEnabled($0)){return;}var $3=this._getChangeValue();var $4=this.getLeadItem();var $5=this.getFireChange();this.setFireChange(false);var $6=this.getSelectedItems();var $7=$6.length;this.setLeadItem($0);var $8=this.getAnchorItem();var $9=$1.isCtrlPressed();var $a=$1.isShiftPressed();if(!$8||$7==0||($9&&!$a&&this.getMultiSelection()&&!this.getDragSelection())){this.setAnchorItem($0);$8=$0;}if((!$9&&!$a&&!this._activeDragSession||!this.getMultiSelection())){if(!this.getItemEnabled($0)){return;}this._deselectAll();this.setAnchorItem($0);if(this._activeDragSession){this.scrollItemIntoView((this.getBoundedWidget().getScrollTop()>(this.getItemTop($0)-1)?this.getPrevious($0):this.getNext($0))||$0);}if(!this.getItemSelected($0)){this.renderItemSelectionState($0,true);}this._selectedItems.add($0);this._addToCurrentSelection=true;}else if(this._activeDragSession&&$2){if($4){this._deselectItemRange($8,$4);}if(this.isBefore($8,$0)){if(this._addToCurrentSelection){this._selectItemRange($8,$0,false);}else{this._deselectItemRange($8,$0);}}else{if(this._addToCurrentSelection){this._selectItemRange($0,$8,false);}else{this._deselectItemRange($0,$8);}}this.scrollItemIntoView((this.getBoundedWidget().getScrollTop()>(this.getItemTop($0)-1)?this.getPrevious($0):this.getNext($0))||$0);}else if(this.getMultiSelection()&&$9&&!$a){if(!this._activeDragSession){this._addToCurrentSelection=!(this.getCanDeselect()&&this.getItemSelected($0));}this.setItemSelected($0,this._addToCurrentSelection);this.setAnchorItem($0);}else if(this.getMultiSelection()&&$9&&$a){if(!this._activeDragSession){this._addToCurrentSelection=!(this.getCanDeselect()&&this.getItemSelected($0));}if(this._addToCurrentSelection){this._selectItemRange($8,$0,false);}else{this._deselectItemRange($8,$0);}}else if(this.getMultiSelection()&&!$9&&$a){if(this.getCanDeselect()){this._selectItemRange($8,$0,true);}else{if($4){this._deselectItemRange($8,$4);}this._selectItemRange($8,$0,false);}}this.setFireChange($5);if($5&&this._hasChanged($3)){this._dispatchChange();}},handleKeyDown:function($0){this.warn("qx.ui.selection.SelectionManager.handleKeyDown is deprecated! "+"Use keypress insted and bind it to the onkeypress event.");this.handleKeyPress($0);},handleKeyPress:function($0){var $1=this._getChangeValue();var $2=this.getFireChange();this.setFireChange(false);if($0.getKeyIdentifier()==$[174]&&$0.isCtrlPressed()){if(this.getMultiSelection()){this._selectAll();this.setLeadItem(this.getFirst());}}else{var $3=this.getAnchorItem();var $4=this.getItemToSelect($0);if($4&&this.getItemEnabled($4)){this.setLeadItem($4);this.scrollItemIntoView($4);$0.preventDefault();if($0.isShiftPressed()&&this.getMultiSelection()){if($3==null){this.setAnchorItem($4);}this._selectItemRange(this.getAnchorItem(),$4,true);}else if(!$0.isCtrlPressed()){this._deselectAll();this.renderItemSelectionState($4,true);this._selectedItems.add($4);this.setAnchorItem($4);}else if($0.getKeyIdentifier()==$[84]){if(this._selectedItems.contains($4)){this.renderItemSelectionState($4,false);this._selectedItems.remove($4);this.setAnchorItem(this._selectedItems.getFirst());}else{if(!$0.isCtrlPressed()||!this.getMultiSelection()){this._deselectAll();}this.renderItemSelectionState($4,true);this._selectedItems.add($4);this.setAnchorItem($4);}}}}this.setFireChange($2);if($2&&this._hasChanged($1)){this._dispatchChange();}},getItemToSelect:function($0){if($0.isAltPressed()){return null;}switch($0.getKeyIdentifier()){case $[150]:return this.getHome(this.getLeadItem());case $[162]:return this.getEnd(this.getLeadItem());case $[76]:return this.getDown(this.getLeadItem());case $[69]:return this.getUp(this.getLeadItem());case $[60]:return this.getLeft(this.getLeadItem());case $[64]:return this.getRight(this.getLeadItem());case $[87]:return this.getPageUp(this.getLeadItem())||this.getHome(this.getLeadItem());case $[99]:return this.getPageDown(this.getLeadItem())||this.getEnd(this.getLeadItem());case $[84]:if($0.isCtrlPressed()){return this.getLeadItem();}}return null;},_dispatchChange:function(){if(!this.getFireChange()){return;}if(this.hasEventListeners($[532])){this.dispatchEvent(new qx.event.type.DataEvent($[532],this.getSelectedItems()),true);}},_hasChanged:function($0){return $0!=this._getChangeValue();},_getChangeValue:function(){return this._selectedItems.getChangeValue();},getHome:function(){return this.getFirst();},getEnd:function(){return this.getLast();},getDown:function($0){if(!$0){return this.getFirst();}return this.getMultiColumnSupport()?(this.getUnder($0)||this.getLast()):this.getNext($0);},getUp:function($0){if(!$0){return this.getLast();}return this.getMultiColumnSupport()?(this.getAbove($0)||this.getFirst()):this.getPrevious($0);},getLeft:function($0){if(!this.getMultiColumnSupport()){return null;}return !$0?this.getLast():this.getPrevious($0);},getRight:function($0){if(!this.getMultiColumnSupport()){return null;}return !$0?this.getFirst():this.getNext($0);},getAbove:function($0){throw new Error("getAbove(): Not implemented yet");},getUnder:function($0){throw new Error("getUnder(): Not implemented yet");},getPageUp:function($0){var $1=this.getBoundedWidget();var $2=$1.getScrollTop();var $3=$1.getClientHeight();var $4=this.getLeadItem();if(!$4){$4=this.getFirst();}var $5=0;while($5<2){while($4&&(this.getItemTop($4)-this.getItemHeight($4)>=$2)){$4=this.getUp($4);}if($4==null){break;}if($4!=this.getLeadItem()){this.scrollItemIntoView($4,true);break;}$1.setScrollTop($2-$3-this.getItemHeight($4));$2=$1.getScrollTop();$5++;}return $4;},getPageDown:function($0){var $1=this.getBoundedWidget();var $2=$1.getScrollTop();var $3=$1.getClientHeight();var $4=this.getLeadItem();if(!$4){$4=this.getFirst();}var $5=0;while($5<2){while($4&&((this.getItemTop($4)+(2*this.getItemHeight($4)))<=($2+$3))){$4=this.getDown($4);}if($4==null){break;}if($4!=this.getLeadItem()){break;}$1.setScrollTop($2+$3-2*this.getItemHeight($4));$2=$1.getScrollTop();$5++;}return $4;}},destruct:function(){this._disposeObjects($[739]);}}); >-qx.Class.define($[1517],{extend:qx.core.Object,construct:function($0){arguments.callee.base.call(this);this.__manager=$0;this.removeAll();},members:{add:function($0){this.__storage[this.getItemHashCode($0)]=$0;},remove:function($0){delete this.__storage[this.getItemHashCode($0)];},removeAll:function(){this.__storage={};},contains:function($0){return this.getItemHashCode($0) in this.__storage;},toArray:function(){var $0=[];for(var $1 in this.__storage){$0.push(this.__storage[$1]);}return $0;},getFirst:function(){for(var $0 in this.__storage){return this.__storage[$0];}return null;},getChangeValue:function(){var $0=[];for(var $1 in this.__storage){$0.push($1);}$0.sort();return $0.join($[79]);},getItemHashCode:function($0){return this.__manager.getItemHashCode($0);},isEmpty:function(){return qx.lang.Object.isEmpty(this.__storage);}},destruct:function(){this._disposeFields($[1579],$[1011]);}}); >-qx.Class.define($[1159],{extend:qx.ui.selection.SelectionManager,construct:function($0){arguments.callee.base.call(this,$0);},properties:{multiSelection:{refine:true,init:false},dragSelection:{refine:true,init:false}},members:{_getFirst:function(){return qx.lang.Array.getFirst(this.getItems());},_getLast:function(){return qx.lang.Array.getLast(this.getItems());},getItems:function(){return this.getBoundedWidget().getItems();},getNext:function($0){if($0){if(qx.ui.tree.Tree.isOpenTreeFolder($0)){return $0.getFirstVisibleChildOfFolder();}else if($0.isLastVisibleChild()){var $1=$0;while($1&&$1.isLastVisibleChild()){$1=$1.getParentFolder();}if($1&&$1 instanceof qx.ui.tree.AbstractTreeElement&&$1.getNextVisibleSibling()&&$1.getNextVisibleSibling() instanceof qx.ui.tree.AbstractTreeElement){return $1.getNextVisibleSibling();}}else{return $0.getNextVisibleSibling();}}else{return this.getBoundedWidget().getFirstTreeChild();}},getPrevious:function($0){if($0){if($0==this.getBoundedWidget()){return;}else if($0.isFirstVisibleChild()){if($0.getParentFolder() instanceof qx.ui.tree.TreeFolder){if($0.getParentFolder() instanceof qx.ui.tree.Tree&&$0.getParentFolder().getHideNode()){return $0;}return $0.getParentFolder();}}else{var $1=$0.getPreviousVisibleSibling();while($1 instanceof qx.ui.tree.AbstractTreeElement){if(qx.ui.tree.Tree.isOpenTreeFolder($1)){$1=$1.getLastVisibleChildOfFolder();}else{break;}}return $1;}}else{return this.getBoundedWidget().getLastTreeChild();}},getItemTop:function($0){var $1=this.getBoundedWidget();var $2=$0.getElement();var $3=0;while($2&&$2.qx_Widget!=$1){$3+=$2.offsetTop;$2=$2.parentNode;}return $3;},getItemHeight:function($0){if($0 instanceof qx.ui.tree.TreeFolder&&$0._horizontalLayout){return $0._horizontalLayout.getOffsetHeight();}else{return $0.getOffsetHeight();}},scrollItemIntoView:function($0){if($0 instanceof qx.ui.tree.TreeFolder&&$0._horizontalLayout){return $0._horizontalLayout.scrollIntoView();}else{return $0.scrollIntoView();}},renderItemSelectionState:function($0,$1){if($1&&!$0.isSeeable()){var $2=$0;var $3=[];while($2){$2=$2.getParentFolder();$3.push($2);}$3.pop();while($3.length){$3.pop().open();}}if($1){if($0.isCreated()){this.scrollItemIntoView($0);}else{$0.addEventListener($[193],function($4){this.scrollItemIntoView($0);},this);}}$0.setSelected($1);}}}); >-qx.Class.define($[1793],{extend:qx.ui.tree.AbstractTreeElement,construct:function($0,$1,$2){arguments.callee.base.call(this,this._getRowStructure($0,$1,$2));},members:{getIndentSymbol:function($0,$1,$2,$3){var $4=this.getTree().getExcludeSpecificTreeLines();var $5=$4[$3-$1-1];if($0&&!($5===true)){if($1==$2){return this.isLastChild()?$[474]:$[412];}else{return $[370];}}return null;},_updateIndent:function(){this.addToTreeQueue();},getItems:function(){return [this];}}}); >-qx.Class.define($[1217],{extend:qx.ui.popup.Popup,construct:function($0,$1){arguments.callee.base.call(this);this._atom=new qx.ui.basic.Atom($0,$1);this._atom.setParent(this);},members:{_isFocusRoot:false,getAtom:function(){return this._atom;}},destruct:function(){this._disposeObjects($[743]);}}); >-qx.Class.define($[241],{extend:qx.ui.popup.PopupAtom,construct:function($0,$1){arguments.callee.base.call(this,$0,$1);this.setStyleProperty($[144],$[1263]);this._showTimer=new qx.client.Timer(this.getShowInterval());this._showTimer.addEventListener($[85],this._onshowtimer,this);this._hideTimer=new qx.client.Timer(this.getHideInterval());this._hideTimer.addEventListener($[85],this._onhidetimer,this);this.addEventListener($[61],this._onmouseover);this.addEventListener($[105],this._onmouseover);},properties:{appearance:{refine:true,init:$[1724]},hideOnHover:{check:$[2],init:true},mousePointerOffsetX:{check:$[5],init:1},mousePointerOffsetY:{check:$[5],init:20},showInterval:{check:$[5],init:1000,apply:$[673]},hideInterval:{check:$[5],init:4000,apply:$[818]},boundToWidget:{check:$[66],apply:$[679]}},members:{_minZIndex:1e7,_applyHideInterval:function($0,$1){this._hideTimer.setInterval($0);},_applyShowInterval:function($0,$1){this._showTimer.setInterval($0);},_applyBoundToWidget:function($0,$1){if($0){this.setParent($0.getTopLevelWidget());}else if($1){this.setParent(null);}},_beforeAppear:function(){arguments.callee.base.call(this);this._stopShowTimer();this._startHideTimer();},_beforeDisappear:function(){arguments.callee.base.call(this);this._stopHideTimer();},_afterAppear:function(){arguments.callee.base.call(this);if(this.getRestrictToPageOnOpen()){var $0=qx.ui.core.ClientDocument.getInstance();var $1=$0.getClientWidth();var $2=$0.getClientHeight();var $3=parseInt(this.getRestrictToPageLeft());var $4=parseInt(this.getRestrictToPageRight());var $5=parseInt(this.getRestrictToPageTop());var $6=parseInt(this.getRestrictToPageBottom());var $7=(this._wantedLeft==null)?this.getLeft():this._wantedLeft;var $8=this.getTop();var $9=this.getBoxWidth();var $a=this.getBoxHeight();var $b=qx.event.type.MouseEvent.getPageX();var $c=qx.event.type.MouseEvent.getPageY();var $d=this.getLeft();var $e=$8;if($7+$9>$1-$4){$7=$1-$4-$9;}if($8+$a>$2-$6){$8=$2-$6-$a;}if($7<$3){$7=$3;}if($8<$5){$8=$5;}if($7<=$b&&$b<=$7+$9&&$8<=$c&&$c<=$8+$a){var $f=$c-$8;var $g=$f-$a;var $h=$b-$7;var $i=$h-$9;var $j=Math.max(0,$5-($8+$g));var $k=Math.max(0,$8+$a+$f-($2-$6));var $l=Math.max(0,$3-($7+$i));var $m=Math.max(0,$7+$9+$h-($1-$4));var $n=[[0,$g,$j],[0,$f,$k],[$i,0,$l],[$h,0,$m]];$n.sort(function($o,$p){return $o[2]-$p[2]||(Math.abs($o[0])+Math.abs($o[1]))-(Math.abs($p[0])+Math.abs($p[1]));});var $q=$n[0];$7=$7+$q[0];$8=$8+$q[1];}if($7!=$d||$8!=$e){var $r=this;window.setTimeout(function(){$r.setLeft($7);$r.setTop($8);},0);}}},_startShowTimer:function(){if(!this._showTimer.getEnabled()){this._showTimer.start();}},_startHideTimer:function(){if(!this._hideTimer.getEnabled()){this._hideTimer.start();}},_stopShowTimer:function(){if(this._showTimer.getEnabled()){this._showTimer.stop();}},_stopHideTimer:function(){if(this._hideTimer.getEnabled()){this._hideTimer.stop();}},_onmouseover:function($0){if(this.getHideOnHover()){this.hide();}},_onshowtimer:function($0){this.setLeft(qx.event.type.MouseEvent.getPageX()+this.getMousePointerOffsetX());this.setTop(qx.event.type.MouseEvent.getPageY()+this.getMousePointerOffsetY());this.show();},_onhidetimer:function($0){return this.hide();}},destruct:function(){var $0=qx.ui.popup.ToolTipManager.getInstance();$0.remove(this);if($0.getCurrentToolTip()==this){$0.resetCurrentToolTip();}this._disposeObjects($[664],$[579]);}}); >-qx.Class.define($[151],{type:$[18],extend:qx.util.manager.Object,properties:{currentToolTip:{check:$[241],nullable:true,apply:$[1377]}},members:{_applyCurrentToolTip:function($0,$1){if($1&&$1.contains($0)){return;}if($1&&!$1.isDisposed()){$1.hide();$1._stopShowTimer();$1._stopHideTimer();}if($0){$0._startShowTimer();}},handleMouseOver:function($0){var $1=$0.getTarget();var $2;if(!($1 instanceof qx.ui.core.Widget)&&$1.nodeType==1){$1=qx.event.handler.EventHandler.getTargetObject($1);}while($1!=null&&!($2=$1.getToolTip())){$1=$1.getParent();}if($2!=null){$2.setBoundToWidget($1);}this.setCurrentToolTip($2);},handleMouseOut:function($0){var $1=$0.getTarget();var $2=$0.getRelatedTarget();var $3=this.getCurrentToolTip();if($3&&($2==$3||$3.contains($2))){return;}if($2&&$1&&$1.contains($2)){return;}if($3&&!$2){this.setCurrentToolTip(null);}},handleFocus:function($0){var $1=$0.getTarget();var $2=$1.getToolTip();if($2!=null){$2.setBoundToWidget($1);this.setCurrentToolTip($2);}},handleBlur:function($0){var $1=$0.getTarget();if(!$1){return;}var $2=this.getCurrentToolTip();if($2&&$2==$1.getToolTip()){this.setCurrentToolTip(null);}}}}); >-qx.Class.define($[1539],{type:$[51],extend:qx.ui.layout.BoxLayout,construct:function($0,$1){arguments.callee.base.call(this);this._bar=new $0;this._pane=new $1;this.add(this._bar,this._pane);},members:{getPane:function(){return this._pane;},getBar:function(){return this._bar;}},destruct:function(){this._disposeObjects($[1462],$[430]);}}); >-qx.Class.define($[787],{extend:qx.ui.pageview.AbstractPageView,construct:function(){arguments.callee.base.call(this,qx.ui.pageview.tabview.Bar,qx.ui.pageview.tabview.Pane);},properties:{appearance:{refine:true,init:$[1020]},orientation:{refine:true,init:$[117]},alignTabsToLeft:{check:$[2],init:true,apply:$[1412]},placeBarOnTop:{check:$[2],init:true,apply:$[1744]}},members:{_applyAlignTabsToLeft:function($0,$1){var $2=this._bar;$2.setHorizontalChildrenAlign($0?$[11]:$[9]);$2._addChildrenToStateQueue();},_applyPlaceBarOnTop:function($0,$1){var $2=this._bar;if($0){$2.moveSelfToBegin();}else{$2.moveSelfToEnd();}$2._addChildrenToStateQueue();}}}); >-qx.Class.define($[763],{type:$[51],extend:qx.ui.layout.BoxLayout,construct:function(){arguments.callee.base.call(this);this._manager=new qx.ui.selection.RadioManager;this.addEventListener($[184],this._onmousewheel);},members:{getManager:function(){return this._manager;},_lastDate:(new Date(0)).valueOf(),_onmousewheel:function($0){var $1=(new Date).valueOf();if(($1-50)<this._lastDate){return;}this._lastDate=$1;var $2=this.getManager();var $3=$2.getEnabledItems();var $4=$3.indexOf($2.getSelected());if(this.getWheelDelta($0)>0){var $5=$3[$4+1];if(!$5){$5=$3[0];}}else if($4>0){var $5=$3[$4-1];if(!$5){$5=$3[0];}}else{$5=$3[$3.length-1];}$2.setSelected($5);},getWheelDelta:function($0){return $0.getWheelDelta();}},destruct:function(){this._disposeObjects($[213]);}}); >+qx.Class.define($[1072],{extend:qx.ui.layout.BoxLayout,construct:function($0,$1,$2,$3,$4){arguments.callee.base.call(this);this.getLayoutImpl().setEnableFlexSupport(false);if($0!==undefined){this.setLabel($0);}if(qx.Class.isDefined($[356])&&$4!=null&&$2!=null&&$3!=null&&qx.ui.embed.Flash.getPlayerVersion().getMajor()>0){this._flashMode=true;this.setIcon($4);}else if($1!=null){this.setIcon($1);}if($1||$4){if($2!=null){this.setIconWidth($2);}if($3!=null){this.setIconHeight($3);}}this.initWidth();this.initHeight();},properties:{orientation:{refine:true,init:$[132]},allowStretchX:{refine:true,init:false},allowStretchY:{refine:true,init:false},appearance:{refine:true,init:$[1347]},stretchChildrenOrthogonalAxis:{refine:true,init:false},width:{refine:true,init:$[3]},height:{refine:true,init:$[3]},horizontalChildrenAlign:{refine:true,init:$[57]},verticalChildrenAlign:{refine:true,init:$[62]},spacing:{refine:true,init:4},label:{apply:$[256],nullable:true,dispose:true,check:$[280]},icon:{check:$[6],apply:$[181],nullable:true,themeable:true},disabledIcon:{check:$[6],apply:$[1670],nullable:true,themeable:true},show:{init:$[110],check:[$[110],$[195],$[133],$[7]],themeable:true,nullable:true,inheritable:true,apply:$[1298],event:$[269]},iconPosition:{init:$[11],check:[$[20],$[9],$[17],$[11]],themeable:true,apply:$[1328]},iconWidth:{check:$[5],themeable:true,apply:$[1039],nullable:true},iconHeight:{check:$[5],themeable:true,apply:$[1566],nullable:true}},members:{_flashMode:false,_labelObject:null,_iconObject:null,_createLabel:function(){var $0=this._labelObject=new qx.ui.basic.Label(this.getLabel());$0.setAnonymous(true);this.addAt($0,this._iconObject?1:0);},_createIcon:function(){if(this._flashMode&&qx.Class.isDefined($[356])){var $0=this._iconObject=new qx.ui.embed.Flash(this.getIcon());}else{var $0=this._iconObject=new qx.ui.basic.Image();}$0.setAnonymous(true);var $1=this.getIconWidth();if($1!==null){this._iconObject.setWidth($1);}var $2=this.getIconWidth();if($2!==null){this._iconObject.setHeight($2);}this._updateIcon();this.addAt($0,0);},_updateIcon:function(){var $0=this.getIcon();if(this._iconObject&&this.getIcon&&this.getDisabledIcon){var $1=this.getDisabledIcon();if($1){if(this.getEnabled()){$0?this._iconObject.setSource($0):this._iconObject.resetSource();}else{$1?this._iconObject.setSource($1):this._iconObject.resetSource();}this._iconObject.setEnabled(true);}else{$0?this._iconObject.setSource($0):this._iconObject.resetSource();this._iconObject.resetEnabled();}}},getLabelObject:function(){return this._labelObject;},getIconObject:function(){return this._iconObject;},_applyIconPosition:function($0,$1){switch($0){case $[20]:case $[17]:this.setOrientation($[117]);this.setReverseChildrenOrder($0==$[17]);break;default:this.setOrientation($[132]);this.setReverseChildrenOrder($0==$[9]);break;}},_applyShow:function($0,$1){this._handleIcon();this._handleLabel();},_applyLabel:function($0,$1){if(this._labelObject){$0?this._labelObject.setText($0):this._labelObject.resetText();}this._handleLabel();},_applyIcon:function($0,$1){this._updateIcon();this._handleIcon();},_applyDisabledIcon:function($0,$1){this._updateIcon();this._handleIcon();},_applyIconWidth:function($0,$1){if(this._iconObject){this._iconObject.setWidth($0);}},_applyIconHeight:function($0,$1){if(this._iconObject){this._iconObject.setHeight($0);}},_iconIsVisible:false,_labelIsVisible:false,_handleLabel:function(){switch(this.getShow()){case $[195]:case $[110]:case $[116]:this._labelIsVisible=!!this.getLabel();break;default:this._labelIsVisible=false;}if(this._labelIsVisible){this._labelObject?this._labelObject.setDisplay(true):this._createLabel();}else if(this._labelObject){this._labelObject.setDisplay(false);}},_handleIcon:function(){switch(this.getShow()){case $[133]:case $[110]:case $[116]:this._iconIsVisible=!!this.getIcon();break;default:this._iconIsVisible=false;}if(this._iconIsVisible){this._iconObject?this._iconObject.setDisplay(true):this._createIcon();}else if(this._iconObject){this._iconObject.setDisplay(false);}}},destruct:function(){this._disposeObjects($[297],$[249]);}}); >+qx.Class.define($[303],{extend:qx.ui.basic.Atom,construct:function($0,$1,$2,$3,$4){arguments.callee.base.call(this,$0,$1,$2,$3,$4);this.initTabIndex();this.addEventListener($[61],this._onmouseover);this.addEventListener($[105],this._onmouseout);this.addEventListener($[12],this._onmousedown);this.addEventListener($[22],this._onmouseup);this.addEventListener($[16],this._onkeydown);this.addEventListener($[84],this._onkeyup);},properties:{appearance:{refine:true,init:$[1763]},tabIndex:{refine:true,init:1}},members:{_onmouseover:function($0){if($0.getTarget()!=this){return;}if(this.hasState($[35])){this.removeState($[35]);this.addState($[14]);}this.addState($[43]);},_onmouseout:function($0){if($0.getTarget()!=this){return;}this.removeState($[43]);if(this.hasState($[14])){this.setCapture(true);this.removeState($[14]);this.addState($[35]);}},_onmousedown:function($0){if($0.getTarget()!=this||!$0.isLeftButtonPressed()){return;}this.removeState($[35]);this.addState($[14]);},_onmouseup:function($0){this.setCapture(false);var $1=this.hasState($[14]);var $2=this.hasState($[35]);if($1){this.removeState($[14]);}if($2){this.removeState($[35]);}if(!$2){this.addState($[43]);if($1){this.execute();}}},_onkeydown:function($0){switch($0.getKeyIdentifier()){case $[46]:case $[85]:this.removeState($[35]);this.addState($[14]);$0.stopPropagation();}},_onkeyup:function($0){switch($0.getKeyIdentifier()){case $[46]:case $[85]:if(this.hasState($[14])){this.removeState($[35]);this.removeState($[14]);this.execute();$0.stopPropagation();}}}}}); >+qx.Class.define($[862],{extend:qx.log.appender.Abstract,properties:{element:{check:$[519],nullable:true,apply:$[468]},maxMessages:{check:$[5],init:500},useLongFormat:{refine:true,init:false}},members:{__backgroundColors:{0:$[201],200:$[201],500:$[1623],600:$[1244],700:$[410],800:$[410],1000:$[201]},_prepare:function(){if(!this._frame){this._frame=document.createElement($[67]);}},_applyElement:function($0,$1){this._prepare();if($0){$0.appendChild(this._frame);}else if($1){$1.removeChild(this._frame);}},clear:function(){if(this._frame){this._frame.innerHTML=$[0];}},appendLogEvent:function($0){this._prepare();var $1=$0.logger.getName();if($0.instanceId!=null){$1+=$[512]+$0.instanceId+$[115];}if($1!=this._lastGroup){var $2=document.createElement($[67]);$2.style.fontWeight=$[278];$2.innerHTML=$1;this._frame.appendChild($2);this._lastGroup=$1;}var $2=document.createElement($[67]);$2.style.backgroundColor=this.__backgroundColors[$0.level];$2.innerHTML=this.formatLogEvent($0).replace(/&/g,$[479]).replace(/</g,$[335]).replace(/ /g,$[1372]).replace(/[\n]/g,$[484]);this._frame.appendChild($2);while(this._frame.childNodes.length>this.getMaxMessages()){this._frame.removeChild(this._frame.firstChild);if(this._removedMessageCount==null){this._removedMessageCount=1;}else{this._removedMessageCount++;}}if(this._removedMessageCount!=null){this._frame.firstChild.className=$[0];this._frame.firstChild.innerHTML=$[316]+this._removedMessageCount+$[458];}}},destruct:function(){this._disposeFields($[307]);}}); >+qx.Class.define($[1258],{type:$[51],extend:qx.ui.layout.BoxLayout,construct:function($0){this._indentObject=$0._indentObject;this._iconObject=$0._iconObject;this._labelObject=$0._labelObject;this._indentObject.setAnonymous(true);this._iconObject.setAnonymous(true);this._labelObject.setAnonymous(true);this._labelObject.setSelectable(false);this._labelObject.setStyleProperty($[522],$[56]);this._labelObject.setMode($[254]);arguments.callee.base.call(this);if(qx.util.Validation.isValid($0._label)){this.setLabel($0._label);}this.initSelectable();this.BASE_URI=qx.io.Alias.getInstance().resolve("widget/tree/");for(var $1=0;$1<$0._fields.length;$1++){this.add($0._fields[$1]);}if($0._icons.unselected!==undefined){this.setIcon($0._icons.unselected);this.setIconSelected($0._icons.unselected);}else{this.initIcon();}if($0._icons.selected!==undefined){this.setIconSelected($0._icons.selected);}if(($0._icons.selected===undefined)&&($0._icons.unselected!==undefined)){this.initIconSelected();}this._iconObject.setAppearance($[1541]);this._labelObject.setAppearance($[959]);this.addEventListener($[12],this._onmousedown);this.addEventListener($[22],this._onmouseup);},properties:{orientation:{refine:true,init:$[132]},selectable:{refine:true,init:false},appearance:{refine:true,init:$[1796]},icon:{check:$[6],nullable:true,init:$[1225],apply:$[181]},iconSelected:{check:$[6],event:$[806],nullable:true,init:null,apply:$[181]},label:{check:$[280],apply:$[256],dispose:true},selected:{check:$[2],init:false,apply:$[267],event:$[261]}},members:{_applyLabel:function($0,$1){if(this._labelObject){this._labelObject.setText($0);}},_applyIcon:function($0,$1){var $2=this.getIconObject();if($2){var $3=this._evalCurrentIcon();if(!$3){$2.setDisplay(false);}else{$2.setDisplay(true);$2.setSource($3);}this.addToTreeQueue();}},_applySelected:function($0,$1){if($0){this.addState($[92]);this._labelObject.addState($[92]);}else{this.removeState($[92]);this._labelObject.removeState($[92]);}var $2=this.getTree();if(!$2._fastUpdate||($1&&$2._oldItem==this)){this._iconObject.setSource(this._evalCurrentIcon());if($0){this._iconObject.addState($[92]);}else{this._iconObject.removeState($[92]);}}var $3=this.getTree().getManager();$3.setItemSelected(this,$0);},_getRowStructure:function($0,$1,$2){if($0 instanceof qx.ui.tree.TreeRowStructure){return $0;}else{return qx.ui.tree.TreeRowStructure.getInstance().standard($0,$1,$2);}},_evalCurrentIcon:function(){if(this.getSelected()&&this.getIconSelected()){return this.getIconSelected();}else{return this.getIcon();}},getParentFolder:function(){if(this.getParent()&&typeof (this.getParent().getParent)==$[37]){return this.getParent().getParent();}return null;},getLevel:function(){var $0=this.getParentFolder();return $0?$0.getLevel()+1:null;},getTree:function(){var $0=this.getParentFolder();return $0?$0.getTree():null;},getIndentObject:function(){return this._indentObject;},getIconObject:function(){return this._iconObject;},getLabelObject:function(){return this._labelObject;},destroy:function(){var $0=this.getTree()?this.getTree().getManager():null;if($0){if($0.getItemSelected(this)){if($0.getMultiSelection()){$0.setItemSelected(this,false);}else{$0.deselectAll();}}if($0.getLeadItem()==this){$0.setLeadItem(null);}if($0.getAnchorItem()==this){$0.setAnchorItem(null);}}if(this.destroyContent){this.destroyContent();}this.disconnect();var $1=this.getParentFolder();if($1){$1.remove(this);}qx.client.Timer.once(function(){this.dispose();},this,0);},getHierarchy:function($0){if(this._labelObject){$0.unshift(this._labelObject.getText());}var $1=this.getParentFolder();if($1){$1.getHierarchy($0);}return $0;},addToTreeQueue:function(){var $0=this.getTree();if($0){$0.addChildToTreeQueue(this);}},removeFromTreeQueue:function(){var $0=this.getTree();if($0){$0.removeChildFromTreeQueue(this);}},addToCustomQueues:function($0){this.addToTreeQueue();arguments.callee.base.call(this,$0);},removeFromCustomQueues:function($0){this.removeFromTreeQueue();arguments.callee.base.call(this,$0);},_applyParent:function($0,$1){arguments.callee.base.call(this,$0,$1);if($1&&!$1.isDisplayable()&&$1.getParent()&&$1.getParent().isDisplayable()){$1.getParent().addToTreeQueue();}if($0&&!$0.isDisplayable()&&$0.getParent()&&$0.getParent().isDisplayable()){$0.getParent().addToTreeQueue();}},_handleDisplayableCustom:function($0,$1,$2){arguments.callee.base.call(this,$0,$1,$2);if($2){var $3=this.getParentFolder();var $4=this._previousParentFolder;if($4){if(this._wasLastVisibleChild){$4._updateIndent();}else if(!$4.hasContent()){$4.addToTreeQueue();}}if($3&&$3.isDisplayable()&&$3._initialLayoutDone){$3.addToTreeQueue();}if(this.isLastVisibleChild()){var $5=this.getPreviousVisibleSibling();if($5&&$5 instanceof qx.ui.tree.AbstractTreeElement){$5._updateIndent();}}if($0){this._updateIndent();}}},_onmousedown:function($0){if($0._treeProcessed){return;}this.getTree().getManager().handleMouseDown(this,$0);$0._treeProcessed=true;},_onmouseup:function($0){if($0._treeProcessed){return;}var $1=$0.getOriginalTarget();switch($1){case this._indentObject:case this._containerObject:case this:break;default:this.getTree().getManager().handleMouseUp(this,$0);$0._treeProcessed=true;}},flushTree:function(){this._previousParentFolder=this.getParentFolder();this._wasLastVisibleChild=this.isLastVisibleChild();var $0=this.getLevel();var $1=this.getTree();if(!$1){return;}var $2;var $3=[];var $4=this;var $5=0;var $6=$0;if($1.getRootOpenClose()){$6=$0+1;}if($1.getHideNode()){$5=1;}for(var $7=$5;$7<$6;$7++){$2=$4.getIndentSymbol($1.getUseTreeLines(),$7,$5,$6);if($2){$3.push($[762]);$3.push(($6-$7-1)*19);$3.push($[885]);$3.push(this.BASE_URI);$3.push($2);$3.push($[24]);$3.push($[1476]);$3.push($[1400]);}$4=$4.getParentFolder();}this._indentObject.setHtml($3.join($[0]));this._indentObject.setWidth(($6-$5)*19);}},destruct:function(){this._disposeObjects($[715],$[297],$[249]);this._disposeFields($[1188]);}}); >+qx.Class.define($[1206],{type:$[18],extend:qx.core.Object,construct:function(){arguments.callee.base.call(this);},members:{newRow:function(){this._indentObject=new qx.ui.embed.HtmlEmbed;this._iconObject=new qx.ui.basic.Image;this._labelObject=new qx.ui.basic.Label;this._fields=new Array;this._icons=new Object;this._fields.push(this._indentObject);this._indentAdded=false;this._iconAdded=false;this._labelAdded=false;return this;},standard:function($0,$1,$2){this.newRow();this.addIcon($1,$2);this.addLabel($0);return this;},addIndent:function(){if(!this._indentAdded){this._fields.shift();this._indentAdded=true;}else{throw new Error("Indent object added more than once.");}this._fields.push(this._indentObject);},addIcon:function($0,$1){if(!this._iconAdded){this._iconAdded=true;}else{throw new Error("Icon object added more than once.");}if($0!==undefined){this._icons.unselected=$0;}if($1!==undefined){this._icons.selected=$1;}this._fields.push(this._iconObject);},addLabel:function($0){if(!this._labelAdded){this._labelAdded=true;}else{throw new Error("Label added more than once.");}this._label=$0;this._fields.push(this._labelObject);},addObject:function($0,$1){if(typeof $1==$[58]){$0.setAnonymous($1);}this._fields.push($0);},getLabelObject:function(){return this._labelObject;},getIconObject:function(){return this._iconObject;}},destruct:function(){this._disposeFields($[745]);this._disposeObjects($[1349],$[1753],$[833]);this._disposeObjectDeep($[1038],1);}}); >+qx.Class.define($[1263],{extend:qx.ui.basic.Terminator,construct:function($0){arguments.callee.base.call(this);if($0!=null){this.setHtml($0);}},properties:{html:{check:$[6],init:$[0],apply:$[1169],event:$[827]},textAlign:{check:[$[11],$[57],$[9],$[264]],nullable:true,themeable:true,apply:$[287]},font:{refine:true,init:null},textColor:{refine:true,init:null}},members:{_applyHtml:function(){if(this._isCreated){this._syncHtml();}},_applyTextAlign:function($0,$1){$0===null?this.removeStyleProperty($[244]):this.setStyleProperty($[244],$0);},_applyFont:function($0,$1){qx.theme.manager.Font.getInstance().connect(this._styleFont,this,$0);},_styleFont:function($0){$0?$0.render(this):qx.ui.core.Font.reset(this);},_applyTextColor:function($0,$1){qx.theme.manager.Color.getInstance().connect(this._styleTextColor,this,$0);},_styleTextColor:function($0){$0?this.setStyleProperty($[233],$0):this.removeStyleProperty($[233]);},_applyElementData:function(){this._syncHtml();},_syncHtml:function(){this._getTargetNode().innerHTML=this.getHtml();}}}); >+qx.Class.define($[553],{extend:qx.ui.tree.AbstractTreeElement,construct:function($0,$1,$2){var $3=this._getRowStructure($0,$1,$2);arguments.callee.base.call(this,$3);this._treeRowStructureFields=$3._fields;this._iconObject.setAppearance($[1001]);this._labelObject.setAppearance($[1524]);this.addEventListener($[104],this._ondblclick);this.add=this.addToFolder;this.addBefore=this.addBeforeToFolder;this.addAfter=this.addAfterToFolder;this.addAt=this.addAtToFolder;this.addAtBegin=this.addAtBeginToFolder;this.addAtEnd=this.addAtEndToFolder;},events:{"treeOpenWithContent":$[98],"treeOpenWhileEmpty":$[98],"treeClose":$[98]},properties:{appearance:{refine:true,init:$[504]},icon:{refine:true,init:$[681]},iconSelected:{refine:true,init:$[852]},open:{check:$[2],init:false,apply:$[651],event:$[1029]},alwaysShowPlusMinusSymbol:{check:$[2],init:false,apply:$[1418]}},members:{hasContent:function(){return this._containerObject&&this._containerObject.getChildrenLength()>0;},open:function(){if(this.getOpen()){return;}if(this.hasContent()){if(this.getTree().hasEventListeners($[399])){this.getTree().dispatchEvent(new qx.event.type.DataEvent($[399],this),true);}this.getTopLevelWidget().setGlobalCursor($[582]);qx.client.Timer.once(this._openCallback,this,0);}else{if(this.getTree().hasEventListeners($[391])){this.getTree().dispatchEvent(new qx.event.type.DataEvent($[391],this),true);}this.setOpen(true);}},close:function(){if(this.getTree().hasEventListeners($[318])){this.getTree().dispatchEvent(new qx.event.type.DataEvent($[318],this),true);}if(this.getOpen()){if(qx.lang.Array.contains(this.getItems(true,true),this.getTree().getSelectedElement())){this.getTree().getManager().setSelectedItem(this);}}this.setOpen(false);},toggle:function(){this.getOpen()?this.close():this.open();},_openCallback:function(){this.setOpen(true);qx.ui.core.Widget.flushGlobalQueues();this.getTopLevelWidget().setGlobalCursor(null);},_createChildrenStructure:function(){if(!(this instanceof qx.ui.tree.Tree)){this.setHeight($[3]);}this.setVerticalChildrenAlign($[20]);if(!this._horizontalLayout){this.setOrientation($[117]);this._horizontalLayout=new qx.ui.layout.HorizontalBoxLayout;this._horizontalLayout.setWidth(null);this._horizontalLayout.setParent(this);this._horizontalLayout.setAnonymous(true);this._horizontalLayout.setAppearance(this instanceof qx.ui.tree.Tree?$[1252]:$[504]);this.setAppearance($[216]);for(var $0=0;$0<this._treeRowStructureFields.length;$0++){this._treeRowStructureFields[$0].setParent(this._horizontalLayout);}this._treeRowStructureFields=null;}if(!this._containerObject){this._containerObject=new qx.ui.layout.VerticalBoxLayout;this._containerObject.setWidth(null);this._containerObject.setHeight($[3]);this._containerObject.setAnonymous(true);this._containerObject.setDisplay(this.getOpen());this._containerObject.setParent(this);}},_handleChildMove:function($0,$1,$2){if($0.isDisplayable()){var $3=this._containerObject.getChildren();var $4=$3.indexOf($0);if($4!=-1){if($2){$1=$3.indexOf($2);}if($1==$3.length-1){$0._updateIndent();this._containerObject.getLastVisibleChild()._updateIndent();}else if($0._wasLastVisibleChild){$0._updateIndent();var $5=$0.getPreviousVisibleSibling();if($5){$5._updateIndent();}}}}},addToFolder:function($0){this._createChildrenStructure();if(this._containerObject){return this._containerObject.add.apply(this._containerObject,arguments);}},addBeforeToFolder:function($0,$1){this._createChildrenStructure();if(this._containerObject){this._handleChildMove($0,null,$1);return this._containerObject.addBefore.apply(this._containerObject,arguments);}},addAfterToFolder:function($0,$1){this._createChildrenStructure();if(this._containerObject){this._handleChildMove($0,null,$1);return this._containerObject.addAfter.apply(this._containerObject,arguments);}},addAtToFolder:function($0,$1){this._createChildrenStructure();if(this._containerObject){this._handleChildMove($0,$1);return this._containerObject.addAt.apply(this._containerObject,arguments);}},addAtBeginToFolder:function($0){return this.addAtToFolder($0,0);},addAtEndToFolder:function($0){this._createChildrenStructure();if(this._containerObject){var $1=this._containerObject.getLastChild();if($1){this._handleChildMove($0,null,$1);return this._containerObject.addAfter.call(this._containerObject,$0,$1);}else{return this.addAtBeginToFolder($0);}}},__saveSelectionBeforeRemove:function(){var $0=this.getTree();if($0){this.__oldSelection=$0.getSelectedElement();$0.setSelectedElement($0);}},__restoreSelectionAfterRemove:function(){var $0=this.getTree();if($0){if(!this.__oldSelection||!this.__oldSelection.getTree()){$0.setSelectedElement($0);}else{$0.setSelectedElement(this.__oldSelection);}}},remove:function($0){if(this._containerObject){this.__saveSelectionBeforeRemove();this._containerObject.remove.apply(this._containerObject,arguments);this.__restoreSelectionAfterRemove();}},removeAt:function($0){if(this._containerObject){this.__saveSelectionBeforeRemove();this._containerObject.removeAt($0);this.__restoreSelectionAfterRemove();}},removeAll:function(){if(this._containerObject){this.__saveSelectionBeforeRemove();this._containerObject.removeAll();this.__restoreSelectionAfterRemove();}},getContainerObject:function(){return this._containerObject;},getHorizontalLayout:function(){return this._horizontalLayout;},getFirstVisibleChildOfFolder:function(){if(this._containerObject){return this._containerObject.getFirstChild();}},getLastVisibleChildOfFolder:function(){if(this._containerObject){return this._containerObject.getLastChild();}},getItems:function($0,$1){var $2=[this];if(this._containerObject){var $3=$1==true?this._containerObject.getChildren():this._containerObject.getVisibleChildren();if($0==false){$2=$2.concat($3);}else{for(var $4=0,$5=$3.length;$4<$5;$4++){$2=$2.concat($3[$4].getItems($0,$1));}}}return $2;},destroyContent:function(){if(!this.hasContent()){return;}var $0=this.getTree()?this.getTree().getManager():null;var $1;var $2;if($0){$1=$0.getLeadItem();$2=$0.getAnchorItem();}this._containerObject.setDisplay(true);var $3=this._containerObject.getChildren();var $4;for(var $5=$3.length-1;$5>=0;--$5){$4=$3[$5];if($4!=this){if($0){if($1==$4){$0.setLeadItem(null);}if($2==$4){$0.setAnchorItem(null);}if($0.getItemSelected($4)){if($0.getMultiSelection()){$0.setItemSelected($4,false);}else{$0.deselectAll();}}if($4.destroyContent){$4.destroyContent();}}$4.removeFromTreeQueue();$4.disconnect();this._containerObject.remove($4);qx.client.Timer.once(function(){$4.dispose();delete $3[$5];},this,0);}}},_applyOpen:function($0,$1){var $2=this.getTree();if($2&&$2.getExcludeSpecificTreeLines().length>0){this._updateIndent();}else{this._updateLastColumn();}if(this._containerObject){this._containerObject.setDisplay($0);}},_applyAlwaysShowPlusMinusSymbol:function($0,$1){var $2=this.getTree();if($2){if($2.getExcludeSpecificTreeLines().length>0){this._updateIndent();}else{this._updateLastColumn();}}},_updateLastColumn:function(){if(this._indentObject){var $0=this._indentObject.getElement();if($0&&$0.firstChild){$0.firstChild.src=this.BASE_URI+this.getIndentSymbol(this.getTree().getUseTreeLines(),0,0,0)+$[1210];}}},_onmousedown:function($0){if($0._treeProcessed){return;}var $1=$0.getOriginalTarget();switch($1){case this._indentObject:if(this._indentObject.getElement().firstChild==$0.getDomTarget()){this.getTree().getManager().handleMouseDown(this,$0);this.toggle();}break;case this._containerObject:break;case this:if(this._containerObject){break;}default:this.getTree().getManager().handleMouseDown(this,$0);}$0._treeProcessed=true;},_onmouseup:function($0){if($0._treeProcessed){return;}var $1=$0.getOriginalTarget();switch($1){case this._indentObject:case this._containerObject:case this:break;default:if(!this.getTree().getUseDoubleClick()){this.open();this.getTree().getManager().handleMouseUp(this,$0);$0._treeProcessed=true;}this.getTree().getManager().handleMouseUp($0.getTarget(),$0);}},_ondblclick:function($0){if(!this.getTree().getUseDoubleClick()){return;}this.toggle();$0.stopPropagation();},getIndentSymbol:function($0,$1,$2,$3){var $4=this.getLevel();var $5=this.getTree().getExcludeSpecificTreeLines();var $6=$5[$3-$1-1];if($1==$2){if(this.hasContent()||this.getAlwaysShowPlusMinusSymbol()){if(!$0){return this.getOpen()?$[445]:$[338];}if($4==1){var $7=this.getParentFolder();if($7&&!$7._horizontalLayout.getVisibility()&&this.isFirstChild()){if(this.isLastChild()||$6===true){return this.getOpen()?$[301]:$[250];}else{return this.getOpen()?$[1161]:$[896];}}}if($6===true){return this.getOpen()?$[301]:$[250];}else if(this.isLastChild()){return this.getOpen()?$[1035]:$[1236];}else{return this.getOpen()?$[1492]:$[1398];}}else if($0&&!($6===true)){return this.isLastChild()?$[475]:$[413];}}else{if($0&&!this.isLastChild()){if($6===true){return null;}return $[369];}return null;}},_updateIndent:function(){qx.ui.tree.TreeFile.prototype._updateIndent.call(this);if(!this._containerObject){return;}var $0=this._containerObject.getVisibleChildren();for(var $1=0,$2=$0.length;$1<$2;$1++){$0[$1]._updateIndent();}}},destruct:function(){this._disposeFields($[751]);this._disposeObjects($[646],$[1704]);}}); >+qx.Class.define($[774],{extend:qx.ui.tree.TreeFolder,construct:function($0,$1,$2){arguments.callee.base.call(this,this._getRowStructure($0,$1,$2));this._manager=new qx.ui.tree.SelectionManager(this);this._iconObject.setAppearance($[662]);this._labelObject.setAppearance($[1639]);this.setOpen(true);this.addToFolder();this.addEventListener($[16],this._onkeydown);this.addEventListener($[40],this._onkeypress);this.addEventListener($[84],this._onkeyup);},statics:{isTreeFolder:function($0){return ($0&&$0 instanceof qx.ui.tree.TreeFolder&&!($0 instanceof qx.ui.tree.Tree));},isOpenTreeFolder:function($0){return ($0 instanceof qx.ui.tree.TreeFolder&&$0.getOpen()&&$0.hasContent());}},properties:{useDoubleClick:{check:$[2],init:false},useTreeLines:{check:$[2],init:true,apply:$[1478]},tabIndex:{refine:true,init:1},excludeSpecificTreeLines:{check:$[414],init:[],apply:$[1638]},hideNode:{check:$[2],init:false,apply:$[1477]},rootOpenClose:{check:$[2],init:false,apply:$[704]}},members:{useDoubleClick:function(){qx.log.Logger.deprecatedMethodWarning(arguments.callee,$[956]);return this.getUseDoubleClick();},useTreeLines:function(){qx.log.Logger.deprecatedMethodWarning(arguments.callee,$[1212]);return this.getUseTreeLines();},hideNode:function(){qx.log.Logger.deprecatedMethodWarning(arguments.callee,$[1222]);return this.getHideNode();},getManager:function(){return this._manager;},getSelectedElement:function(){return this.getManager().getSelectedItems()[0];},getItems:function($0,$1){var $2=[];if(!this.getHideNode()){$2.push(this);}if(this._containerObject){var $3=$1==true?this._containerObject.getChildren():this._containerObject.getVisibleChildren();if($0==false){$2=$2.concat($3);}else{for(var $4=0,$5=$3.length;$4<$5;$4++){$2=$2.concat($3[$4].getItems($0,$1));}}}return $2;},addChildToTreeQueue:function($0){if(!$0._isInTreeQueue&&!$0._isDisplayable){this.debug("Ignoring invisible child: "+$0);}if(!$0._isInTreeQueue&&$0._isDisplayable){qx.ui.core.Widget.addToGlobalWidgetQueue(this);if(!this._treeQueue){this._treeQueue={};}this._treeQueue[$0.toHashCode()]=$0;$0._isInTreeQueue=true;}},removeChildFromTreeQueue:function($0){if($0._isInTreeQueue){if(this._treeQueue){delete this._treeQueue[$0.toHashCode()];}delete $0._isInTreeQueue;}},flushWidgetQueue:function(){this.flushTreeQueue();},flushTreeQueue:function(){if(!qx.lang.Object.isEmpty(this._treeQueue)){for(var $0 in this._treeQueue){this._treeQueue[$0].flushTree();delete this._treeQueue[$0]._isInTreeQueue;}delete this._treeQueue;}},_applyUseTreeLines:function($0,$1){if(this._initialLayoutDone){this._updateIndent();}},_applyHideNode:function($0,$1){if(!$0){this._horizontalLayout.setHeight(this._horizontalLayout.originalHeight);this._horizontalLayout.show();}else{this._horizontalLayout.originalHeight=this._horizontalLayout.getHeight();this._horizontalLayout.setHeight(0);this._horizontalLayout.hide();}if(this._initialLayoutDone){this._updateIndent();}},_applyRootOpenClose:function($0,$1){if(this._initialLayoutDone){this._updateIndent();}},getExcludeSpecificTreeLines:function(){return qx.lang.Array.clone(this[$[1160]]);},_applyExcludeSpecificTreeLines:function($0,$1){if(this._initialLayoutDone){this._updateIndent();}},getTree:function(){return this;},getParentFolder:function(){return null;},getLevel:function(){return 0;},_onkeydown:function($0){var $1=this.getManager();$1.getSelectedItem();},_onkeypress:function($0){var $1=this.getManager();var $2=$1.getSelectedItem();switch($0.getKeyIdentifier()){case $[46]:$0.preventDefault();if(qx.ui.tree.Tree.isTreeFolder($2)){return $2.toggle();}break;case $[60]:$0.preventDefault();if(qx.ui.tree.Tree.isTreeFolder($2)){if(!$2.getOpen()){var $3=$2.getParentFolder();if($3 instanceof qx.ui.tree.TreeFolder){if($3 instanceof qx.ui.tree.Tree&&$3.getHideNode()){return;}if(!($3 instanceof qx.ui.tree.Tree)){$3.close();}this.setSelectedElement($3);}}else{return $2.close();}}else if($2 instanceof qx.ui.tree.TreeFile){var $3=$2.getParentFolder();if($3 instanceof qx.ui.tree.TreeFolder){if(!($3 instanceof qx.ui.tree.Tree)){$3.close();}this.setSelectedElement($3);}}break;case $[64]:$0.preventDefault();if(qx.ui.tree.Tree.isTreeFolder($2)){if(!$2.getOpen()){return $2.open();}else if($2.hasContent()){var $4=$2.getFirstVisibleChildOfFolder();this.setSelectedElement($4);if($4 instanceof qx.ui.tree.TreeFolder){$4.open();}return;}}break;default:if(!this._fastUpdate){this._fastUpdate=true;this._oldItem=$2;}$1.handleKeyPress($0);}},_onkeyup:function($0){if(this._fastUpdate){var $1=this.getManager().getSelectedItem();if(!$1){return;}$1.getIconObject().addState($[92]);delete this._fastUpdate;delete this._oldItem;}},getLastTreeChild:function(){var $0=this;while($0 instanceof qx.ui.tree.AbstractTreeElement){if(!($0 instanceof qx.ui.tree.TreeFolder)||!$0.getOpen()){return $0;}$0=$0.getLastVisibleChildOfFolder();}return null;},getFirstTreeChild:function(){return this;},setSelectedElement:function($0){var $1=this.getManager();$1.setSelectedItem($0);$1.setLeadItem($0);},getHierarchy:function($0){if(!this.getHideNode()&&this._labelObject){$0.unshift(this._labelObject.getText());}return $0;},getIndentSymbol:function($0,$1,$2){if($1==$2&&(this.hasContent()||this.getAlwaysShowPlusMinusSymbol())){if(!$0){return this.getOpen()?$[445]:$[338];}else{return this.getOpen()?$[301]:$[250];}}else{return null;}}},destruct:function(){this._disposeObjects($[213]);}}); >+qx.Class.define($[1256],{extend:qx.core.Target,construct:function($0){arguments.callee.base.call(this);this._selectedItems=new qx.ui.selection.Selection(this);if($0!=null){this.setBoundedWidget($0);}},events:{"changeSelection":$[98]},properties:{boundedWidget:{check:$[66],nullable:true},multiSelection:{check:$[2],init:true},dragSelection:{check:$[2],init:true},canDeselect:{check:$[2],init:true},fireChange:{check:$[2],init:true},anchorItem:{check:$[119],nullable:true,apply:$[626],event:$[1302]},leadItem:{check:$[119],nullable:true,apply:$[1264],event:$[729]},multiColumnSupport:{check:$[2],init:false}},members:{_applyAnchorItem:function($0,$1){if($1){this.renderItemAnchorState($1,false);}if($0){this.renderItemAnchorState($0,true);}},_applyLeadItem:function($0,$1){if($1){this.renderItemLeadState($1,false);}if($0){this.renderItemLeadState($0,true);}},_getFirst:function(){return this.getBoundedWidget().getFirstVisibleChild();},_getLast:function(){return this.getBoundedWidget().getLastVisibleChild();},getFirst:function(){var $0=this._getFirst();if($0){return $0.getEnabled()?$0:this.getNext($0);}},getLast:function(){var $0=this._getLast();if($0){return $0.getEnabled()?$0:this.getPrevious($0);}},getItems:function(){return this.getBoundedWidget().getChildren();},getNextSibling:function($0){return $0.getNextSibling();},getPreviousSibling:function($0){return $0.getPreviousSibling();},getNext:function($0){while($0){$0=this.getNextSibling($0);if(!$0){break;}if(this.getItemEnabled($0)){return $0;}}return null;},getPrevious:function($0){while($0){$0=this.getPreviousSibling($0);if(!$0){break;}if(this.getItemEnabled($0)){return $0;}}return null;},isBefore:function($0,$1){var $2=this.getItems();return $2.indexOf($0)<$2.indexOf($1);},isEqual:function($0,$1){return $0==$1;},getItemHashCode:function($0){return $0.toHashCode();},scrollItemIntoView:function($0,$1){$0.scrollIntoView($1);},getItemLeft:function($0){return $0.getOffsetLeft();},getItemTop:function($0){return $0.getOffsetTop();},getItemWidth:function($0){return $0.getOffsetWidth();},getItemHeight:function($0){return $0.getOffsetHeight();},getItemEnabled:function($0){return $0.getEnabled();},renderItemSelectionState:function($0,$1){$1?$0.addState($[92]):$0.removeState($[92]);if($0.handleStateChange){$0.handleStateChange();}},renderItemAnchorState:function($0,$1){$1?$0.addState($[460]):$0.removeState($[460]);if($0.handleStateChange!=null){$0.handleStateChange();}},renderItemLeadState:function($0,$1){$1?$0.addState($[276]):$0.removeState($[276]);if($0.handleStateChange!=null){$0.handleStateChange();}},getItemSelected:function($0){return this._selectedItems.contains($0);},setItemSelected:function($0,$1){switch(this.getMultiSelection()){case true:if(!this.getItemEnabled($0)){return;}if(this.getItemSelected($0)==$1){return;}this.renderItemSelectionState($0,$1);$1?this._selectedItems.add($0):this._selectedItems.remove($0);this._dispatchChange();break;case false:var $2=this.getSelectedItems()[0];if($1){var $3=$2;if(this.isEqual($0,$3)){return;}if($3!=null){this.renderItemSelectionState($3,false);}this.renderItemSelectionState($0,true);this._selectedItems.removeAll();this._selectedItems.add($0);this._dispatchChange();}else{if(!this.isEqual($2,$0)){this.renderItemSelectionState($0,false);this._selectedItems.removeAll();this._dispatchChange();}}break;}},getSelectedItems:function(){return this._selectedItems.toArray();},getSelectedItem:function(){return this._selectedItems.getFirst();},setSelectedItems:function($0){var $1=this._getChangeValue();var $2=this.getFireChange();this.setFireChange(false);this._deselectAll();var $3;var $4=$0.length;for(var $5=0;$5<$4;$5++){$3=$0[$5];if(!this.getItemEnabled($3)){continue;}this._selectedItems.add($3);this.renderItemSelectionState($3,true);}this.setFireChange($2);if($2&&this._hasChanged($1)){this._dispatchChange();}},setSelectedItem:function($0){if(!$0){return;}if(!this.getItemEnabled($0)){return;}var $1=this._getChangeValue();var $2=this.getFireChange();this.setFireChange(false);this._deselectAll();this._selectedItems.add($0);this.renderItemSelectionState($0,true);this.setFireChange($2);if($2&&this._hasChanged($1)){this._dispatchChange();}},selectAll:function(){var $0=this._getChangeValue();var $1=this.getFireChange();this.setFireChange(false);this._selectAll();this.setFireChange($1);if($1&&this._hasChanged($0)){this._dispatchChange();}},_selectAll:function(){if(!this.getMultiSelection()){return;}var $0;var $1=this.getItems();var $2=$1.length;this._selectedItems.removeAll();for(var $3=0;$3<$2;$3++){$0=$1[$3];if(!this.getItemEnabled($0)){continue;}this._selectedItems.add($0);this.renderItemSelectionState($0,true);}return true;},deselectAll:function(){var $0=this._getChangeValue();var $1=this.getFireChange();this.setFireChange(false);this._deselectAll();this.setFireChange($1);if($1&&this._hasChanged($0))this._dispatchChange();},_deselectAll:function(){var $0=this._selectedItems.toArray();for(var $1=0;$1<$0.length;$1++){this.renderItemSelectionState($0[$1],false);}this._selectedItems.removeAll();return true;},selectItemRange:function($0,$1){var $2=this._getChangeValue();var $3=this.getFireChange();this.setFireChange(false);this._selectItemRange($0,$1,true);this.setFireChange($3);if($3&&this._hasChanged($2)){this._dispatchChange();}},_selectItemRange:function($0,$1,$2){if(this.isBefore($1,$0)){return this._selectItemRange($1,$0,$2);}if($2){this._deselectAll();}var $3=$0;while($3!=null){if(this.getItemEnabled($3)){this._selectedItems.add($3);this.renderItemSelectionState($3,true);}if(this.isEqual($3,$1)){break;}$3=this.getNext($3);}return true;},_deselectItemRange:function($0,$1){if(this.isBefore($1,$0)){return this._deselectItemRange($1,$0);}var $2=$0;while($2!=null){this._selectedItems.remove($2);this.renderItemSelectionState($2,false);if(this.isEqual($2,$1)){break;}$2=this.getNext($2);}},_activeDragSession:false,handleMouseDown:function($0,$1){$1.stopPropagation();if(!$1.isLeftButtonPressed()&&!$1.isRightButtonPressed()){return;}if($1.isRightButtonPressed()&&this.getItemSelected($0)){return;}if($1.isShiftPressed()||this.getDragSelection()||(!this.getItemSelected($0)&&!$1.isCtrlPressed())){this._onmouseevent($0,$1);}else{this.setLeadItem($0);}this._activeDragSession=this.getDragSelection();if(this._activeDragSession){this.getBoundedWidget().addEventListener($[22],this._ondragup,this);this.getBoundedWidget().setCapture(true);}},_ondragup:function($0){this.getBoundedWidget().removeEventListener($[22],this._ondragup,this);this.getBoundedWidget().setCapture(false);this._activeDragSession=false;},handleMouseUp:function($0,$1){if(!$1.isLeftButtonPressed()){return;}if($1.isCtrlPressed()||this.getItemSelected($0)&&!this._activeDragSession){this._onmouseevent($0,$1);}if(this._activeDragSession){this._activeDragSession=false;this.getBoundedWidget().setCapture(false);}},handleMouseOver:function($0,$1){if(!this.getDragSelection()||!this._activeDragSession){return;}this._onmouseevent($0,$1,true);},handleClick:function($0,$1){},handleDblClick:function($0,$1){},_onmouseevent:function($0,$1,$2){if(!this.getItemEnabled($0)){return;}var $3=this._getChangeValue();var $4=this.getLeadItem();var $5=this.getFireChange();this.setFireChange(false);var $6=this.getSelectedItems();var $7=$6.length;this.setLeadItem($0);var $8=this.getAnchorItem();var $9=$1.isCtrlPressed();var $a=$1.isShiftPressed();if(!$8||$7==0||($9&&!$a&&this.getMultiSelection()&&!this.getDragSelection())){this.setAnchorItem($0);$8=$0;}if((!$9&&!$a&&!this._activeDragSession||!this.getMultiSelection())){if(!this.getItemEnabled($0)){return;}this._deselectAll();this.setAnchorItem($0);if(this._activeDragSession){this.scrollItemIntoView((this.getBoundedWidget().getScrollTop()>(this.getItemTop($0)-1)?this.getPrevious($0):this.getNext($0))||$0);}if(!this.getItemSelected($0)){this.renderItemSelectionState($0,true);}this._selectedItems.add($0);this._addToCurrentSelection=true;}else if(this._activeDragSession&&$2){if($4){this._deselectItemRange($8,$4);}if(this.isBefore($8,$0)){if(this._addToCurrentSelection){this._selectItemRange($8,$0,false);}else{this._deselectItemRange($8,$0);}}else{if(this._addToCurrentSelection){this._selectItemRange($0,$8,false);}else{this._deselectItemRange($0,$8);}}this.scrollItemIntoView((this.getBoundedWidget().getScrollTop()>(this.getItemTop($0)-1)?this.getPrevious($0):this.getNext($0))||$0);}else if(this.getMultiSelection()&&$9&&!$a){if(!this._activeDragSession){this._addToCurrentSelection=!(this.getCanDeselect()&&this.getItemSelected($0));}this.setItemSelected($0,this._addToCurrentSelection);this.setAnchorItem($0);}else if(this.getMultiSelection()&&$9&&$a){if(!this._activeDragSession){this._addToCurrentSelection=!(this.getCanDeselect()&&this.getItemSelected($0));}if(this._addToCurrentSelection){this._selectItemRange($8,$0,false);}else{this._deselectItemRange($8,$0);}}else if(this.getMultiSelection()&&!$9&&$a){if(this.getCanDeselect()){this._selectItemRange($8,$0,true);}else{if($4){this._deselectItemRange($8,$4);}this._selectItemRange($8,$0,false);}}this.setFireChange($5);if($5&&this._hasChanged($3)){this._dispatchChange();}},handleKeyDown:function($0){this.warn("qx.ui.selection.SelectionManager.handleKeyDown is deprecated! "+"Use keypress insted and bind it to the onkeypress event.");this.handleKeyPress($0);},handleKeyPress:function($0){var $1=this._getChangeValue();var $2=this.getFireChange();this.setFireChange(false);if($0.getKeyIdentifier()==$[174]&&$0.isCtrlPressed()){if(this.getMultiSelection()){this._selectAll();this.setLeadItem(this.getFirst());}}else{var $3=this.getAnchorItem();var $4=this.getItemToSelect($0);if($4&&this.getItemEnabled($4)){this.setLeadItem($4);this.scrollItemIntoView($4);$0.preventDefault();if($0.isShiftPressed()&&this.getMultiSelection()){if($3==null){this.setAnchorItem($4);}this._selectItemRange(this.getAnchorItem(),$4,true);}else if(!$0.isCtrlPressed()){this._deselectAll();this.renderItemSelectionState($4,true);this._selectedItems.add($4);this.setAnchorItem($4);}else if($0.getKeyIdentifier()==$[85]){if(this._selectedItems.contains($4)){this.renderItemSelectionState($4,false);this._selectedItems.remove($4);this.setAnchorItem(this._selectedItems.getFirst());}else{if(!$0.isCtrlPressed()||!this.getMultiSelection()){this._deselectAll();}this.renderItemSelectionState($4,true);this._selectedItems.add($4);this.setAnchorItem($4);}}}}this.setFireChange($2);if($2&&this._hasChanged($1)){this._dispatchChange();}},getItemToSelect:function($0){if($0.isAltPressed()){return null;}switch($0.getKeyIdentifier()){case $[150]:return this.getHome(this.getLeadItem());case $[162]:return this.getEnd(this.getLeadItem());case $[76]:return this.getDown(this.getLeadItem());case $[69]:return this.getUp(this.getLeadItem());case $[60]:return this.getLeft(this.getLeadItem());case $[64]:return this.getRight(this.getLeadItem());case $[88]:return this.getPageUp(this.getLeadItem())||this.getHome(this.getLeadItem());case $[99]:return this.getPageDown(this.getLeadItem())||this.getEnd(this.getLeadItem());case $[85]:if($0.isCtrlPressed()){return this.getLeadItem();}}return null;},_dispatchChange:function(){if(!this.getFireChange()){return;}if(this.hasEventListeners($[532])){this.dispatchEvent(new qx.event.type.DataEvent($[532],this.getSelectedItems()),true);}},_hasChanged:function($0){return $0!=this._getChangeValue();},_getChangeValue:function(){return this._selectedItems.getChangeValue();},getHome:function(){return this.getFirst();},getEnd:function(){return this.getLast();},getDown:function($0){if(!$0){return this.getFirst();}return this.getMultiColumnSupport()?(this.getUnder($0)||this.getLast()):this.getNext($0);},getUp:function($0){if(!$0){return this.getLast();}return this.getMultiColumnSupport()?(this.getAbove($0)||this.getFirst()):this.getPrevious($0);},getLeft:function($0){if(!this.getMultiColumnSupport()){return null;}return !$0?this.getLast():this.getPrevious($0);},getRight:function($0){if(!this.getMultiColumnSupport()){return null;}return !$0?this.getFirst():this.getNext($0);},getAbove:function($0){throw new Error("getAbove(): Not implemented yet");},getUnder:function($0){throw new Error("getUnder(): Not implemented yet");},getPageUp:function($0){var $1=this.getBoundedWidget();var $2=$1.getScrollTop();var $3=$1.getClientHeight();var $4=this.getLeadItem();if(!$4){$4=this.getFirst();}var $5=0;while($5<2){while($4&&(this.getItemTop($4)-this.getItemHeight($4)>=$2)){$4=this.getUp($4);}if($4==null){break;}if($4!=this.getLeadItem()){this.scrollItemIntoView($4,true);break;}$1.setScrollTop($2-$3-this.getItemHeight($4));$2=$1.getScrollTop();$5++;}return $4;},getPageDown:function($0){var $1=this.getBoundedWidget();var $2=$1.getScrollTop();var $3=$1.getClientHeight();var $4=this.getLeadItem();if(!$4){$4=this.getFirst();}var $5=0;while($5<2){while($4&&((this.getItemTop($4)+(2*this.getItemHeight($4)))<=($2+$3))){$4=this.getDown($4);}if($4==null){break;}if($4!=this.getLeadItem()){break;}$1.setScrollTop($2+$3-2*this.getItemHeight($4));$2=$1.getScrollTop();$5++;}return $4;}},destruct:function(){this._disposeObjects($[740]);}}); >+qx.Class.define($[1516],{extend:qx.core.Object,construct:function($0){arguments.callee.base.call(this);this.__manager=$0;this.removeAll();},members:{add:function($0){this.__storage[this.getItemHashCode($0)]=$0;},remove:function($0){delete this.__storage[this.getItemHashCode($0)];},removeAll:function(){this.__storage={};},contains:function($0){return this.getItemHashCode($0) in this.__storage;},toArray:function(){var $0=[];for(var $1 in this.__storage){$0.push(this.__storage[$1]);}return $0;},getFirst:function(){for(var $0 in this.__storage){return this.__storage[$0];}return null;},getChangeValue:function(){var $0=[];for(var $1 in this.__storage){$0.push($1);}$0.sort();return $0.join($[79]);},getItemHashCode:function($0){return this.__manager.getItemHashCode($0);},isEmpty:function(){return qx.lang.Object.isEmpty(this.__storage);}},destruct:function(){this._disposeFields($[1578],$[1010]);}}); >+qx.Class.define($[1158],{extend:qx.ui.selection.SelectionManager,construct:function($0){arguments.callee.base.call(this,$0);},properties:{multiSelection:{refine:true,init:false},dragSelection:{refine:true,init:false}},members:{_getFirst:function(){return qx.lang.Array.getFirst(this.getItems());},_getLast:function(){return qx.lang.Array.getLast(this.getItems());},getItems:function(){return this.getBoundedWidget().getItems();},getNext:function($0){if($0){if(qx.ui.tree.Tree.isOpenTreeFolder($0)){return $0.getFirstVisibleChildOfFolder();}else if($0.isLastVisibleChild()){var $1=$0;while($1&&$1.isLastVisibleChild()){$1=$1.getParentFolder();}if($1&&$1 instanceof qx.ui.tree.AbstractTreeElement&&$1.getNextVisibleSibling()&&$1.getNextVisibleSibling() instanceof qx.ui.tree.AbstractTreeElement){return $1.getNextVisibleSibling();}}else{return $0.getNextVisibleSibling();}}else{return this.getBoundedWidget().getFirstTreeChild();}},getPrevious:function($0){if($0){if($0==this.getBoundedWidget()){return;}else if($0.isFirstVisibleChild()){if($0.getParentFolder() instanceof qx.ui.tree.TreeFolder){if($0.getParentFolder() instanceof qx.ui.tree.Tree&&$0.getParentFolder().getHideNode()){return $0;}return $0.getParentFolder();}}else{var $1=$0.getPreviousVisibleSibling();while($1 instanceof qx.ui.tree.AbstractTreeElement){if(qx.ui.tree.Tree.isOpenTreeFolder($1)){$1=$1.getLastVisibleChildOfFolder();}else{break;}}return $1;}}else{return this.getBoundedWidget().getLastTreeChild();}},getItemTop:function($0){var $1=this.getBoundedWidget();var $2=$0.getElement();var $3=0;while($2&&$2.qx_Widget!=$1){$3+=$2.offsetTop;$2=$2.parentNode;}return $3;},getItemHeight:function($0){if($0 instanceof qx.ui.tree.TreeFolder&&$0._horizontalLayout){return $0._horizontalLayout.getOffsetHeight();}else{return $0.getOffsetHeight();}},scrollItemIntoView:function($0){if($0 instanceof qx.ui.tree.TreeFolder&&$0._horizontalLayout){return $0._horizontalLayout.scrollIntoView();}else{return $0.scrollIntoView();}},renderItemSelectionState:function($0,$1){if($1&&!$0.isSeeable()){var $2=$0;var $3=[];while($2){$2=$2.getParentFolder();$3.push($2);}$3.pop();while($3.length){$3.pop().open();}}if($1){if($0.isCreated()){this.scrollItemIntoView($0);}else{$0.addEventListener($[193],function($4){this.scrollItemIntoView($0);},this);}}$0.setSelected($1);}}}); >+qx.Class.define($[1793],{extend:qx.ui.tree.AbstractTreeElement,construct:function($0,$1,$2){arguments.callee.base.call(this,this._getRowStructure($0,$1,$2));},members:{getIndentSymbol:function($0,$1,$2,$3){var $4=this.getTree().getExcludeSpecificTreeLines();var $5=$4[$3-$1-1];if($0&&!($5===true)){if($1==$2){return this.isLastChild()?$[475]:$[413];}else{return $[369];}}return null;},_updateIndent:function(){this.addToTreeQueue();},getItems:function(){return [this];}}}); >+qx.Class.define($[1216],{extend:qx.ui.popup.Popup,construct:function($0,$1){arguments.callee.base.call(this);this._atom=new qx.ui.basic.Atom($0,$1);this._atom.setParent(this);},members:{_isFocusRoot:false,getAtom:function(){return this._atom;}},destruct:function(){this._disposeObjects($[744]);}}); >+qx.Class.define($[241],{extend:qx.ui.popup.PopupAtom,construct:function($0,$1){arguments.callee.base.call(this,$0,$1);this.setStyleProperty($[144],$[1262]);this._showTimer=new qx.client.Timer(this.getShowInterval());this._showTimer.addEventListener($[86],this._onshowtimer,this);this._hideTimer=new qx.client.Timer(this.getHideInterval());this._hideTimer.addEventListener($[86],this._onhidetimer,this);this.addEventListener($[61],this._onmouseover);this.addEventListener($[105],this._onmouseover);},properties:{appearance:{refine:true,init:$[1724]},hideOnHover:{check:$[2],init:true},mousePointerOffsetX:{check:$[5],init:1},mousePointerOffsetY:{check:$[5],init:20},showInterval:{check:$[5],init:1000,apply:$[674]},hideInterval:{check:$[5],init:4000,apply:$[819]},boundToWidget:{check:$[66],apply:$[680]}},members:{_minZIndex:1e7,_applyHideInterval:function($0,$1){this._hideTimer.setInterval($0);},_applyShowInterval:function($0,$1){this._showTimer.setInterval($0);},_applyBoundToWidget:function($0,$1){if($0){this.setParent($0.getTopLevelWidget());}else if($1){this.setParent(null);}},_beforeAppear:function(){arguments.callee.base.call(this);this._stopShowTimer();this._startHideTimer();},_beforeDisappear:function(){arguments.callee.base.call(this);this._stopHideTimer();},_afterAppear:function(){arguments.callee.base.call(this);if(this.getRestrictToPageOnOpen()){var $0=qx.ui.core.ClientDocument.getInstance();var $1=$0.getClientWidth();var $2=$0.getClientHeight();var $3=parseInt(this.getRestrictToPageLeft());var $4=parseInt(this.getRestrictToPageRight());var $5=parseInt(this.getRestrictToPageTop());var $6=parseInt(this.getRestrictToPageBottom());var $7=(this._wantedLeft==null)?this.getLeft():this._wantedLeft;var $8=this.getTop();var $9=this.getBoxWidth();var $a=this.getBoxHeight();var $b=qx.event.type.MouseEvent.getPageX();var $c=qx.event.type.MouseEvent.getPageY();var $d=this.getLeft();var $e=$8;if($7+$9>$1-$4){$7=$1-$4-$9;}if($8+$a>$2-$6){$8=$2-$6-$a;}if($7<$3){$7=$3;}if($8<$5){$8=$5;}if($7<=$b&&$b<=$7+$9&&$8<=$c&&$c<=$8+$a){var $f=$c-$8;var $g=$f-$a;var $h=$b-$7;var $i=$h-$9;var $j=Math.max(0,$5-($8+$g));var $k=Math.max(0,$8+$a+$f-($2-$6));var $l=Math.max(0,$3-($7+$i));var $m=Math.max(0,$7+$9+$h-($1-$4));var $n=[[0,$g,$j],[0,$f,$k],[$i,0,$l],[$h,0,$m]];$n.sort(function($o,$p){return $o[2]-$p[2]||(Math.abs($o[0])+Math.abs($o[1]))-(Math.abs($p[0])+Math.abs($p[1]));});var $q=$n[0];$7=$7+$q[0];$8=$8+$q[1];}if($7!=$d||$8!=$e){var $r=this;window.setTimeout(function(){$r.setLeft($7);$r.setTop($8);},0);}}},_startShowTimer:function(){if(!this._showTimer.getEnabled()){this._showTimer.start();}},_startHideTimer:function(){if(!this._hideTimer.getEnabled()){this._hideTimer.start();}},_stopShowTimer:function(){if(this._showTimer.getEnabled()){this._showTimer.stop();}},_stopHideTimer:function(){if(this._hideTimer.getEnabled()){this._hideTimer.stop();}},_onmouseover:function($0){if(this.getHideOnHover()){this.hide();}},_onshowtimer:function($0){this.setLeft(qx.event.type.MouseEvent.getPageX()+this.getMousePointerOffsetX());this.setTop(qx.event.type.MouseEvent.getPageY()+this.getMousePointerOffsetY());this.show();},_onhidetimer:function($0){return this.hide();}},destruct:function(){var $0=qx.ui.popup.ToolTipManager.getInstance();$0.remove(this);if($0.getCurrentToolTip()==this){$0.resetCurrentToolTip();}this._disposeObjects($[664],$[579]);}}); >+qx.Class.define($[151],{type:$[18],extend:qx.util.manager.Object,properties:{currentToolTip:{check:$[241],nullable:true,apply:$[1378]}},members:{_applyCurrentToolTip:function($0,$1){if($1&&$1.contains($0)){return;}if($1&&!$1.isDisposed()){$1.hide();$1._stopShowTimer();$1._stopHideTimer();}if($0){$0._startShowTimer();}},handleMouseOver:function($0){var $1=$0.getTarget();var $2;if(!($1 instanceof qx.ui.core.Widget)&&$1.nodeType==1){$1=qx.event.handler.EventHandler.getTargetObject($1);}while($1!=null&&!($2=$1.getToolTip())){$1=$1.getParent();}if($2!=null){$2.setBoundToWidget($1);}this.setCurrentToolTip($2);},handleMouseOut:function($0){var $1=$0.getTarget();var $2=$0.getRelatedTarget();var $3=this.getCurrentToolTip();if($3&&($2==$3||$3.contains($2))){return;}if($2&&$1&&$1.contains($2)){return;}if($3&&!$2){this.setCurrentToolTip(null);}},handleFocus:function($0){var $1=$0.getTarget();var $2=$1.getToolTip();if($2!=null){$2.setBoundToWidget($1);this.setCurrentToolTip($2);}},handleBlur:function($0){var $1=$0.getTarget();if(!$1){return;}var $2=this.getCurrentToolTip();if($2&&$2==$1.getToolTip()){this.setCurrentToolTip(null);}}}}); >+qx.Class.define($[764],{type:$[51],extend:qx.ui.layout.BoxLayout,construct:function(){arguments.callee.base.call(this);this._manager=new qx.ui.selection.RadioManager;this.addEventListener($[184],this._onmousewheel);},members:{getManager:function(){return this._manager;},_lastDate:(new Date(0)).valueOf(),_onmousewheel:function($0){var $1=(new Date).valueOf();if(($1-50)<this._lastDate){return;}this._lastDate=$1;var $2=this.getManager();var $3=$2.getEnabledItems();var $4=$3.indexOf($2.getSelected());if(this.getWheelDelta($0)>0){var $5=$3[$4+1];if(!$5){$5=$3[0];}}else if($4>0){var $5=$3[$4-1];if(!$5){$5=$3[0];}}else{$5=$3[$3.length-1];}$2.setSelected($5);},getWheelDelta:function($0){return $0.getWheelDelta();}},destruct:function(){this._disposeObjects($[213]);}}); > qx.Class.define($[176],{extend:qx.core.Target,construct:function($0,$1){arguments.callee.base.call(this);this._items=[];this.setName($0!=null?$0:qx.ui.selection.RadioManager.AUTO_NAME_PREFIX+this.toHashCode());if($1!=null){this.add.apply(this,$1);}},statics:{AUTO_NAME_PREFIX:"qx-radio-"},properties:{selected:{nullable:true,apply:$[267],event:$[261],check:$[493]},name:{check:$[6],nullable:true,apply:$[260]}},members:{getItems:function(){return this._items;},getEnabledItems:function(){var $0=[];for(var $1=0,$2=this._items,$3=$2.length;$1<$3;$1++){if($2[$1].getEnabled()){$0.push($2[$1]);}}return $0;},handleItemChecked:function($0,$1){if($1){this.setSelected($0);}else if(this.getSelected()==$0){this.setSelected(null);}},add:function($0){var $1=arguments;var $2=$1.length;var $3;for(var $4=0;$4<$2;$4++){$3=$1[$4];if(qx.lang.Array.contains(this._items,$3)){return;}this._items.push($3);$3.setManager(this);if($3.getChecked()){this.setSelected($3);}$3.setName(this.getName());}},remove:function($0){qx.lang.Array.remove(this._items,$0);$0.setManager(null);if($0.getChecked()){this.setSelected(null);}},_applySelected:function($0,$1){if($1){$1.setChecked(false);}if($0){$0.setChecked(true);}},_applyName:function($0,$1){for(var $2=0,$3=this._items,$4=$3.length;$2<$4;$2++){$3[$2].setName($0);}},selectNext:function($0){var $1=this._items.indexOf($0);if($1==-1){return;}var $2=0;var $3=this._items.length;$1=($1+1)%$3;while($2<$3&&!this._items[$1].getEnabled()){$1=($1+1)%$3;$2++;}this._selectByIndex($1);},selectPrevious:function($0){var $1=this._items.indexOf($0);if($1==-1){return;}var $2=0;var $3=this._items.length;$1=($1-1+$3)%$3;while($2<$3&&!this._items[$1].getEnabled()){$1=($1-1+$3)%$3;$2++;}this._selectByIndex($1);},_selectByIndex:function($0){if(this._items[$0].getEnabled()){this.setSelected(this._items[$0]);this._items[$0].setFocused(true);}}},destruct:function(){this._disposeObjectDeep($[1741],1);}}); >-qx.Class.define($[1476],{extend:qx.ui.pageview.AbstractBar,construct:function(){arguments.callee.base.call(this);this.initZIndex();this.initHeight();},properties:{appearance:{refine:true,init:$[803]},zIndex:{refine:true,init:2},height:{refine:true,init:$[3]}}}); >-qx.Class.define($[681],{type:$[51],extend:qx.ui.layout.CanvasLayout}); >-qx.Class.define($[1315],{extend:qx.ui.pageview.AbstractPane,construct:function(){arguments.callee.base.call(this);this.initZIndex();this.initHeight();},properties:{appearance:{refine:true,init:$[580]},zIndex:{refine:true,init:1},height:{refine:true,init:$[138]}}}); >-qx.Class.define($[469],{type:$[51],extend:qx.ui.basic.Atom,construct:function($0,$1,$2,$3,$4){arguments.callee.base.call(this,$0,$1,$2,$3,$4);this.initChecked();this.initTabIndex();this.addEventListener($[61],this._onmouseover);this.addEventListener($[105],this._onmouseout);this.addEventListener($[12],this._onmousedown);this.addEventListener($[16],this._onkeydown);this.addEventListener($[40],this._onkeypress);},properties:{tabIndex:{refine:true,init:1},checked:{check:$[2],init:false,apply:$[165],event:$[270]},page:{check:$[453],apply:$[1026],nullable:true},manager:{check:$[176],nullable:true,apply:$[189]},name:{check:$[6],apply:$[260]}},members:{getView:function(){var $0=this.getParent();return $0?$0.getParent():null;},_applyManager:function($0,$1){if($1){$1.remove(this);}if($0){$0.add(this);}},_applyParent:function($0,$1){arguments.callee.base.call(this,$0,$1);if($1){$1.getManager().remove(this);}if($0){$0.getManager().add(this);}},_applyPage:function($0,$1){if($1){$1.setButton(null);}if($0){$0.setButton(this);this.getChecked()?$0.show():$0.hide();}},_applyChecked:function($0,$1){if(this._hasParent){var $2=this.getManager();if($2){$2.handleItemChecked(this,$0);}}$0?this.addState($[122]):this.removeState($[122]);var $3=this.getPage();if($3){this.getChecked()?$3.show():$3.hide();}},_applyName:function($0,$1){if(this.getManager()){this.getManager().setName($0);}},_onmousedown:function($0){this.setChecked(true);},_onmouseover:function($0){this.addState($[43]);},_onmouseout:function($0){this.removeState($[43]);},_onkeydown:function($0){},_onkeypress:function($0){}}}); >-qx.Class.define($[1781],{extend:qx.ui.pageview.AbstractButton,events:{"closetab":$[4]},properties:{appearance:{refine:true,init:$[698]},showCloseButton:{check:$[2],init:false,apply:$[993],event:$[1351]},closeButtonImage:{check:$[6],init:$[1396],apply:$[1740]}},members:{_onkeydown:function($0){var $1=$0.getKeyIdentifier();if($1==$[46]||$1==$[84]){this.setChecked(true);}},_onkeypress:function($0){switch($0.getKeyIdentifier()){case $[60]:var $1=this.getPreviousActiveSibling();if($1&&$1!=this){delete qx.event.handler.FocusHandler.mouseFocus;$1.setFocused(true);$1.setChecked(true);}break;case $[64]:var $2=this.getNextActiveSibling();if($2&&$2!=this){delete qx.event.handler.FocusHandler.mouseFocus;$2.setFocused(true);$2.setChecked(true);}break;}},_ontabclose:function($0){this.createDispatchDataEvent($[1552],this);$0.stopPropagation();},_applyChecked:function($0,$1){arguments.callee.base.call(this,$0,$1);this.setZIndex($0?1:0);},_applyShowCloseButton:function($0,$1){if(!this._closeButtonImage){this._closeButtonImage=new qx.ui.basic.Image(this.getCloseButtonImage());}if($0){this._closeButtonImage.addEventListener($[53],this._ontabclose,this);this.add(this._closeButtonImage);}else{this.remove(this._closeButtonImage);this._closeButtonImage.removeEventListener($[53],this._ontabclose,this);}},_applyCloseButtonImage:function($0,$1){if(this._closeButtonImage){this._closeButtonImage.setSource($0);}},_renderAppearance:function(){if(this.getView()){this.isFirstVisibleChild()?this.addState($[1511]):this.removeState($[298]);this.isLastVisibleChild()?this.addState($[298]):this.removeState($[298]);this.getView().getAlignTabsToLeft()?this.addState($[393]):this.removeState($[393]);!this.getView().getAlignTabsToLeft()?this.addState($[442]):this.removeState($[442]);this.getView().getPlaceBarOnTop()?this.addState($[504]):this.removeState($[504]);!this.getView().getPlaceBarOnTop()?this.addState($[396]):this.removeState($[396]);}arguments.callee.base.call(this);}},destruct:function(){this._disposeObjects($[958]);}}); >-qx.Class.define($[453],{type:$[51],extend:qx.ui.layout.CanvasLayout,construct:function($0){arguments.callee.base.call(this);if($0!==undefined){this.setButton($0);}this.initTop();this.initRight();this.initBottom();this.initLeft();},properties:{top:{refine:true,init:0},right:{refine:true,init:0},bottom:{refine:true,init:0},left:{refine:true,init:0},display:{refine:true,init:false},button:{check:$[469],apply:$[839]}},members:{_applyButton:function($0,$1){if($1){$1.setPage(null);}if($0){$0.setPage(this);}}}}); >-qx.Class.define($[1319],{extend:qx.ui.pageview.AbstractPage,properties:{appearance:{refine:true,init:$[722]}}}); >+qx.Class.define($[1475],{extend:qx.ui.pageview.AbstractBar,construct:function(){arguments.callee.base.call(this);this.initZIndex();this.initHeight();},properties:{appearance:{refine:true,init:$[804]},zIndex:{refine:true,init:2},height:{refine:true,init:$[3]}}}); >+qx.Class.define($[470],{type:$[51],extend:qx.ui.basic.Atom,construct:function($0,$1,$2,$3,$4){arguments.callee.base.call(this,$0,$1,$2,$3,$4);this.initChecked();this.initTabIndex();this.addEventListener($[61],this._onmouseover);this.addEventListener($[105],this._onmouseout);this.addEventListener($[12],this._onmousedown);this.addEventListener($[16],this._onkeydown);this.addEventListener($[40],this._onkeypress);},properties:{tabIndex:{refine:true,init:1},checked:{check:$[2],init:false,apply:$[165],event:$[270]},page:{check:$[454],apply:$[1025],nullable:true},manager:{check:$[176],nullable:true,apply:$[189]},name:{check:$[6],apply:$[260]}},members:{getView:function(){var $0=this.getParent();return $0?$0.getParent():null;},_applyManager:function($0,$1){if($1){$1.remove(this);}if($0){$0.add(this);}},_applyParent:function($0,$1){arguments.callee.base.call(this,$0,$1);if($1){$1.getManager().remove(this);}if($0){$0.getManager().add(this);}},_applyPage:function($0,$1){if($1){$1.setButton(null);}if($0){$0.setButton(this);this.getChecked()?$0.show():$0.hide();}},_applyChecked:function($0,$1){if(this._hasParent){var $2=this.getManager();if($2){$2.handleItemChecked(this,$0);}}$0?this.addState($[122]):this.removeState($[122]);var $3=this.getPage();if($3){this.getChecked()?$3.show():$3.hide();}},_applyName:function($0,$1){if(this.getManager()){this.getManager().setName($0);}},_onmousedown:function($0){this.setChecked(true);},_onmouseover:function($0){this.addState($[43]);},_onmouseout:function($0){this.removeState($[43]);},_onkeydown:function($0){},_onkeypress:function($0){}}}); >+qx.Class.define($[1781],{extend:qx.ui.pageview.AbstractButton,events:{"closetab":$[4]},properties:{appearance:{refine:true,init:$[699]},showCloseButton:{check:$[2],init:false,apply:$[992],event:$[1351]},closeButtonImage:{check:$[6],init:$[1397],apply:$[1740]}},members:{_onkeydown:function($0){var $1=$0.getKeyIdentifier();if($1==$[46]||$1==$[85]){this.setChecked(true);}},_onkeypress:function($0){switch($0.getKeyIdentifier()){case $[60]:var $1=this.getPreviousActiveSibling();if($1&&$1!=this){delete qx.event.handler.FocusHandler.mouseFocus;$1.setFocused(true);$1.setChecked(true);}break;case $[64]:var $2=this.getNextActiveSibling();if($2&&$2!=this){delete qx.event.handler.FocusHandler.mouseFocus;$2.setFocused(true);$2.setChecked(true);}break;}},_ontabclose:function($0){this.createDispatchDataEvent($[1552],this);$0.stopPropagation();},_applyChecked:function($0,$1){arguments.callee.base.call(this,$0,$1);this.setZIndex($0?1:0);},_applyShowCloseButton:function($0,$1){if(!this._closeButtonImage){this._closeButtonImage=new qx.ui.basic.Image(this.getCloseButtonImage());}if($0){this._closeButtonImage.addEventListener($[53],this._ontabclose,this);this.add(this._closeButtonImage);}else{this.remove(this._closeButtonImage);this._closeButtonImage.removeEventListener($[53],this._ontabclose,this);}},_applyCloseButtonImage:function($0,$1){if(this._closeButtonImage){this._closeButtonImage.setSource($0);}},_renderAppearance:function(){if(this.getView()){this.isFirstVisibleChild()?this.addState($[1510]):this.removeState($[298]);this.isLastVisibleChild()?this.addState($[298]):this.removeState($[298]);this.getView().getAlignTabsToLeft()?this.addState($[394]):this.removeState($[394]);!this.getView().getAlignTabsToLeft()?this.addState($[443]):this.removeState($[443]);this.getView().getPlaceBarOnTop()?this.addState($[505]):this.removeState($[505]);!this.getView().getPlaceBarOnTop()?this.addState($[397]):this.removeState($[397]);}arguments.callee.base.call(this);}},destruct:function(){this._disposeObjects($[957]);}}); >+qx.Class.define($[454],{type:$[51],extend:qx.ui.layout.CanvasLayout,construct:function($0){arguments.callee.base.call(this);if($0!==undefined){this.setButton($0);}this.initTop();this.initRight();this.initBottom();this.initLeft();},properties:{top:{refine:true,init:0},right:{refine:true,init:0},bottom:{refine:true,init:0},left:{refine:true,init:0},display:{refine:true,init:false},button:{check:$[470],apply:$[840]}},members:{_applyButton:function($0,$1){if($1){$1.setPage(null);}if($0){$0.setPage(this);}}}}); >+qx.Class.define($[1318],{extend:qx.ui.pageview.AbstractPage,properties:{appearance:{refine:true,init:$[723]}}}); >+qx.Class.define($[682],{type:$[51],extend:qx.ui.layout.CanvasLayout}); >+qx.Class.define($[1314],{extend:qx.ui.pageview.AbstractPane,construct:function(){arguments.callee.base.call(this);this.initZIndex();this.initHeight();},properties:{appearance:{refine:true,init:$[580]},zIndex:{refine:true,init:1},height:{refine:true,init:$[138]}}}); >+qx.Class.define($[1539],{type:$[51],extend:qx.ui.layout.BoxLayout,construct:function($0,$1){arguments.callee.base.call(this);this._bar=new $0;this._pane=new $1;this.add(this._bar,this._pane);},members:{getPane:function(){return this._pane;},getBar:function(){return this._bar;}},destruct:function(){this._disposeObjects($[1461],$[431]);}}); >+qx.Class.define($[788],{extend:qx.ui.pageview.AbstractPageView,construct:function(){arguments.callee.base.call(this,qx.ui.pageview.tabview.Bar,qx.ui.pageview.tabview.Pane);},properties:{appearance:{refine:true,init:$[1019]},orientation:{refine:true,init:$[117]},alignTabsToLeft:{check:$[2],init:true,apply:$[1413]},placeBarOnTop:{check:$[2],init:true,apply:$[1744]}},members:{_applyAlignTabsToLeft:function($0,$1){var $2=this._bar;$2.setHorizontalChildrenAlign($0?$[11]:$[9]);$2._addChildrenToStateQueue();},_applyPlaceBarOnTop:function($0,$1){var $2=this._bar;if($0){$2.moveSelfToBegin();}else{$2.moveSelfToEnd();}$2._addChildrenToStateQueue();}}}); > qx.Class.define($[1706],{extend:qx.ui.form.Button,properties:{tabIndex:{refine:true,init:-1},appearance:{refine:true,init:$[652]},show:{refine:true,init:$[116]},height:{refine:true,init:null},allowStretchY:{refine:true,init:true}},members:{_onkeydown:qx.lang.Function.returnTrue,_onkeyup:qx.lang.Function.returnTrue}}); >-qx.Class.define($[969],{extend:qx.ui.toolbar.Button,construct:function($0,$1,$2){arguments.callee.base.call(this,$0,$1);if($2!=null){this.setChecked($2);}},properties:{checked:{check:$[2],init:false,apply:$[165],event:$[270]}},members:{_applyChecked:function($0,$1){$0?this.addState($[122]):this.removeState($[122]);},_onmouseup:function($0){this.setCapture(false);if(!this.hasState($[35])){this.addState($[43]);this.setChecked(!this.getChecked());this.execute();}this.removeState($[35]);this.removeState($[14]);$0.stopPropagation();}}}); >-qx.Class.define($[1556],{extend:qx.ui.layout.CanvasLayout,construct:function(){arguments.callee.base.call(this);var $0=new qx.ui.basic.Terminator;$0.setAppearance($[748]);this.add($0);},properties:{appearance:{refine:true,init:$[1063]}}}); >-qx.Class.define($[1484],{extend:qx.ui.toolbar.Button,construct:function($0,$1,$2,$3,$4,$5){arguments.callee.base.call(this,$0,$2,$3,$4,$5);if($1!=null){this.setMenu($1);}},properties:{menu:{check:$[160],nullable:true,apply:$[448],event:$[1629]},direction:{check:[$[349],$[257]],init:$[257],event:$[1709]}},members:{getParentToolBar:function(){var $0=this.getParent();if($0 instanceof qx.ui.toolbar.Part){$0=$0.getParent();}return $0 instanceof qx.ui.toolbar.ToolBar?$0:null;},_showMenu:function($0){var $1=this.getMenu();if($1){var $2=this.getElement();var $3=qx.bom.element.Location.get($2);$1.setLeft($3.left);switch(this.getDirection()){case $[349]:$1.setBottom($3.top);$1.setTop(null);break;case $[257]:$1.setTop($3.bottom);$1.setBottom(null);break;}this.addState($[14]);if($0){$1.setHoverItem($1.getFirstActiveChild());}$1.show();}},_hideMenu:function(){var $0=this.getMenu();if($0){$0.hide();}},_applyMenu:function($0,$1){if($1){$1.setOpener(null);$1.removeEventListener($[193],this._onmenuappear,this);$1.removeEventListener($[272],this._onmenudisappear,this);}if($0){$0.setOpener(this);$0.addEventListener($[193],this._onmenuappear,this);$0.addEventListener($[272],this._onmenudisappear,this);}},_onmousedown:function($0){if($0.getTarget()!=this||!$0.isLeftButtonPressed()){return;}this.hasState($[14])?this._hideMenu():this._showMenu();},_onmouseup:function($0){},_onmouseout:function($0){if($0.getTarget()!=this){return;}this.removeState($[43]);},_onmouseover:function($0){var $1=this.getParentToolBar();if($1){var $2=this.getMenu();switch($1.getOpenMenu()){case null:case $2:break;default:qx.ui.menu.Manager.getInstance().update();this._showMenu();}}return arguments.callee.base.call(this,$0);},_onmenuappear:function($0){var $1=this.getParentToolBar();if(!$1){return;}var $2=this.getMenu();$1.setOpenMenu($2);},_onmenudisappear:function($0){var $1=this.getParentToolBar();if(!$1){return;}var $2=this.getMenu();if($1.getOpenMenu()==$2){$1.setOpenMenu(null);}}}}); >-qx.Class.define($[1375],{extend:qx.ui.layout.HorizontalBoxLayout,construct:function(){arguments.callee.base.call(this);this._handle=new qx.ui.toolbar.PartHandle;this.add(this._handle);this.initWidth();},properties:{appearance:{refine:true,init:$[1206]},width:{refine:true,init:$[3]},show:{init:$[116],check:[$[110],$[195],$[133],$[7]],nullable:true,inheritable:true,event:$[269]}},destruct:function(){this._disposeObjects($[836]);}}); >-qx.Class.define($[1192],{extend:qx.ui.layout.HorizontalBoxLayout,construct:function(){arguments.callee.base.call(this);this.addEventListener($[40],this._onkeypress);this.initHeight();},properties:{appearance:{refine:true,init:$[1185]},height:{refine:true,init:$[3]},openMenu:{check:$[160],event:$[1771],nullable:true},show:{init:$[110],check:[$[110],$[195],$[133],$[7]],nullable:true,inheritable:true,event:$[269]}},members:{getAllButtons:function(){var $0=this.getChildren();var $1=$0.length;var $2=[];var $3;for(var $4=0;$4<$1;$4++){$3=$0[$4];if($3 instanceof qx.ui.toolbar.MenuButton){$2.push($3);}else if($3 instanceof qx.ui.toolbar.Part){$2=$2.concat($3.getChildren());}}return $2;},_onkeypress:function($0){switch($0.getKeyIdentifier()){case $[60]:return this._onkeypress_left();case $[64]:return this._onkeypress_right();}},_onkeypress_left:function(){var $0=this.getOpenMenu();if(!$0){return;}var $1=$0.getOpener();if(!$1){return;}var $2=this.getAllButtons();var $3=$2.length;var $4=$2.indexOf($1);var $5;var $6=null;for(var $7=$4-1;$7>=0;$7--){$5=$2[$7];if($5 instanceof qx.ui.toolbar.MenuButton&&$5.getEnabled()){$6=$5;break;}}if(!$6){for(var $7=$3-1;$7>$4;$7--){$5=$2[$7];if($5 instanceof qx.ui.toolbar.MenuButton&&$5.getEnabled()){$6=$5;break;}}}if($6){qx.ui.menu.Manager.getInstance().update();$6._showMenu(true);}},_onkeypress_right:function(){var $0=this.getOpenMenu();if(!$0){return;}var $1=$0.getOpener();if(!$1){return;}var $2=this.getAllButtons();var $3=$2.length;var $4=$2.indexOf($1);var $5;var $6=null;for(var $7=$4+1;$7<$3;$7++){$5=$2[$7];if($5 instanceof qx.ui.toolbar.MenuButton&&$5.getEnabled()){$6=$5;break;}}if(!$6){for(var $7=0;$7<$4;$7++){$5=$2[$7];if($5 instanceof qx.ui.toolbar.MenuButton&&$5.getEnabled()){$6=$5;break;}}}if($6){qx.ui.menu.Manager.getInstance().update();$6._showMenu(true);}}}}); >+qx.Class.define($[968],{extend:qx.ui.toolbar.Button,construct:function($0,$1,$2){arguments.callee.base.call(this,$0,$1);if($2!=null){this.setChecked($2);}},properties:{checked:{check:$[2],init:false,apply:$[165],event:$[270]}},members:{_applyChecked:function($0,$1){$0?this.addState($[122]):this.removeState($[122]);},_onmouseup:function($0){this.setCapture(false);if(!this.hasState($[35])){this.addState($[43]);this.setChecked(!this.getChecked());this.execute();}this.removeState($[35]);this.removeState($[14]);$0.stopPropagation();}}}); >+qx.Class.define($[1483],{extend:qx.ui.toolbar.Button,construct:function($0,$1,$2,$3,$4,$5){arguments.callee.base.call(this,$0,$2,$3,$4,$5);if($1!=null){this.setMenu($1);}},properties:{menu:{check:$[160],nullable:true,apply:$[449],event:$[1628]},direction:{check:[$[348],$[257]],init:$[257],event:$[1709]}},members:{getParentToolBar:function(){var $0=this.getParent();if($0 instanceof qx.ui.toolbar.Part){$0=$0.getParent();}return $0 instanceof qx.ui.toolbar.ToolBar?$0:null;},_showMenu:function($0){var $1=this.getMenu();if($1){var $2=this.getElement();var $3=qx.bom.element.Location.get($2);$1.setLeft($3.left);switch(this.getDirection()){case $[348]:$1.setBottom($3.top);$1.setTop(null);break;case $[257]:$1.setTop($3.bottom);$1.setBottom(null);break;}this.addState($[14]);if($0){$1.setHoverItem($1.getFirstActiveChild());}$1.show();}},_hideMenu:function(){var $0=this.getMenu();if($0){$0.hide();}},_applyMenu:function($0,$1){if($1){$1.setOpener(null);$1.removeEventListener($[193],this._onmenuappear,this);$1.removeEventListener($[272],this._onmenudisappear,this);}if($0){$0.setOpener(this);$0.addEventListener($[193],this._onmenuappear,this);$0.addEventListener($[272],this._onmenudisappear,this);}},_onmousedown:function($0){if($0.getTarget()!=this||!$0.isLeftButtonPressed()){return;}this.hasState($[14])?this._hideMenu():this._showMenu();},_onmouseup:function($0){},_onmouseout:function($0){if($0.getTarget()!=this){return;}this.removeState($[43]);},_onmouseover:function($0){var $1=this.getParentToolBar();if($1){var $2=this.getMenu();switch($1.getOpenMenu()){case null:case $2:break;default:qx.ui.menu.Manager.getInstance().update();this._showMenu();}}return arguments.callee.base.call(this,$0);},_onmenuappear:function($0){var $1=this.getParentToolBar();if(!$1){return;}var $2=this.getMenu();$1.setOpenMenu($2);},_onmenudisappear:function($0){var $1=this.getParentToolBar();if(!$1){return;}var $2=this.getMenu();if($1.getOpenMenu()==$2){$1.setOpenMenu(null);}}}}); >+qx.Class.define($[1376],{extend:qx.ui.layout.HorizontalBoxLayout,construct:function(){arguments.callee.base.call(this);this._handle=new qx.ui.toolbar.PartHandle;this.add(this._handle);this.initWidth();},properties:{appearance:{refine:true,init:$[1205]},width:{refine:true,init:$[3]},show:{init:$[116],check:[$[110],$[195],$[133],$[7]],nullable:true,inheritable:true,event:$[269]}},destruct:function(){this._disposeObjects($[837]);}}); >+qx.Class.define($[1556],{extend:qx.ui.layout.CanvasLayout,construct:function(){arguments.callee.base.call(this);var $0=new qx.ui.basic.Terminator;$0.setAppearance($[749]);this.add($0);},properties:{appearance:{refine:true,init:$[1063]}}}); >+qx.Class.define($[1191],{extend:qx.ui.layout.HorizontalBoxLayout,construct:function(){arguments.callee.base.call(this);this.addEventListener($[40],this._onkeypress);this.initHeight();},properties:{appearance:{refine:true,init:$[1184]},height:{refine:true,init:$[3]},openMenu:{check:$[160],event:$[1771],nullable:true},show:{init:$[110],check:[$[110],$[195],$[133],$[7]],nullable:true,inheritable:true,event:$[269]}},members:{getAllButtons:function(){var $0=this.getChildren();var $1=$0.length;var $2=[];var $3;for(var $4=0;$4<$1;$4++){$3=$0[$4];if($3 instanceof qx.ui.toolbar.MenuButton){$2.push($3);}else if($3 instanceof qx.ui.toolbar.Part){$2=$2.concat($3.getChildren());}}return $2;},_onkeypress:function($0){switch($0.getKeyIdentifier()){case $[60]:return this._onkeypress_left();case $[64]:return this._onkeypress_right();}},_onkeypress_left:function(){var $0=this.getOpenMenu();if(!$0){return;}var $1=$0.getOpener();if(!$1){return;}var $2=this.getAllButtons();var $3=$2.length;var $4=$2.indexOf($1);var $5;var $6=null;for(var $7=$4-1;$7>=0;$7--){$5=$2[$7];if($5 instanceof qx.ui.toolbar.MenuButton&&$5.getEnabled()){$6=$5;break;}}if(!$6){for(var $7=$3-1;$7>$4;$7--){$5=$2[$7];if($5 instanceof qx.ui.toolbar.MenuButton&&$5.getEnabled()){$6=$5;break;}}}if($6){qx.ui.menu.Manager.getInstance().update();$6._showMenu(true);}},_onkeypress_right:function(){var $0=this.getOpenMenu();if(!$0){return;}var $1=$0.getOpener();if(!$1){return;}var $2=this.getAllButtons();var $3=$2.length;var $4=$2.indexOf($1);var $5;var $6=null;for(var $7=$4+1;$7<$3;$7++){$5=$2[$7];if($5 instanceof qx.ui.toolbar.MenuButton&&$5.getEnabled()){$6=$5;break;}}if(!$6){for(var $7=0;$7<$4;$7++){$5=$2[$7];if($5 instanceof qx.ui.toolbar.MenuButton&&$5.getEnabled()){$6=$5;break;}}}if($6){qx.ui.menu.Manager.getInstance().update();$6._showMenu(true);}}}}); > qx.Class.define($[152],{type:$[18],extend:qx.util.manager.Object,construct:function(){arguments.callee.base.call(this);},members:{update:function($0,$1){var $2,$3;var $4=this.getAll();for($3 in $4){$2=$4[$3];if(!$2.getAutoHide()){continue;}if($0&&$0.getMenu&&$0.getMenu()){continue;}if(!$0){$2.hide();continue;}var $5=$1==$[12];var $6=$1==$[22];if($2.getOpener()!==$0&&($0&&(!$2.isSubElement($0)&&$5)||($2.isSubElement($0,true)&&$6)||(!$5&&!$6))){$2.hide();continue;}}}}}); >-qx.Class.define($[1562],{extend:qx.ui.layout.CanvasLayout,construct:function(){arguments.callee.base.call(this);var $0=new qx.ui.basic.Terminator;$0.setAppearance($[1273]);this.add($0);},properties:{appearance:{refine:true,init:$[1359]}}}); >-qx.Class.define($[631],{extend:qx.ui.toolbar.CheckBox,properties:{manager:{check:$[176],apply:$[189],nullable:true},name:{check:$[6],event:$[505]},disableUncheck:{check:$[2],init:false}},members:{_applyChecked:function($0,$1){arguments.callee.base.call(this,$0,$1);var $2=this.getManager();if($2){$2.handleItemChecked(this,$0);}},_applyManager:function($0,$1){if($1){$1.remove(this);}if($0){$0.add(this);}},_onmouseup:function($0){this.setCapture(false);if(!this.hasState($[35])){this.addState($[43]);this.setChecked(this.getDisableUncheck()||!this.getChecked());this.execute();}this.removeState($[35]);this.removeState($[14]);$0.stopPropagation();}}}); >-qx.Class.define($[1750],{extend:qx.ui.basic.Atom,construct:function($0,$1,$2,$3){arguments.callee.base.call(this,$0);this.initTabIndex();this._createIcon();if($1!=null){this.setValue($1);}if($2!=null){this.setName($2);}if($3!=null){this.setChecked($3);}else{this.initChecked();}this.addEventListener($[53],this._onclick);this.addEventListener($[16],this._onkeydown);this.addEventListener($[88],this._onkeyup);},properties:{appearance:{refine:true,init:$[882]},tabIndex:{refine:true,init:1},name:{check:$[6],event:$[505]},value:{check:$[6],event:$[124]},checked:{check:$[2],apply:$[165],init:false,event:$[270]}},members:{INPUT_TYPE:"checkbox",_createIcon:function(){var $0=this._iconObject=new qx.ui.form.InputCheckSymbol;$0.setType(this.INPUT_TYPE);$0.setChecked(this.getChecked());$0.setAnonymous(true);this.addAtBegin($0);},_applyChecked:function($0,$1){if(this._iconObject){this._iconObject.setChecked($0);}},_applyIcon:null,_applyDisabledIcon:null,_handleIcon:function(){switch(this.getShow()){case $[133]:case $[110]:this._iconIsVisible=true;break;default:this._iconIsVisible=false;}if(this._iconIsVisible){this._iconObject?this._iconObject.setDisplay(true):this._createIcon();}else if(this._iconObject){this._iconObject.setDisplay(false);}},_onclick:function($0){this.toggleChecked();},_onkeydown:function($0){if($0.getKeyIdentifier()==$[46]&&!$0.isAltPressed()){this.toggleChecked();}},_onkeyup:function($0){if($0.getKeyIdentifier()==$[84]){this.toggleChecked();}}}}); >-qx.Class.define($[823],{extend:qx.ui.basic.Terminator,construct:function(){arguments.callee.base.call(this);this.setSelectable(false);if(qx.core.Variant.isSet($[1],$[13])){this.setWidth(13);this.setHeight(13);}else if(qx.core.Variant.isSet($[1],$[21])){this.setMargin(0);}this.initTabIndex();this.setChecked(false);},properties:{tabIndex:{refine:true,init:-1},name:{check:$[6],init:null,nullable:true,apply:$[260]},value:{init:null,nullable:true,apply:$[209]},type:{init:null,nullable:true,apply:$[1636]},checked:{check:$[2],init:false,apply:$[165]}},members:{_createElementImpl:function(){this.setElement(this.getTopLevelWidget().getDocumentElement().createElement($[89]));},_applyName:function($0,$1){return this.setHtmlProperty($[1423],$0);},_applyValue:function($0,$1){return this.setHtmlProperty($[255],$0);},_applyType:function($0,$1){return this.setHtmlProperty($[1175],$0);},_applyChecked:function($0,$1){return this.setHtmlProperty($[122],$0);},getPreferredBoxWidth:function(){return 13;},getPreferredBoxHeight:function(){return 13;},_afterAppear:qx.core.Variant.select($[1],{"mshtml":function(){arguments.callee.base.call(this);var $0=this.getElement();$0.checked=this.getChecked();if(this.getEnabled()===false){$0.disabled=true;}},"default":qx.lang.Function.returnTrue}),_applyEnabled:function($0,$1){$0===false?this.setHtmlProperty($[185],$[185]):this.removeHtmlProperty($[185]);return arguments.callee.base.call(this,$0,$1);}},defer:function($0,$1){$1.getBoxWidth=$1.getPreferredBoxWidth;$1.getBoxHeight=$1.getPreferredBoxHeight;$1.getInnerWidth=$1.getPreferredBoxWidth;$1.getInnerHeight=$1.getPreferredBoxHeight;}}); >-qx.Class.define($[1153],{extend:qx.ui.layout.HorizontalBoxLayout,construct:function($0,$1,$2){arguments.callee.base.call(this);if(qx.core.Variant.isSet($[1],$[13])){this.setStyleProperty($[210],$[52]);}this._textfield=new qx.ui.form.TextField;this._textfield.setBorder(null);this._textfield.setWidth($[138]);this._textfield.setAllowStretchY(true);this._textfield.setHeight(null);this._textfield.setLiveUpdate(true);this._textfield.setVerticalAlign($[62]);this._textfield.setAppearance($[1518]);this.add(this._textfield);this._buttonlayout=new qx.ui.layout.VerticalBoxLayout;this._buttonlayout.setWidth($[3]);this.add(this._buttonlayout);this._upbutton=new qx.ui.basic.Image;this._upbutton.setAppearance($[1144]);this._upbutton.setHeight($[138]);this._buttonlayout.add(this._upbutton);this._downbutton=new qx.ui.basic.Image;this._downbutton.setAppearance($[959]);this._downbutton.setHeight($[138]);this._buttonlayout.add(this._downbutton);this._timer=new qx.client.Timer(this.getInterval());this.setManager(new qx.util.range.Range());this.initWrap();this.addEventListener($[40],this._onkeypress,this);this.addEventListener($[16],this._onkeydown,this);this.addEventListener($[88],this._onkeyup,this);this.addEventListener($[184],this._onmousewheel,this);this._textfield.addEventListener($[124],this._ontextchange,this);this._textfield.addEventListener($[89],this._oninput,this);this._textfield.addEventListener($[199],this._onblur,this);this._upbutton.addEventListener($[12],this._onmousedown,this);this._downbutton.addEventListener($[12],this._onmousedown,this);this._timer.addEventListener($[85],this._oninterval,this);if($0!=null){this.setMin($0);}if($2!=null){this.setMax($2);}if($1!=null){this.setValue($1);}this._checkValue=this.__checkValue;this._numberFormat=null;this.initWidth();this.initHeight();this._last_value=$[0];},events:{"change":$[98]},properties:{appearance:{refine:true,init:$[1340]},width:{refine:true,init:60},height:{refine:true,init:22},incrementAmount:{check:$[19],init:1,apply:$[822]},wheelIncrementAmount:{check:$[19],init:1},pageIncrementAmount:{check:$[19],init:10},interval:{check:$[5],init:100},firstInterval:{check:$[5],init:500},minTimer:{check:$[5],init:20},timerDecrease:{check:$[5],init:2},amountGrowth:{check:$[19],init:1.01},wrap:{check:$[2],init:false,apply:$[271]},editable:{check:$[2],init:true,apply:$[320]},manager:{check:$[467],apply:$[189],dispose:true},checkValueFunction:{apply:$[795]},numberFormat:{check:$[691],apply:$[752]},selectTextOnInteract:{check:$[2],init:true}},members:{_applyIncrementAmount:function($0,$1){this._computedIncrementAmount=$0;},_applyEditable:function($0,$1){if(this._textfield){this._textfield.setReadOnly(!$0);}},_applyWrap:function($0,$1){this.getManager().setWrap($0);this._onchange();},_applyManager:function($0,$1){if($1){$1.removeEventListener($[107],this._onchange,this);}if($0){$0.addEventListener($[107],this._onchange,this);}this._onchange();},_applyCheckValueFunction:function($0,$1){this._checkValue=$0;},_applyNumberFormat:function($0,$1){this._numberFormat=$0;this.getManager().setPrecision($0.getMaximumFractionDigits());this._onchange();},_computePreferredInnerWidth:function(){return 50;},_computePreferredInnerHeight:function(){return 14;},_onkeypress:function($0){var $1=$0.getKeyIdentifier();if($1==$[46]&&!$0.isAltPressed()){this._checkValue(true,false);if(this.getSelectTextOnInteract()){this._textfield.selectAll();}}else{switch($1){case $[69]:case $[76]:case $[60]:case $[64]:case $[142]:case $[125]:case $[136]:case $[129]:case $[169]:case $[191]:case $[203]:case $[150]:case $[162]:case $[87]:case $[99]:case $[127]:case $[188]:break;default:if(($1>=$[41]&&$1<=$[172])||($1==$[1028])){return;}if(this._numberFormat){var $2=this._numberFormat._locale;if(($1==qx.locale.Number.getGroupSeparator($2))||($1==qx.locale.Number.getDecimalSeparator($2)))return;}if($0.getModifiers()==0){$0.preventDefault();}}}},_onkeydown:function($0){var $1=$0.getKeyIdentifier();if(this._intervalIncrease==null){switch($1){case $[69]:case $[76]:this._intervalIncrease=$1==$[69];this._intervalMode=$[904];this._resetIncrements();this._checkValue(true,false);this._increment();this._timer.startWith(this.getFirstInterval());break;case $[87]:case $[99]:this._intervalIncrease=$1==$[87];this._intervalMode=$[424];this._resetIncrements();this._checkValue(true,false);this._pageIncrement();this._timer.startWith(this.getFirstInterval());break;}}},_onkeyup:function($0){if(this._intervalIncrease!=null){switch($0.getKeyIdentifier()){case $[69]:case $[76]:case $[87]:case $[99]:this._timer.stop();this._intervalIncrease=null;this._intervalMode=null;}}},_onmousedown:function($0){if(!$0.isLeftButtonPressed()){return;}this._checkValue(true);var $1=$0.getCurrentTarget();$1.addState($[14]);$1.addEventListener($[22],this._onmouseup,this);$1.addEventListener($[105],this._onmouseup,this);this._intervalIncrease=$1==this._upbutton;this._resetIncrements();this._increment();if(this.getSelectTextOnInteract()){this._textfield.selectAll();}this._timer.setInterval(this.getFirstInterval());this._timer.start();},_onmouseup:function($0){var $1=$0.getCurrentTarget();$1.removeState($[14]);$1.removeEventListener($[22],this._onmouseup,this);$1.removeEventListener($[105],this._onmouseup,this);if(this.getSelectTextOnInteract()){this._textfield.selectAll();}this._textfield.setFocused(true);this._timer.stop();this._intervalIncrease=null;},_onmousewheel:function($0){this._checkValue(true);if(this.getManager().incrementValue){this.getManager().incrementValue(this.getWheelIncrementAmount()*$0.getWheelDelta());}else{var $1=this.getManager().getValue()+(this.getWheelIncrementAmount()*$0.getWheelDelta());$1=this.getManager().limit($1);this.getManager().setValue($1);}this._textfield.selectAll();},_ontextchange:function($0){this._last_value=$0.getOldValue();},_oninput:function($0){this._checkValue(true,true);},_onchange:function($0){var $1=this.getManager().getValue();if(this._numberFormat){this._textfield.setValue(this._numberFormat.format($1));}else{this._textfield.setValue(String($1));}if($1==this.getMin()&&!this.getWrap()){this._downbutton.removeState($[14]);this._downbutton.setEnabled(false);this._timer.stop();}else{this._downbutton.resetEnabled();}if($1==this.getMax()&&!this.getWrap()){this._upbutton.removeState($[14]);this._upbutton.setEnabled(false);this._timer.stop();}else{this._upbutton.resetEnabled();}this.createDispatchDataEvent($[107],$1);},_onblur:function($0){this._checkValue(false);},setValue:function($0){this.getManager().setValue(this.getManager().limit($0));},getValue:function(){this._checkValue(true);return this.getManager().getValue();},resetValue:function(){this.getManager().resetValue();},setMax:function($0){return this.getManager().setMax($0);},getMax:function(){return this.getManager().getMax();},setMin:function($0){return this.getManager().setMin($0);},getMin:function(){return this.getManager().getMin();},_intervalIncrease:null,_oninterval:function($0){this._timer.stop();this.setInterval(Math.max(this.getMinTimer(),this.getInterval()-this.getTimerDecrease()));if(this._intervalMode==$[424]){this._pageIncrement();}else{if(this.getInterval()==this.getMinTimer()){this._computedIncrementAmount=this.getAmountGrowth()*this._computedIncrementAmount;}this._increment();}var $1=this.getManager().getWrap();switch(this._intervalIncrease){case true:if(this.getValue()==this.getMax()&&!$1){return;}case false:if(this.getValue()==this.getMin()&&!$1){return;}}this._timer.restartWith(this.getInterval());},__checkValue:function($0,$1){var $2=this._textfield.getInputElement();if(!$2){return;}if(($2.value==$[0])||($2.value==$[137])){if(!$0){this.resetValue();return;}}else{var $3=$2.value;var $4;if(this._numberFormat){var $5=qx.lang.String.escapeRegexpChars(qx.locale.Number.getGroupSeparator(this._numberFormat._locale)+$[0]);var $6=qx.lang.String.escapeRegexpChars(qx.locale.Number.getDecimalSeparator(this._numberFormat._locale)+$[0]);$4=$3.replace(new RegExp($6),$[24]);$4=$4.replace(new RegExp($5,$[289]),$[0]);}else{$4=$3;}var $7=parseFloat($4);var $8=this.getManager().limit($7);var $9=this.getManager().getValue();var $a=$8;if(isNaN($7)||($8!=$7)||($7!=$4)){if($1){this._textfield.setValue(this._last_value);}else{if(isNaN($8)){$a=$9;}else{$a=$8;}}}if($1)return;var $b;if(this._numberFormat){$b=this._numberFormat.format($a);}else{$b=String($a);}if(($a===$9)&&($3!==$b)){this._textfield.setValue($b);}this.getManager().setValue($a);}},_increment:function(){if(this.getManager().incrementValue){this.getManager().incrementValue((this._intervalIncrease?1:-1)*this._computedIncrementAmount);}else{var $0=this.getManager().getValue()+((this._intervalIncrease?1:-1)*this._computedIncrementAmount);$0=this.getManager().limit($0);this.getManager().setValue($0);}},_pageIncrement:function(){if(this.getManager().pageIncrementValue){this.getManager().pageIncrementValue();}else{var $0=this.getManager().getValue()+((this._intervalIncrease?1:-1)*this.getPageIncrementAmount());$0=this.getManager().limit($0);this.getManager().setValue($0);}},_resetIncrements:function(){this._computedIncrementAmount=this.getIncrementAmount();this.resetInterval();}},destruct:function(){var $0=this.getManager();if($0){$0.dispose();}this._disposeObjects($[1660],$[753],$[1136],$[1738],$[284]);}}); >-qx.Class.define($[556],{extend:qx.ui.basic.Terminator,construct:function($0){arguments.callee.base.call(this);if($0!=null){this.setValue($0);}this.initHideFocus();this.initWidth();this.initHeight();this.initTabIndex();this.initSpellCheck();this.__oninput=qx.lang.Function.bindEvent(this._oninputDom,this);this.addEventListener($[199],this._onblur);this.addEventListener($[236],this._onfocus);this.addEventListener($[89],this._oninput);this.addEventListener($[16],this._onkeydown);},statics:{createRegExpValidator:function($0){return function($1){return $0.test($1);};}},events:{"input":$[98]},properties:{allowStretchX:{refine:true,init:true},allowStretchY:{refine:true,init:false},appearance:{refine:true,init:$[567]},tabIndex:{refine:true,init:1},hideFocus:{refine:true,init:true},width:{refine:true,init:$[3]},height:{refine:true,init:$[3]},selectable:{refine:true,init:true},value:{init:$[0],nullable:true,event:$[124],apply:$[209],dispose:true},textAlign:{check:[$[11],$[57],$[9],$[264]],nullable:true,themeable:true,apply:$[287]},spellCheck:{check:$[2],init:false,apply:$[1389]},liveUpdate:{check:$[2],init:false},maxLength:{check:$[5],apply:$[942],nullable:true},readOnly:{check:$[2],apply:$[820],init:false},validator:{check:$[471],event:$[1324],nullable:true}},members:{_inputTag:$[89],_inputType:$[254],_inputOverflow:$[36],_applyElement:function($0,$1){arguments.callee.base.call(this,$0,$1);if($0){var $2=this._inputElement=document.createElement(this._inputTag);if(this._inputType){$2.type=this._inputType;}$2.autoComplete=$[55];$2.setAttribute($[611],$[55]);$2.disabled=this.getEnabled()===false;$2.readOnly=this.getReadOnly();$2.value=this.getValue()?this.getValue():$[0];if(this.getMaxLength()!=null){$2.maxLength=this.getMaxLength();}var $3=$2.style;$3.padding=$3.margin=0;$3.border=$[425];$3.background=$[819];$3.overflow=this._inputOverflow;$3.outline=$[7];$3.resize=$[7];$3.WebkitAppearance=$[7];$3.MozAppearance=$[7];if(qx.core.Variant.isSet($[1],$[351])){$3.margin=$[1413];}this._renderFont();this._renderTextColor();this._renderTextAlign();this._renderCursor();this._renderSpellCheck();if(qx.core.Variant.isSet($[1],$[13])){$2.onpropertychange=this.__oninput;}else{$2.addEventListener($[89],this.__oninput,false);}$0.appendChild($2);}},_postApply:function(){this._syncFieldWidth();this._syncFieldHeight();},_changeInnerWidth:function($0,$1){this._syncFieldWidth();},_changeInnerHeight:function($0,$1){this._syncFieldHeight();},_syncFieldWidth:function(){this._inputElement.style.width=this.getInnerWidth()+$[38];},_syncFieldHeight:function(){this._inputElement.style.height=(this.getInnerHeight()-2)+$[38];},_applyCursor:function($0,$1){if(this._inputElement){this._renderCursor();}},_renderCursor:function(){var $0=this._inputElement.style;var $1=this.getCursor();if($1){if($1==$[292]&&qx.core.Client.getInstance().isMshtml()){$0.cursor=$[204];}else{$0.cursor=$1;}}else{$0.cursor=$[0];}},_applyTextAlign:function($0,$1){if(this._inputElement){this._renderTextAlign();}},_renderTextAlign:function(){this._inputElement.style.textAlign=this.getTextAlign()||$[0];},_applySpellCheck:function($0,$1){if(this._inputElement){this._renderSpellCheck();}},_renderSpellCheck:function(){this._inputElement.spellcheck=this.getSpellCheck();},_applyEnabled:function($0,$1){if(this._inputElement){this._inputElement.disabled=$0===false;}return arguments.callee.base.call(this,$0,$1);},_applyValue:function($0,$1){this._inValueProperty=true;if(this._inputElement){if($0===null){$0=$[0];}if(this._inputElement.value!==$0){this._inputElement.value=$0;}}delete this._inValueProperty;},_applyMaxLength:function($0,$1){if(this._inputElement){this._inputElement.maxLength=$0==null?$[0]:$0;}},_applyReadOnly:function($0,$1){if(this._inputElement){this._inputElement.readOnly=$0;}if($0){this.addState($[500]);}else{this.removeState($[500]);}},_applyTextColor:function($0,$1){qx.theme.manager.Color.getInstance().connect(this._styleTextColor,this,$0);},_styleTextColor:function($0){this.__textColor=$0;this._renderTextColor();},_renderTextColor:function(){var $0=this._inputElement;if($0){$0.style.color=this.__textColor||$[0];}},_applyFont:function($0,$1){qx.theme.manager.Font.getInstance().connect(this._styleFont,this,$0);},_styleFont:function($0){this.__font=$0;this._renderFont();},_renderFont:function(){var $0=this._inputElement;if($0){var $1=this.__font;$1?$1.renderElement($0):qx.ui.core.Font.resetElement($0);}},_visualizeFocus:function(){arguments.callee.base.call(this);if(!qx.event.handler.FocusHandler.mouseFocus&&this.getEnableElementFocus()){try{this._inputElement.focus();}catch(ex){}}},_visualizeBlur:function(){arguments.callee.base.call(this);if(!qx.event.handler.FocusHandler.mouseFocus){try{this._inputElement.blur();}catch(ex){}}},getComputedValue:function(){if(this._inputElement){return this._inputElement.value;}return this.getValue();},getInputElement:function(){return this._inputElement||null;},isValid:function(){var $0=this.getValidator();return !$0||$0(this.getValue());},isComputedValid:function(){var $0=this.getValidator();return !$0||$0(this.getComputedValue());},_computePreferredInnerWidth:function(){return 120;},_computePreferredInnerHeight:function(){return 16;},_ieFirstInputFix:qx.core.Variant.select($[1],{"mshtml":function(){this._inValueProperty=true;this._inputElement.value=this.getValue()===null?$[0]:this.getValue();this._firstInputFixApplied=true;delete this._inValueProperty;},"default":null}),_afterAppear:qx.core.Variant.select($[1],{"mshtml":function(){arguments.callee.base.call(this);if(!this._firstInputFixApplied&&this._inputElement){qx.client.Timer.once(this._ieFirstInputFix,this,1);}},"default":function(){arguments.callee.base.call(this);}}),_firstInputFixApplied:false,_textOnFocus:null,_oninputDom:qx.core.Variant.select($[1],{"mshtml":function($0){if(!this._inValueProperty&&$0.propertyName===$[255]){this.createDispatchDataEvent($[89],this.getComputedValue());}},"default":function($0){this.createDispatchDataEvent($[89],this.getComputedValue());}}),_ontabfocus:function(){this.selectAll();},_onfocus:function(){this._textOnFocus=this.getComputedValue();},_onblur:function(){var $0=this.getComputedValue().toString();if(this._textOnFocus!=$0){this.setValue($0);}if(this.getParent()!=null){this.setSelectionLength(0);}},_oninput:function(){if(!this.isLiveUpdate()){return;}var $0=this.getComputedValue().toString();this.setValue($0);},_onkeydown:function($0){if($0.getKeyIdentifier()==$[191]&&this.getReadOnly()){$0.preventDefault();}},__getRange:qx.core.Variant.select($[1],{"mshtml":function(){this._visualPropertyCheck();return this._inputElement.createTextRange();},"default":null}),__getSelectionRange:qx.core.Variant.select($[1],{"mshtml":function(){this._visualPropertyCheck();return this.getTopLevelWidget().getDocumentElement().selection.createRange();},"default":null}),setSelectionStart:qx.core.Variant.select($[1],{"mshtml":function($0){this._visualPropertyCheck();var $1=this._inputElement.value;var $2=0;while($2<$0){$2=$1.indexOf($[535],$2);if($2==-1){break;}$0--;$2++;}var $3=this.__getRange();$3.collapse();$3.move($[394],$0);$3.select();},"default":function($0){this._visualPropertyCheck();this._inputElement.selectionStart=$0;}}),getSelectionStart:qx.core.Variant.select($[1],{"mshtml":function(){this._visualPropertyCheck();var $0=this.__getSelectionRange();if(!this._inputElement.contains($0.parentElement())){return -1;}var $1=this.__getRange();var $2=this._inputElement.value.length;$1.moveToBookmark($0.getBookmark());$1.moveEnd($[817],$2);return $2-$1.text.length;},"default":function(){this._visualPropertyCheck();return this._inputElement.selectionStart;}}),setSelectionLength:qx.core.Variant.select($[1],{"mshtml":function($0){this._visualPropertyCheck();var $1=this.__getSelectionRange();if(!this._inputElement.contains($1.parentElement())){return;}$1.collapse();$1.moveEnd($[394],$0);$1.select();},"default":function($0){this._visualPropertyCheck();var $1=this._inputElement;if(qx.util.Validation.isValidString($1.value)&&this.getVisibility()){$1.selectionEnd=$1.selectionStart+$0;}}}),getSelectionLength:qx.core.Variant.select($[1],{"mshtml":function(){this._visualPropertyCheck();var $0=this.__getSelectionRange();if(!this._inputElement.contains($0.parentElement())){return 0;}return $0.text.length;},"default":function(){this._visualPropertyCheck();var $0=this._inputElement;return $0.selectionEnd-$0.selectionStart;}}),setSelectionText:qx.core.Variant.select($[1],{"mshtml":function($0){this._visualPropertyCheck();var $1=this.getSelectionStart();var $2=this.__getSelectionRange();if(!this._inputElement.contains($2.parentElement())){return;}$2.text=$0;this.setValue(this._inputElement.value);this.setSelectionStart($1);this.setSelectionLength($0.length);},"default":function($0){this._visualPropertyCheck();var $1=this._inputElement;var $2=$1.value;var $3=$1.selectionStart;var $4=$2.substr(0,$3);var $5=$2.substr($1.selectionEnd);var $6=$1.value=$4+$0+$5;$1.selectionStart=$3;$1.selectionEnd=$3+$0.length;this.setValue($6);}}),getSelectionText:qx.core.Variant.select($[1],{"mshtml":function(){this._visualPropertyCheck();var $0=this.__getSelectionRange();if(!this._inputElement.contains($0.parentElement())){return $[0];}return $0.text;},"default":function(){this._visualPropertyCheck();return this._inputElement.value.substr(this.getSelectionStart(),this.getSelectionLength());}}),selectAll:function(){this._visualPropertyCheck();if(this.getValue()!=null){this.setSelectionStart(0);this.setSelectionLength(this._inputElement.value.length);}this._inputElement.select();this._inputElement.focus();},selectFromTo:qx.core.Variant.select($[1],{"mshtml":function($0,$1){this._visualPropertyCheck();this.setSelectionStart($0);this.setSelectionLength($1-$0);},"default":function($0,$1){this._visualPropertyCheck();var $2=this._inputElement;$2.selectionStart=$0;$2.selectionEnd=$1;}})},destruct:function(){if(this._inputElement){if(qx.core.Variant.isSet($[1],$[13])){this._inputElement.onpropertychange=null;}else{this._inputElement.removeEventListener($[89],this.__oninput,false);}}this._disposeFields($[1684],$[1325],$[1388]);}}); >-qx.Interface.define($[467],{properties:{value:{},min:{},max:{},wrap:{}},members:{limit:function($0){return true;}}}); >-qx.Class.define($[1280],{extend:qx.core.Target,implement:[qx.util.range.IRange],events:{"change":$[4]},properties:{value:{check:$[1734],nullable:true,event:$[107],init:0},precision:{check:$[5],nullable:true,event:$[107],init:0},min:{check:$[19],apply:$[759],event:$[107],init:0},max:{check:$[19],apply:$[711],event:$[107],init:100},wrap:{check:$[2],init:false}},members:{_applyMax:function($0,$1){this.setValue(Math.min(this.getValue(),$0));},_applyMin:function($0,$1){this.setValue(Math.max(this.getValue(),$0));},limit:function($0){var $1=this.getPrecision();if($1!=null)var $2=Math.pow(10,$1);if(this.getWrap()){if($1!=null){var $0=Math.round($0*$2)/$2;}if($0<this.getMin()){return (this.getMax()-(this.getMin()-$0))+1;}if($0>this.getMax()){return (this.getMin()+($0-this.getMax()))-1;}}if($0<this.getMin()){return this.getMin();}if($0>this.getMax()){return this.getMax();}if($1!=null){return Math.round($0*$2)/$2;}else{return $0;}}}}); >-qx.Class.define($[1627],{extend:qx.ui.layout.VerticalBoxLayout,construct:function(){arguments.callee.base.call(this);this._manager=new qx.ui.selection.SelectionManager(this);this.addEventListener($[61],this._onmouseover);this.addEventListener($[12],this._onmousedown);this.addEventListener($[22],this._onmouseup);this.addEventListener($[53],this._onclick);this.addEventListener($[104],this._ondblclick);this.addEventListener($[16],this._onkeydown);this.addEventListener($[40],this._onkeypress);this.addEventListener($[300],this._onkeyinput);this.initOverflow();this.initTabIndex();},properties:{appearance:{refine:true,init:$[686]},overflow:{refine:true,init:$[36]},tabIndex:{refine:true,init:1},enableInlineFind:{check:$[2],init:true},markLeadingItem:{check:$[2],init:false}},members:{_pressedString:$[0],getManager:function(){return this._manager;},getListItemTarget:function($0){while($0!=null&&$0.getParent()!=this){$0=$0.getParent();}return $0;},getSelectedItem:function(){return this.getSelectedItems()[0]||null;},getSelectedItems:function(){return this._manager.getSelectedItems();},_onmouseover:function($0){var $1=this.getListItemTarget($0.getTarget());if($1){this._manager.handleMouseOver($1,$0);}},_onmousedown:function($0){var $1=this.getListItemTarget($0.getTarget());if($1){this._manager.handleMouseDown($1,$0);}},_onmouseup:function($0){var $1=this.getListItemTarget($0.getTarget());if($1){this._manager.handleMouseUp($1,$0);}},_onclick:function($0){var $1=this.getListItemTarget($0.getTarget());if($1){this._manager.handleClick($1,$0);}},_ondblclick:function($0){var $1=this.getListItemTarget($0.getTarget());if($1){this._manager.handleDblClick($1,$0);}},_onkeydown:function($0){if($0.getKeyIdentifier()==$[46]&&!$0.isAltPressed()){var $1=this.getSelectedItems();for(var $2=0;$2<$1.length;$2++){$1[$2].createDispatchEvent($[1554]);}}},_onkeypress:function($0){this._manager.handleKeyPress($0);},_lastKeyPress:0,_onkeyinput:function($0){if(!this.getEnableInlineFind()){return;}if(((new Date).valueOf()-this._lastKeyPress)>1000){this._pressedString=$[0];}this._pressedString+=String.fromCharCode($0.getCharCode());var $1=this.findString(this._pressedString,null);if($1){var $2=this._manager._getChangeValue();var $3=this._manager.getFireChange();this._manager.setFireChange(false);this._manager._deselectAll();this._manager.setItemSelected($1,true);this._manager.setAnchorItem($1);this._manager.setLeadItem($1);$1.scrollIntoView();this._manager.setFireChange($3);if($3&&this._manager._hasChanged($2)){this._manager._dispatchChange();}}this._lastKeyPress=(new Date).valueOf();$0.preventDefault();},_findItem:function($0,$1,$2){var $3=this.getChildren();if($1==null){$1=$3.indexOf(this.getSelectedItem());if($1==-1){$1=0;}}var $4=$[586]+$2;for(var $5=$1;$5<$3.length;$5++){if($3[$5][$4]($0)){return $3[$5];}}for(var $5=0;$5<$1;$5++){if($3[$5][$4]($0)){return $3[$5];}}return null;},findString:function($0,$1){return this._findItem($0,$1||0,$[6]);},findStringExact:function($0,$1){return this._findItem($0,$1||0,$[1705]);},findValue:function($0,$1){return this._findItem($0,$1||0,$[366]);},findValueExact:function($0,$1){return this._findItem($0,$1||0,$[854]);},_sortItemsCompare:function($0,$1){return $0.key<$1.key?-1:$0.key==$1.key?0:1;},sortItemsByString:function($0){var $1=[];var $2=this.getChildren();for(var $3=0,$4=$2.length;$3<$4;$3++){$1[$3]={key:$2[$3].getLabel(),item:$2[$3]};}$1.sort(this._sortItemsCompare);if($0){$1.reverse();}for(var $3=0;$3<$4;$3++){this.addAt($1[$3].item,$3);}},sortItemsByValue:function($0){var $1=[];var $2=this.getChildren();for(var $3=0,$4=$2.length;$3<$4;$3++){$1[$3]={key:$2[$3].getValue(),item:$2[$3]};}$1.sort(this._sortItemsCompare);if($0){$1.reverse();}for(var $3=0;$3<$4;$3++){this.addAt($1[$3].item,$3);}}},destruct:function(){this._disposeObjects($[213]);}}); >-qx.Class.define($[495],{extend:qx.ui.basic.Atom,construct:function($0,$1,$2){arguments.callee.base.call(this,$0,$1);if($2!=null){this.setValue($2);}this.addEventListener($[104],this._ondblclick);this.initMinWidth();},events:{"action":$[4]},properties:{appearance:{refine:true,init:$[1590]},minWidth:{refine:true,init:$[3]},width:{refine:true,init:null},allowStretchX:{refine:true,init:true},value:{check:$[6],event:$[124]}},members:{handleStateChange:function(){if(this.hasState($[276])){this.setStyleProperty($[200],$[205]);this.setStyleProperty($[214],$[205]);}else{this.removeStyleProperty($[200]);this.setStyleProperty($[214],$[995]);}},_applyStateStyleFocus:function($0){},matchesString:function($0){$0=String($0);return $0!=$[0]&&this.getLabel().toString().toLowerCase().indexOf($0.toLowerCase())==0;},matchesStringExact:function($0){$0=String($0);return $0!=$[0]&&this.getLabel().toString().toLowerCase()==String($0).toLowerCase();},matchesValue:function($0){$0=String($0);return $0!=$[0]&&this.getValue().toLowerCase().indexOf($0.toLowerCase())==0;},matchesValueExact:function($0){$0=String($0);return $0!=$[0]&&this.getValue().toLowerCase()==String($0).toLowerCase();},_ondblclick:function($0){var $1=this.getCommand();if($1){$1.execute();}}}}); >-qx.Class.define($[1064],{extend:qx.ui.form.CheckBox,construct:function($0,$1,$2,$3){arguments.callee.base.call(this,$0,$1,$2,$3);this.addEventListener($[40],this._onkeypress);},properties:{appearance:{refine:true,init:$[589]},manager:{check:$[176],nullable:true,apply:$[189]}},members:{INPUT_TYPE:"radio",_applyChecked:function($0,$1){if(this._iconObject){this._iconObject.setChecked($0);}var $2=this.getManager();if($2){$2.handleItemChecked(this,$0);}},_applyManager:function($0,$1){if($1){$1.remove(this);}if($0){$0.add(this);}},_applyName:function($0,$1){if(this._iconObject){this._iconObject.setName($0);}if(this.getManager()){this.getManager().setName($0);}},_applyValue:function($0,$1){if(this.isCreated()&&this._iconObject){this._iconObject.setValue($0);}},_onkeydown:function($0){if($0.getKeyIdentifier()==$[46]&&!$0.isAltPressed()){this.setChecked(true);}},_onkeypress:function($0){switch($0.getKeyIdentifier()){case $[60]:case $[69]:qx.event.handler.FocusHandler.mouseFocus=false;qx.event.handler.FocusHandler.mouseFocus=false;return this.getManager()?this.getManager().selectPrevious(this):true;case $[64]:case $[76]:qx.event.handler.FocusHandler.mouseFocus=false;return this.getManager()?this.getManager().selectNext(this):true;}},_onclick:function($0){this.setChecked(true);},_onkeyup:function($0){if($0.getKeyIdentifier()==$[84]){this.setChecked(true);}}}}); >-qx.Class.define($[1757],{extend:qx.ui.form.TextField,properties:{appearance:{refine:true,init:$[1588]},allowStretchY:{refine:true,init:true},spellCheck:{refine:true,init:true},wrap:{check:$[2],init:true,apply:$[271]}},members:{_inputTag:$[222],_inputType:null,_inputOverflow:$[3],_applyElement:function($0,$1){arguments.callee.base.call(this,$0,$1);this._styleWrap();},_applyWrap:function($0,$1){this._styleWrap();},_styleWrap:qx.core.Variant.select($[1],{"mshtml":function(){if(this._inputElement){this._inputElement.wrap=this.getWrap()?$[374]:$[55];}},"gecko":function(){if(this._inputElement){var $0=this.getWrap()?$[374]:$[55];var $1=this.getWrap()?$[0]:$[3];this._inputElement.setAttribute($[842],$0);this._inputElement.style.overflow=$1;}},"default":function(){if(this._inputElement){this._inputElement.style.whiteSpace=this.getWrap()?$[156]:$[321];}}}),_computePreferredInnerHeight:function(){return 60;}}}); >-qx.Class.define($[1176],{extend:qx.ui.form.TextField,members:{_inputType:$[1304]}}); >-qx.Class.define($[667],{extend:qx.ui.layout.HorizontalBoxLayout,construct:function(){arguments.callee.base.call(this);var $0=this._list=new qx.ui.form.List;$0.setAppearance($[1630]);$0.setTabIndex(-1);$0.setEdge(0);var $1=this._manager=this._list.getManager();$1.setMultiSelection(false);$1.setDragSelection(false);var $2=this._popup=new qx.ui.popup.Popup;$2.setAppearance($[907]);$2.setRestrictToPageLeft(-100000);$2.setRestrictToPageRight(-100000);$2.setAutoHide(false);$2.setHeight($[3]);$2.add($0);var $3=this._field=new qx.ui.form.TextField;$3.setAppearance($[1528]);$3.setTabIndex(-1);$3.setWidth($[138]);$3.setAllowStretchY(true);$3.setHeight(null);this.add($3);var $4=this._button=new qx.ui.basic.Atom;$4.setAppearance($[1076]);$4.setAllowStretchY(true);$4.setTabIndex(-1);$4.setHeight(null);this.add($4);this.addEventListener($[12],this._onmousedown);this.addEventListener($[22],this._onmouseup);this.addEventListener($[53],this._onclick);this.addEventListener($[61],this._onmouseover);this.addEventListener($[184],this._onmousewheel);this.addEventListener($[16],this._onkeydown);this.addEventListener($[40],this._onkeypress);this.addEventListener($[300],this._onkeyinput);this.addEventListener($[401],this._onbeforedisappear);this._popup.addEventListener($[193],this._onpopupappear,this);this._field.addEventListener($[89],this._oninput,this);qx.locale.Manager.getInstance().addEventListener($[220],this._onlocalechange,this);var $5=qx.ui.core.ClientDocument.getInstance();$5.addEventListener($[283],this._testClosePopup,this);this.remapChildrenHandlingTo($0);this.initEditable();this.initTabIndex();this.initWidth();this.initHeight();this.initMinWidth();},events:{"beforeInitialOpen":$[4]},properties:{appearance:{refine:true,init:$[1522]},allowStretchY:{refine:true,init:false},width:{refine:true,init:120},height:{refine:true,init:$[3]},minWidth:{refine:true,init:40},tabIndex:{refine:true,init:1},editable:{check:$[2],apply:$[320],event:$[793],init:false},selected:{check:$[495],nullable:true,apply:$[267],event:$[261]},value:{check:$[6],nullable:true,apply:$[209],event:$[124]},pagingInterval:{check:$[5],init:10}},members:{getManager:function(){return this._manager;},getPopup:function(){return this._popup;},getList:function(){return this._list;},getField:function(){return this._field;},getButton:function(){return this._button;},_applySelected:function($0,$1){this._fromSelected=true;if(!this._fromValue){this.setValue($0?$0.getLabel().toString():$[0]);}this._manager.setLeadItem($0);this._manager.setAnchorItem($0);if($0){this._manager.setSelectedItem($0);}else{this._manager.deselectAll();}delete this._fromSelected;},_applyValue:function($0,$1){this._fromValue=true;if(!this._fromInput){if(this._field.getValue()==$0){this._field.setValue(null);}this._field.setValue($0);}delete this._fromValue;},_applyEditable:function($0,$1){var $2=this._field;$2.setReadOnly(!$0);$2.setCursor($0?null:$[295]);$2.setSelectable($0);},_oldSelected:null,_openPopup:function(){var $0=this._popup;var $1=this.getElement();if(!$0.isCreated()){this.createDispatchEvent($[1677]);}if(this._list.getChildrenLength()==0){return;}$0.positionRelativeTo($1,1,qx.html.Dimension.getBoxHeight($1));$0.setWidth(this.getBoxWidth()-2);$0.setParent(this.getTopLevelWidget());$0.show();this._oldSelected=this.getSelected();this.setCapture(true);},_closePopup:function(){this._popup.hide();this.setCapture(false);},_testClosePopup:function(){if(this._popup.isSeeable()){this._closePopup();}},_togglePopup:function(){this._popup.isSeeable()?this._closePopup():this._openPopup();},_onpopupappear:function($0){var $1=this.getSelected();if($1){$1.scrollIntoView();}},_oninput:function($0){this._fromInput=true;this.setValue(this._field.getComputedValue());var $1=this.getSelected();if($1&&$1.getLabel()!=this.getValue()){this.resetSelected();}delete this._fromInput;},_onbeforedisappear:function($0){this._testClosePopup();},_onlocalechange:function($0){var $1=this.getSelected();this._applySelected($1,$1);},_onmousedown:function($0){if(!$0.isLeftButtonPressed()){return;}var $1=$0.getTarget();switch($1){case this._field:if(this.getEditable()){break;}case this._button:this._button.addState($[14]);this._togglePopup();this.setCapture(true);break;default:break;}$0.stopPropagation();},_onclick:function($0){if(!$0.isLeftButtonPressed()){return;}var $1=$0.getTarget();switch($1){case this._field:case this._button:case this:case this._list:break;default:if($1 instanceof qx.ui.form.ListItem&&$1.getParent()==this._list){this._list._onmousedown($0);this.setSelected(this._list.getSelectedItem());this._closePopup();this.setFocused(true);}else if(this._popup.isSeeable()){this._popup.hide();this.setCapture(false);}}},_onmouseup:function($0){this._button.removeState($[14]);if(!this._popup.isSeeable()){this.setCapture(false);}},_onmouseover:function($0){var $1=$0.getTarget();if($1 instanceof qx.ui.form.ListItem){var $2=this._manager;$2.deselectAll();$2.setLeadItem($1);$2.setAnchorItem($1);$2.setSelectedItem($1);}},_onmousewheel:function($0){if(!this._popup.isSeeable()){var $1;var $2=this.getSelected();if($0.getWheelDelta()<0){$1=$2?this._manager.getNext($2):this._manager.getFirst();}else{$1=$2?this._manager.getPrevious($2):this._manager.getLast();}if($1){this.setSelected($1);}}else{var $3=$0.getTarget();if($3!=this&&$3.getParent()!=this._list){this._popup.hide();this.setCapture(false);}}},_onkeydown:function($0){var $1=this._manager;var $2=this._popup.isSeeable();switch($0.getKeyIdentifier()){case $[46]:if($2){this.setSelected(this._manager.getSelectedItem());this._closePopup();this.setFocused(true);}else{this._openPopup();}$0.stopPropagation();return;case $[129]:if($2){$1.setLeadItem(this._oldSelected);$1.setAnchorItem(this._oldSelected);$1.setSelectedItem(this._oldSelected);this._field.setValue(this._oldSelected?this._oldSelected.getLabel():$[0]);this._closePopup();this.setFocused(true);$0.stopPropagation();}return;case $[76]:if($0.isAltPressed()){this._togglePopup();return;}break;}},_onkeypress:function($0){var $1=this._popup.isSeeable();var $2=this._manager;switch($0.getKeyIdentifier()){case $[87]:if(!$1){var $3;var $4=this.getSelected();if($4){var $5=this.getPagingInterval();do{$3=$4;}while(--$5&&($4=$2.getPrevious($3)));}else{$3=$2.getLast();}this.setSelected($3);return;}break;case $[99]:if(!$1){var $6;var $4=this.getSelected();if($4){var $5=this.getPagingInterval();do{$6=$4;}while(--$5&&($4=$2.getNext($6)));}else{$6=$2.getFirst();}this.setSelected($6||null);return;}break;}if(!this.isEditable()||$1){this._list._onkeypress($0);}},_onkeyinput:function($0){var $1=this._popup.isSeeable();if(!this.isEditable()||$1){this._list._onkeyinput($0);}},_visualizeBlur:function(){this.getField()._visualizeBlur();this.removeState($[224]);},_visualizeFocus:function(){this.getField()._visualizeFocus();this.getField().selectAll();this.addState($[224]);}},destruct:function(){if(this._popup&&!qx.core.Object.inGlobalDispose()){this._popup.setParent(null);}var $0=qx.ui.core.ClientDocument.getInstance();$0.removeEventListener($[283],this._testClosePopup,this);var $1=qx.locale.Manager.getInstance();$1.removeEventListener($[220],this._onlocalechange,this);this._disposeObjects($[1215],$[336],$[213],$[947],$[1506]);}}); >-qx.Class.define($[1071],{extend:qx.ui.layout.CanvasLayout,construct:function($0,$1){arguments.callee.base.call(this);this._createFrameObject();this._createLegendObject();this.setLegend($0||$[0]);if($1!=null){this.setIcon($1);}this.remapChildrenHandlingTo(this._frameObject);},properties:{appearance:{refine:true,init:$[1010]}},members:{_createLegendObject:function(){this._legendObject=new qx.ui.basic.Atom;this._legendObject.setAppearance($[1218]);this.add(this._legendObject);},_createFrameObject:function(){this._frameObject=new qx.ui.layout.CanvasLayout;this._frameObject.setAppearance($[1760]);this.add(this._frameObject);},getFrameObject:function(){return this._frameObject;},getLegendObject:function(){return this._legendObject;},setLegend:function($0){if($0!==$[0]&&$0!==null){this._legendObject.setLabel($0);this._legendObject.setDisplay(true);}else{this._legendObject.setDisplay(false);}},getLegend:function(){return this._legendObject.getLabel();},setIcon:function($0){this._legendObject.setIcon($0);},getIcon:function(){this._legendObject.getIcon();}},destruct:function(){this._disposeObjects($[1221],$[1799]);}}); >-qx.Class.define($[1406],{extend:qx.ui.layout.HorizontalBoxLayout,construct:function($0,$1,$2,$3){arguments.callee.base.call(this);var $4=this._iconObject=new qx.ui.basic.Image;$4.setWidth(16);$4.setAnonymous(true);var $5=this._labelObject=new qx.ui.basic.Label;$5.setAnonymous(true);$5.setSelectable(false);var $6=this._shortcutObject=new qx.ui.basic.Label;$6.setAnonymous(true);$6.setSelectable(false);var $7=this._arrowObject=new qx.ui.basic.Image;$7.setAppearance($[536]);$7.setAnonymous(true);if($0!=null){this.setLabel($0);}if($1!=null){this.setIcon($1);}if($2!=null){this.setCommand($2);qx.locale.Manager.getInstance().addEventListener($[220],function($8){this._applyCommand($2,$2);},this);}if($3!=null){this.setMenu($3);}this.initMinWidth();this.initHeight();this.addEventListener($[22],this._onmouseup);},properties:{allowStretchX:{refine:true,init:true},appearance:{refine:true,init:$[1255]},minWidth:{refine:true,init:$[3]},height:{refine:true,init:$[3]},icon:{check:$[6],apply:$[181],nullable:true,themeable:true},label:{apply:$[256],nullable:true,dispose:true},menu:{check:$[160],nullable:true,apply:$[448]}},members:{_hasIcon:false,_hasLabel:false,_hasShortcut:false,_hasMenu:false,hasIcon:function(){return this._hasIcon;},hasLabel:function(){return this._hasLabel;},hasShortcut:function(){return this._hasShortcut;},hasMenu:function(){return this._hasMenu;},getIconObject:function(){return this._iconObject;},getLabelObject:function(){return this._labelObject;},getShortcutObject:function(){return this._shortcutObject;},getArrowObject:function(){return this._arrowObject;},getParentMenu:function(){var $0=this.getParent();if($0){$0=$0.getParent();if($0&&$0 instanceof qx.ui.menu.Menu){return $0;}}return null;},_createLayoutImpl:function(){return new qx.ui.menu.ButtonLayoutImpl(this);},_applyIcon:function($0,$1){this._iconObject.setSource($0);if($0&&$0!==$[0]){this._hasIcon=true;if(!$1||$1===$[0]){this.addAtBegin(this._iconObject);}}else{this._hasIcon=false;this.remove(this._iconObject);}},_applyLabel:function($0,$1){this._labelObject.setText($0);if($0&&$0!==$[0]){this._hasLabel=true;if(!$1||$1===$[0]){this.addAt(this._labelObject,this.getFirstChild()==this._iconObject?1:0);}}else{this._hasLabel=false;this.remove(this._labelObject);}},_applyCommand:function($0,$1){var $2=$0?$0.toString():$[0];this._shortcutObject.setText($2);if(qx.util.Validation.isValidString($2)){this._hasShortcut=true;var $3=$1?$1.toString():$[0];if(qx.util.Validation.isInvalidString($3)){if(this.getLastChild()==this._arrowObject){this.addBefore(this._shortcutObject,this._arrowObject);}else{this.addAtEnd(this._shortcutObject);}}}else{this._hasShortcut=false;this.remove(this._shortcutObject);}},_applyMenu:function($0,$1){if($0){this._hasMenu=true;if(qx.util.Validation.isInvalidObject($1)){this.addAtEnd(this._arrowObject);}}else{this._hasMenu=false;this.remove(this._arrowObject);}},_onmouseup:function($0){this.execute();}},destruct:function(){this._disposeObjects($[297],$[249],$[1696],$[1495]);}}); >-qx.Class.define($[160],{extend:qx.ui.popup.Popup,construct:function(){arguments.callee.base.call(this);var $0=this._layout=new qx.ui.menu.Layout;$0.setEdge(0);this.add($0);this.initOpenInterval();this.initCloseInterval();this.addEventListener($[61],this._onmouseover);this.addEventListener($[148],this._onmouseover);this.addEventListener($[105],this._onmouseout);this.addEventListener($[16],this._onkeydown);this.addEventListener($[40],this._onkeypress);this.remapChildrenHandlingTo(this._layout);this.initWidth();this.initHeight();},properties:{appearance:{refine:true,init:$[1458]},width:{refine:true,init:$[3]},height:{refine:true,init:$[3]},iconContentGap:{check:$[5],themeable:true,init:4},labelShortcutGap:{check:$[5],themeable:true,init:10},contentArrowGap:{check:$[5],themeable:true,init:8},contentNonIconPadding:{check:$[5],themeable:true,init:20},contentNonArrowPadding:{check:$[5],themeable:true,init:8},hoverItem:{check:$[66],nullable:true,apply:$[1109]},openItem:{check:$[66],nullable:true,apply:$[1666]},opener:{check:$[66],nullable:true},parentMenu:{check:$[160],nullable:true},fastReopen:{check:$[2],init:false},openInterval:{check:$[5],themeable:true,init:250,apply:$[883]},closeInterval:{check:$[5],themeable:true,init:250,apply:$[981]},subMenuHorizontalOffset:{check:$[5],themeable:true,init:-3},subMenuVerticalOffset:{check:$[5],themeable:true,init:-2},indentShortcuts:{check:$[2],init:true},maxIconWidth:{_cached:true},maxLabelWidth:{_cached:true},maxLabelWidthIncShortcut:{_cached:true},maxShortcutWidth:{_cached:true},maxArrowWidth:{_cached:true},maxContentWidth:{_cached:true},iconPosition:{_cached:true,defaultValue:0},labelPosition:{_cached:true},shortcutPosition:{_cached:true},arrowPosition:{_cached:true},menuButtonNeededWidth:{_cached:true}},members:{_remappingChildTable:[$[421],$[530],$[406],$[487],$[317],$[514],$[480],$[327],$[322],$[1642],$[806],$[1726],$[1037]],_isFocusRoot:false,getLayout:function(){return this._layout;},isSubElement:function($0,$1){if(($0.getParent()===this._layout)||((!$1)&&($0===this))){return true;}for(var $2=this._layout.getChildren(),$3=$2.length,$4=0;$4<$3;$4++){if($2[$4].getMenu&&$2[$4].getMenu()&&$2[$4].getMenu().isSubElement($0,$1)){return true;}}return false;},_beforeAppear:function(){qx.ui.layout.CanvasLayout.prototype._beforeAppear.call(this);qx.ui.menu.Manager.getInstance().add(this);this.bringToFront();this._makeActive();},_beforeDisappear:function(){qx.ui.layout.CanvasLayout.prototype._beforeDisappear.call(this);qx.ui.menu.Manager.getInstance().remove(this);this._makeInactive();this.setHoverItem(null);this.setOpenItem(null);var $0=this.getOpener();if($0){$0.removeState($[14]);}},_applyOpenInterval:function($0,$1){if(!this._openTimer){this._openTimer=new qx.client.Timer($0);this._openTimer.addEventListener($[85],this._onopentimer,this);}else{this._openTimer.setInterval($0);}},_applyCloseInterval:function($0,$1){if(!this._closeTimer){this._closeTimer=new qx.client.Timer(this.getCloseInterval());this._closeTimer.addEventListener($[85],this._onclosetimer,this);}else{this._closeTimer.setInterval($0);}},_applyHoverItem:function($0,$1){if($1){$1.removeState($[43]);}if($0){$0.addState($[43]);}},_applyOpenItem:function($0,$1){if($1){var $2=$1.getMenu();if($2){$2.setParentMenu(null);$2.setOpener(null);$2.hide();}}if($0){var $3=$0.getMenu();if($3){$3.setOpener($0);$3.setParentMenu(this);var $4=$0.getElement();var $5=this.getElement();$3.setTop(qx.bom.element.Location.getTop($4)+this.getSubMenuVerticalOffset());$3.setLeft(qx.bom.element.Location.getLeft($5)+qx.html.Dimension.getBoxWidth($5)+this.getSubMenuHorizontalOffset());$3.show();}}},_computeMaxIconWidth:function(){var $0=this.getLayout().getChildren(),$1=$0.length,$2,$3=0;for(var $4=0;$4<$1;$4++){$2=$0[$4];if($2.hasIcon()){$3=Math.max($3,16);}}return $3;},_computeMaxLabelWidth:function(){var $0=this.getLayout().getChildren(),$1=$0.length,$2,$3=0;for(var $4=0;$4<$1;$4++){$2=$0[$4];if($2.hasLabel()){$3=Math.max($3,$2.getLabelObject().getPreferredBoxWidth());}}return $3;},_computeMaxLabelWidthIncShortcut:function(){var $0=this.getLayout().getChildren(),$1=$0.length,$2,$3=0;for(var $4=0;$4<$1;$4++){$2=$0[$4];if($2.hasLabel()&&$2.hasShortcut()){$3=Math.max($3,$2.getLabelObject().getPreferredBoxWidth());}}return $3;},_computeMaxShortcutWidth:function(){var $0=this.getLayout().getChildren(),$1=$0.length,$2,$3=0;for(var $4=0;$4<$1;$4++){$2=$0[$4];if($2.hasShortcut()){$3=Math.max($3,$2.getShortcutObject().getPreferredBoxWidth());}}return $3;},_computeMaxArrowWidth:function(){var $0=this.getLayout().getChildren(),$1=$0.length,$2,$3=0;for(var $4=0;$4<$1;$4++){$2=$0[$4];if($2.hasMenu()){$3=Math.max($3,4);}}return $3;},_computeMaxContentWidth:function(){var $0;var $1=this.getMaxLabelWidth();var $2=this.getMaxShortcutWidth();if(this.getIndentShortcuts()){var $3=$2+this.getMaxLabelWidthIncShortcut();if($2>0){$3+=this.getLabelShortcutGap();}$0=Math.max($1,$3);}else{$0=$1+$2;if($1>0&&$2>0){$0+=this.getLabelShortcutGap();}}return $0;},_computeIconPosition:function(){return 0;},_computeLabelPosition:function(){var $0=this.getMaxIconWidth();return $0>0?$0+this.getIconContentGap():this.getContentNonIconPadding();},_computeShortcutPosition:function(){return this.getLabelPosition()+this.getMaxContentWidth()-this.getMaxShortcutWidth();},_computeArrowPosition:function(){var $0=this.getMaxContentWidth();return this.getLabelPosition()+($0>0?$0+this.getContentArrowGap():$0);},_invalidateMaxIconWidth:function(){this._cachedMaxIconWidth=null;this._invalidateLabelPosition();this._invalidateMenuButtonNeededWidth();},_invalidateMaxLabelWidth:function(){this._cachedMaxLabelWidth=null;this._cachedMaxArrowWidth=null;this._invalidateShortcutPosition();this._invalidateMaxLabelWidthIncShortcut();this._invalidateMaxContentWidth();this._invalidateMenuButtonNeededWidth();},_invalidateMaxShortcutWidth:function(){this._cachedMaxShortcutWidth=null;this._invalidateArrowPosition();this._invalidateMaxContentWidth();this._invalidateMenuButtonNeededWidth();},_invalidateLabelPosition:function(){this._cachedLabelPosition=null;this._invalidateShortcutPosition();},_invalidateShortcutPosition:function(){this._cachedShortcutPosition=null;this._invalidateArrowPosition();},_computeMenuButtonNeededWidth:function(){var $0=0;var $1=this.getMaxIconWidth();var $2=this.getMaxContentWidth();var $3=this.getMaxArrowWidth();if($1>0){$0+=$1;}else{$0+=this.getContentNonIconPadding();}if($2>0){if($1>0){$0+=this.getIconContentGap();}$0+=$2;}if($3>0){if($1>0||$2>0){$0+=this.getContentArrowGap();}$0+=$3;}else{$0+=this.getContentNonArrowPadding();}return $0;},_onmouseover:function($0){var $1=this.getParentMenu();if($1){$1._closeTimer.stop();var $2=this.getOpener();if($2){$1.setHoverItem($2);}}var $3=$0.getTarget();if($3==this){this._openTimer.stop();this._closeTimer.start();this.setHoverItem(null);return;}var $4=this.getOpenItem();if($4){this.setHoverItem($3);this._openTimer.stop();if($3.hasMenu()){if(this.getFastReopen()){this.setOpenItem($3);this._closeTimer.stop();}else{this._openTimer.start();}}else{this._closeTimer.start();}}else{this.setHoverItem($3);this._openTimer.stop();if($3.hasMenu()){this._openTimer.start();}}},_onmouseout:function($0){this._openTimer.stop();var $1=$0.getTarget();if($1!=this&&$1.hasMenu()){this._closeTimer.start();}this.setHoverItem(null);},_onopentimer:function($0){this._openTimer.stop();var $1=this.getHoverItem();if($1&&$1.hasMenu()){this.setOpenItem($1);}},_onclosetimer:function($0){this._closeTimer.stop();this.setOpenItem(null);},_onkeydown:function($0){if($0.getKeyIdentifier()==$[46]){this._onkeydown_enter($0);}$0.preventDefault();},_onkeypress:function($0){switch($0.getKeyIdentifier()){case $[69]:this._onkeypress_up($0);break;case $[76]:this._onkeypress_down($0);break;case $[60]:this._onkeypress_left($0);break;case $[64]:this._onkeypress_right($0);break;default:return;}$0.preventDefault();},_onkeypress_up:function($0){var $1=this.getHoverItem();var $2=$1?$1.isFirstChild()?this.getLastActiveChild():$1.getPreviousActiveSibling([qx.ui.menu.Separator]):this.getLastActiveChild();this.setHoverItem($2);},_onkeypress_down:function($0){var $1=this.getHoverItem();var $2=$1?$1.isLastChild()?this.getFirstActiveChild():$1.getNextActiveSibling([qx.ui.menu.Separator]):this.getFirstActiveChild();this.setHoverItem($2);},_onkeypress_left:function($0){var $1=this.getOpener();if($1 instanceof qx.ui.menu.Button){var $2=this.getOpener().getParentMenu();$2.setOpenItem(null);$2.setHoverItem($1);$2._makeActive();}else if($1 instanceof qx.ui.toolbar.MenuButton){var $3=$1.getParentToolBar();this.getFocusRoot().setActiveChild($3);$3._onkeypress($0);}},_onkeypress_right:function($0){var $1=this.getHoverItem();if($1){var $2=$1.getMenu();if($2){this.setOpenItem($1);$2.setHoverItem($2.getFirstActiveChild());return;}}else if(!this.getOpenItem()){var $3=this.getLayout().getFirstActiveChild();if($3){$3.hasMenu()?this.setOpenItem($3):this.setHoverItem($3);}}var $4=this.getOpener();if($4 instanceof qx.ui.toolbar.MenuButton){var $5=$4.getParentToolBar();this.getFocusRoot().setActiveChild($5);$5._onkeypress($0);}else if($4 instanceof qx.ui.menu.Button&&$1){var $6=$4.getParentMenu();while($6&&$6 instanceof qx.ui.menu.Menu){$4=$6.getOpener();if($4 instanceof qx.ui.menu.Button){$6=$4.getParentMenu();}else{if($4){$6=$4.getParent();}break;}}if($6 instanceof qx.ui.toolbar.Part){$6=$6.getParent();}if($6 instanceof qx.ui.toolbar.ToolBar){this.getFocusRoot().setActiveChild($6);$6._onkeypress($0);}}},_onkeydown_enter:function($0){var $1=this.getHoverItem();if($1){$1.execute();}qx.ui.menu.Manager.getInstance().update();}},destruct:function(){this.hide();this._disposeObjects($[1001],$[702],$[344]);}}); >-qx.Class.define($[1472],{extend:qx.ui.layout.VerticalBoxLayout,properties:{anonymous:{refine:true,init:true},appearance:{refine:true,init:$[570]}},members:{_createLayoutImpl:function(){return new qx.ui.menu.MenuLayoutImpl(this);}}}); >+qx.Class.define($[631],{extend:qx.ui.toolbar.CheckBox,properties:{manager:{check:$[176],apply:$[189],nullable:true},name:{check:$[6],event:$[506]},disableUncheck:{check:$[2],init:false}},members:{_applyChecked:function($0,$1){arguments.callee.base.call(this,$0,$1);var $2=this.getManager();if($2){$2.handleItemChecked(this,$0);}},_applyManager:function($0,$1){if($1){$1.remove(this);}if($0){$0.add(this);}},_onmouseup:function($0){this.setCapture(false);if(!this.hasState($[35])){this.addState($[43]);this.setChecked(this.getDisableUncheck()||!this.getChecked());this.execute();}this.removeState($[35]);this.removeState($[14]);$0.stopPropagation();}}}); >+qx.Class.define($[1561],{extend:qx.ui.layout.CanvasLayout,construct:function(){arguments.callee.base.call(this);var $0=new qx.ui.basic.Terminator;$0.setAppearance($[1272]);this.add($0);},properties:{appearance:{refine:true,init:$[1360]}}}); >+qx.Class.define($[1750],{extend:qx.ui.basic.Atom,construct:function($0,$1,$2,$3){arguments.callee.base.call(this,$0);this.initTabIndex();this._createIcon();if($1!=null){this.setValue($1);}if($2!=null){this.setName($2);}if($3!=null){this.setChecked($3);}else{this.initChecked();}this.addEventListener($[53],this._onclick);this.addEventListener($[16],this._onkeydown);this.addEventListener($[84],this._onkeyup);},properties:{appearance:{refine:true,init:$[882]},tabIndex:{refine:true,init:1},name:{check:$[6],event:$[506]},value:{check:$[6],event:$[124]},checked:{check:$[2],apply:$[165],init:false,event:$[270]}},members:{INPUT_TYPE:"checkbox",_createIcon:function(){var $0=this._iconObject=new qx.ui.form.InputCheckSymbol;$0.setType(this.INPUT_TYPE);$0.setChecked(this.getChecked());$0.setAnonymous(true);this.addAtBegin($0);},_applyChecked:function($0,$1){if(this._iconObject){this._iconObject.setChecked($0);}},_applyIcon:null,_applyDisabledIcon:null,_handleIcon:function(){switch(this.getShow()){case $[133]:case $[110]:this._iconIsVisible=true;break;default:this._iconIsVisible=false;}if(this._iconIsVisible){this._iconObject?this._iconObject.setDisplay(true):this._createIcon();}else if(this._iconObject){this._iconObject.setDisplay(false);}},_onclick:function($0){this.toggleChecked();},_onkeydown:function($0){if($0.getKeyIdentifier()==$[46]&&!$0.isAltPressed()){this.toggleChecked();}},_onkeyup:function($0){if($0.getKeyIdentifier()==$[85]){this.toggleChecked();}}}}); >+qx.Class.define($[824],{extend:qx.ui.basic.Terminator,construct:function(){arguments.callee.base.call(this);this.setSelectable(false);if(qx.core.Variant.isSet($[1],$[13])){this.setWidth(13);this.setHeight(13);}else if(qx.core.Variant.isSet($[1],$[21])){this.setMargin(0);}this.initTabIndex();this.setChecked(false);},properties:{tabIndex:{refine:true,init:-1},name:{check:$[6],init:null,nullable:true,apply:$[260]},value:{init:null,nullable:true,apply:$[209]},type:{init:null,nullable:true,apply:$[1635]},checked:{check:$[2],init:false,apply:$[165]}},members:{_createElementImpl:function(){this.setElement(this.getTopLevelWidget().getDocumentElement().createElement($[89]));},_applyName:function($0,$1){return this.setHtmlProperty($[1424],$0);},_applyValue:function($0,$1){return this.setHtmlProperty($[255],$0);},_applyType:function($0,$1){return this.setHtmlProperty($[1174],$0);},_applyChecked:function($0,$1){return this.setHtmlProperty($[122],$0);},getPreferredBoxWidth:function(){return 13;},getPreferredBoxHeight:function(){return 13;},_afterAppear:qx.core.Variant.select($[1],{"mshtml":function(){arguments.callee.base.call(this);var $0=this.getElement();$0.checked=this.getChecked();if(this.getEnabled()===false){$0.disabled=true;}},"default":qx.lang.Function.returnTrue}),_applyEnabled:function($0,$1){$0===false?this.setHtmlProperty($[185],$[185]):this.removeHtmlProperty($[185]);return arguments.callee.base.call(this,$0,$1);}},defer:function($0,$1){$1.getBoxWidth=$1.getPreferredBoxWidth;$1.getBoxHeight=$1.getPreferredBoxHeight;$1.getInnerWidth=$1.getPreferredBoxWidth;$1.getInnerHeight=$1.getPreferredBoxHeight;}}); >+qx.Class.define($[667],{extend:qx.ui.layout.HorizontalBoxLayout,construct:function(){arguments.callee.base.call(this);var $0=this._list=new qx.ui.form.List;$0.setAppearance($[1629]);$0.setTabIndex(-1);$0.setEdge(0);var $1=this._manager=this._list.getManager();$1.setMultiSelection(false);$1.setDragSelection(false);var $2=this._popup=new qx.ui.popup.Popup;$2.setAppearance($[907]);$2.setRestrictToPageLeft(-100000);$2.setRestrictToPageRight(-100000);$2.setAutoHide(false);$2.setHeight($[3]);$2.add($0);var $3=this._field=new qx.ui.form.TextField;$3.setAppearance($[1528]);$3.setTabIndex(-1);$3.setWidth($[138]);$3.setAllowStretchY(true);$3.setHeight(null);this.add($3);var $4=this._button=new qx.ui.basic.Atom;$4.setAppearance($[1076]);$4.setAllowStretchY(true);$4.setTabIndex(-1);$4.setHeight(null);this.add($4);this.addEventListener($[12],this._onmousedown);this.addEventListener($[22],this._onmouseup);this.addEventListener($[53],this._onclick);this.addEventListener($[61],this._onmouseover);this.addEventListener($[184],this._onmousewheel);this.addEventListener($[16],this._onkeydown);this.addEventListener($[40],this._onkeypress);this.addEventListener($[300],this._onkeyinput);this.addEventListener($[402],this._onbeforedisappear);this._popup.addEventListener($[193],this._onpopupappear,this);this._field.addEventListener($[89],this._oninput,this);qx.locale.Manager.getInstance().addEventListener($[220],this._onlocalechange,this);var $5=qx.ui.core.ClientDocument.getInstance();$5.addEventListener($[283],this._testClosePopup,this);this.remapChildrenHandlingTo($0);this.initEditable();this.initTabIndex();this.initWidth();this.initHeight();this.initMinWidth();},events:{"beforeInitialOpen":$[4]},properties:{appearance:{refine:true,init:$[1521]},allowStretchY:{refine:true,init:false},width:{refine:true,init:120},height:{refine:true,init:$[3]},minWidth:{refine:true,init:40},tabIndex:{refine:true,init:1},editable:{check:$[2],apply:$[320],event:$[794],init:false},selected:{check:$[495],nullable:true,apply:$[267],event:$[261]},value:{check:$[6],nullable:true,apply:$[209],event:$[124]},pagingInterval:{check:$[5],init:10}},members:{getManager:function(){return this._manager;},getPopup:function(){return this._popup;},getList:function(){return this._list;},getField:function(){return this._field;},getButton:function(){return this._button;},_applySelected:function($0,$1){this._fromSelected=true;if(!this._fromValue){this.setValue($0?$0.getLabel().toString():$[0]);}this._manager.setLeadItem($0);this._manager.setAnchorItem($0);if($0){this._manager.setSelectedItem($0);}else{this._manager.deselectAll();}delete this._fromSelected;},_applyValue:function($0,$1){this._fromValue=true;if(!this._fromInput){if(this._field.getValue()==$0){this._field.setValue(null);}this._field.setValue($0);}delete this._fromValue;},_applyEditable:function($0,$1){var $2=this._field;$2.setReadOnly(!$0);$2.setCursor($0?null:$[295]);$2.setSelectable($0);},_oldSelected:null,_openPopup:function(){var $0=this._popup;var $1=this.getElement();if(!$0.isCreated()){this.createDispatchEvent($[1676]);}if(this._list.getChildrenLength()==0){return;}$0.positionRelativeTo($1,1,qx.html.Dimension.getBoxHeight($1));$0.setWidth(this.getBoxWidth()-2);$0.setParent(this.getTopLevelWidget());$0.show();this._oldSelected=this.getSelected();this.setCapture(true);},_closePopup:function(){this._popup.hide();this.setCapture(false);},_testClosePopup:function(){if(this._popup.isSeeable()){this._closePopup();}},_togglePopup:function(){this._popup.isSeeable()?this._closePopup():this._openPopup();},_onpopupappear:function($0){var $1=this.getSelected();if($1){$1.scrollIntoView();}},_oninput:function($0){this._fromInput=true;this.setValue(this._field.getComputedValue());var $1=this.getSelected();if($1&&$1.getLabel()!=this.getValue()){this.resetSelected();}delete this._fromInput;},_onbeforedisappear:function($0){this._testClosePopup();},_onlocalechange:function($0){var $1=this.getSelected();this._applySelected($1,$1);},_onmousedown:function($0){if(!$0.isLeftButtonPressed()){return;}var $1=$0.getTarget();switch($1){case this._field:if(this.getEditable()){break;}case this._button:this._button.addState($[14]);this._togglePopup();this.setCapture(true);break;default:break;}$0.stopPropagation();},_onclick:function($0){if(!$0.isLeftButtonPressed()){return;}var $1=$0.getTarget();switch($1){case this._field:case this._button:case this:case this._list:break;default:if($1 instanceof qx.ui.form.ListItem&&$1.getParent()==this._list){this._list._onmousedown($0);this.setSelected(this._list.getSelectedItem());this._closePopup();this.setFocused(true);}else if(this._popup.isSeeable()){this._popup.hide();this.setCapture(false);}}},_onmouseup:function($0){this._button.removeState($[14]);if(!this._popup.isSeeable()){this.setCapture(false);}},_onmouseover:function($0){var $1=$0.getTarget();if($1 instanceof qx.ui.form.ListItem){var $2=this._manager;$2.deselectAll();$2.setLeadItem($1);$2.setAnchorItem($1);$2.setSelectedItem($1);}},_onmousewheel:function($0){if(!this._popup.isSeeable()){var $1;var $2=this.getSelected();if($0.getWheelDelta()<0){$1=$2?this._manager.getNext($2):this._manager.getFirst();}else{$1=$2?this._manager.getPrevious($2):this._manager.getLast();}if($1){this.setSelected($1);}}else{var $3=$0.getTarget();if($3!=this&&$3.getParent()!=this._list){this._popup.hide();this.setCapture(false);}}},_onkeydown:function($0){var $1=this._manager;var $2=this._popup.isSeeable();switch($0.getKeyIdentifier()){case $[46]:if($2){this.setSelected(this._manager.getSelectedItem());this._closePopup();this.setFocused(true);}else{this._openPopup();}$0.stopPropagation();return;case $[129]:if($2){$1.setLeadItem(this._oldSelected);$1.setAnchorItem(this._oldSelected);$1.setSelectedItem(this._oldSelected);this._field.setValue(this._oldSelected?this._oldSelected.getLabel():$[0]);this._closePopup();this.setFocused(true);$0.stopPropagation();}return;case $[76]:if($0.isAltPressed()){this._togglePopup();return;}break;}},_onkeypress:function($0){var $1=this._popup.isSeeable();var $2=this._manager;switch($0.getKeyIdentifier()){case $[88]:if(!$1){var $3;var $4=this.getSelected();if($4){var $5=this.getPagingInterval();do{$3=$4;}while(--$5&&($4=$2.getPrevious($3)));}else{$3=$2.getLast();}this.setSelected($3);return;}break;case $[99]:if(!$1){var $6;var $4=this.getSelected();if($4){var $5=this.getPagingInterval();do{$6=$4;}while(--$5&&($4=$2.getNext($6)));}else{$6=$2.getFirst();}this.setSelected($6||null);return;}break;}if(!this.isEditable()||$1){this._list._onkeypress($0);}},_onkeyinput:function($0){var $1=this._popup.isSeeable();if(!this.isEditable()||$1){this._list._onkeyinput($0);}},_visualizeBlur:function(){this.getField()._visualizeBlur();this.removeState($[224]);},_visualizeFocus:function(){this.getField()._visualizeFocus();this.getField().selectAll();this.addState($[224]);}},destruct:function(){if(this._popup&&!qx.core.Object.inGlobalDispose()){this._popup.setParent(null);}var $0=qx.ui.core.ClientDocument.getInstance();$0.removeEventListener($[283],this._testClosePopup,this);var $1=qx.locale.Manager.getInstance();$1.removeEventListener($[220],this._onlocalechange,this);this._disposeObjects($[1214],$[336],$[213],$[946],$[1505]);}}); >+qx.Class.define($[1626],{extend:qx.ui.layout.VerticalBoxLayout,construct:function(){arguments.callee.base.call(this);this._manager=new qx.ui.selection.SelectionManager(this);this.addEventListener($[61],this._onmouseover);this.addEventListener($[12],this._onmousedown);this.addEventListener($[22],this._onmouseup);this.addEventListener($[53],this._onclick);this.addEventListener($[104],this._ondblclick);this.addEventListener($[16],this._onkeydown);this.addEventListener($[40],this._onkeypress);this.addEventListener($[300],this._onkeyinput);this.initOverflow();this.initTabIndex();},properties:{appearance:{refine:true,init:$[687]},overflow:{refine:true,init:$[36]},tabIndex:{refine:true,init:1},enableInlineFind:{check:$[2],init:true},markLeadingItem:{check:$[2],init:false}},members:{_pressedString:$[0],getManager:function(){return this._manager;},getListItemTarget:function($0){while($0!=null&&$0.getParent()!=this){$0=$0.getParent();}return $0;},getSelectedItem:function(){return this.getSelectedItems()[0]||null;},getSelectedItems:function(){return this._manager.getSelectedItems();},_onmouseover:function($0){var $1=this.getListItemTarget($0.getTarget());if($1){this._manager.handleMouseOver($1,$0);}},_onmousedown:function($0){var $1=this.getListItemTarget($0.getTarget());if($1){this._manager.handleMouseDown($1,$0);}},_onmouseup:function($0){var $1=this.getListItemTarget($0.getTarget());if($1){this._manager.handleMouseUp($1,$0);}},_onclick:function($0){var $1=this.getListItemTarget($0.getTarget());if($1){this._manager.handleClick($1,$0);}},_ondblclick:function($0){var $1=this.getListItemTarget($0.getTarget());if($1){this._manager.handleDblClick($1,$0);}},_onkeydown:function($0){if($0.getKeyIdentifier()==$[46]&&!$0.isAltPressed()){var $1=this.getSelectedItems();for(var $2=0;$2<$1.length;$2++){$1[$2].createDispatchEvent($[1554]);}}},_onkeypress:function($0){this._manager.handleKeyPress($0);},_lastKeyPress:0,_onkeyinput:function($0){if(!this.getEnableInlineFind()){return;}if(((new Date).valueOf()-this._lastKeyPress)>1000){this._pressedString=$[0];}this._pressedString+=String.fromCharCode($0.getCharCode());var $1=this.findString(this._pressedString,null);if($1){var $2=this._manager._getChangeValue();var $3=this._manager.getFireChange();this._manager.setFireChange(false);this._manager._deselectAll();this._manager.setItemSelected($1,true);this._manager.setAnchorItem($1);this._manager.setLeadItem($1);$1.scrollIntoView();this._manager.setFireChange($3);if($3&&this._manager._hasChanged($2)){this._manager._dispatchChange();}}this._lastKeyPress=(new Date).valueOf();$0.preventDefault();},_findItem:function($0,$1,$2){var $3=this.getChildren();if($1==null){$1=$3.indexOf(this.getSelectedItem());if($1==-1){$1=0;}}var $4=$[586]+$2;for(var $5=$1;$5<$3.length;$5++){if($3[$5][$4]($0)){return $3[$5];}}for(var $5=0;$5<$1;$5++){if($3[$5][$4]($0)){return $3[$5];}}return null;},findString:function($0,$1){return this._findItem($0,$1||0,$[6]);},findStringExact:function($0,$1){return this._findItem($0,$1||0,$[1705]);},findValue:function($0,$1){return this._findItem($0,$1||0,$[365]);},findValueExact:function($0,$1){return this._findItem($0,$1||0,$[855]);},_sortItemsCompare:function($0,$1){return $0.key<$1.key?-1:$0.key==$1.key?0:1;},sortItemsByString:function($0){var $1=[];var $2=this.getChildren();for(var $3=0,$4=$2.length;$3<$4;$3++){$1[$3]={key:$2[$3].getLabel(),item:$2[$3]};}$1.sort(this._sortItemsCompare);if($0){$1.reverse();}for(var $3=0;$3<$4;$3++){this.addAt($1[$3].item,$3);}},sortItemsByValue:function($0){var $1=[];var $2=this.getChildren();for(var $3=0,$4=$2.length;$3<$4;$3++){$1[$3]={key:$2[$3].getValue(),item:$2[$3]};}$1.sort(this._sortItemsCompare);if($0){$1.reverse();}for(var $3=0;$3<$4;$3++){this.addAt($1[$3].item,$3);}}},destruct:function(){this._disposeObjects($[213]);}}); >+qx.Class.define($[556],{extend:qx.ui.basic.Terminator,construct:function($0){arguments.callee.base.call(this);if($0!=null){this.setValue($0);}this.initHideFocus();this.initWidth();this.initHeight();this.initTabIndex();this.initSpellCheck();this.__oninput=qx.lang.Function.bindEvent(this._oninputDom,this);this.addEventListener($[199],this._onblur);this.addEventListener($[236],this._onfocus);this.addEventListener($[89],this._oninput);this.addEventListener($[16],this._onkeydown);},statics:{createRegExpValidator:function($0){return function($1){return $0.test($1);};}},events:{"input":$[98]},properties:{allowStretchX:{refine:true,init:true},allowStretchY:{refine:true,init:false},appearance:{refine:true,init:$[567]},tabIndex:{refine:true,init:1},hideFocus:{refine:true,init:true},width:{refine:true,init:$[3]},height:{refine:true,init:$[3]},selectable:{refine:true,init:true},value:{init:$[0],nullable:true,event:$[124],apply:$[209],dispose:true},textAlign:{check:[$[11],$[57],$[9],$[264]],nullable:true,themeable:true,apply:$[287]},spellCheck:{check:$[2],init:false,apply:$[1390]},liveUpdate:{check:$[2],init:false},maxLength:{check:$[5],apply:$[941],nullable:true},readOnly:{check:$[2],apply:$[821],init:false},validator:{check:$[472],event:$[1323],nullable:true}},members:{_inputTag:$[89],_inputType:$[254],_inputOverflow:$[36],_applyElement:function($0,$1){arguments.callee.base.call(this,$0,$1);if($0){var $2=this._inputElement=document.createElement(this._inputTag);if(this._inputType){$2.type=this._inputType;}$2.autoComplete=$[55];$2.setAttribute($[611],$[55]);$2.disabled=this.getEnabled()===false;$2.readOnly=this.getReadOnly();$2.value=this.getValue()?this.getValue():$[0];if(this.getMaxLength()!=null){$2.maxLength=this.getMaxLength();}var $3=$2.style;$3.padding=$3.margin=0;$3.border=$[426];$3.background=$[820];$3.overflow=this._inputOverflow;$3.outline=$[7];$3.resize=$[7];$3.WebkitAppearance=$[7];$3.MozAppearance=$[7];if(qx.core.Variant.isSet($[1],$[350])){$3.margin=$[1414];}this._renderFont();this._renderTextColor();this._renderTextAlign();this._renderCursor();this._renderSpellCheck();if(qx.core.Variant.isSet($[1],$[13])){$2.onpropertychange=this.__oninput;}else{$2.addEventListener($[89],this.__oninput,false);}$0.appendChild($2);}},_postApply:function(){this._syncFieldWidth();this._syncFieldHeight();},_changeInnerWidth:function($0,$1){this._syncFieldWidth();},_changeInnerHeight:function($0,$1){this._syncFieldHeight();},_syncFieldWidth:function(){this._inputElement.style.width=this.getInnerWidth()+$[38];},_syncFieldHeight:function(){this._inputElement.style.height=(this.getInnerHeight()-2)+$[38];},_applyCursor:function($0,$1){if(this._inputElement){this._renderCursor();}},_renderCursor:function(){var $0=this._inputElement.style;var $1=this.getCursor();if($1){if($1==$[292]&&qx.core.Client.getInstance().isMshtml()){$0.cursor=$[204];}else{$0.cursor=$1;}}else{$0.cursor=$[0];}},_applyTextAlign:function($0,$1){if(this._inputElement){this._renderTextAlign();}},_renderTextAlign:function(){this._inputElement.style.textAlign=this.getTextAlign()||$[0];},_applySpellCheck:function($0,$1){if(this._inputElement){this._renderSpellCheck();}},_renderSpellCheck:function(){this._inputElement.spellcheck=this.getSpellCheck();},_applyEnabled:function($0,$1){if(this._inputElement){this._inputElement.disabled=$0===false;}return arguments.callee.base.call(this,$0,$1);},_applyValue:function($0,$1){this._inValueProperty=true;if(this._inputElement){if($0===null){$0=$[0];}if(this._inputElement.value!==$0){this._inputElement.value=$0;}}delete this._inValueProperty;},_applyMaxLength:function($0,$1){if(this._inputElement){this._inputElement.maxLength=$0==null?$[0]:$0;}},_applyReadOnly:function($0,$1){if(this._inputElement){this._inputElement.readOnly=$0;}if($0){this.addState($[501]);}else{this.removeState($[501]);}},_applyTextColor:function($0,$1){qx.theme.manager.Color.getInstance().connect(this._styleTextColor,this,$0);},_styleTextColor:function($0){this.__textColor=$0;this._renderTextColor();},_renderTextColor:function(){var $0=this._inputElement;if($0){$0.style.color=this.__textColor||$[0];}},_applyFont:function($0,$1){qx.theme.manager.Font.getInstance().connect(this._styleFont,this,$0);},_styleFont:function($0){this.__font=$0;this._renderFont();},_renderFont:function(){var $0=this._inputElement;if($0){var $1=this.__font;$1?$1.renderElement($0):qx.ui.core.Font.resetElement($0);}},_visualizeFocus:function(){arguments.callee.base.call(this);if(!qx.event.handler.FocusHandler.mouseFocus&&this.getEnableElementFocus()){try{this._inputElement.focus();}catch(ex){}}},_visualizeBlur:function(){arguments.callee.base.call(this);if(!qx.event.handler.FocusHandler.mouseFocus){try{this._inputElement.blur();}catch(ex){}}},getComputedValue:function(){if(this._inputElement){return this._inputElement.value;}return this.getValue();},getInputElement:function(){return this._inputElement||null;},isValid:function(){var $0=this.getValidator();return !$0||$0(this.getValue());},isComputedValid:function(){var $0=this.getValidator();return !$0||$0(this.getComputedValue());},_computePreferredInnerWidth:function(){return 120;},_computePreferredInnerHeight:function(){return 16;},_ieFirstInputFix:qx.core.Variant.select($[1],{"mshtml":function(){this._inValueProperty=true;this._inputElement.value=this.getValue()===null?$[0]:this.getValue();this._firstInputFixApplied=true;delete this._inValueProperty;},"default":null}),_afterAppear:qx.core.Variant.select($[1],{"mshtml":function(){arguments.callee.base.call(this);if(!this._firstInputFixApplied&&this._inputElement){qx.client.Timer.once(this._ieFirstInputFix,this,1);}},"default":function(){arguments.callee.base.call(this);}}),_firstInputFixApplied:false,_textOnFocus:null,_oninputDom:qx.core.Variant.select($[1],{"mshtml":function($0){if(!this._inValueProperty&&$0.propertyName===$[255]){this.createDispatchDataEvent($[89],this.getComputedValue());}},"default":function($0){this.createDispatchDataEvent($[89],this.getComputedValue());}}),_ontabfocus:function(){this.selectAll();},_onfocus:function(){this._textOnFocus=this.getComputedValue();},_onblur:function(){var $0=this.getComputedValue().toString();if(this._textOnFocus!=$0){this.setValue($0);}if(this.getParent()!=null){this.setSelectionLength(0);}},_oninput:function(){if(!this.isLiveUpdate()){return;}var $0=this.getComputedValue().toString();this.setValue($0);},_onkeydown:function($0){if($0.getKeyIdentifier()==$[191]&&this.getReadOnly()){$0.preventDefault();}},__getRange:qx.core.Variant.select($[1],{"mshtml":function(){this._visualPropertyCheck();return this._inputElement.createTextRange();},"default":null}),__getSelectionRange:qx.core.Variant.select($[1],{"mshtml":function(){this._visualPropertyCheck();return this.getTopLevelWidget().getDocumentElement().selection.createRange();},"default":null}),setSelectionStart:qx.core.Variant.select($[1],{"mshtml":function($0){this._visualPropertyCheck();var $1=this._inputElement.value;var $2=0;while($2<$0){$2=$1.indexOf($[535],$2);if($2==-1){break;}$0--;$2++;}var $3=this.__getRange();$3.collapse();$3.move($[395],$0);$3.select();},"default":function($0){this._visualPropertyCheck();this._inputElement.selectionStart=$0;}}),getSelectionStart:qx.core.Variant.select($[1],{"mshtml":function(){this._visualPropertyCheck();var $0=this.__getSelectionRange();if(!this._inputElement.contains($0.parentElement())){return -1;}var $1=this.__getRange();var $2=this._inputElement.value.length;$1.moveToBookmark($0.getBookmark());$1.moveEnd($[818],$2);return $2-$1.text.length;},"default":function(){this._visualPropertyCheck();return this._inputElement.selectionStart;}}),setSelectionLength:qx.core.Variant.select($[1],{"mshtml":function($0){this._visualPropertyCheck();var $1=this.__getSelectionRange();if(!this._inputElement.contains($1.parentElement())){return;}$1.collapse();$1.moveEnd($[395],$0);$1.select();},"default":function($0){this._visualPropertyCheck();var $1=this._inputElement;if(qx.util.Validation.isValidString($1.value)&&this.getVisibility()){$1.selectionEnd=$1.selectionStart+$0;}}}),getSelectionLength:qx.core.Variant.select($[1],{"mshtml":function(){this._visualPropertyCheck();var $0=this.__getSelectionRange();if(!this._inputElement.contains($0.parentElement())){return 0;}return $0.text.length;},"default":function(){this._visualPropertyCheck();var $0=this._inputElement;return $0.selectionEnd-$0.selectionStart;}}),setSelectionText:qx.core.Variant.select($[1],{"mshtml":function($0){this._visualPropertyCheck();var $1=this.getSelectionStart();var $2=this.__getSelectionRange();if(!this._inputElement.contains($2.parentElement())){return;}$2.text=$0;this.setValue(this._inputElement.value);this.setSelectionStart($1);this.setSelectionLength($0.length);},"default":function($0){this._visualPropertyCheck();var $1=this._inputElement;var $2=$1.value;var $3=$1.selectionStart;var $4=$2.substr(0,$3);var $5=$2.substr($1.selectionEnd);var $6=$1.value=$4+$0+$5;$1.selectionStart=$3;$1.selectionEnd=$3+$0.length;this.setValue($6);}}),getSelectionText:qx.core.Variant.select($[1],{"mshtml":function(){this._visualPropertyCheck();var $0=this.__getSelectionRange();if(!this._inputElement.contains($0.parentElement())){return $[0];}return $0.text;},"default":function(){this._visualPropertyCheck();return this._inputElement.value.substr(this.getSelectionStart(),this.getSelectionLength());}}),selectAll:function(){this._visualPropertyCheck();if(this.getValue()!=null){this.setSelectionStart(0);this.setSelectionLength(this._inputElement.value.length);}this._inputElement.select();this._inputElement.focus();},selectFromTo:qx.core.Variant.select($[1],{"mshtml":function($0,$1){this._visualPropertyCheck();this.setSelectionStart($0);this.setSelectionLength($1-$0);},"default":function($0,$1){this._visualPropertyCheck();var $2=this._inputElement;$2.selectionStart=$0;$2.selectionEnd=$1;}})},destruct:function(){if(this._inputElement){if(qx.core.Variant.isSet($[1],$[13])){this._inputElement.onpropertychange=null;}else{this._inputElement.removeEventListener($[89],this.__oninput,false);}}this._disposeFields($[1684],$[1324],$[1389]);}}); >+qx.Class.define($[495],{extend:qx.ui.basic.Atom,construct:function($0,$1,$2){arguments.callee.base.call(this,$0,$1);if($2!=null){this.setValue($2);}this.addEventListener($[104],this._ondblclick);this.initMinWidth();},events:{"action":$[4]},properties:{appearance:{refine:true,init:$[1589]},minWidth:{refine:true,init:$[3]},width:{refine:true,init:null},allowStretchX:{refine:true,init:true},value:{check:$[6],event:$[124]}},members:{handleStateChange:function(){if(this.hasState($[276])){this.setStyleProperty($[200],$[205]);this.setStyleProperty($[214],$[205]);}else{this.removeStyleProperty($[200]);this.setStyleProperty($[214],$[994]);}},_applyStateStyleFocus:function($0){},matchesString:function($0){$0=String($0);return $0!=$[0]&&this.getLabel().toString().toLowerCase().indexOf($0.toLowerCase())==0;},matchesStringExact:function($0){$0=String($0);return $0!=$[0]&&this.getLabel().toString().toLowerCase()==String($0).toLowerCase();},matchesValue:function($0){$0=String($0);return $0!=$[0]&&this.getValue().toLowerCase().indexOf($0.toLowerCase())==0;},matchesValueExact:function($0){$0=String($0);return $0!=$[0]&&this.getValue().toLowerCase()==String($0).toLowerCase();},_ondblclick:function($0){var $1=this.getCommand();if($1){$1.execute();}}}}); >+qx.Class.define($[1175],{extend:qx.ui.form.TextField,members:{_inputType:$[1303]}}); >+qx.Class.define($[1064],{extend:qx.ui.form.CheckBox,construct:function($0,$1,$2,$3){arguments.callee.base.call(this,$0,$1,$2,$3);this.addEventListener($[40],this._onkeypress);},properties:{appearance:{refine:true,init:$[589]},manager:{check:$[176],nullable:true,apply:$[189]}},members:{INPUT_TYPE:"radio",_applyChecked:function($0,$1){if(this._iconObject){this._iconObject.setChecked($0);}var $2=this.getManager();if($2){$2.handleItemChecked(this,$0);}},_applyManager:function($0,$1){if($1){$1.remove(this);}if($0){$0.add(this);}},_applyName:function($0,$1){if(this._iconObject){this._iconObject.setName($0);}if(this.getManager()){this.getManager().setName($0);}},_applyValue:function($0,$1){if(this.isCreated()&&this._iconObject){this._iconObject.setValue($0);}},_onkeydown:function($0){if($0.getKeyIdentifier()==$[46]&&!$0.isAltPressed()){this.setChecked(true);}},_onkeypress:function($0){switch($0.getKeyIdentifier()){case $[60]:case $[69]:qx.event.handler.FocusHandler.mouseFocus=false;qx.event.handler.FocusHandler.mouseFocus=false;return this.getManager()?this.getManager().selectPrevious(this):true;case $[64]:case $[76]:qx.event.handler.FocusHandler.mouseFocus=false;return this.getManager()?this.getManager().selectNext(this):true;}},_onclick:function($0){this.setChecked(true);},_onkeyup:function($0){if($0.getKeyIdentifier()==$[85]){this.setChecked(true);}}}}); >+qx.Class.define($[1152],{extend:qx.ui.layout.HorizontalBoxLayout,construct:function($0,$1,$2){arguments.callee.base.call(this);if(qx.core.Variant.isSet($[1],$[13])){this.setStyleProperty($[210],$[52]);}this._textfield=new qx.ui.form.TextField;this._textfield.setBorder(null);this._textfield.setWidth($[138]);this._textfield.setAllowStretchY(true);this._textfield.setHeight(null);this._textfield.setLiveUpdate(true);this._textfield.setVerticalAlign($[62]);this._textfield.setAppearance($[1517]);this.add(this._textfield);this._buttonlayout=new qx.ui.layout.VerticalBoxLayout;this._buttonlayout.setWidth($[3]);this.add(this._buttonlayout);this._upbutton=new qx.ui.basic.Image;this._upbutton.setAppearance($[1143]);this._upbutton.setHeight($[138]);this._buttonlayout.add(this._upbutton);this._downbutton=new qx.ui.basic.Image;this._downbutton.setAppearance($[958]);this._downbutton.setHeight($[138]);this._buttonlayout.add(this._downbutton);this._timer=new qx.client.Timer(this.getInterval());this.setManager(new qx.util.range.Range());this.initWrap();this.addEventListener($[40],this._onkeypress,this);this.addEventListener($[16],this._onkeydown,this);this.addEventListener($[84],this._onkeyup,this);this.addEventListener($[184],this._onmousewheel,this);this._textfield.addEventListener($[124],this._ontextchange,this);this._textfield.addEventListener($[89],this._oninput,this);this._textfield.addEventListener($[199],this._onblur,this);this._upbutton.addEventListener($[12],this._onmousedown,this);this._downbutton.addEventListener($[12],this._onmousedown,this);this._timer.addEventListener($[86],this._oninterval,this);if($0!=null){this.setMin($0);}if($2!=null){this.setMax($2);}if($1!=null){this.setValue($1);}this._checkValue=this.__checkValue;this._numberFormat=null;this.initWidth();this.initHeight();this._last_value=$[0];},events:{"change":$[98]},properties:{appearance:{refine:true,init:$[1340]},width:{refine:true,init:60},height:{refine:true,init:22},incrementAmount:{check:$[19],init:1,apply:$[823]},wheelIncrementAmount:{check:$[19],init:1},pageIncrementAmount:{check:$[19],init:10},interval:{check:$[5],init:100},firstInterval:{check:$[5],init:500},minTimer:{check:$[5],init:20},timerDecrease:{check:$[5],init:2},amountGrowth:{check:$[19],init:1.01},wrap:{check:$[2],init:false,apply:$[271]},editable:{check:$[2],init:true,apply:$[320]},manager:{check:$[469],apply:$[189],dispose:true},checkValueFunction:{apply:$[796]},numberFormat:{check:$[692],apply:$[753]},selectTextOnInteract:{check:$[2],init:true}},members:{_applyIncrementAmount:function($0,$1){this._computedIncrementAmount=$0;},_applyEditable:function($0,$1){if(this._textfield){this._textfield.setReadOnly(!$0);}},_applyWrap:function($0,$1){this.getManager().setWrap($0);this._onchange();},_applyManager:function($0,$1){if($1){$1.removeEventListener($[107],this._onchange,this);}if($0){$0.addEventListener($[107],this._onchange,this);}this._onchange();},_applyCheckValueFunction:function($0,$1){this._checkValue=$0;},_applyNumberFormat:function($0,$1){this._numberFormat=$0;this.getManager().setPrecision($0.getMaximumFractionDigits());this._onchange();},_computePreferredInnerWidth:function(){return 50;},_computePreferredInnerHeight:function(){return 14;},_onkeypress:function($0){var $1=$0.getKeyIdentifier();if($1==$[46]&&!$0.isAltPressed()){this._checkValue(true,false);if(this.getSelectTextOnInteract()){this._textfield.selectAll();}}else{switch($1){case $[69]:case $[76]:case $[60]:case $[64]:case $[142]:case $[125]:case $[136]:case $[129]:case $[169]:case $[191]:case $[203]:case $[150]:case $[162]:case $[88]:case $[99]:case $[127]:case $[188]:break;default:if(($1>=$[41]&&$1<=$[172])||($1==$[1027])){return;}if(this._numberFormat){var $2=this._numberFormat._locale;if(($1==qx.locale.Number.getGroupSeparator($2))||($1==qx.locale.Number.getDecimalSeparator($2)))return;}if($0.getModifiers()==0){$0.preventDefault();}}}},_onkeydown:function($0){var $1=$0.getKeyIdentifier();if(this._intervalIncrease==null){switch($1){case $[69]:case $[76]:this._intervalIncrease=$1==$[69];this._intervalMode=$[904];this._resetIncrements();this._checkValue(true,false);this._increment();this._timer.startWith(this.getFirstInterval());break;case $[88]:case $[99]:this._intervalIncrease=$1==$[88];this._intervalMode=$[425];this._resetIncrements();this._checkValue(true,false);this._pageIncrement();this._timer.startWith(this.getFirstInterval());break;}}},_onkeyup:function($0){if(this._intervalIncrease!=null){switch($0.getKeyIdentifier()){case $[69]:case $[76]:case $[88]:case $[99]:this._timer.stop();this._intervalIncrease=null;this._intervalMode=null;}}},_onmousedown:function($0){if(!$0.isLeftButtonPressed()){return;}this._checkValue(true);var $1=$0.getCurrentTarget();$1.addState($[14]);$1.addEventListener($[22],this._onmouseup,this);$1.addEventListener($[105],this._onmouseup,this);this._intervalIncrease=$1==this._upbutton;this._resetIncrements();this._increment();if(this.getSelectTextOnInteract()){this._textfield.selectAll();}this._timer.setInterval(this.getFirstInterval());this._timer.start();},_onmouseup:function($0){var $1=$0.getCurrentTarget();$1.removeState($[14]);$1.removeEventListener($[22],this._onmouseup,this);$1.removeEventListener($[105],this._onmouseup,this);if(this.getSelectTextOnInteract()){this._textfield.selectAll();}this._textfield.setFocused(true);this._timer.stop();this._intervalIncrease=null;},_onmousewheel:function($0){this._checkValue(true);if(this.getManager().incrementValue){this.getManager().incrementValue(this.getWheelIncrementAmount()*$0.getWheelDelta());}else{var $1=this.getManager().getValue()+(this.getWheelIncrementAmount()*$0.getWheelDelta());$1=this.getManager().limit($1);this.getManager().setValue($1);}this._textfield.selectAll();},_ontextchange:function($0){this._last_value=$0.getOldValue();},_oninput:function($0){this._checkValue(true,true);},_onchange:function($0){var $1=this.getManager().getValue();if(this._numberFormat){this._textfield.setValue(this._numberFormat.format($1));}else{this._textfield.setValue(String($1));}if($1==this.getMin()&&!this.getWrap()){this._downbutton.removeState($[14]);this._downbutton.setEnabled(false);this._timer.stop();}else{this._downbutton.resetEnabled();}if($1==this.getMax()&&!this.getWrap()){this._upbutton.removeState($[14]);this._upbutton.setEnabled(false);this._timer.stop();}else{this._upbutton.resetEnabled();}this.createDispatchDataEvent($[107],$1);},_onblur:function($0){this._checkValue(false);},setValue:function($0){this.getManager().setValue(this.getManager().limit($0));},getValue:function(){this._checkValue(true);return this.getManager().getValue();},resetValue:function(){this.getManager().resetValue();},setMax:function($0){return this.getManager().setMax($0);},getMax:function(){return this.getManager().getMax();},setMin:function($0){return this.getManager().setMin($0);},getMin:function(){return this.getManager().getMin();},_intervalIncrease:null,_oninterval:function($0){this._timer.stop();this.setInterval(Math.max(this.getMinTimer(),this.getInterval()-this.getTimerDecrease()));if(this._intervalMode==$[425]){this._pageIncrement();}else{if(this.getInterval()==this.getMinTimer()){this._computedIncrementAmount=this.getAmountGrowth()*this._computedIncrementAmount;}this._increment();}var $1=this.getManager().getWrap();switch(this._intervalIncrease){case true:if(this.getValue()==this.getMax()&&!$1){return;}case false:if(this.getValue()==this.getMin()&&!$1){return;}}this._timer.restartWith(this.getInterval());},__checkValue:function($0,$1){var $2=this._textfield.getInputElement();if(!$2){return;}if(($2.value==$[0])||($2.value==$[137])){if(!$0){this.resetValue();return;}}else{var $3=$2.value;var $4;if(this._numberFormat){var $5=qx.lang.String.escapeRegexpChars(qx.locale.Number.getGroupSeparator(this._numberFormat._locale)+$[0]);var $6=qx.lang.String.escapeRegexpChars(qx.locale.Number.getDecimalSeparator(this._numberFormat._locale)+$[0]);$4=$3.replace(new RegExp($6),$[24]);$4=$4.replace(new RegExp($5,$[289]),$[0]);}else{$4=$3;}var $7=parseFloat($4);var $8=this.getManager().limit($7);var $9=this.getManager().getValue();var $a=$8;if(isNaN($7)||($8!=$7)||($7!=$4)){if($1){this._textfield.setValue(this._last_value);}else{if(isNaN($8)){$a=$9;}else{$a=$8;}}}if($1)return;var $b;if(this._numberFormat){$b=this._numberFormat.format($a);}else{$b=String($a);}if(($a===$9)&&($3!==$b)){this._textfield.setValue($b);}this.getManager().setValue($a);}},_increment:function(){if(this.getManager().incrementValue){this.getManager().incrementValue((this._intervalIncrease?1:-1)*this._computedIncrementAmount);}else{var $0=this.getManager().getValue()+((this._intervalIncrease?1:-1)*this._computedIncrementAmount);$0=this.getManager().limit($0);this.getManager().setValue($0);}},_pageIncrement:function(){if(this.getManager().pageIncrementValue){this.getManager().pageIncrementValue();}else{var $0=this.getManager().getValue()+((this._intervalIncrease?1:-1)*this.getPageIncrementAmount());$0=this.getManager().limit($0);this.getManager().setValue($0);}},_resetIncrements:function(){this._computedIncrementAmount=this.getIncrementAmount();this.resetInterval();}},destruct:function(){var $0=this.getManager();if($0){$0.dispose();}this._disposeObjects($[1659],$[754],$[1135],$[1738],$[284]);}}); >+qx.Interface.define($[469],{properties:{value:{},min:{},max:{},wrap:{}},members:{limit:function($0){return true;}}}); >+qx.Class.define($[1279],{extend:qx.core.Target,implement:[qx.util.range.IRange],events:{"change":$[4]},properties:{value:{check:$[1734],nullable:true,event:$[107],init:0},precision:{check:$[5],nullable:true,event:$[107],init:0},min:{check:$[19],apply:$[760],event:$[107],init:0},max:{check:$[19],apply:$[712],event:$[107],init:100},wrap:{check:$[2],init:false}},members:{_applyMax:function($0,$1){this.setValue(Math.min(this.getValue(),$0));},_applyMin:function($0,$1){this.setValue(Math.max(this.getValue(),$0));},limit:function($0){var $1=this.getPrecision();if($1!=null)var $2=Math.pow(10,$1);if(this.getWrap()){if($1!=null){var $0=Math.round($0*$2)/$2;}if($0<this.getMin()){return (this.getMax()-(this.getMin()-$0))+1;}if($0>this.getMax()){return (this.getMin()+($0-this.getMax()))-1;}}if($0<this.getMin()){return this.getMin();}if($0>this.getMax()){return this.getMax();}if($1!=null){return Math.round($0*$2)/$2;}else{return $0;}}}}); >+qx.Class.define($[1757],{extend:qx.ui.form.TextField,properties:{appearance:{refine:true,init:$[1587]},allowStretchY:{refine:true,init:true},spellCheck:{refine:true,init:true},wrap:{check:$[2],init:true,apply:$[271]}},members:{_inputTag:$[222],_inputType:null,_inputOverflow:$[3],_applyElement:function($0,$1){arguments.callee.base.call(this,$0,$1);this._styleWrap();},_applyWrap:function($0,$1){this._styleWrap();},_styleWrap:qx.core.Variant.select($[1],{"mshtml":function(){if(this._inputElement){this._inputElement.wrap=this.getWrap()?$[373]:$[55];}},"gecko":function(){if(this._inputElement){var $0=this.getWrap()?$[373]:$[55];var $1=this.getWrap()?$[0]:$[3];this._inputElement.setAttribute($[843],$0);this._inputElement.style.overflow=$1;}},"default":function(){if(this._inputElement){this._inputElement.style.whiteSpace=this.getWrap()?$[156]:$[321];}}}),_computePreferredInnerHeight:function(){return 60;}}}); >+qx.Class.define($[1071],{extend:qx.ui.layout.CanvasLayout,construct:function($0,$1){arguments.callee.base.call(this);this._createFrameObject();this._createLegendObject();this.setLegend($0||$[0]);if($1!=null){this.setIcon($1);}this.remapChildrenHandlingTo(this._frameObject);},properties:{appearance:{refine:true,init:$[1009]}},members:{_createLegendObject:function(){this._legendObject=new qx.ui.basic.Atom;this._legendObject.setAppearance($[1217]);this.add(this._legendObject);},_createFrameObject:function(){this._frameObject=new qx.ui.layout.CanvasLayout;this._frameObject.setAppearance($[1760]);this.add(this._frameObject);},getFrameObject:function(){return this._frameObject;},getLegendObject:function(){return this._legendObject;},setLegend:function($0){if($0!==$[0]&&$0!==null){this._legendObject.setLabel($0);this._legendObject.setDisplay(true);}else{this._legendObject.setDisplay(false);}},getLegend:function(){return this._legendObject.getLabel();},setIcon:function($0){this._legendObject.setIcon($0);},getIcon:function(){this._legendObject.getIcon();}},destruct:function(){this._disposeObjects($[1220],$[1799]);}}); >+qx.Class.define($[1407],{extend:qx.ui.layout.HorizontalBoxLayout,construct:function($0,$1,$2,$3){arguments.callee.base.call(this);var $4=this._iconObject=new qx.ui.basic.Image;$4.setWidth(16);$4.setAnonymous(true);var $5=this._labelObject=new qx.ui.basic.Label;$5.setAnonymous(true);$5.setSelectable(false);var $6=this._shortcutObject=new qx.ui.basic.Label;$6.setAnonymous(true);$6.setSelectable(false);var $7=this._arrowObject=new qx.ui.basic.Image;$7.setAppearance($[536]);$7.setAnonymous(true);if($0!=null){this.setLabel($0);}if($1!=null){this.setIcon($1);}if($2!=null){this.setCommand($2);qx.locale.Manager.getInstance().addEventListener($[220],function($8){this._applyCommand($2,$2);},this);}if($3!=null){this.setMenu($3);}this.initMinWidth();this.initHeight();this.addEventListener($[22],this._onmouseup);},properties:{allowStretchX:{refine:true,init:true},appearance:{refine:true,init:$[1254]},minWidth:{refine:true,init:$[3]},height:{refine:true,init:$[3]},icon:{check:$[6],apply:$[181],nullable:true,themeable:true},label:{apply:$[256],nullable:true,dispose:true},menu:{check:$[160],nullable:true,apply:$[449]}},members:{_hasIcon:false,_hasLabel:false,_hasShortcut:false,_hasMenu:false,hasIcon:function(){return this._hasIcon;},hasLabel:function(){return this._hasLabel;},hasShortcut:function(){return this._hasShortcut;},hasMenu:function(){return this._hasMenu;},getIconObject:function(){return this._iconObject;},getLabelObject:function(){return this._labelObject;},getShortcutObject:function(){return this._shortcutObject;},getArrowObject:function(){return this._arrowObject;},getParentMenu:function(){var $0=this.getParent();if($0){$0=$0.getParent();if($0&&$0 instanceof qx.ui.menu.Menu){return $0;}}return null;},_createLayoutImpl:function(){return new qx.ui.menu.ButtonLayoutImpl(this);},_applyIcon:function($0,$1){this._iconObject.setSource($0);if($0&&$0!==$[0]){this._hasIcon=true;if(!$1||$1===$[0]){this.addAtBegin(this._iconObject);}}else{this._hasIcon=false;this.remove(this._iconObject);}},_applyLabel:function($0,$1){this._labelObject.setText($0);if($0&&$0!==$[0]){this._hasLabel=true;if(!$1||$1===$[0]){this.addAt(this._labelObject,this.getFirstChild()==this._iconObject?1:0);}}else{this._hasLabel=false;this.remove(this._labelObject);}},_applyCommand:function($0,$1){var $2=$0?$0.toString():$[0];this._shortcutObject.setText($2);if(qx.util.Validation.isValidString($2)){this._hasShortcut=true;var $3=$1?$1.toString():$[0];if(qx.util.Validation.isInvalidString($3)){if(this.getLastChild()==this._arrowObject){this.addBefore(this._shortcutObject,this._arrowObject);}else{this.addAtEnd(this._shortcutObject);}}}else{this._hasShortcut=false;this.remove(this._shortcutObject);}},_applyMenu:function($0,$1){if($0){this._hasMenu=true;if(qx.util.Validation.isInvalidObject($1)){this.addAtEnd(this._arrowObject);}}else{this._hasMenu=false;this.remove(this._arrowObject);}},_onmouseup:function($0){this.execute();}},destruct:function(){this._disposeObjects($[297],$[249],$[1696],$[1494]);}}); >+qx.Class.define($[160],{extend:qx.ui.popup.Popup,construct:function(){arguments.callee.base.call(this);var $0=this._layout=new qx.ui.menu.Layout;$0.setEdge(0);this.add($0);this.initOpenInterval();this.initCloseInterval();this.addEventListener($[61],this._onmouseover);this.addEventListener($[148],this._onmouseover);this.addEventListener($[105],this._onmouseout);this.addEventListener($[16],this._onkeydown);this.addEventListener($[40],this._onkeypress);this.remapChildrenHandlingTo(this._layout);this.initWidth();this.initHeight();},properties:{appearance:{refine:true,init:$[1457]},width:{refine:true,init:$[3]},height:{refine:true,init:$[3]},iconContentGap:{check:$[5],themeable:true,init:4},labelShortcutGap:{check:$[5],themeable:true,init:10},contentArrowGap:{check:$[5],themeable:true,init:8},contentNonIconPadding:{check:$[5],themeable:true,init:20},contentNonArrowPadding:{check:$[5],themeable:true,init:8},hoverItem:{check:$[66],nullable:true,apply:$[1109]},openItem:{check:$[66],nullable:true,apply:$[1665]},opener:{check:$[66],nullable:true},parentMenu:{check:$[160],nullable:true},fastReopen:{check:$[2],init:false},openInterval:{check:$[5],themeable:true,init:250,apply:$[883]},closeInterval:{check:$[5],themeable:true,init:250,apply:$[980]},subMenuHorizontalOffset:{check:$[5],themeable:true,init:-3},subMenuVerticalOffset:{check:$[5],themeable:true,init:-2},indentShortcuts:{check:$[2],init:true},maxIconWidth:{_cached:true},maxLabelWidth:{_cached:true},maxLabelWidthIncShortcut:{_cached:true},maxShortcutWidth:{_cached:true},maxArrowWidth:{_cached:true},maxContentWidth:{_cached:true},iconPosition:{_cached:true,defaultValue:0},labelPosition:{_cached:true},shortcutPosition:{_cached:true},arrowPosition:{_cached:true},menuButtonNeededWidth:{_cached:true}},members:{_remappingChildTable:[$[422],$[387],$[407],$[486],$[317],$[515],$[464],$[327],$[322],$[1641],$[807],$[1726],$[1036]],_isFocusRoot:false,getLayout:function(){return this._layout;},isSubElement:function($0,$1){if(($0.getParent()===this._layout)||((!$1)&&($0===this))){return true;}for(var $2=this._layout.getChildren(),$3=$2.length,$4=0;$4<$3;$4++){if($2[$4].getMenu&&$2[$4].getMenu()&&$2[$4].getMenu().isSubElement($0,$1)){return true;}}return false;},_beforeAppear:function(){qx.ui.layout.CanvasLayout.prototype._beforeAppear.call(this);qx.ui.menu.Manager.getInstance().add(this);this.bringToFront();this._makeActive();},_beforeDisappear:function(){qx.ui.layout.CanvasLayout.prototype._beforeDisappear.call(this);qx.ui.menu.Manager.getInstance().remove(this);this._makeInactive();this.setHoverItem(null);this.setOpenItem(null);var $0=this.getOpener();if($0){$0.removeState($[14]);}},_applyOpenInterval:function($0,$1){if(!this._openTimer){this._openTimer=new qx.client.Timer($0);this._openTimer.addEventListener($[86],this._onopentimer,this);}else{this._openTimer.setInterval($0);}},_applyCloseInterval:function($0,$1){if(!this._closeTimer){this._closeTimer=new qx.client.Timer(this.getCloseInterval());this._closeTimer.addEventListener($[86],this._onclosetimer,this);}else{this._closeTimer.setInterval($0);}},_applyHoverItem:function($0,$1){if($1){$1.removeState($[43]);}if($0){$0.addState($[43]);}},_applyOpenItem:function($0,$1){if($1){var $2=$1.getMenu();if($2){$2.setParentMenu(null);$2.setOpener(null);$2.hide();}}if($0){var $3=$0.getMenu();if($3){$3.setOpener($0);$3.setParentMenu(this);var $4=$0.getElement();var $5=this.getElement();$3.setTop(qx.bom.element.Location.getTop($4)+this.getSubMenuVerticalOffset());$3.setLeft(qx.bom.element.Location.getLeft($5)+qx.html.Dimension.getBoxWidth($5)+this.getSubMenuHorizontalOffset());$3.show();}}},_computeMaxIconWidth:function(){var $0=this.getLayout().getChildren(),$1=$0.length,$2,$3=0;for(var $4=0;$4<$1;$4++){$2=$0[$4];if($2.hasIcon()){$3=Math.max($3,16);}}return $3;},_computeMaxLabelWidth:function(){var $0=this.getLayout().getChildren(),$1=$0.length,$2,$3=0;for(var $4=0;$4<$1;$4++){$2=$0[$4];if($2.hasLabel()){$3=Math.max($3,$2.getLabelObject().getPreferredBoxWidth());}}return $3;},_computeMaxLabelWidthIncShortcut:function(){var $0=this.getLayout().getChildren(),$1=$0.length,$2,$3=0;for(var $4=0;$4<$1;$4++){$2=$0[$4];if($2.hasLabel()&&$2.hasShortcut()){$3=Math.max($3,$2.getLabelObject().getPreferredBoxWidth());}}return $3;},_computeMaxShortcutWidth:function(){var $0=this.getLayout().getChildren(),$1=$0.length,$2,$3=0;for(var $4=0;$4<$1;$4++){$2=$0[$4];if($2.hasShortcut()){$3=Math.max($3,$2.getShortcutObject().getPreferredBoxWidth());}}return $3;},_computeMaxArrowWidth:function(){var $0=this.getLayout().getChildren(),$1=$0.length,$2,$3=0;for(var $4=0;$4<$1;$4++){$2=$0[$4];if($2.hasMenu()){$3=Math.max($3,4);}}return $3;},_computeMaxContentWidth:function(){var $0;var $1=this.getMaxLabelWidth();var $2=this.getMaxShortcutWidth();if(this.getIndentShortcuts()){var $3=$2+this.getMaxLabelWidthIncShortcut();if($2>0){$3+=this.getLabelShortcutGap();}$0=Math.max($1,$3);}else{$0=$1+$2;if($1>0&&$2>0){$0+=this.getLabelShortcutGap();}}return $0;},_computeIconPosition:function(){return 0;},_computeLabelPosition:function(){var $0=this.getMaxIconWidth();return $0>0?$0+this.getIconContentGap():this.getContentNonIconPadding();},_computeShortcutPosition:function(){return this.getLabelPosition()+this.getMaxContentWidth()-this.getMaxShortcutWidth();},_computeArrowPosition:function(){var $0=this.getMaxContentWidth();return this.getLabelPosition()+($0>0?$0+this.getContentArrowGap():$0);},_invalidateMaxIconWidth:function(){this._cachedMaxIconWidth=null;this._invalidateLabelPosition();this._invalidateMenuButtonNeededWidth();},_invalidateMaxLabelWidth:function(){this._cachedMaxLabelWidth=null;this._cachedMaxArrowWidth=null;this._invalidateShortcutPosition();this._invalidateMaxLabelWidthIncShortcut();this._invalidateMaxContentWidth();this._invalidateMenuButtonNeededWidth();},_invalidateMaxShortcutWidth:function(){this._cachedMaxShortcutWidth=null;this._invalidateArrowPosition();this._invalidateMaxContentWidth();this._invalidateMenuButtonNeededWidth();},_invalidateLabelPosition:function(){this._cachedLabelPosition=null;this._invalidateShortcutPosition();},_invalidateShortcutPosition:function(){this._cachedShortcutPosition=null;this._invalidateArrowPosition();},_computeMenuButtonNeededWidth:function(){var $0=0;var $1=this.getMaxIconWidth();var $2=this.getMaxContentWidth();var $3=this.getMaxArrowWidth();if($1>0){$0+=$1;}else{$0+=this.getContentNonIconPadding();}if($2>0){if($1>0){$0+=this.getIconContentGap();}$0+=$2;}if($3>0){if($1>0||$2>0){$0+=this.getContentArrowGap();}$0+=$3;}else{$0+=this.getContentNonArrowPadding();}return $0;},_onmouseover:function($0){var $1=this.getParentMenu();if($1){$1._closeTimer.stop();var $2=this.getOpener();if($2){$1.setHoverItem($2);}}var $3=$0.getTarget();if($3==this){this._openTimer.stop();this._closeTimer.start();this.setHoverItem(null);return;}var $4=this.getOpenItem();if($4){this.setHoverItem($3);this._openTimer.stop();if($3.hasMenu()){if(this.getFastReopen()){this.setOpenItem($3);this._closeTimer.stop();}else{this._openTimer.start();}}else{this._closeTimer.start();}}else{this.setHoverItem($3);this._openTimer.stop();if($3.hasMenu()){this._openTimer.start();}}},_onmouseout:function($0){this._openTimer.stop();var $1=$0.getTarget();if($1!=this&&$1.hasMenu()){this._closeTimer.start();}this.setHoverItem(null);},_onopentimer:function($0){this._openTimer.stop();var $1=this.getHoverItem();if($1&&$1.hasMenu()){this.setOpenItem($1);}},_onclosetimer:function($0){this._closeTimer.stop();this.setOpenItem(null);},_onkeydown:function($0){if($0.getKeyIdentifier()==$[46]){this._onkeydown_enter($0);}$0.preventDefault();},_onkeypress:function($0){switch($0.getKeyIdentifier()){case $[69]:this._onkeypress_up($0);break;case $[76]:this._onkeypress_down($0);break;case $[60]:this._onkeypress_left($0);break;case $[64]:this._onkeypress_right($0);break;default:return;}$0.preventDefault();},_onkeypress_up:function($0){var $1=this.getHoverItem();var $2=$1?$1.isFirstChild()?this.getLastActiveChild():$1.getPreviousActiveSibling([qx.ui.menu.Separator]):this.getLastActiveChild();this.setHoverItem($2);},_onkeypress_down:function($0){var $1=this.getHoverItem();var $2=$1?$1.isLastChild()?this.getFirstActiveChild():$1.getNextActiveSibling([qx.ui.menu.Separator]):this.getFirstActiveChild();this.setHoverItem($2);},_onkeypress_left:function($0){var $1=this.getOpener();if($1 instanceof qx.ui.menu.Button){var $2=this.getOpener().getParentMenu();$2.setOpenItem(null);$2.setHoverItem($1);$2._makeActive();}else if($1 instanceof qx.ui.toolbar.MenuButton){var $3=$1.getParentToolBar();this.getFocusRoot().setActiveChild($3);$3._onkeypress($0);}},_onkeypress_right:function($0){var $1=this.getHoverItem();if($1){var $2=$1.getMenu();if($2){this.setOpenItem($1);$2.setHoverItem($2.getFirstActiveChild());return;}}else if(!this.getOpenItem()){var $3=this.getLayout().getFirstActiveChild();if($3){$3.hasMenu()?this.setOpenItem($3):this.setHoverItem($3);}}var $4=this.getOpener();if($4 instanceof qx.ui.toolbar.MenuButton){var $5=$4.getParentToolBar();this.getFocusRoot().setActiveChild($5);$5._onkeypress($0);}else if($4 instanceof qx.ui.menu.Button&&$1){var $6=$4.getParentMenu();while($6&&$6 instanceof qx.ui.menu.Menu){$4=$6.getOpener();if($4 instanceof qx.ui.menu.Button){$6=$4.getParentMenu();}else{if($4){$6=$4.getParent();}break;}}if($6 instanceof qx.ui.toolbar.Part){$6=$6.getParent();}if($6 instanceof qx.ui.toolbar.ToolBar){this.getFocusRoot().setActiveChild($6);$6._onkeypress($0);}}},_onkeydown_enter:function($0){var $1=this.getHoverItem();if($1){$1.execute();}qx.ui.menu.Manager.getInstance().update();}},destruct:function(){this.hide();this._disposeObjects($[1000],$[703],$[343]);}}); >+qx.Class.define($[1471],{extend:qx.ui.layout.VerticalBoxLayout,properties:{anonymous:{refine:true,init:true},appearance:{refine:true,init:$[570]}},members:{_createLayoutImpl:function(){return new qx.ui.menu.MenuLayoutImpl(this);}}}); > qx.Class.define($[634],{extend:qx.ui.layout.impl.VerticalBoxLayoutImpl,construct:function($0){arguments.callee.base.call(this,$0);this.setEnableFlexSupport(false);},members:{updateChildrenOnJobQueueFlush:function($0){var $1=this.getWidget();var $2,$3;if($0.preferredInnerWidth){var $2=$1.getChildren(),$4=$2.length,$3;var $5,$6;for(var $7=0;$7<$4;$7++){$3=$2[$7];$5=$3.getChildren();$6=$5.length;for(var $8=0;$8<$6;$8++){$5[$8].addToLayoutChanges($[100]);}}}return arguments.callee.base.call(this,$0);}}}); >-qx.Class.define($[609],{extend:qx.ui.layout.CanvasLayout,construct:function(){arguments.callee.base.call(this);this.initHeight();this.setStyleProperty($[210],$[41]);this.setStyleProperty($[521],$[41]);this._line=new qx.ui.basic.Terminator;this._line.setAnonymous(true);this._line.setAppearance($[1404]);this.add(this._line);this.addEventListener($[12],this._onmousedown);},properties:{height:{refine:true,init:$[3]},appearance:{refine:true,init:$[1367]}},members:{hasIcon:qx.lang.Function.returnFalse,hasLabel:qx.lang.Function.returnFalse,hasShortcut:qx.lang.Function.returnFalse,hasMenu:qx.lang.Function.returnFalse,_onmousedown:function($0){$0.stopPropagation();}},destruct:function(){this._disposeObjects($[1613]);}}); >-qx.Class.define($[1382],{extend:qx.ui.layout.impl.HorizontalBoxLayoutImpl,construct:function($0){arguments.callee.base.call(this,$0);this.setEnableFlexSupport(false);},members:{computeChildrenNeededWidth:function(){var $0=this.getWidget();var $1=$0.getParent().getParent();return $1.getMenuButtonNeededWidth();},updateSelfOnChildOuterWidthChange:function($0){var $1=this.getWidget();var $2=$1.getParent().getParent();switch($0){case $1._iconObject:$2._invalidateMaxIconWidth();break;case $1._labelObject:$2._invalidateMaxLabelWidth();break;case $1._shortcutObject:$2._invalidateMaxShortcutWidth();break;case $1._arrowObject:$2._invalidateMaxArrowWidth();break;}return arguments.callee.base.call(this,$0);},layoutChild_locationX:function($0,$1){var $2=this.getWidget();var $3=$2.getParent().getParent();var $4=null;switch($0){case $2._iconObject:$4=$3.getIconPosition();break;case $2._labelObject:$4=$3.getLabelPosition();break;case $2._shortcutObject:$4=$3.getShortcutPosition();break;case $2._arrowObject:$4=$3.getWidth()-18;break;}if($4!=null){$4+=$2.getPaddingLeft();$0._renderRuntimeLeft($4);}}}}); >-qx.Class.define($[550],{extend:qx.ui.menu.Button,construct:function($0,$1,$2){arguments.callee.base.call(this,$0,null,$1);if($2!=null){this.setChecked($2);}},properties:{appearance:{refine:true,init:$[801]},name:{check:$[6]},value:{check:$[6],event:$[124]},checked:{check:$[2],init:false,apply:$[165]}},members:{_applyChecked:function($0,$1){$0===true?this.addState($[122]):this.removeState($[122]);},execute:function(){this._processExecute();arguments.callee.base.call(this);},_processExecute:function(){this.toggleChecked();}}}); >-qx.Class.define($[1610],{extend:qx.ui.menu.CheckBox,properties:{appearance:{refine:true,init:$[1081]},manager:{check:$[176],nullable:true,apply:$[189]}},members:{_applyChecked:function($0,$1){arguments.callee.base.call(this,$0,$1);var $2=this.getManager();if($2){$2.handleItemChecked(this,$0);}},_applyManager:function($0,$1){if($1){$1.remove(this);}if($0){$0.add(this);}},_applyName:function($0,$1){if(this.getManager()){this.getManager().setName($0);}},_processExecute:function(){this.setChecked(true);}}}); >-qx.Class.define($[693],{extend:qx.ui.toolbar.ToolBar}); >+qx.Class.define($[609],{extend:qx.ui.layout.CanvasLayout,construct:function(){arguments.callee.base.call(this);this.initHeight();this.setStyleProperty($[210],$[41]);this.setStyleProperty($[522],$[41]);this._line=new qx.ui.basic.Terminator;this._line.setAnonymous(true);this._line.setAppearance($[1405]);this.add(this._line);this.addEventListener($[12],this._onmousedown);},properties:{height:{refine:true,init:$[3]},appearance:{refine:true,init:$[1368]}},members:{hasIcon:qx.lang.Function.returnFalse,hasLabel:qx.lang.Function.returnFalse,hasShortcut:qx.lang.Function.returnFalse,hasMenu:qx.lang.Function.returnFalse,_onmousedown:function($0){$0.stopPropagation();}},destruct:function(){this._disposeObjects($[1612]);}}); >+qx.Class.define($[1383],{extend:qx.ui.layout.impl.HorizontalBoxLayoutImpl,construct:function($0){arguments.callee.base.call(this,$0);this.setEnableFlexSupport(false);},members:{computeChildrenNeededWidth:function(){var $0=this.getWidget();var $1=$0.getParent().getParent();return $1.getMenuButtonNeededWidth();},updateSelfOnChildOuterWidthChange:function($0){var $1=this.getWidget();var $2=$1.getParent().getParent();switch($0){case $1._iconObject:$2._invalidateMaxIconWidth();break;case $1._labelObject:$2._invalidateMaxLabelWidth();break;case $1._shortcutObject:$2._invalidateMaxShortcutWidth();break;case $1._arrowObject:$2._invalidateMaxArrowWidth();break;}return arguments.callee.base.call(this,$0);},layoutChild_locationX:function($0,$1){var $2=this.getWidget();var $3=$2.getParent().getParent();var $4=null;switch($0){case $2._iconObject:$4=$3.getIconPosition();break;case $2._labelObject:$4=$3.getLabelPosition();break;case $2._shortcutObject:$4=$3.getShortcutPosition();break;case $2._arrowObject:$4=$3.getWidth()-18;break;}if($4!=null){$4+=$2.getPaddingLeft();$0._renderRuntimeLeft($4);}}}}); >+qx.Class.define($[550],{extend:qx.ui.menu.Button,construct:function($0,$1,$2){arguments.callee.base.call(this,$0,null,$1);if($2!=null){this.setChecked($2);}},properties:{appearance:{refine:true,init:$[802]},name:{check:$[6]},value:{check:$[6],event:$[124]},checked:{check:$[2],init:false,apply:$[165]}},members:{_applyChecked:function($0,$1){$0===true?this.addState($[122]):this.removeState($[122]);},execute:function(){this._processExecute();arguments.callee.base.call(this);},_processExecute:function(){this.toggleChecked();}}}); >+qx.Class.define($[1609],{extend:qx.ui.menu.CheckBox,properties:{appearance:{refine:true,init:$[1081]},manager:{check:$[176],nullable:true,apply:$[189]}},members:{_applyChecked:function($0,$1){arguments.callee.base.call(this,$0,$1);var $2=this.getManager();if($2){$2.handleItemChecked(this,$0);}},_applyManager:function($0,$1){if($1){$1.remove(this);}if($0){$0.add(this);}},_applyName:function($0,$1){if(this.getManager()){this.getManager().setName($0);}},_processExecute:function(){this.setChecked(true);}}}); > qx.Class.define($[908],{extend:qx.ui.toolbar.MenuButton}); >-qx.Class.define($[143],{extend:qx.event.type.MouseEvent,construct:function($0,$1,$2,$3){this._mouseEvent=$1;var $4=null;switch($0){case $[177]:case $[149]:$4=$1.getOriginalTarget();}arguments.callee.base.call(this,$0,$1.getDomEvent(),$2.getElement(),$2,$4,$3);},members:{getMouseEvent:function(){return this._mouseEvent;},startDrag:function(){if(this.getType()!=$[177]){throw new Error("qx.event.type.DragEvent startDrag can only be called during the dragstart event: "+this.getType());}this.stopPropagation();qx.event.handler.DragAndDropHandler.getInstance().startDrag();},addData:function($0,$1){qx.event.handler.DragAndDropHandler.getInstance().addData($0,$1);},getData:function($0){return qx.event.handler.DragAndDropHandler.getInstance().getData($0);},clearData:function(){qx.event.handler.DragAndDropHandler.getInstance().clearData();},getDropDataTypes:function(){return qx.event.handler.DragAndDropHandler.getInstance().getDropDataTypes();},addAction:function($0){qx.event.handler.DragAndDropHandler.getInstance().addAction($0);},removeAction:function($0){qx.event.handler.DragAndDropHandler.getInstance().removeAction($0);},getAction:function(){return qx.event.handler.DragAndDropHandler.getInstance().getCurrentAction();},clearActions:function(){qx.event.handler.DragAndDropHandler.getInstance().clearActions();},setFeedbackWidget:function($0,$1,$2,$3){qx.event.handler.DragAndDropHandler.getInstance().setFeedbackWidget($0,$1,$2,$3);},setCursorPosition:function($0,$1){qx.event.handler.DragAndDropHandler.getInstance().setCursorPosition($0,$1);}},destruct:function(){this._disposeFields($[991]);}}); >-qx.Class.define($[235],{type:$[18],extend:qx.util.manager.Object,construct:function(){arguments.callee.base.call(this);this.__data={};this.__actions={};this.__cursors={};var $0,$1;var $2=[$[232],$[164],$[163],$[915]];for(var $3=0,$4=$2.length;$3<$4;$3++){$1=$2[$3];$0=this.__cursors[$1]=new qx.ui.basic.Image;$0.setAppearance($[1344]+$1);$0.setZIndex(1e8);}},properties:{sourceWidget:{check:$[66],nullable:true},destinationWidget:{check:$[66],nullable:true,apply:$[1508]},currentAction:{check:$[6],nullable:true,event:$[1686]},defaultCursorDeltaX:{check:$[5],init:5},defaultCursorDeltaY:{check:$[5],init:15}},members:{__lastDestinationEvent:null,_applyDestinationWidget:function($0,$1){if($0){$0.dispatchEvent(new qx.event.type.DragEvent($[285],this.__lastDestinationEvent,$0,this.getSourceWidget()));this.__lastDestinationEvent=null;}},addData:function($0,$1){this.__data[$0]=$1;},getData:function($0){return this.__data[$0];},clearData:function(){this.__data={};},getDropDataTypes:function(){var $0=this.getDestinationWidget();var $1=[];if(!$0){return $1;}var $2=$0.getDropDataTypes();for(var $3=0,$4=$2.length;$3<$4;$3++){if($2[$3] in this.__data){$1.push($2[$3]);}}return $1;},getDropTarget:qx.core.Variant.select($[1],{"default":function($0){var $1=$0.getTarget();while($1!=null){if(!$1.supportsDrop(this.__dragCache)){return null;}if(this.supportsDrop($1)){return $1;}$1=$1.getParent();}return null;}}),startDrag:function(){if(!this.__dragCache){throw new Error("Invalid usage of startDrag. Missing dragInfo!");}this.__dragCache.dragHandlerActive=true;this.setSourceWidget(this.__dragCache.sourceWidget);if(this.__feedbackWidget){this.__feedbackWidget.setVisibility(false);var $0=qx.ui.core.ClientDocument.getInstance();$0.add(this.__feedbackWidget);this.__feedbackWidget.setZIndex(1e8);}},_fireUserEvents:function($0,$1,$2){if($0&&$0!=$1&&$0.hasEventListeners($[311])){$0.dispatchEvent(new qx.event.type.DragEvent($[311],$2,$0,$1),true);}if($1){if($0!=$1&&$1.hasEventListeners($[149])){$1.dispatchEvent(new qx.event.type.DragEvent($[149],$2,$1,$0),true);}if($1.hasEventListeners($[515])){$1.dispatchEvent(new qx.event.type.DragEvent($[515],$2,$1,null),true);}}},handleMouseEvent:function($0){switch($0.getType()){case $[12]:return this._handleMouseDown($0);case $[22]:return this._handleMouseUp($0);case $[148]:return this._handleMouseMove($0);}},_handleMouseDown:function($0){if($0.getDefaultPrevented()||!$0.isLeftButtonPressed()){return;}this.__dragCache={startScreenX:$0.getScreenX(),startScreenY:$0.getScreenY(),pageX:$0.getPageX(),pageY:$0.getPageY(),sourceWidget:$0.getTarget(),sourceTopLevel:$0.getTarget().getTopLevelWidget(),dragHandlerActive:false,hasFiredDragStart:false};},_handleMouseMove:function($0){if(!this.__dragCache){return;}if(this.__dragCache.dragHandlerActive){this.__dragCache.pageX=$0.getPageX();this.__dragCache.pageY=$0.getPageY();var $1=this.getDropTarget($0);this.setCurrentAction($1?this._evalNewAction($0.isShiftPressed(),$0.isCtrlPressed(),$0.isAltPressed()):null);this._fireUserEvents(this.__dragCache.currentDropWidget,$1,$0);this.__dragCache.currentDropWidget=$1;this._renderCursor();this._renderFeedbackWidget();}else if(!this.__dragCache.hasFiredDragStart){if(Math.abs($0.getScreenX()-this.__dragCache.startScreenX)>5||Math.abs($0.getScreenY()-this.__dragCache.startScreenY)>5){this.__dragCache.sourceWidget.dispatchEvent(new qx.event.type.DragEvent($[177],$0,this.__dragCache.sourceWidget),true);this.__dragCache.hasFiredDragStart=true;if(this.__dragCache.dragHandlerActive){this._fireUserEvents(this.__dragCache.currentDropWidget,this.__dragCache.sourceWidget,$0);this.__dragCache.currentDropWidget=this.__dragCache.sourceWidget;qx.ui.core.ClientDocument.getInstance().setCapture(true);}}}},_handleMouseUp:function($0){if(!this.__dragCache){return;}if(this.__dragCache.dragHandlerActive){this._endDrag(this.getDropTarget($0),$0);}else{this.__dragCache=null;}},handleKeyEvent:function($0){if(!this.__dragCache){return;}switch($0.getType()){case $[16]:this._handleKeyDown($0);return;case $[88]:this._handleKeyUp($0);return;}},_handleKeyDown:function($0){if($0.getKeyIdentifier()==$[129]){this.cancelDrag($0);}else if(this.getCurrentAction()!=null){switch($0.getKeyIdentifier()){case $[142]:case $[125]:case $[136]:this.setAction(this._evalNewAction($0.isShiftPressed(),$0.isCtrlPressed(),$0.isAltPressed()));this._renderCursor();$0.preventDefault();}}},_handleKeyUp:function($0){var $1=$0.getKeyIdentifier()==$[142];var $2=$0.getKeyIdentifier()==$[125];var $3=$0.getKeyIdentifier()==$[136];if($1||$2||$3){if(this.getCurrentAction()!=null){this.setAction(this._evalNewAction(!$1&&$0.isShiftPressed(),!$2&&$0.isCtrlPressed(),!$3&&$0.isAltPressed()));this._renderCursor();$0.preventDefault();}}},cancelDrag:function($0){if(!this.__dragCache){return;}if(this.__dragCache.dragHandlerActive){this._endDrag(null,$0);}else{this.__dragCache=null;}},globalCancelDrag:function(){if(this.__dragCache&&this.__dragCache.dragHandlerActive){this._endDragCore();}},_endDrag:function($0,$1){if($0){this.__lastDestinationEvent=$1;this.setDestinationWidget($0);}this.getSourceWidget().dispatchEvent(new qx.event.type.DragEvent($[489],$1,this.getSourceWidget(),$0),true);this._fireUserEvents(this.__dragCache&&this.__dragCache.currentDropWidget,null,$1);this._endDragCore();},_endDragCore:function(){if(this.__feedbackWidget){var $0=qx.ui.core.ClientDocument.getInstance();$0.remove(this.__feedbackWidget);if(this.__feedbackAutoDispose){this.__feedbackWidget.dispose();}this.__feedbackWidget=null;}var $1=this.__cursor;if($1){$1._style.display=$[7];this.__cursor=null;}this._cursorDeltaX=null;this._cursorDeltaY=null;if(this.__dragCache){this.__dragCache.currentDropWidget=null;this.__dragCache=null;}qx.ui.core.ClientDocument.getInstance().setCapture(false);this.clearData();this.clearActions();this.setSourceWidget(null);this.setDestinationWidget(null);},setCursorPosition:function($0,$1){this._cursorDeltaX=$0;this._cursorDeltaY=$1;},_renderCursor:function(){var $0;var $1=this.__cursor;switch(this.getCurrentAction()){case $[232]:$0=this.__cursors.move;break;case $[164]:$0=this.__cursors.copy;break;case $[163]:$0=this.__cursors.alias;break;default:$0=this.__cursors.nodrop;}if($0!=$1&&$1!=null){$1._style.display=$[7];}if(!$0._initialLayoutDone){qx.ui.core.ClientDocument.getInstance().add($0);qx.ui.core.Widget.flushGlobalQueues();}$0._renderRuntimeLeft(this.__dragCache.pageX+((this._cursorDeltaX!=null)?this._cursorDeltaX:this.getDefaultCursorDeltaX()));$0._renderRuntimeTop(this.__dragCache.pageY+((this._cursorDeltaY!=null)?this._cursorDeltaY:this.getDefaultCursorDeltaY()));if($0!=$1){$0._style.display=$[0];}this.__cursor=$0;},supportsDrop:function($0){var $1=$0.getDropDataTypes();if(!$1){return false;}for(var $2=0;$2<$1.length;$2++){if($1[$2] in this.__data){return true;}}return false;},addAction:function($0,$1){this.__actions[$0]=true;if($1||this.getCurrentAction()==null){this.setCurrentAction($0);}},clearActions:function(){this.__actions={};this.setCurrentAction(null);},removeAction:function($0){delete this.__actions[$0];if(this.getCurrentAction()==$0){this.setCurrentAction(null);}},setAction:function($0){if($0!=null&&!($0 in this.__actions)){this.addAction($0,true);}else{this.setCurrentAction($0);}},_evalNewAction:function($0,$1,$2){if($0&&$1&&$[163] in this.__actions){return $[163];}else if($0&&$2&&$[164] in this.__actions){return $[164];}else if($0&&$[232] in this.__actions){return $[232];}else if($2&&$[163] in this.__actions){return $[163];}else if($1&&$[164] in this.__actions){return $[164];}else{for(var $3 in this.__actions){return $3;}}return null;},setFeedbackWidget:function($0,$1,$2,$3){this.__feedbackWidget=$0;this.__feedbackDeltaX=($1!=null)?$1:10;this.__feedbackDeltaY=($2!=null)?$2:10;this.__feedbackAutoDispose=$3?true:false;},_renderFeedbackWidget:function(){if(this.__feedbackWidget){this.__feedbackWidget.setVisibility(true);this.__feedbackWidget._renderRuntimeLeft(this.__dragCache.pageX+this.__feedbackDeltaX);this.__feedbackWidget._renderRuntimeTop(this.__dragCache.pageY+this.__feedbackDeltaY);}}},destruct:function(){this._disposeObjectDeep($[1457],1);this._disposeObjects($[543]);this._disposeFields($[1241],$[1599],$[924],$[1581]);}}); >-qx.Class.define($[1407],{statics:{getWindow:qx.core.Variant.select($[1],{"mshtml":function($0){try{return $0.contentWindow;}catch(ex){return null;}},"default":function($0){try{var $1=qx.html.Iframe.getDocument($0);return $1?$1.defaultView:null;}catch(ex){return null;}}}),getDocument:qx.core.Variant.select($[1],{"mshtml":function($0){try{var $1=qx.html.Iframe.getWindow($0);return $1?$1.document:null;}catch(ex){return null;}},"default":function($0){try{return $0.contentDocument;}catch(ex){return null;}}}),getBody:function($0){var $1=qx.html.Iframe.getDocument($0);return $1?$1.getElementsByTagName($[126])[0]:null;}}}); >-qx.Class.define($[509],{extend:qx.core.Target,construct:function($0){arguments.callee.base.call(this);this.setRequest($0);$0.setTransport(this);},events:{"sending":$[4],"receiving":$[4],"completed":$[94],"aborted":$[94],"failed":$[94],"timeout":$[94]},statics:{typesOrder:[$[293],$[294],$[1169]],typesReady:false,typesAvailable:{},typesSupported:{},registerType:function($0,$1){qx.io.remote.Exchange.typesAvailable[$1]=$0;},initTypes:function(){if(qx.io.remote.Exchange.typesReady){return;}for(var $0 in qx.io.remote.Exchange.typesAvailable){var $1=qx.io.remote.Exchange.typesAvailable[$0];if($1.isSupported()){qx.io.remote.Exchange.typesSupported[$0]=$1;}}qx.io.remote.Exchange.typesReady=true;if(qx.lang.Object.isEmpty(qx.io.remote.Exchange.typesSupported)){throw new Error("No supported transport types were found!");}},canHandle:function($0,$1,$2){if(!qx.lang.Array.contains($0.handles.responseTypes,$2)){return false;}for(var $3 in $1){if(!$0.handles[$3]){return false;}}return true;},_nativeMap:{0:$[130],1:$[71],2:$[29],3:$[39],4:$[15]},wasSuccessful:function($0,$1,$2){if($2){switch($0){case null:case 0:return true;case -1:return $1<4;default:return typeof $0===$[65];}}else{switch($0){case -1:{};return $1<4;case 200:case 304:return true;case 201:case 202:case 203:case 204:case 205:return true;case 206:{};return $1!==4;case 300:case 301:case 302:case 303:case 305:case 400:case 401:case 402:case 403:case 404:case 405:case 406:case 407:case 408:case 409:case 410:case 411:case 412:case 413:case 414:case 415:case 500:case 501:case 502:case 503:case 504:case 505:{};return false;case 12002:case 12029:case 12030:case 12031:case 12152:case 13030:{};return false;default:if($0>206&&$0<300){return true;}qx.log.Logger.getClassLogger(qx.io.remote.Exchange).debug("Unknown status code: "+$0+" ("+$1+")");return false;}}},statusCodeToString:function($0){switch($0){case -1:return $[1129];case 200:return $[1619];case 304:return $[565];case 206:return $[595];case 204:return $[1145];case 300:return $[1400];case 301:return $[1481];case 302:return $[838];case 303:return $[659];case 305:return $[549];case 400:return $[1364];case 401:return $[1547];case 402:return $[1460];case 403:return $[1199];case 404:return $[1531];case 405:return $[1616];case 406:return $[747];case 407:return $[1216];case 408:return $[1363];case 409:return $[1090];case 410:return $[1544];case 411:return $[1678];case 412:return $[1628];case 413:return $[1291];case 414:return $[746];case 415:return $[1623];case 500:return $[984];case 501:return $[561];case 502:return $[677];case 503:return $[1607];case 504:return $[1647];case 505:return $[900];case 12002:return $[976];case 12029:return $[310];case 12030:return $[310];case 12031:return $[310];case 12152:return $[778];case 13030:return $[1504];default:return $[1126];}}},properties:{request:{check:$[513],nullable:true},implementation:{check:$[437],nullable:true,apply:$[1268]},state:{check:[$[71],$[29],$[39],$[15],$[33],$[32],$[27]],init:$[71],event:$[290],apply:$[296]}},members:{send:function(){var $0=this.getRequest();if(!$0){return this.error("Please attach a request object first");}qx.io.remote.Exchange.initTypes();var $1=qx.io.remote.Exchange.typesOrder;var $2=qx.io.remote.Exchange.typesSupported;var $3=$0.getResponseType();var $4={};if($0.getAsynchronous()){$4.asynchronous=true;}else{$4.synchronous=true;}if($0.getCrossDomain()){$4.crossDomain=true;}if($0.getFileUpload()){$4.fileUpload=true;}for(var $5 in $0.getFormFields()){$4.programaticFormFields=true;break;}var $6,$7;for(var $8=0,$9=$1.length;$8<$9;$8++){$6=$2[$1[$8]];if($6){if(!qx.io.remote.Exchange.canHandle($6,$4,$3)){continue;}try{{};$7=new $6;this.setImplementation($7);$7.setUseBasicHttpAuth($0.getUseBasicHttpAuth());$7.send();return true;}catch(ex){return this.error("Request handler throws error",ex);}}}this.error("There is no transport implementation available to handle this request: "+$0);},abort:function(){var $0=this.getImplementation();if($0){{};$0.abort();}else{{};this.setState($[33]);}},timeout:function(){var $0=this.getImplementation();if($0){this.warn("Timeout: implementation "+$0.toHashCode());$0.timeout();}else{this.warn("Timeout: forcing state to timeout");this.setState($[32]);}if(this.getRequest()){this.getRequest().setTimeout(0);}},_onsending:function($0){this.setState($[29]);},_onreceiving:function($0){this.setState($[39]);},_oncompleted:function($0){this.setState($[15]);},_onabort:function($0){this.setState($[33]);},_onfailed:function($0){this.setState($[27]);},_ontimeout:function($0){this.setState($[32]);},_applyImplementation:function($0,$1){if($1){$1.removeEventListener($[29],this._onsending,this);$1.removeEventListener($[39],this._onreceiving,this);$1.removeEventListener($[15],this._oncompleted,this);$1.removeEventListener($[33],this._onabort,this);$1.removeEventListener($[32],this._ontimeout,this);$1.removeEventListener($[27],this._onfailed,this);}if($0){var $2=this.getRequest();$0.setUrl($2.getUrl());$0.setMethod($2.getMethod());$0.setAsynchronous($2.getAsynchronous());$0.setUsername($2.getUsername());$0.setPassword($2.getPassword());$0.setParameters($2.getParameters());$0.setFormFields($2.getFormFields());$0.setRequestHeaders($2.getRequestHeaders());$0.setData($2.getData());$0.setResponseType($2.getResponseType());$0.addEventListener($[29],this._onsending,this);$0.addEventListener($[39],this._onreceiving,this);$0.addEventListener($[15],this._oncompleted,this);$0.addEventListener($[33],this._onabort,this);$0.addEventListener($[32],this._ontimeout,this);$0.addEventListener($[27],this._onfailed,this);}},_applyState:function($0,$1){{};switch($0){case $[29]:this.createDispatchEvent($[29]);break;case $[39]:this.createDispatchEvent($[39]);break;case $[15]:case $[33]:case $[32]:case $[27]:var $2=this.getImplementation();if(!$2){break;}if(this.hasEventListeners($0)){var $3=new qx.io.remote.Response($0);if($0==$[15]){var $4=$2.getResponseContent();$3.setContent($4);if($4===null){{};$0=$[27];}}$3.setStatusCode($2.getStatusCode());$3.setResponseHeaders($2.getResponseHeaders());this.dispatchEvent($3);}this.setImplementation(null);$2.dispose();break;}}},settings:{"qx.ioRemoteDebug":false,"qx.ioRemoteDebugData":false},destruct:function(){var $0=this.getImplementation();if($0){this.setImplementation(null);$0.dispose();}this.setRequest(null);}}); >-qx.Class.define($[94],{extend:qx.event.type.Event,construct:function($0){arguments.callee.base.call(this,$0);},properties:{state:{check:$[5],nullable:true},statusCode:{check:$[5],nullable:true},content:{nullable:true},responseHeaders:{check:$[119],nullable:true}},members:{getResponseHeader:function($0){var $1=this.getResponseHeaders();if($1){return $1[$0]||null;}return null;},getData:function(){qx.log.Logger.deprecatedMethodWarning(arguments.callee,$[1154]);return this;}}}); >-qx.Class.define($[437],{type:$[51],extend:qx.core.Target,construct:function(){arguments.callee.base.call(this);},events:{"created":$[4],"configured":$[4],"sending":$[4],"receiving":$[4],"completed":$[4],"aborted":$[4],"failed":$[4],"timeout":$[4]},properties:{url:{check:$[6],nullable:true},method:{check:$[6],nullable:true},asynchronous:{check:$[2],nullable:true},data:{check:$[6],nullable:true},username:{check:$[6],nullable:true},password:{check:$[6],nullable:true},state:{check:[$[130],$[71],$[29],$[39],$[15],$[33],$[32],$[27]],init:$[130],event:$[290],apply:$[296]},requestHeaders:{check:$[119],nullable:true},parameters:{check:$[119],nullable:true},formFields:{check:$[119],nullable:true},responseType:{check:$[6],nullable:true},useBasicHttpAuth:{check:$[2],nullable:true}},members:{send:function(){throw new Error("send is abstract");},abort:function(){{};this.setState($[33]);},timeout:function(){{};this.setState($[32]);},failed:function(){{};this.setState($[27]);},setRequestHeader:function($0,$1){throw new Error("setRequestHeader is abstract");},getResponseHeader:function($0){throw new Error("getResponseHeader is abstract");},getResponseHeaders:function(){throw new Error("getResponseHeaders is abstract");},getStatusCode:function(){throw new Error("getStatusCode is abstract");},getStatusText:function(){throw new Error("getStatusText is abstract");},getResponseText:function(){throw new Error("getResponseText is abstract");},getResponseXml:function(){throw new Error("getResponseXml is abstract");},getFetchedLength:function(){throw new Error("getFetchedLength is abstract");},_applyState:function($0,$1){{};switch($0){case $[130]:this.createDispatchEvent($[130]);break;case $[71]:this.createDispatchEvent($[71]);break;case $[29]:this.createDispatchEvent($[29]);break;case $[39]:this.createDispatchEvent($[39]);break;case $[15]:this.createDispatchEvent($[15]);break;case $[33]:this.createDispatchEvent($[33]);break;case $[27]:this.createDispatchEvent($[27]);break;case $[32]:this.createDispatchEvent($[32]);break;}return true;}}}); >-qx.Class.define($[1326],{statics:{JAVASCRIPT:"text/javascript",JSON:"application/json",XML:"application/xml",TEXT:"text/plain",HTML:"text/html"}}); >-qx.Class.define($[293],{extend:qx.io.remote.AbstractRemoteTransport,construct:function(){arguments.callee.base.call(this);this._req=qx.io.remote.XmlHttpTransport.createRequestObject();this._req.onreadystatechange=qx.lang.Function.bind(this._onreadystatechange,this);},events:{"created":$[4],"configured":$[4],"sending":$[4],"receiving":$[4],"completed":$[4],"aborted":$[4],"failed":$[4],"timeout":$[4]},statics:{handles:{synchronous:true,asynchronous:true,crossDomain:false,fileUpload:false,programaticFormFields:false,responseTypes:[qx.util.Mime.TEXT,qx.util.Mime.JAVASCRIPT,qx.util.Mime.JSON,qx.util.Mime.XML,qx.util.Mime.HTML]},requestObjects:[],requestObjectCount:0,isSupported:function(){return qx.net.HttpRequest.create()!=null?true:false;},createRequestObject:function(){return qx.net.HttpRequest.create();},__dummy:function(){}},members:{_localRequest:false,_lastReadyState:0,getRequest:function(){return this._req;},send:function(){this._lastReadyState=0;var $0=this.getRequest();var $1=this.getMethod();var $2=this.getAsynchronous();var $3=this.getUrl();var $4=(qx.core.Client.getInstance().getRunsLocally()&&!(/^http(s){0,1}\:/.test($3)));this._localRequest=$4;var $5=this.getParameters();var $6=[];for(var $7 in $5){var $8=$5[$7];if($8 instanceof Array){for(var $9=0;$9<$8.length;$9++){$6.push(encodeURIComponent($7)+$[197]+encodeURIComponent($8[$9]));}}else{$6.push(encodeURIComponent($7)+$[197]+encodeURIComponent($8));}}if($6.length>0){$3+=($3.indexOf($[194])>=0?$[93]:$[194])+$6.join($[93]);}var $a=function($b){var $c=$[941];var $d=$[0];var $e,$f,$g;var $h,$i,$j,$k;var $9=0;do{$e=$b.charCodeAt($9++);$f=$b.charCodeAt($9++);$g=$b.charCodeAt($9++);$h=$e>>2;$i=(($e&3)<<4)|($f>>4);$j=(($f&15)<<2)|($g>>6);$k=$g&63;if(isNaN($f)){$j=$k=64;}else if(isNaN($g)){$k=64;}$d+=$c.charAt($h)+$c.charAt($i)+$c.charAt($j)+$c.charAt($k);}while($9<$b.length);return $d;};$0.onreadystatechange=qx.lang.Function.bind(this._onreadystatechange,this);if(this.getUsername()){if(this.getUseBasicHttpAuth()){$0.open($1,$3,$2);$0.setRequestHeader($[874],$[1191]+$a(this.getUsername()+$[1469]+this.getPassword()));}else{$0.open($1,$3,$2,this.getUsername(),this.getPassword());}}else{$0.open($1,$3,$2);}$0.setRequestHeader($[1208],window.location.href);var $l=this.getRequestHeaders();for(var $7 in $l){$0.setRequestHeader($7,$l[$7]);}try{{};$0.send(this.getData());}catch(ex){if($4){this.failedLocally();}else{this.error("Failed to send data: "+ex,"send");this.failed();}return;}if(!$2){this._onreadystatechange();}},failedLocally:function(){if(this.getState()===$[27]){return;}this.warn("Could not load from file: "+this.getUrl());this.failed();},_onreadystatechange:function($0){switch(this.getState()){case $[15]:case $[33]:case $[27]:case $[32]:{};return;}var $1=this.getReadyState();if($1==4){if(!qx.io.remote.Exchange.wasSuccessful(this.getStatusCode(),$1,this._localRequest)){return this.failed();}}while(this._lastReadyState<$1){this.setState(qx.io.remote.Exchange._nativeMap[++this._lastReadyState]);}},getReadyState:function(){var $0=null;try{$0=this._req.readyState;}catch(ex){}return $0;},setRequestHeader:function($0,$1){this._req.setRequestHeader($0,$1);},getResponseHeader:function($0){var $1=null;try{this.getRequest().getResponseHeader($0)||null;}catch(ex){}return $1;},getStringResponseHeaders:function(){var $0=null;try{var $1=this._req.getAllResponseHeaders();if($1){$0=$1;}}catch(ex){}return $0;},getResponseHeaders:function(){var $0=this.getStringResponseHeaders();var $1={};if($0){var $2=$0.split(/[\r\n]+/g);for(var $3=0,$4=$2.length;$3<$4;$3++){var $5=$2[$3].match(/^([^:]+)\s*:\s*(.+)$/i);if($5){$1[$5[1]]=$5[2];}}}return $1;},getStatusCode:function(){var $0=-1;try{$0=this.getRequest().status;}catch(ex){}return $0;},getStatusText:function(){var $0=$[0];try{$0=this.getRequest().statusText;}catch(ex){}return $0;},getResponseText:function(){var $0=null;var $1=this.getStatusCode();var $2=this.getReadyState();if(qx.io.remote.Exchange.wasSuccessful($1,$2,this._localRequest)){try{$0=this.getRequest().responseText;}catch(ex){}}return $0;},getResponseXml:function(){var $0=null;var $1=this.getStatusCode();var $2=this.getReadyState();if(qx.io.remote.Exchange.wasSuccessful($1,$2,this._localRequest)){try{$0=this.getRequest().responseXML;}catch(ex){}}if(typeof $0==$[28]&&$0!=null){if(!$0.documentElement){var $3=String(this.getRequest().responseText).replace(/<\?xml[^\?]*\?>/,$[0]);$0.loadXML($3);}if(!$0.documentElement){throw new Error("Missing Document Element!");}if($0.documentElement.tagName==$[1385]){throw new Error("XML-File is not well-formed!");}}else{throw new Error("Response was not a valid xml document ["+this.getRequest().responseText+"]");}return $0;},getFetchedLength:function(){var $0=this.getResponseText();return typeof $0==$[8]?$0.length:0;},getResponseContent:function(){if(this.getState()!==$[15]){{};return null;}{};var $0=this.getResponseText();switch(this.getResponseType()){case qx.util.Mime.TEXT:case qx.util.Mime.HTML:{};return $0;case qx.util.Mime.JSON:{};try{if($0&&$0.length>0){return qx.io.Json.parseQx($0)||null;}else{return null;}}catch(ex){this.error("Could not execute json: ["+$0+"]",ex);return $[1275]+$0+$[1546];}case qx.util.Mime.JAVASCRIPT:{};try{if($0&&$0.length>0){return window.eval($0)||null;}else{return null;}}catch(ex){this.error("Could not execute javascript: ["+$0+"]",ex);return null;}case qx.util.Mime.XML:$0=this.getResponseXml();{};return $0||null;default:this.warn("No valid responseType specified ("+this.getResponseType()+")!");return null;}},_applyState:function($0,$1){{};switch($0){case $[130]:this.createDispatchEvent($[130]);break;case $[71]:this.createDispatchEvent($[71]);break;case $[29]:this.createDispatchEvent($[29]);break;case $[39]:this.createDispatchEvent($[39]);break;case $[15]:this.createDispatchEvent($[15]);break;case $[27]:this.createDispatchEvent($[27]);break;case $[33]:this.getRequest().abort();this.createDispatchEvent($[33]);break;case $[32]:this.getRequest().abort();this.createDispatchEvent($[32]);break;}}},defer:function($0,$1){qx.io.remote.Exchange.registerType(qx.io.remote.XmlHttpTransport,$[293]);},destruct:function(){var $0=this.getRequest();if($0){$0.onreadystatechange=qx.io.remote.XmlHttpTransport.__dummy;switch($0.readyState){case 1:case 2:case 3:$0.abort();}}this._disposeFields($[1383]);}}); >-qx.Class.define($[1712],{statics:{create:qx.core.Variant.select($[1],{"default":function(){return new XMLHttpRequest;},"mshtml":qx.lang.Object.select(location.protocol!==$[441]&&window.XMLHttpRequest?$[779]:$[1603],{"native":function(){return new XMLHttpRequest;},"activeX":function(){if(this.__server){return new ActiveXObject(this.__server);}var $0=[$[1261],$[1670],$[905],$[1739],$[1110]];var $1;var $2;for(var $3=0,$4=$0.length;$3<$4;$3++){$2=$0[$3];try{$1=new ActiveXObject($2);break;}catch(ex){$1=null;}}if($1){this.__server=$2;}return $1;}})})}}); >-qx.Class.define($[294],{extend:qx.io.remote.AbstractRemoteTransport,construct:function(){arguments.callee.base.call(this);var $0=(new Date).valueOf();var $1=$[1289]+$0;var $2=$[1166]+$0;if(qx.core.Variant.isSet($[1],$[13])){this._frame=document.createElement($[811]+$1+$[1644]);}else{this._frame=document.createElement($[239]);}this._frame.src=$[545];this._frame.id=this._frame.name=$1;this._frame.onload=qx.lang.Function.bind(this._onload,this);this._frame.style.display=$[7];document.body.appendChild(this._frame);this._form=document.createElement($[1067]);this._form.target=$1;this._form.id=this._form.name=$2;this._form.style.display=$[7];document.body.appendChild(this._form);this._data=document.createElement($[222]);this._data.id=this._data.name=$[663];this._form.appendChild(this._data);this._frame.onreadystatechange=qx.lang.Function.bind(this._onreadystatechange,this);},statics:{handles:{synchronous:false,asynchronous:true,crossDomain:false,fileUpload:true,programaticFormFields:true,responseTypes:[qx.util.Mime.TEXT,qx.util.Mime.JAVASCRIPT,qx.util.Mime.JSON,qx.util.Mime.XML,qx.util.Mime.HTML]},isSupported:function(){return true;},_numericMap:{"uninitialized":1,"loading":2,"loaded":2,"interactive":3,"complete":4}},members:{_lastReadyState:0,send:function(){var $0=this.getMethod();var $1=this.getUrl();var $2=this.getParameters();var $3=[];for(var $4 in $2){var $5=$2[$4];if($5 instanceof Array){for(var $6=0;$6<$5.length;$6++){$3.push(encodeURIComponent($4)+$[197]+encodeURIComponent($5[$6]));}}else{$3.push(encodeURIComponent($4)+$[197]+encodeURIComponent($5));}}if($3.length>0){$1+=($1.indexOf($[194])>=0?$[93]:$[194])+$3.join($[93]);}var $7=this.getFormFields();for(var $4 in $7){var $8=document.createElement($[222]);$8.name=$4;$8.appendChild(document.createTextNode($7[$4]));this._form.appendChild($8);}this._form.action=$1;this._form.method=$0;this._data.appendChild(document.createTextNode(this.getData()));this._form.submit();this.setState($[29]);},_onload:function($0){if(this._form.src){return;}this._switchReadyState(qx.io.remote.IframeTransport._numericMap.complete);},_onreadystatechange:function($0){this._switchReadyState(qx.io.remote.IframeTransport._numericMap[this._frame.readyState]);},_switchReadyState:function($0){switch(this.getState()){case $[15]:case $[33]:case $[27]:case $[32]:this.warn("Ignore Ready State Change");return;}while(this._lastReadyState<$0){this.setState(qx.io.remote.Exchange._nativeMap[++this._lastReadyState]);}},setRequestHeader:function($0,$1){},getResponseHeader:function($0){return null;},getResponseHeaders:function(){return {};},getStatusCode:function(){return 200;},getStatusText:function(){return $[0];},getIframeWindow:function(){return qx.html.Iframe.getWindow(this._frame);},getIframeDocument:function(){return qx.html.Iframe.getDocument(this._frame);},getIframeBody:function(){return qx.html.Iframe.getBody(this._frame);},getIframeTextContent:function(){var $0=this.getIframeBody();if(!$0){return null;}if(!$0.firstChild){return $[0];}if($0.firstChild.tagName&&$0.firstChild.tagName.toLowerCase()==$[544]){return $0.firstChild.innerHTML;}else{return $0.innerHTML;}},getIframeHtmlContent:function(){var $0=this.getIframeBody();return $0?$0.innerHTML:null;},getFetchedLength:function(){return 0;},getResponseContent:function(){if(this.getState()!==$[15]){{};return null;}{};var $0=this.getIframeTextContent();switch(this.getResponseType()){case qx.util.Mime.TEXT:{};return $0;break;case qx.util.Mime.HTML:$0=this.getIframeHtmlContent();{};return $0;break;case qx.util.Mime.JSON:$0=this.getIframeHtmlContent();{};try{return $0&&$0.length>0?qx.io.Json.parseQx($0):null;}catch(ex){return this.error("Could not execute json: ("+$0+")",ex);}case qx.util.Mime.JAVASCRIPT:$0=this.getIframeHtmlContent();{};try{return $0&&$0.length>0?window.eval($0):null;}catch(ex){return this.error("Could not execute javascript: ("+$0+")",ex);}case qx.util.Mime.XML:$0=this.getIframeDocument();{};return $0;default:this.warn("No valid responseType specified ("+this.getResponseType()+")!");return null;}}},defer:function($0,$1,$2){qx.io.remote.Exchange.registerType(qx.io.remote.IframeTransport,$[294]);},destruct:function(){if(this._frame){this._frame.onload=null;this._frame.onreadystatechange=null;if(qx.core.Variant.isSet($[1],$[21])){this._frame.src=qx.io.Alias.getInstance().resolve($[455]);}document.body.removeChild(this._frame);}if(this._form){document.body.removeChild(this._form);}this._disposeFields($[307],$[1632]);}}); >-qx.Class.define($[967],{type:$[18],extend:qx.core.Target,construct:function(){arguments.callee.base.call(this);this._queue=[];this._active=[];this._totalRequests=0;this._timer=new qx.client.Timer(500);this._timer.addEventListener($[85],this._oninterval,this);},properties:{enabled:{init:true,check:$[2],apply:$[302]},maxTotalRequests:{check:$[5],nullable:true},maxConcurrentRequests:{check:$[5],init:3},defaultTimeout:{check:$[5],init:5000}},members:{_debug:function(){var $0=this._active.length+$[135]+(this._queue.length+this._active.length);{};},_check:function(){this._debug();if(this._active.length==0&&this._queue.length==0){this._timer.stop();}if(!this.getEnabled()){return;}if(this._active.length>=this.getMaxConcurrentRequests()||this._queue.length==0){return;}if(this.getMaxTotalRequests()!=null&&this._totalRequests>=this.getMaxTotalRequests()){return;}var $0=this._queue.shift();var $1=new qx.io.remote.Exchange($0);this._totalRequests++;this._active.push($1);this._debug();$1.addEventListener($[29],$0._onsending,$0);$1.addEventListener($[39],$0._onreceiving,$0);$1.addEventListener($[15],$0._oncompleted,$0);$1.addEventListener($[33],$0._onaborted,$0);$1.addEventListener($[32],$0._ontimeout,$0);$1.addEventListener($[27],$0._onfailed,$0);$1.addEventListener($[29],this._onsending,this);$1.addEventListener($[15],this._oncompleted,this);$1.addEventListener($[33],this._oncompleted,this);$1.addEventListener($[32],this._oncompleted,this);$1.addEventListener($[27],this._oncompleted,this);$1._start=(new Date).valueOf();$1.send();if(this._queue.length>0){this._check();}},_remove:function($0){qx.lang.Array.remove(this._active,$0);$0.dispose();this._check();},_activeCount:0,_onsending:function($0){{};},_oncompleted:function($0){{};this._remove($0.getTarget());},_oninterval:function($0){var $1=this._active;if($1.length==0){this._timer.stop();return;}var $2=(new Date).valueOf();var $3;var $4;var $5=this.getDefaultTimeout();var $6;var $7;for(var $8=$1.length-1;$8>=0;$8--){$3=$1[$8];$4=$3.getRequest();if($4.isAsynchronous()){$6=$4.getTimeout();if($6==0){continue;}if($6==null){$6=$5;}$7=$2-$3._start;if($7>$6){this.warn("Timeout: transport "+$3.toHashCode());this.warn($7+"ms > "+$6+"ms");$3.timeout();}}}},_applyEnabled:function($0,$1){if($0){this._check();}this._timer.setEnabled($0);},add:function($0){$0.setState($[198]);this._queue.push($0);this._check();if(this.getEnabled()){this._timer.start();}},abort:function($0){var $1=$0.getTransport();if($1){$1.abort();}else if(qx.lang.Array.contains(this._queue,$0)){qx.lang.Array.remove(this._queue,$0);}}},destruct:function(){this._disposeObjectDeep($[1258],1);this._disposeObjects($[284]);this._disposeFields($[1043]);}}); >+qx.Class.define($[694],{extend:qx.ui.toolbar.ToolBar}); >+qx.Class.define($[235],{type:$[18],extend:qx.util.manager.Object,construct:function(){arguments.callee.base.call(this);this.__data={};this.__actions={};this.__cursors={};var $0,$1;var $2=[$[232],$[164],$[163],$[915]];for(var $3=0,$4=$2.length;$3<$4;$3++){$1=$2[$3];$0=this.__cursors[$1]=new qx.ui.basic.Image;$0.setAppearance($[1344]+$1);$0.setZIndex(1e8);}},properties:{sourceWidget:{check:$[66],nullable:true},destinationWidget:{check:$[66],nullable:true,apply:$[1507]},currentAction:{check:$[6],nullable:true,event:$[1686]},defaultCursorDeltaX:{check:$[5],init:5},defaultCursorDeltaY:{check:$[5],init:15}},members:{__lastDestinationEvent:null,_applyDestinationWidget:function($0,$1){if($0){$0.dispatchEvent(new qx.event.type.DragEvent($[285],this.__lastDestinationEvent,$0,this.getSourceWidget()));this.__lastDestinationEvent=null;}},addData:function($0,$1){this.__data[$0]=$1;},getData:function($0){return this.__data[$0];},clearData:function(){this.__data={};},getDropDataTypes:function(){var $0=this.getDestinationWidget();var $1=[];if(!$0){return $1;}var $2=$0.getDropDataTypes();for(var $3=0,$4=$2.length;$3<$4;$3++){if($2[$3] in this.__data){$1.push($2[$3]);}}return $1;},getDropTarget:qx.core.Variant.select($[1],{"default":function($0){var $1=$0.getTarget();while($1!=null){if(!$1.supportsDrop(this.__dragCache)){return null;}if(this.supportsDrop($1)){return $1;}$1=$1.getParent();}return null;}}),startDrag:function(){if(!this.__dragCache){throw new Error("Invalid usage of startDrag. Missing dragInfo!");}this.__dragCache.dragHandlerActive=true;this.setSourceWidget(this.__dragCache.sourceWidget);if(this.__feedbackWidget){this.__feedbackWidget.setVisibility(false);var $0=qx.ui.core.ClientDocument.getInstance();$0.add(this.__feedbackWidget);this.__feedbackWidget.setZIndex(1e8);}},_fireUserEvents:function($0,$1,$2){if($0&&$0!=$1&&$0.hasEventListeners($[311])){$0.dispatchEvent(new qx.event.type.DragEvent($[311],$2,$0,$1),true);}if($1){if($0!=$1&&$1.hasEventListeners($[149])){$1.dispatchEvent(new qx.event.type.DragEvent($[149],$2,$1,$0),true);}if($1.hasEventListeners($[516])){$1.dispatchEvent(new qx.event.type.DragEvent($[516],$2,$1,null),true);}}},handleMouseEvent:function($0){switch($0.getType()){case $[12]:return this._handleMouseDown($0);case $[22]:return this._handleMouseUp($0);case $[148]:return this._handleMouseMove($0);}},_handleMouseDown:function($0){if($0.getDefaultPrevented()||!$0.isLeftButtonPressed()){return;}this.__dragCache={startScreenX:$0.getScreenX(),startScreenY:$0.getScreenY(),pageX:$0.getPageX(),pageY:$0.getPageY(),sourceWidget:$0.getTarget(),sourceTopLevel:$0.getTarget().getTopLevelWidget(),dragHandlerActive:false,hasFiredDragStart:false};},_handleMouseMove:function($0){if(!this.__dragCache){return;}if(this.__dragCache.dragHandlerActive){this.__dragCache.pageX=$0.getPageX();this.__dragCache.pageY=$0.getPageY();var $1=this.getDropTarget($0);this.setCurrentAction($1?this._evalNewAction($0.isShiftPressed(),$0.isCtrlPressed(),$0.isAltPressed()):null);this._fireUserEvents(this.__dragCache.currentDropWidget,$1,$0);this.__dragCache.currentDropWidget=$1;this._renderCursor();this._renderFeedbackWidget();}else if(!this.__dragCache.hasFiredDragStart){if(Math.abs($0.getScreenX()-this.__dragCache.startScreenX)>5||Math.abs($0.getScreenY()-this.__dragCache.startScreenY)>5){this.__dragCache.sourceWidget.dispatchEvent(new qx.event.type.DragEvent($[177],$0,this.__dragCache.sourceWidget),true);this.__dragCache.hasFiredDragStart=true;if(this.__dragCache.dragHandlerActive){this._fireUserEvents(this.__dragCache.currentDropWidget,this.__dragCache.sourceWidget,$0);this.__dragCache.currentDropWidget=this.__dragCache.sourceWidget;qx.ui.core.ClientDocument.getInstance().setCapture(true);}}}},_handleMouseUp:function($0){if(!this.__dragCache){return;}if(this.__dragCache.dragHandlerActive){this._endDrag(this.getDropTarget($0),$0);}else{this.__dragCache=null;}},handleKeyEvent:function($0){if(!this.__dragCache){return;}switch($0.getType()){case $[16]:this._handleKeyDown($0);return;case $[84]:this._handleKeyUp($0);return;}},_handleKeyDown:function($0){if($0.getKeyIdentifier()==$[129]){this.cancelDrag($0);}else if(this.getCurrentAction()!=null){switch($0.getKeyIdentifier()){case $[142]:case $[125]:case $[136]:this.setAction(this._evalNewAction($0.isShiftPressed(),$0.isCtrlPressed(),$0.isAltPressed()));this._renderCursor();$0.preventDefault();}}},_handleKeyUp:function($0){var $1=$0.getKeyIdentifier()==$[142];var $2=$0.getKeyIdentifier()==$[125];var $3=$0.getKeyIdentifier()==$[136];if($1||$2||$3){if(this.getCurrentAction()!=null){this.setAction(this._evalNewAction(!$1&&$0.isShiftPressed(),!$2&&$0.isCtrlPressed(),!$3&&$0.isAltPressed()));this._renderCursor();$0.preventDefault();}}},cancelDrag:function($0){if(!this.__dragCache){return;}if(this.__dragCache.dragHandlerActive){this._endDrag(null,$0);}else{this.__dragCache=null;}},globalCancelDrag:function(){if(this.__dragCache&&this.__dragCache.dragHandlerActive){this._endDragCore();}},_endDrag:function($0,$1){if($0){this.__lastDestinationEvent=$1;this.setDestinationWidget($0);}this.getSourceWidget().dispatchEvent(new qx.event.type.DragEvent($[488],$1,this.getSourceWidget(),$0),true);this._fireUserEvents(this.__dragCache&&this.__dragCache.currentDropWidget,null,$1);this._endDragCore();},_endDragCore:function(){if(this.__feedbackWidget){var $0=qx.ui.core.ClientDocument.getInstance();$0.remove(this.__feedbackWidget);if(this.__feedbackAutoDispose){this.__feedbackWidget.dispose();}this.__feedbackWidget=null;}var $1=this.__cursor;if($1){$1._style.display=$[7];this.__cursor=null;}this._cursorDeltaX=null;this._cursorDeltaY=null;if(this.__dragCache){this.__dragCache.currentDropWidget=null;this.__dragCache=null;}qx.ui.core.ClientDocument.getInstance().setCapture(false);this.clearData();this.clearActions();this.setSourceWidget(null);this.setDestinationWidget(null);},setCursorPosition:function($0,$1){this._cursorDeltaX=$0;this._cursorDeltaY=$1;},_renderCursor:function(){var $0;var $1=this.__cursor;switch(this.getCurrentAction()){case $[232]:$0=this.__cursors.move;break;case $[164]:$0=this.__cursors.copy;break;case $[163]:$0=this.__cursors.alias;break;default:$0=this.__cursors.nodrop;}if($0!=$1&&$1!=null){$1._style.display=$[7];}if(!$0._initialLayoutDone){qx.ui.core.ClientDocument.getInstance().add($0);qx.ui.core.Widget.flushGlobalQueues();}$0._renderRuntimeLeft(this.__dragCache.pageX+((this._cursorDeltaX!=null)?this._cursorDeltaX:this.getDefaultCursorDeltaX()));$0._renderRuntimeTop(this.__dragCache.pageY+((this._cursorDeltaY!=null)?this._cursorDeltaY:this.getDefaultCursorDeltaY()));if($0!=$1){$0._style.display=$[0];}this.__cursor=$0;},supportsDrop:function($0){var $1=$0.getDropDataTypes();if(!$1){return false;}for(var $2=0;$2<$1.length;$2++){if($1[$2] in this.__data){return true;}}return false;},addAction:function($0,$1){this.__actions[$0]=true;if($1||this.getCurrentAction()==null){this.setCurrentAction($0);}},clearActions:function(){this.__actions={};this.setCurrentAction(null);},removeAction:function($0){delete this.__actions[$0];if(this.getCurrentAction()==$0){this.setCurrentAction(null);}},setAction:function($0){if($0!=null&&!($0 in this.__actions)){this.addAction($0,true);}else{this.setCurrentAction($0);}},_evalNewAction:function($0,$1,$2){if($0&&$1&&$[163] in this.__actions){return $[163];}else if($0&&$2&&$[164] in this.__actions){return $[164];}else if($0&&$[232] in this.__actions){return $[232];}else if($2&&$[163] in this.__actions){return $[163];}else if($1&&$[164] in this.__actions){return $[164];}else{for(var $3 in this.__actions){return $3;}}return null;},setFeedbackWidget:function($0,$1,$2,$3){this.__feedbackWidget=$0;this.__feedbackDeltaX=($1!=null)?$1:10;this.__feedbackDeltaY=($2!=null)?$2:10;this.__feedbackAutoDispose=$3?true:false;},_renderFeedbackWidget:function(){if(this.__feedbackWidget){this.__feedbackWidget.setVisibility(true);this.__feedbackWidget._renderRuntimeLeft(this.__dragCache.pageX+this.__feedbackDeltaX);this.__feedbackWidget._renderRuntimeTop(this.__dragCache.pageY+this.__feedbackDeltaY);}}},destruct:function(){this._disposeObjectDeep($[1456],1);this._disposeObjects($[543]);this._disposeFields($[1240],$[1598],$[923],$[1580]);}}); >+qx.Class.define($[143],{extend:qx.event.type.MouseEvent,construct:function($0,$1,$2,$3){this._mouseEvent=$1;var $4=null;switch($0){case $[177]:case $[149]:$4=$1.getOriginalTarget();}arguments.callee.base.call(this,$0,$1.getDomEvent(),$2.getElement(),$2,$4,$3);},members:{getMouseEvent:function(){return this._mouseEvent;},startDrag:function(){if(this.getType()!=$[177]){throw new Error("qx.event.type.DragEvent startDrag can only be called during the dragstart event: "+this.getType());}this.stopPropagation();qx.event.handler.DragAndDropHandler.getInstance().startDrag();},addData:function($0,$1){qx.event.handler.DragAndDropHandler.getInstance().addData($0,$1);},getData:function($0){return qx.event.handler.DragAndDropHandler.getInstance().getData($0);},clearData:function(){qx.event.handler.DragAndDropHandler.getInstance().clearData();},getDropDataTypes:function(){return qx.event.handler.DragAndDropHandler.getInstance().getDropDataTypes();},addAction:function($0){qx.event.handler.DragAndDropHandler.getInstance().addAction($0);},removeAction:function($0){qx.event.handler.DragAndDropHandler.getInstance().removeAction($0);},getAction:function(){return qx.event.handler.DragAndDropHandler.getInstance().getCurrentAction();},clearActions:function(){qx.event.handler.DragAndDropHandler.getInstance().clearActions();},setFeedbackWidget:function($0,$1,$2,$3){qx.event.handler.DragAndDropHandler.getInstance().setFeedbackWidget($0,$1,$2,$3);},setCursorPosition:function($0,$1){qx.event.handler.DragAndDropHandler.getInstance().setCursorPosition($0,$1);}},destruct:function(){this._disposeFields($[990]);}}); >+qx.Class.define($[1408],{statics:{getWindow:qx.core.Variant.select($[1],{"mshtml":function($0){try{return $0.contentWindow;}catch(ex){return null;}},"default":function($0){try{var $1=qx.html.Iframe.getDocument($0);return $1?$1.defaultView:null;}catch(ex){return null;}}}),getDocument:qx.core.Variant.select($[1],{"mshtml":function($0){try{var $1=qx.html.Iframe.getWindow($0);return $1?$1.document:null;}catch(ex){return null;}},"default":function($0){try{return $0.contentDocument;}catch(ex){return null;}}}),getBody:function($0){var $1=qx.html.Iframe.getDocument($0);return $1?$1.getElementsByTagName($[126])[0]:null;}}}); >+qx.Class.define($[438],{type:$[51],extend:qx.core.Target,construct:function(){arguments.callee.base.call(this);},events:{"created":$[4],"configured":$[4],"sending":$[4],"receiving":$[4],"completed":$[4],"aborted":$[4],"failed":$[4],"timeout":$[4]},properties:{url:{check:$[6],nullable:true},method:{check:$[6],nullable:true},asynchronous:{check:$[2],nullable:true},data:{check:$[6],nullable:true},username:{check:$[6],nullable:true},password:{check:$[6],nullable:true},state:{check:[$[130],$[71],$[29],$[39],$[15],$[33],$[32],$[27]],init:$[130],event:$[290],apply:$[296]},requestHeaders:{check:$[119],nullable:true},parameters:{check:$[119],nullable:true},formFields:{check:$[119],nullable:true},responseType:{check:$[6],nullable:true},useBasicHttpAuth:{check:$[2],nullable:true}},members:{send:function(){throw new Error("send is abstract");},abort:function(){{};this.setState($[33]);},timeout:function(){{};this.setState($[32]);},failed:function(){{};this.setState($[27]);},setRequestHeader:function($0,$1){throw new Error("setRequestHeader is abstract");},getResponseHeader:function($0){throw new Error("getResponseHeader is abstract");},getResponseHeaders:function(){throw new Error("getResponseHeaders is abstract");},getStatusCode:function(){throw new Error("getStatusCode is abstract");},getStatusText:function(){throw new Error("getStatusText is abstract");},getResponseText:function(){throw new Error("getResponseText is abstract");},getResponseXml:function(){throw new Error("getResponseXml is abstract");},getFetchedLength:function(){throw new Error("getFetchedLength is abstract");},_applyState:function($0,$1){{};switch($0){case $[130]:this.createDispatchEvent($[130]);break;case $[71]:this.createDispatchEvent($[71]);break;case $[29]:this.createDispatchEvent($[29]);break;case $[39]:this.createDispatchEvent($[39]);break;case $[15]:this.createDispatchEvent($[15]);break;case $[33]:this.createDispatchEvent($[33]);break;case $[27]:this.createDispatchEvent($[27]);break;case $[32]:this.createDispatchEvent($[32]);break;}return true;}}}); >+qx.Class.define($[510],{extend:qx.core.Target,construct:function($0){arguments.callee.base.call(this);this.setRequest($0);$0.setTransport(this);},events:{"sending":$[4],"receiving":$[4],"completed":$[94],"aborted":$[94],"failed":$[94],"timeout":$[94]},statics:{typesOrder:[$[293],$[294],$[1168]],typesReady:false,typesAvailable:{},typesSupported:{},registerType:function($0,$1){qx.io.remote.Exchange.typesAvailable[$1]=$0;},initTypes:function(){if(qx.io.remote.Exchange.typesReady){return;}for(var $0 in qx.io.remote.Exchange.typesAvailable){var $1=qx.io.remote.Exchange.typesAvailable[$0];if($1.isSupported()){qx.io.remote.Exchange.typesSupported[$0]=$1;}}qx.io.remote.Exchange.typesReady=true;if(qx.lang.Object.isEmpty(qx.io.remote.Exchange.typesSupported)){throw new Error("No supported transport types were found!");}},canHandle:function($0,$1,$2){if(!qx.lang.Array.contains($0.handles.responseTypes,$2)){return false;}for(var $3 in $1){if(!$0.handles[$3]){return false;}}return true;},_nativeMap:{0:$[130],1:$[71],2:$[29],3:$[39],4:$[15]},wasSuccessful:function($0,$1,$2){if($2){switch($0){case null:case 0:return true;case -1:return $1<4;default:return typeof $0===$[65];}}else{switch($0){case -1:{};return $1<4;case 200:case 304:return true;case 201:case 202:case 203:case 204:case 205:return true;case 206:{};return $1!==4;case 300:case 301:case 302:case 303:case 305:case 400:case 401:case 402:case 403:case 404:case 405:case 406:case 407:case 408:case 409:case 410:case 411:case 412:case 413:case 414:case 415:case 500:case 501:case 502:case 503:case 504:case 505:{};return false;case 12002:case 12029:case 12030:case 12031:case 12152:case 13030:{};return false;default:if($0>206&&$0<300){return true;}qx.log.Logger.getClassLogger(qx.io.remote.Exchange).debug("Unknown status code: "+$0+" ("+$1+")");return false;}}},statusCodeToString:function($0){switch($0){case -1:return $[1128];case 200:return $[1618];case 304:return $[565];case 206:return $[595];case 204:return $[1144];case 300:return $[1401];case 301:return $[1480];case 302:return $[839];case 303:return $[659];case 305:return $[549];case 400:return $[1365];case 401:return $[1547];case 402:return $[1459];case 403:return $[1198];case 404:return $[1531];case 405:return $[1615];case 406:return $[748];case 407:return $[1215];case 408:return $[1364];case 409:return $[1090];case 410:return $[1544];case 411:return $[1677];case 412:return $[1627];case 413:return $[1289];case 414:return $[747];case 415:return $[1622];case 500:return $[983];case 501:return $[561];case 502:return $[678];case 503:return $[1606];case 504:return $[1646];case 505:return $[900];case 12002:return $[975];case 12029:return $[310];case 12030:return $[310];case 12031:return $[310];case 12152:return $[779];case 13030:return $[1503];default:return $[1125];}}},properties:{request:{check:$[514],nullable:true},implementation:{check:$[438],nullable:true,apply:$[1267]},state:{check:[$[71],$[29],$[39],$[15],$[33],$[32],$[27]],init:$[71],event:$[290],apply:$[296]}},members:{send:function(){var $0=this.getRequest();if(!$0){return this.error("Please attach a request object first");}qx.io.remote.Exchange.initTypes();var $1=qx.io.remote.Exchange.typesOrder;var $2=qx.io.remote.Exchange.typesSupported;var $3=$0.getResponseType();var $4={};if($0.getAsynchronous()){$4.asynchronous=true;}else{$4.synchronous=true;}if($0.getCrossDomain()){$4.crossDomain=true;}if($0.getFileUpload()){$4.fileUpload=true;}for(var $5 in $0.getFormFields()){$4.programaticFormFields=true;break;}var $6,$7;for(var $8=0,$9=$1.length;$8<$9;$8++){$6=$2[$1[$8]];if($6){if(!qx.io.remote.Exchange.canHandle($6,$4,$3)){continue;}try{{};$7=new $6;this.setImplementation($7);$7.setUseBasicHttpAuth($0.getUseBasicHttpAuth());$7.send();return true;}catch(ex){return this.error("Request handler throws error",ex);}}}this.error("There is no transport implementation available to handle this request: "+$0);},abort:function(){var $0=this.getImplementation();if($0){{};$0.abort();}else{{};this.setState($[33]);}},timeout:function(){var $0=this.getImplementation();if($0){this.warn("Timeout: implementation "+$0.toHashCode());$0.timeout();}else{this.warn("Timeout: forcing state to timeout");this.setState($[32]);}if(this.getRequest()){this.getRequest().setTimeout(0);}},_onsending:function($0){this.setState($[29]);},_onreceiving:function($0){this.setState($[39]);},_oncompleted:function($0){this.setState($[15]);},_onabort:function($0){this.setState($[33]);},_onfailed:function($0){this.setState($[27]);},_ontimeout:function($0){this.setState($[32]);},_applyImplementation:function($0,$1){if($1){$1.removeEventListener($[29],this._onsending,this);$1.removeEventListener($[39],this._onreceiving,this);$1.removeEventListener($[15],this._oncompleted,this);$1.removeEventListener($[33],this._onabort,this);$1.removeEventListener($[32],this._ontimeout,this);$1.removeEventListener($[27],this._onfailed,this);}if($0){var $2=this.getRequest();$0.setUrl($2.getUrl());$0.setMethod($2.getMethod());$0.setAsynchronous($2.getAsynchronous());$0.setUsername($2.getUsername());$0.setPassword($2.getPassword());$0.setParameters($2.getParameters());$0.setFormFields($2.getFormFields());$0.setRequestHeaders($2.getRequestHeaders());$0.setData($2.getData());$0.setResponseType($2.getResponseType());$0.addEventListener($[29],this._onsending,this);$0.addEventListener($[39],this._onreceiving,this);$0.addEventListener($[15],this._oncompleted,this);$0.addEventListener($[33],this._onabort,this);$0.addEventListener($[32],this._ontimeout,this);$0.addEventListener($[27],this._onfailed,this);}},_applyState:function($0,$1){{};switch($0){case $[29]:this.createDispatchEvent($[29]);break;case $[39]:this.createDispatchEvent($[39]);break;case $[15]:case $[33]:case $[32]:case $[27]:var $2=this.getImplementation();if(!$2){break;}if(this.hasEventListeners($0)){var $3=new qx.io.remote.Response($0);if($0==$[15]){var $4=$2.getResponseContent();$3.setContent($4);if($4===null){{};$0=$[27];}}$3.setStatusCode($2.getStatusCode());$3.setResponseHeaders($2.getResponseHeaders());this.dispatchEvent($3);}this.setImplementation(null);$2.dispose();break;}}},settings:{"qx.ioRemoteDebug":false,"qx.ioRemoteDebugData":false},destruct:function(){var $0=this.getImplementation();if($0){this.setImplementation(null);$0.dispose();}this.setRequest(null);}}); >+qx.Class.define($[94],{extend:qx.event.type.Event,construct:function($0){arguments.callee.base.call(this,$0);},properties:{state:{check:$[5],nullable:true},statusCode:{check:$[5],nullable:true},content:{nullable:true},responseHeaders:{check:$[119],nullable:true}},members:{getResponseHeader:function($0){var $1=this.getResponseHeaders();if($1){return $1[$0]||null;}return null;},getData:function(){qx.log.Logger.deprecatedMethodWarning(arguments.callee,$[1153]);return this;}}}); >+qx.Class.define($[1325],{statics:{JAVASCRIPT:"text/javascript",JSON:"application/json",XML:"application/xml",TEXT:"text/plain",HTML:"text/html"}}); >+qx.Class.define($[293],{extend:qx.io.remote.AbstractRemoteTransport,construct:function(){arguments.callee.base.call(this);this._req=qx.io.remote.XmlHttpTransport.createRequestObject();this._req.onreadystatechange=qx.lang.Function.bind(this._onreadystatechange,this);},events:{"created":$[4],"configured":$[4],"sending":$[4],"receiving":$[4],"completed":$[4],"aborted":$[4],"failed":$[4],"timeout":$[4]},statics:{handles:{synchronous:true,asynchronous:true,crossDomain:false,fileUpload:false,programaticFormFields:false,responseTypes:[qx.util.Mime.TEXT,qx.util.Mime.JAVASCRIPT,qx.util.Mime.JSON,qx.util.Mime.XML,qx.util.Mime.HTML]},requestObjects:[],requestObjectCount:0,isSupported:function(){return qx.net.HttpRequest.create()!=null?true:false;},createRequestObject:function(){return qx.net.HttpRequest.create();},__dummy:function(){}},members:{_localRequest:false,_lastReadyState:0,getRequest:function(){return this._req;},send:function(){this._lastReadyState=0;var $0=this.getRequest();var $1=this.getMethod();var $2=this.getAsynchronous();var $3=this.getUrl();var $4=(qx.core.Client.getInstance().getRunsLocally()&&!(/^http(s){0,1}\:/.test($3)));this._localRequest=$4;var $5=this.getParameters();var $6=[];for(var $7 in $5){var $8=$5[$7];if($8 instanceof Array){for(var $9=0;$9<$8.length;$9++){$6.push(encodeURIComponent($7)+$[197]+encodeURIComponent($8[$9]));}}else{$6.push(encodeURIComponent($7)+$[197]+encodeURIComponent($8));}}if($6.length>0){$3+=($3.indexOf($[194])>=0?$[93]:$[194])+$6.join($[93]);}var $a=function($b){var $c=$[940];var $d=$[0];var $e,$f,$g;var $h,$i,$j,$k;var $9=0;do{$e=$b.charCodeAt($9++);$f=$b.charCodeAt($9++);$g=$b.charCodeAt($9++);$h=$e>>2;$i=(($e&3)<<4)|($f>>4);$j=(($f&15)<<2)|($g>>6);$k=$g&63;if(isNaN($f)){$j=$k=64;}else if(isNaN($g)){$k=64;}$d+=$c.charAt($h)+$c.charAt($i)+$c.charAt($j)+$c.charAt($k);}while($9<$b.length);return $d;};var $l=qx.lang.Function.bind(this._onreadystatechange,this);if($2){$0.onreadystatechange=$l;}if(this.getUsername()){if(this.getUseBasicHttpAuth()){$0.open($1,$3,$2);$0.setRequestHeader($[874],$[1190]+$a(this.getUsername()+$[1468]+this.getPassword()));}else{$0.open($1,$3,$2,this.getUsername(),this.getPassword());}}else{$0.open($1,$3,$2);}$0.setRequestHeader($[1207],window.location.href);var $m=this.getRequestHeaders();for(var $7 in $m){$0.setRequestHeader($7,$m[$7]);}try{{};$0.send(this.getData());}catch(ex){if($4){this.failedLocally();}else{this.error("Failed to send data: "+ex,"send");this.failed();}return;}if(!$2){$l();}},failedLocally:function(){if(this.getState()===$[27]){return;}this.warn("Could not load from file: "+this.getUrl());this.failed();},_onreadystatechange:function($0){switch(this.getState()){case $[15]:case $[33]:case $[27]:case $[32]:{};return;}var $1=this.getReadyState();if($1==4){if(!qx.io.remote.Exchange.wasSuccessful(this.getStatusCode(),$1,this._localRequest)){return this.failed();}}while(this._lastReadyState<$1){this.setState(qx.io.remote.Exchange._nativeMap[++this._lastReadyState]);}},getReadyState:function(){var $0=null;try{$0=this._req.readyState;}catch(ex){}return $0;},setRequestHeader:function($0,$1){this._req.setRequestHeader($0,$1);},getResponseHeader:function($0){var $1=null;try{this.getRequest().getResponseHeader($0)||null;}catch(ex){}return $1;},getStringResponseHeaders:function(){var $0=null;try{var $1=this._req.getAllResponseHeaders();if($1){$0=$1;}}catch(ex){}return $0;},getResponseHeaders:function(){var $0=this.getStringResponseHeaders();var $1={};if($0){var $2=$0.split(/[\r\n]+/g);for(var $3=0,$4=$2.length;$3<$4;$3++){var $5=$2[$3].match(/^([^:]+)\s*:\s*(.+)$/i);if($5){$1[$5[1]]=$5[2];}}}return $1;},getStatusCode:function(){var $0=-1;try{$0=this.getRequest().status;}catch(ex){}return $0;},getStatusText:function(){var $0=$[0];try{$0=this.getRequest().statusText;}catch(ex){}return $0;},getResponseText:function(){var $0=null;var $1=this.getStatusCode();var $2=this.getReadyState();if(qx.io.remote.Exchange.wasSuccessful($1,$2,this._localRequest)){try{$0=this.getRequest().responseText;}catch(ex){}}return $0;},getResponseXml:function(){var $0=null;var $1=this.getStatusCode();var $2=this.getReadyState();if(qx.io.remote.Exchange.wasSuccessful($1,$2,this._localRequest)){try{$0=this.getRequest().responseXML;}catch(ex){}}if(typeof $0==$[28]&&$0!=null){if(!$0.documentElement){var $3=String(this.getRequest().responseText).replace(/<\?xml[^\?]*\?>/,$[0]);$0.loadXML($3);}if(!$0.documentElement){throw new Error("Missing Document Element!");}if($0.documentElement.tagName==$[1386]){throw new Error("XML-File is not well-formed!");}}else{throw new Error("Response was not a valid xml document ["+this.getRequest().responseText+"]");}return $0;},getFetchedLength:function(){var $0=this.getResponseText();return typeof $0==$[8]?$0.length:0;},getResponseContent:function(){if(this.getState()!==$[15]){{};return null;}{};var $0=this.getResponseText();switch(this.getResponseType()){case qx.util.Mime.TEXT:case qx.util.Mime.HTML:{};return $0;case qx.util.Mime.JSON:{};try{if($0&&$0.length>0){return qx.io.Json.parseQx($0)||null;}else{return null;}}catch(ex){this.error("Could not execute json: ["+$0+"]",ex);return $[1274]+$0+$[1546];}case qx.util.Mime.JAVASCRIPT:{};try{if($0&&$0.length>0){return window.eval($0)||null;}else{return null;}}catch(ex){this.error("Could not execute javascript: ["+$0+"]",ex);return null;}case qx.util.Mime.XML:$0=this.getResponseXml();{};return $0||null;default:this.warn("No valid responseType specified ("+this.getResponseType()+")!");return null;}},_applyState:function($0,$1){{};switch($0){case $[130]:this.createDispatchEvent($[130]);break;case $[71]:this.createDispatchEvent($[71]);break;case $[29]:this.createDispatchEvent($[29]);break;case $[39]:this.createDispatchEvent($[39]);break;case $[15]:this.createDispatchEvent($[15]);break;case $[27]:this.createDispatchEvent($[27]);break;case $[33]:this.getRequest().abort();this.createDispatchEvent($[33]);break;case $[32]:this.getRequest().abort();this.createDispatchEvent($[32]);break;}}},defer:function($0,$1){qx.io.remote.Exchange.registerType(qx.io.remote.XmlHttpTransport,$[293]);},destruct:function(){var $0=this.getRequest();if($0){$0.onreadystatechange=qx.io.remote.XmlHttpTransport.__dummy;switch($0.readyState){case 1:case 2:case 3:$0.abort();}}this._disposeFields($[1384]);}}); >+qx.Class.define($[1712],{statics:{create:qx.core.Variant.select($[1],{"default":function(){return new XMLHttpRequest;},"mshtml":qx.lang.Object.select(location.protocol!==$[442]&&window.XMLHttpRequest?$[780]:$[1602],{"native":function(){return new XMLHttpRequest;},"activeX":function(){if(this.__server){return new ActiveXObject(this.__server);}var $0=[$[1260],$[1669],$[905],$[1739],$[1110]];var $1;var $2;for(var $3=0,$4=$0.length;$3<$4;$3++){$2=$0[$3];try{$1=new ActiveXObject($2);break;}catch(ex){$1=null;}}if($1){this.__server=$2;}return $1;}})})}}); >+qx.Class.define($[294],{extend:qx.io.remote.AbstractRemoteTransport,construct:function(){arguments.callee.base.call(this);var $0=(new Date).valueOf();var $1=$[1287]+$0;var $2=$[1165]+$0;if(qx.core.Variant.isSet($[1],$[13])){this._frame=document.createElement($[812]+$1+$[1643]);}else{this._frame=document.createElement($[239]);}this._frame.src=$[545];this._frame.id=this._frame.name=$1;this._frame.onload=qx.lang.Function.bind(this._onload,this);this._frame.style.display=$[7];document.body.appendChild(this._frame);this._form=document.createElement($[1067]);this._form.target=$1;this._form.id=this._form.name=$2;this._form.style.display=$[7];document.body.appendChild(this._form);this._data=document.createElement($[222]);this._data.id=this._data.name=$[663];this._form.appendChild(this._data);this._frame.onreadystatechange=qx.lang.Function.bind(this._onreadystatechange,this);},statics:{handles:{synchronous:false,asynchronous:true,crossDomain:false,fileUpload:true,programaticFormFields:true,responseTypes:[qx.util.Mime.TEXT,qx.util.Mime.JAVASCRIPT,qx.util.Mime.JSON,qx.util.Mime.XML,qx.util.Mime.HTML]},isSupported:function(){return true;},_numericMap:{"uninitialized":1,"loading":2,"loaded":2,"interactive":3,"complete":4}},members:{_lastReadyState:0,send:function(){var $0=this.getMethod();var $1=this.getUrl();var $2=this.getParameters();var $3=[];for(var $4 in $2){var $5=$2[$4];if($5 instanceof Array){for(var $6=0;$6<$5.length;$6++){$3.push(encodeURIComponent($4)+$[197]+encodeURIComponent($5[$6]));}}else{$3.push(encodeURIComponent($4)+$[197]+encodeURIComponent($5));}}if($3.length>0){$1+=($1.indexOf($[194])>=0?$[93]:$[194])+$3.join($[93]);}var $7=this.getFormFields();for(var $4 in $7){var $8=document.createElement($[222]);$8.name=$4;$8.appendChild(document.createTextNode($7[$4]));this._form.appendChild($8);}this._form.action=$1;this._form.method=$0;this._data.appendChild(document.createTextNode(this.getData()));this._form.submit();this.setState($[29]);},_onload:function($0){if(this._form.src){return;}this._switchReadyState(qx.io.remote.IframeTransport._numericMap.complete);},_onreadystatechange:function($0){this._switchReadyState(qx.io.remote.IframeTransport._numericMap[this._frame.readyState]);},_switchReadyState:function($0){switch(this.getState()){case $[15]:case $[33]:case $[27]:case $[32]:this.warn("Ignore Ready State Change");return;}while(this._lastReadyState<$0){this.setState(qx.io.remote.Exchange._nativeMap[++this._lastReadyState]);}},setRequestHeader:function($0,$1){},getResponseHeader:function($0){return null;},getResponseHeaders:function(){return {};},getStatusCode:function(){return 200;},getStatusText:function(){return $[0];},getIframeWindow:function(){return qx.html.Iframe.getWindow(this._frame);},getIframeDocument:function(){return qx.html.Iframe.getDocument(this._frame);},getIframeBody:function(){return qx.html.Iframe.getBody(this._frame);},getIframeTextContent:function(){var $0=this.getIframeBody();if(!$0){return null;}if(!$0.firstChild){return $[0];}if($0.firstChild.tagName&&$0.firstChild.tagName.toLowerCase()==$[544]){return $0.firstChild.innerHTML;}else{return $0.innerHTML;}},getIframeHtmlContent:function(){var $0=this.getIframeBody();return $0?$0.innerHTML:null;},getFetchedLength:function(){return 0;},getResponseContent:function(){if(this.getState()!==$[15]){{};return null;}{};var $0=this.getIframeTextContent();switch(this.getResponseType()){case qx.util.Mime.TEXT:{};return $0;break;case qx.util.Mime.HTML:$0=this.getIframeHtmlContent();{};return $0;break;case qx.util.Mime.JSON:$0=this.getIframeHtmlContent();{};try{return $0&&$0.length>0?qx.io.Json.parseQx($0):null;}catch(ex){return this.error("Could not execute json: ("+$0+")",ex);}case qx.util.Mime.JAVASCRIPT:$0=this.getIframeHtmlContent();{};try{return $0&&$0.length>0?window.eval($0):null;}catch(ex){return this.error("Could not execute javascript: ("+$0+")",ex);}case qx.util.Mime.XML:$0=this.getIframeDocument();{};return $0;default:this.warn("No valid responseType specified ("+this.getResponseType()+")!");return null;}}},defer:function($0,$1,$2){qx.io.remote.Exchange.registerType(qx.io.remote.IframeTransport,$[294]);},destruct:function(){if(this._frame){this._frame.onload=null;this._frame.onreadystatechange=null;if(qx.core.Variant.isSet($[1],$[21])){this._frame.src=qx.io.Alias.getInstance().resolve($[456]);}document.body.removeChild(this._frame);}if(this._form){document.body.removeChild(this._form);}this._disposeFields($[307],$[1631]);}}); > qx.Class.define($[665],{statics:{METHOD_GET:"GET",METHOD_POST:"POST",METHOD_PUT:"PUT",METHOD_HEAD:"HEAD",METHOD_DELETE:"DELETE"}}); >-qx.Class.define($[513],{extend:qx.core.Target,construct:function($0,$1,$2){arguments.callee.base.call(this);this._requestHeaders={};this._parameters={};this._formFields={};if($0!==undefined){this.setUrl($0);}if($1!==undefined){this.setMethod($1);}if($2!==undefined){this.setResponseType($2);}this.setProhibitCaching(true);this.setRequestHeader($[1515],$[837]);this.setRequestHeader($[1656],qx.core.Version.toString());this._seqNum=++qx.io.remote.Request._seqNum;},events:{"created":$[4],"configured":$[4],"sending":$[4],"receiving":$[4],"completed":$[94],"aborted":$[94],"failed":$[94],"timeout":$[94]},statics:{_seqNum:0},properties:{url:{check:$[6],init:$[0]},method:{check:[qx.net.Http.METHOD_GET,qx.net.Http.METHOD_POST,qx.net.Http.METHOD_PUT,qx.net.Http.METHOD_HEAD,qx.net.Http.METHOD_DELETE],apply:$[1317],init:qx.net.Http.METHOD_GET},asynchronous:{check:$[2],init:true},data:{check:$[6],nullable:true},username:{check:$[6],nullable:true},password:{check:$[6],nullable:true},state:{check:[$[71],$[198],$[29],$[39],$[15],$[33],$[32],$[27]],init:$[71],apply:$[296],event:$[290]},responseType:{check:[qx.util.Mime.TEXT,qx.util.Mime.JAVASCRIPT,qx.util.Mime.JSON,qx.util.Mime.XML,qx.util.Mime.HTML],init:qx.util.Mime.TEXT,apply:$[1082]},timeout:{check:$[5],nullable:true},prohibitCaching:{check:$[2],init:true,apply:$[1635]},crossDomain:{check:$[2],init:false},fileUpload:{check:$[2],init:false},transport:{check:$[509],nullable:true},useBasicHttpAuth:{check:$[2],init:false}},members:{send:function(){qx.io.remote.RequestQueue.getInstance().add(this);},abort:function(){qx.io.remote.RequestQueue.getInstance().abort(this);},reset:function(){switch(this.getState()){case $[29]:case $[39]:this.error("Aborting already sent request!");case $[198]:this.abort();break;}},isConfigured:function(){return this.getState()===$[71];},isQueued:function(){return this.getState()===$[198];},isSending:function(){return this.getState()===$[29];},isReceiving:function(){return this.getState()===$[39];},isCompleted:function(){return this.getState()===$[15];},isAborted:function(){return this.getState()===$[33];},isTimeout:function(){return this.getState()===$[32];},isFailed:function(){return this.getState()===$[27];},_onqueued:function($0){this.setState($[198]);this.dispatchEvent($0);},_onsending:function($0){this.setState($[29]);this.dispatchEvent($0);},_onreceiving:function($0){this.setState($[39]);this.dispatchEvent($0);},_oncompleted:function($0){this.setState($[15]);this.dispatchEvent($0);this.dispose();},_onaborted:function($0){this.setState($[33]);this.dispatchEvent($0);this.dispose();},_ontimeout:function($0){this.setState($[32]);this.dispatchEvent($0);this.dispose();},_onfailed:function($0){this.setState($[27]);this.dispatchEvent($0);this.dispose();},_applyState:function($0,$1){{};},_applyProhibitCaching:function($0,$1){if($0){this.setParameter($[353],new Date().valueOf());this.setRequestHeader($[379],$[368]);this.setRequestHeader($[427],$[368]);}else{this.removeParameter($[353]);this.removeRequestHeader($[379]);this.removeRequestHeader($[427]);}},_applyMethod:function($0,$1){if($0===qx.net.Http.METHOD_POST){this.setRequestHeader($[326],$[628]);}else{this.removeRequestHeader($[326]);}},_applyResponseType:function($0,$1){this.setRequestHeader($[937],$0);},setRequestHeader:function($0,$1){this._requestHeaders[$0]=$1;},removeRequestHeader:function($0){delete this._requestHeaders[$0];},getRequestHeader:function($0){return this._requestHeaders[$0]||null;},getRequestHeaders:function(){return this._requestHeaders;},setParameter:function($0,$1){this._parameters[$0]=$1;},removeParameter:function($0){delete this._parameters[$0];},getParameter:function($0){return this._parameters[$0]||null;},getParameters:function(){return this._parameters;},setFormField:function($0,$1){this._formFields[$0]=$1;},removeFormField:function($0){delete this._formFields[$0];},getFormField:function($0){return this._formFields[$0]||null;},getFormFields:function(){return this._formFields;},getSequenceNumber:function(){return this._seqNum;}},destruct:function(){this.setTransport(null);this._disposeFields($[1024],$[1486],$[1252]);}}); >-qx.Class.define($[1534],{extend:qx.ui.basic.Terminator,construct:function($0){arguments.callee.base.call(this);this.initSelectable();this.initTabIndex();this.initScrolling();if($0!=null){this.setSource($0);}},events:{"load":$[4]},statics:{load:function($0){if(!$0){throw new Error("Could not find iframe which was loaded [A]!");}if($0.currentTarget){$0=$0.currentTarget;}if($0._QxIframe){$0._QxIframe._onload();}else{throw new Error("Could not find iframe which was loaded [B]!");}}},properties:{tabIndex:{refine:true,init:0},selectable:{refine:true,init:false},appearance:{refine:true,init:$[239]},source:{check:$[6],apply:$[365],event:$[392],nullable:true},frameName:{check:$[6],init:$[0],apply:$[1416]},scrolling:{check:[$[1316],$[1069],$[3]],init:$[3],apply:$[782]}},members:{getIframeNode:function(){return this._iframeNode;},setIframeNode:function($0){return this._iframeNode=$0;},getBlockerNode:function(){return this._blockerNode;},setBlockerNode:function($0){return this._blockerNode=$0;},getContentWindow:function(){if(this.isCreated()){return qx.html.Iframe.getWindow(this.getIframeNode());}else{return null;}},getContentDocument:function(){if(this.isCreated()){return qx.html.Iframe.getDocument(this.getIframeNode());}else{return null;}},isLoaded:qx.core.Variant.select($[1],{"mshtml":function(){var $0=this.getContentDocument();return $0?$0.readyState==$[645]:false;},"default":function(){return this._isLoaded;}}),reload:function(){if(this.isCreated()&&this.getContentWindow()){this._isLoaded=false;var $0=this.queryCurrentUrl()||this.getSource();try{try{this.getContentWindow().location.replace($0);}catch(ex){this.warn("Could not reload iframe using location.replace()!",ex);this.getIframeNode().src=$0;}}catch(ex){this.warn("Iframe source could not be set! This may be related to AdBlock Plus Firefox Extension.");}}},queryCurrentUrl:function(){var $0=this.getContentDocument();try{if($0&&$0.location){return $0.location.href;}}catch(ex){}return null;},block:function(){if(this._blockerNode){this._blockerNode.style.display=$[0];}},release:function(){if(this._blockerNode){this._blockerNode.style.display=$[7];}},_generateIframeElement:function($0){if(qx.core.Variant.isSet($[1],$[13])){var $1=$0?$[1165]+$0+$[109]:$[520];var $2=qx.ui.embed.Iframe._element=document.createElement($[1357]+$1+$[1099]);}else{var $2=qx.ui.embed.Iframe._element=document.createElement($[239]);$2.onload=qx.ui.embed.Iframe.load;if($0){$2.name=$0;}}$2._QxIframe=this;$2.frameBorder=$[41];$2.frameSpacing=$[41];$2.marginWidth=$[41];$2.marginHeight=$[41];$2.width=$[56];$2.height=$[56];$2.hspace=$[41];$2.vspace=$[41];$2.border=$[41];$2.unselectable=$[23];$2.allowTransparency=$[889];$2.style.position=$[54];$2.style.top=0;$2.style.left=0;return $2;},_generateBlockerElement:function(){var $0=qx.ui.embed.Iframe._blocker=document.createElement($[67]);var $1=$0.style;if(qx.core.Variant.isSet($[1],$[13])){$1.backgroundColor=$[201];$1.filter=$[1657];}$1.position=$[54];$1.top=0;$1.left=0;$1.width=$[56];$1.height=$[56];$1.zIndex=1;$1.display=$[7];return $0;},_applyElement:function($0,$1){var $2=this.setIframeNode(this._generateIframeElement());var $3=this.setBlockerNode(this._generateBlockerElement());this._syncSource();this._syncScrolling();$0.appendChild($2);$0.appendChild($3);arguments.callee.base.call(this,$0,$1);},_beforeAppear:function(){arguments.callee.base.call(this);qx.ui.embed.IframeManager.getInstance().add(this);},_beforeDisappear:function(){arguments.callee.base.call(this);qx.ui.embed.IframeManager.getInstance().remove(this);},_applySource:function($0,$1){if(this.isCreated()){this._syncSource();}},_syncSource:function(){var $0=this.getSource();if($0==null||$0===$[0]){$0=qx.io.Alias.getInstance().resolve($[583]);}this._isLoaded=false;try{if(this.getContentWindow()){try{this.getContentWindow().location.replace($0);}catch(ex){this.getIframeNode().src=$0;}}else{this.getIframeNode().src=$0;}}catch(ex){this.warn("Iframe source could not be set! This may be related to AdBlock Plus Firefox Extension.");}},_applyScrolling:function($0,$1){if(this.isCreated()){this._syncScrolling();}},_syncScrolling:function(){this.getIframeNode().setAttribute($[843],this.getScrolling());},_applyFrameName:function($0,$1,$2,$3){if(this.isCreated()){throw new Error("Not allowed to set frame name after it has been created");}},_onload:function(){if(!this._isLoaded){this._isLoaded=true;this.createDispatchEvent($[82]);}},_isLoaded:false},destruct:function(){if(this._iframeNode){this._iframeNode._QxIframe=null;this._iframeNode.onload=null;}this._disposeFields($[601],$[1242],$[865]);}}); >-qx.Class.define($[1228],{statics:{getInnerWidth:qx.core.Variant.select($[1],{"mshtml":function($0){if($0.document.documentElement&&$0.document.documentElement.clientWidth){return $0.document.documentElement.clientWidth;}else if($0.document.body){return $0.document.body.clientWidth;}return 0;},"default":function($0){return $0.innerWidth;}}),getInnerHeight:qx.core.Variant.select($[1],{"mshtml":function($0){if($0.document.documentElement&&$0.document.documentElement.clientHeight){return $0.document.documentElement.clientHeight;}else if($0.document.body){return $0.document.body.clientHeight;}return 0;},"default":function($0){return $0.innerHeight;}}),getScrollLeft:qx.core.Variant.select($[1],{"mshtml":function($0){if($0.document.documentElement&&$0.document.documentElement.scrollLeft){return $0.document.documentElement.scrollLeft;}else if($0.document.body){return $0.document.body.scrollTop;}return 0;},"default":function($0){return $0.document.body.scrollLeft;}}),getScrollTop:qx.core.Variant.select($[1],{"mshtml":function($0){if($0.document.documentElement&&$0.document.documentElement.scrollTop){return $0.document.documentElement.scrollTop;}else if($0.document.body){return $0.document.body.scrollTop;}return 0;},"default":function($0){return $0.document.body.scrollTop;}})}}); >-qx.Class.define($[725],{extend:qx.ui.layout.CanvasLayout,construct:function($0){arguments.callee.base.call(this,$0?$[132]:$[117]);this._horizontal=($0==true);this._scrollBar=new qx.ui.basic.ScrollArea;if(qx.core.Variant.isSet($[1],$[21])){this._scrollBar.setStyleProperty($[78],$[0]);}this._scrollBar.setOverflow($0?$[112]:$[111]);this._scrollBar.addEventListener($[26],this._onscroll,this);this._scrollContent=new qx.ui.basic.Terminator;if(qx.core.Variant.isSet($[1],$[21])){this._scrollContent.setStyleProperty($[78],$[0]);}this._scrollBar.add(this._scrollContent);if(this._horizontal){this._scrollContent.setHeight(5);this._scrollBar.setWidth($[56]);this._scrollBar.setHeight(this._getScrollBarWidth());if(qx.core.Variant.isSet($[1],$[13])){this.setHeight(this._getScrollBarWidth());this.setOverflow($[36]);this._scrollBar.setHeight(this._getScrollBarWidth()+1);this._scrollBar.setTop(-1);}}else{this._scrollContent.setWidth(5);this._scrollBar.setHeight($[56]);this._scrollBar.setWidth(this._getScrollBarWidth());if(qx.core.Variant.isSet($[1],$[13])){this.setWidth(this._getScrollBarWidth());this.setOverflow($[36]);this._scrollBar.setWidth(this._getScrollBarWidth()+1);this._scrollBar.setLeft(-1);}}this.add(this._scrollBar);this._blocker=new qx.ui.basic.Terminator();this._blocker.set({left:0,top:0,height:$[56],width:$[56],display:!this.getEnabled()});this._blocker.setAppearance($[790]);this.add(this._blocker);this.setMaximum(0);},statics:{EVENT_DELAY:250},properties:{value:{check:$[19],init:0,apply:$[209],event:$[124],transform:$[1776]},maximum:{check:$[5],apply:$[1432]},mergeEvents:{check:$[2],init:false}},members:{_checkValue:function($0){var $1=!this.getElement()?0:(this._horizontal?this.getInnerWidth():this.getInnerHeight());return Math.max(0,Math.min(this.getMaximum()-$1,$0));},_applyValue:function($0,$1){if(!this._internalValueChange&&this._isCreated){this._positionKnob($0);}},_applyMaximum:function($0,$1){if(this._horizontal){this._scrollContent.setWidth($0);}else{this._scrollContent.setHeight($0);}this.setValue(this._checkValue(this.getValue()));},_applyVisibility:function($0,$1){if(!$0){this._positionKnob(0);}else{this._positionKnob(this.getValue());}return arguments.callee.base.call(this,$0,$1);},_computePreferredInnerWidth:function(){return this._horizontal?0:this._getScrollBarWidth();},_computePreferredInnerHeight:function(){return this._horizontal?this._getScrollBarWidth():0;},_applyEnabled:function($0){arguments.callee.base.call(this);this._blocker.setDisplay(!this.getEnabled());},_getScrollBarWidth:function(){if(qx.ui.basic.ScrollBar._scrollBarWidth==null){var $0=document.createElement($[67]);$0.style.width=$[252];$0.style.height=$[252];$0.style.overflow=$[26];$0.style.visibility=$[36];document.body.appendChild($0);qx.ui.basic.ScrollBar._scrollBarWidth=$0.offsetWidth-$0.clientWidth;document.body.removeChild($0);}return qx.ui.basic.ScrollBar._scrollBarWidth;},_onscroll:function($0){var $1=this._horizontal?this._scrollBar.getScrollLeft():this._scrollBar.getScrollTop();if(this.getMergeEvents()){this._lastScrollEventValue=$1;window.clearTimeout(this._setValueTimerId);var $2=this;this._setValueTimerId=window.setTimeout(function(){$2._internalValueChange=true;$2.setValue($2._lastScrollEventValue);$2._internalValueChange=false;qx.ui.core.Widget.flushGlobalQueues();},qx.ui.basic.ScrollBar.EVENT_DELAY);}else{this._internalValueChange=true;this.setValue($1);this._internalValueChange=false;qx.ui.core.Widget.flushGlobalQueues();}},_positionKnob:function($0){if(this.isCreated()){if(this._horizontal){this._scrollBar.setScrollLeft($0);}else{this._scrollBar.setScrollTop($0);}}},_afterAppear:function(){arguments.callee.base.call(this);this._positionKnob(this.getValue());}},destruct:function(){this._disposeObjects($[1774],$[776],$[491]);}}); >-qx.Class.define($[1212],{extend:qx.ui.layout.CanvasLayout,construct:function(){arguments.callee.base.call(this);this.__onscroll=qx.lang.Function.bindEvent(this._onscroll,this);},events:{"scroll":$[4]},members:{_applyElement:function($0,$1){arguments.callee.base.call(this,$0,$1);if($0){if(qx.core.Variant.isSet($[1],$[13])){$0.attachEvent($[522],this.__onscroll);}else{$0.addEventListener($[26],this.__onscroll,false);}}},_onscroll:function($0){this.createDispatchEvent($[26]);qx.event.handler.EventHandler.stopDomEvent($0);}},destruct:function(){var $0=this.getElement();if($0){if(qx.core.Variant.isSet($[1],$[13])){$0.detachEvent($[522],this.__onscroll);}else{$0.removeEventListener($[26],this.__onscroll,false);}delete this.__onscroll;}}}); >+qx.Class.define($[514],{extend:qx.core.Target,construct:function($0,$1,$2){arguments.callee.base.call(this);this._requestHeaders={};this._parameters={};this._formFields={};if($0!==undefined){this.setUrl($0);}if($1!==undefined){this.setMethod($1);}if($2!==undefined){this.setResponseType($2);}this.setProhibitCaching(true);this.setRequestHeader($[1514],$[838]);this.setRequestHeader($[1655],qx.core.Version.toString());this._seqNum=++qx.io.remote.Request._seqNum;},events:{"created":$[4],"configured":$[4],"sending":$[4],"receiving":$[4],"completed":$[94],"aborted":$[94],"failed":$[94],"timeout":$[94]},statics:{_seqNum:0},properties:{url:{check:$[6],init:$[0]},method:{check:[qx.net.Http.METHOD_GET,qx.net.Http.METHOD_POST,qx.net.Http.METHOD_PUT,qx.net.Http.METHOD_HEAD,qx.net.Http.METHOD_DELETE],apply:$[1316],init:qx.net.Http.METHOD_GET},asynchronous:{check:$[2],init:true},data:{check:$[6],nullable:true},username:{check:$[6],nullable:true},password:{check:$[6],nullable:true},state:{check:[$[71],$[198],$[29],$[39],$[15],$[33],$[32],$[27]],init:$[71],apply:$[296],event:$[290]},responseType:{check:[qx.util.Mime.TEXT,qx.util.Mime.JAVASCRIPT,qx.util.Mime.JSON,qx.util.Mime.XML,qx.util.Mime.HTML],init:qx.util.Mime.TEXT,apply:$[1082]},timeout:{check:$[5],nullable:true},prohibitCaching:{check:$[2],init:true,apply:$[1634]},crossDomain:{check:$[2],init:false},fileUpload:{check:$[2],init:false},transport:{check:$[510],nullable:true},useBasicHttpAuth:{check:$[2],init:false}},members:{send:function(){qx.io.remote.RequestQueue.getInstance().add(this);},abort:function(){qx.io.remote.RequestQueue.getInstance().abort(this);},reset:function(){switch(this.getState()){case $[29]:case $[39]:this.error("Aborting already sent request!");case $[198]:this.abort();break;}},isConfigured:function(){return this.getState()===$[71];},isQueued:function(){return this.getState()===$[198];},isSending:function(){return this.getState()===$[29];},isReceiving:function(){return this.getState()===$[39];},isCompleted:function(){return this.getState()===$[15];},isAborted:function(){return this.getState()===$[33];},isTimeout:function(){return this.getState()===$[32];},isFailed:function(){return this.getState()===$[27];},_onqueued:function($0){this.setState($[198]);this.dispatchEvent($0);},_onsending:function($0){this.setState($[29]);this.dispatchEvent($0);},_onreceiving:function($0){this.setState($[39]);this.dispatchEvent($0);},_oncompleted:function($0){this.setState($[15]);this.dispatchEvent($0);this.dispose();},_onaborted:function($0){this.setState($[33]);this.dispatchEvent($0);this.dispose();},_ontimeout:function($0){this.setState($[32]);this.dispatchEvent($0);this.dispose();},_onfailed:function($0){this.setState($[27]);this.dispatchEvent($0);this.dispose();},_applyState:function($0,$1){{};},_applyProhibitCaching:function($0,$1){if($0){this.setParameter($[352],new Date().valueOf());this.setRequestHeader($[379],$[367]);this.setRequestHeader($[428],$[367]);}else{this.removeParameter($[352]);this.removeRequestHeader($[379]);this.removeRequestHeader($[428]);}},_applyMethod:function($0,$1){if($0===qx.net.Http.METHOD_POST){this.setRequestHeader($[326],$[628]);}else{this.removeRequestHeader($[326]);}},_applyResponseType:function($0,$1){this.setRequestHeader($[936],$0);},setRequestHeader:function($0,$1){this._requestHeaders[$0]=$1;},removeRequestHeader:function($0){delete this._requestHeaders[$0];},getRequestHeader:function($0){return this._requestHeaders[$0]||null;},getRequestHeaders:function(){return this._requestHeaders;},setParameter:function($0,$1){this._parameters[$0]=$1;},removeParameter:function($0){delete this._parameters[$0];},getParameter:function($0){return this._parameters[$0]||null;},getParameters:function(){return this._parameters;},setFormField:function($0,$1){this._formFields[$0]=$1;},removeFormField:function($0){delete this._formFields[$0];},getFormField:function($0){return this._formFields[$0]||null;},getFormFields:function(){return this._formFields;},getSequenceNumber:function(){return this._seqNum;}},destruct:function(){this.setTransport(null);this._disposeFields($[1023],$[1485],$[1251]);}}); >+qx.Class.define($[966],{type:$[18],extend:qx.core.Target,construct:function(){arguments.callee.base.call(this);this._queue=[];this._active=[];this._totalRequests=0;this._timer=new qx.client.Timer(500);this._timer.addEventListener($[86],this._oninterval,this);},properties:{enabled:{init:true,check:$[2],apply:$[302]},maxTotalRequests:{check:$[5],nullable:true},maxConcurrentRequests:{check:$[5],init:3},defaultTimeout:{check:$[5],init:5000}},members:{_debug:function(){var $0=this._active.length+$[135]+(this._queue.length+this._active.length);{};},_check:function(){this._debug();if(this._active.length==0&&this._queue.length==0){this._timer.stop();}if(!this.getEnabled()){return;}if((this._queue.length>0&&this._queue[0].isAsynchronous()&&this._active.length>=this.getMaxConcurrentRequests())||this._queue.length==0){return;}if(this.getMaxTotalRequests()!=null&&this._totalRequests>=this.getMaxTotalRequests()){return;}var $0=this._queue.shift();var $1=new qx.io.remote.Exchange($0);this._totalRequests++;this._active.push($1);this._debug();$1.addEventListener($[29],$0._onsending,$0);$1.addEventListener($[39],$0._onreceiving,$0);$1.addEventListener($[15],$0._oncompleted,$0);$1.addEventListener($[33],$0._onaborted,$0);$1.addEventListener($[32],$0._ontimeout,$0);$1.addEventListener($[27],$0._onfailed,$0);$1.addEventListener($[29],this._onsending,this);$1.addEventListener($[15],this._oncompleted,this);$1.addEventListener($[33],this._oncompleted,this);$1.addEventListener($[32],this._oncompleted,this);$1.addEventListener($[27],this._oncompleted,this);$1._start=(new Date).valueOf();$1.send();if(this._queue.length>0){this._check();}},_remove:function($0){qx.lang.Array.remove(this._active,$0);$0.dispose();this._check();},_activeCount:0,_onsending:function($0){{};},_oncompleted:function($0){{};this._remove($0.getTarget());},_oninterval:function($0){var $1=this._active;if($1.length==0){this._timer.stop();return;}var $2=(new Date).valueOf();var $3;var $4;var $5=this.getDefaultTimeout();var $6;var $7;for(var $8=$1.length-1;$8>=0;$8--){$3=$1[$8];$4=$3.getRequest();if($4.isAsynchronous()){$6=$4.getTimeout();if($6==0){continue;}if($6==null){$6=$5;}$7=$2-$3._start;if($7>$6){this.warn("Timeout: transport "+$3.toHashCode());this.warn($7+"ms > "+$6+"ms");$3.timeout();}}}},_applyEnabled:function($0,$1){if($0){this._check();}this._timer.setEnabled($0);},add:function($0){$0.setState($[198]);if($0.isAsynchronous())this._queue.push($0);else this._queue.unshift($0);this._check();if(this.getEnabled()){this._timer.start();}},abort:function($0){var $1=$0.getTransport();if($1){$1.abort();}else if(qx.lang.Array.contains(this._queue,$0)){qx.lang.Array.remove(this._queue,$0);}}},destruct:function(){this._disposeObjectDeep($[1257],1);this._disposeObjects($[284]);this._disposeFields($[1042]);}}); >+qx.Class.define($[1534],{extend:qx.ui.basic.Terminator,construct:function($0){arguments.callee.base.call(this);this.initSelectable();this.initTabIndex();this.initScrolling();if($0!=null){this.setSource($0);}},events:{"load":$[4]},statics:{load:function($0){if(!$0){throw new Error("Could not find iframe which was loaded [A]!");}if($0.currentTarget){$0=$0.currentTarget;}if($0._QxIframe){$0._QxIframe._onload();}else{throw new Error("Could not find iframe which was loaded [B]!");}}},properties:{tabIndex:{refine:true,init:0},selectable:{refine:true,init:false},appearance:{refine:true,init:$[239]},source:{check:$[6],apply:$[364],event:$[393],nullable:true},frameName:{check:$[6],init:$[0],apply:$[1417]},scrolling:{check:[$[1315],$[1069],$[3]],init:$[3],apply:$[783]}},members:{getIframeNode:function(){return this._iframeNode;},setIframeNode:function($0){return this._iframeNode=$0;},getBlockerNode:function(){return this._blockerNode;},setBlockerNode:function($0){return this._blockerNode=$0;},getContentWindow:function(){if(this.isCreated()){return qx.html.Iframe.getWindow(this.getIframeNode());}else{return null;}},getContentDocument:function(){if(this.isCreated()){return qx.html.Iframe.getDocument(this.getIframeNode());}else{return null;}},isLoaded:qx.core.Variant.select($[1],{"mshtml":function(){var $0=this.getContentDocument();return $0?$0.readyState==$[645]:false;},"default":function(){return this._isLoaded;}}),reload:function(){if(this.isCreated()&&this.getContentWindow()){this._isLoaded=false;var $0=this.queryCurrentUrl()||this.getSource();try{try{this.getContentWindow().location.replace($0);}catch(ex){this.warn("Could not reload iframe using location.replace()!",ex);this.getIframeNode().src=$0;}}catch(ex){this.warn("Iframe source could not be set! This may be related to AdBlock Plus Firefox Extension.");}}},queryCurrentUrl:function(){var $0=this.getContentDocument();try{if($0&&$0.location){return $0.location.href;}}catch(ex){}return null;},block:function(){if(this._blockerNode){this._blockerNode.style.display=$[0];}},release:function(){if(this._blockerNode){this._blockerNode.style.display=$[7];}},_generateIframeElement:function($0){if(qx.core.Variant.isSet($[1],$[13])){var $1=$0?$[1164]+$0+$[109]:$[521];var $2=qx.ui.embed.Iframe._element=document.createElement($[1358]+$1+$[1099]);}else{var $2=qx.ui.embed.Iframe._element=document.createElement($[239]);$2.onload=qx.ui.embed.Iframe.load;if($0){$2.name=$0;}}$2._QxIframe=this;$2.frameBorder=$[41];$2.frameSpacing=$[41];$2.marginWidth=$[41];$2.marginHeight=$[41];$2.width=$[56];$2.height=$[56];$2.hspace=$[41];$2.vspace=$[41];$2.border=$[41];$2.unselectable=$[23];$2.allowTransparency=$[889];$2.style.position=$[54];$2.style.top=0;$2.style.left=0;return $2;},_generateBlockerElement:function(){var $0=qx.ui.embed.Iframe._blocker=document.createElement($[67]);var $1=$0.style;if(qx.core.Variant.isSet($[1],$[13])){$1.backgroundColor=$[201];$1.filter=$[1656];}$1.position=$[54];$1.top=0;$1.left=0;$1.width=$[56];$1.height=$[56];$1.zIndex=1;$1.display=$[7];return $0;},_applyElement:function($0,$1){var $2=this.setIframeNode(this._generateIframeElement());var $3=this.setBlockerNode(this._generateBlockerElement());this._syncSource();this._syncScrolling();$0.appendChild($2);$0.appendChild($3);arguments.callee.base.call(this,$0,$1);},_beforeAppear:function(){arguments.callee.base.call(this);qx.ui.embed.IframeManager.getInstance().add(this);},_beforeDisappear:function(){arguments.callee.base.call(this);qx.ui.embed.IframeManager.getInstance().remove(this);},_applySource:function($0,$1){if(this.isCreated()){this._syncSource();}},_syncSource:function(){var $0=this.getSource();if($0==null||$0===$[0]){$0=qx.io.Alias.getInstance().resolve($[583]);}this._isLoaded=false;try{if(this.getContentWindow()){try{this.getContentWindow().location.replace($0);}catch(ex){this.getIframeNode().src=$0;}}else{this.getIframeNode().src=$0;}}catch(ex){this.warn("Iframe source could not be set! This may be related to AdBlock Plus Firefox Extension.");}},_applyScrolling:function($0,$1){if(this.isCreated()){this._syncScrolling();}},_syncScrolling:function(){this.getIframeNode().setAttribute($[844],this.getScrolling());},_applyFrameName:function($0,$1,$2,$3){if(this.isCreated()){throw new Error("Not allowed to set frame name after it has been created");}},_onload:function(){if(!this._isLoaded){this._isLoaded=true;this.createDispatchEvent($[82]);}},_isLoaded:false},destruct:function(){if(this._iframeNode){this._iframeNode._QxIframe=null;this._iframeNode.onload=null;}this._disposeFields($[601],$[1241],$[865]);}}); >+qx.Class.define($[1227],{statics:{getInnerWidth:qx.core.Variant.select($[1],{"mshtml":function($0){if($0.document.documentElement&&$0.document.documentElement.clientWidth){return $0.document.documentElement.clientWidth;}else if($0.document.body){return $0.document.body.clientWidth;}return 0;},"default":function($0){return $0.innerWidth;}}),getInnerHeight:qx.core.Variant.select($[1],{"mshtml":function($0){if($0.document.documentElement&&$0.document.documentElement.clientHeight){return $0.document.documentElement.clientHeight;}else if($0.document.body){return $0.document.body.clientHeight;}return 0;},"default":function($0){return $0.innerHeight;}}),getScrollLeft:qx.core.Variant.select($[1],{"mshtml":function($0){if($0.document.documentElement&&$0.document.documentElement.scrollLeft){return $0.document.documentElement.scrollLeft;}else if($0.document.body){return $0.document.body.scrollTop;}return 0;},"default":function($0){return $0.document.body.scrollLeft;}}),getScrollTop:qx.core.Variant.select($[1],{"mshtml":function($0){if($0.document.documentElement&&$0.document.documentElement.scrollTop){return $0.document.documentElement.scrollTop;}else if($0.document.body){return $0.document.body.scrollTop;}return 0;},"default":function($0){return $0.document.body.scrollTop;}})}}); >+qx.Class.define($[726],{extend:qx.ui.layout.CanvasLayout,construct:function($0){arguments.callee.base.call(this,$0?$[132]:$[117]);this._horizontal=($0==true);this._scrollBar=new qx.ui.basic.ScrollArea;if(qx.core.Variant.isSet($[1],$[21])){this._scrollBar.setStyleProperty($[78],$[0]);}this._scrollBar.setOverflow($0?$[112]:$[111]);this._scrollBar.addEventListener($[26],this._onscroll,this);this._scrollContent=new qx.ui.basic.Terminator;if(qx.core.Variant.isSet($[1],$[21])){this._scrollContent.setStyleProperty($[78],$[0]);}this._scrollBar.add(this._scrollContent);if(this._horizontal){this._scrollContent.setHeight(5);this._scrollBar.setWidth($[56]);this._scrollBar.setHeight(this._getScrollBarWidth());if(qx.core.Variant.isSet($[1],$[13])){this.setHeight(this._getScrollBarWidth());this.setOverflow($[36]);this._scrollBar.setHeight(this._getScrollBarWidth()+1);this._scrollBar.setTop(-1);}}else{this._scrollContent.setWidth(5);this._scrollBar.setHeight($[56]);this._scrollBar.setWidth(this._getScrollBarWidth());if(qx.core.Variant.isSet($[1],$[13])){this.setWidth(this._getScrollBarWidth());this.setOverflow($[36]);this._scrollBar.setWidth(this._getScrollBarWidth()+1);this._scrollBar.setLeft(-1);}}this.add(this._scrollBar);this._blocker=new qx.ui.basic.Terminator();this._blocker.set({left:0,top:0,height:$[56],width:$[56],display:!this.getEnabled()});this._blocker.setAppearance($[791]);this.add(this._blocker);this.setMaximum(0);},statics:{EVENT_DELAY:250},properties:{value:{check:$[19],init:0,apply:$[209],event:$[124],transform:$[1776]},maximum:{check:$[5],apply:$[1432]},mergeEvents:{check:$[2],init:false}},members:{_checkValue:function($0){var $1=!this.getElement()?0:(this._horizontal?this.getInnerWidth():this.getInnerHeight());return Math.max(0,Math.min(this.getMaximum()-$1,$0));},_applyValue:function($0,$1){if(!this._internalValueChange&&this._isCreated){this._positionKnob($0);}},_applyMaximum:function($0,$1){if(this._horizontal){this._scrollContent.setWidth($0);}else{this._scrollContent.setHeight($0);}this.setValue(this._checkValue(this.getValue()));},_applyVisibility:function($0,$1){if(!$0){this._positionKnob(0);}else{this._positionKnob(this.getValue());}return arguments.callee.base.call(this,$0,$1);},_computePreferredInnerWidth:function(){return this._horizontal?0:this._getScrollBarWidth();},_computePreferredInnerHeight:function(){return this._horizontal?this._getScrollBarWidth():0;},_applyEnabled:function($0){arguments.callee.base.call(this);this._blocker.setDisplay(!this.getEnabled());},_getScrollBarWidth:function(){if(qx.ui.basic.ScrollBar._scrollBarWidth==null){var $0=document.createElement($[67]);$0.style.width=$[252];$0.style.height=$[252];$0.style.overflow=$[26];$0.style.visibility=$[36];document.body.appendChild($0);qx.ui.basic.ScrollBar._scrollBarWidth=$0.offsetWidth-$0.clientWidth;document.body.removeChild($0);}return qx.ui.basic.ScrollBar._scrollBarWidth;},_onscroll:function($0){var $1=this._horizontal?this._scrollBar.getScrollLeft():this._scrollBar.getScrollTop();if(this.getMergeEvents()){this._lastScrollEventValue=$1;window.clearTimeout(this._setValueTimerId);var $2=this;this._setValueTimerId=window.setTimeout(function(){$2._internalValueChange=true;$2.setValue($2._lastScrollEventValue);$2._internalValueChange=false;qx.ui.core.Widget.flushGlobalQueues();},qx.ui.basic.ScrollBar.EVENT_DELAY);}else{this._internalValueChange=true;this.setValue($1);this._internalValueChange=false;qx.ui.core.Widget.flushGlobalQueues();}},_positionKnob:function($0){if(this.isCreated()){if(this._horizontal){this._scrollBar.setScrollLeft($0);}else{this._scrollBar.setScrollTop($0);}}},_afterAppear:function(){arguments.callee.base.call(this);this._positionKnob(this.getValue());}},destruct:function(){this._disposeObjects($[1774],$[777],$[490]);}}); >+qx.Class.define($[1211],{extend:qx.ui.layout.CanvasLayout,construct:function(){arguments.callee.base.call(this);this.__onscroll=qx.lang.Function.bindEvent(this._onscroll,this);},events:{"scroll":$[4]},members:{_applyElement:function($0,$1){arguments.callee.base.call(this,$0,$1);if($0){if(qx.core.Variant.isSet($[1],$[13])){$0.attachEvent($[523],this.__onscroll);}else{$0.addEventListener($[26],this.__onscroll,false);}}},_onscroll:function($0){this.createDispatchEvent($[26]);qx.event.handler.EventHandler.stopDomEvent($0);}},destruct:function(){var $0=this.getElement();if($0){if(qx.core.Variant.isSet($[1],$[13])){$0.detachEvent($[523],this.__onscroll);}else{$0.removeEventListener($[26],this.__onscroll,false);}delete this.__onscroll;}}}); >Index: js/org/eclipse/rwt/KeyEventUtil.js >=================================================================== >RCS file: js/org/eclipse/rwt/KeyEventUtil.js >diff -N js/org/eclipse/rwt/KeyEventUtil.js >--- /dev/null 1 Jan 1970 00:00:00 -0000 >+++ js/org/eclipse/rwt/KeyEventUtil.js 1 Jan 1970 00:00:00 -0000 >@@ -0,0 +1,136 @@ >+/******************************************************************************* >+ * Copyright (c) 2008 Innoopract Informationssysteme GmbH. >+ * All rights reserved. This program and the accompanying materials >+ * are made available under the terms of the Eclipse Public License v1.0 >+ * which accompanies this distribution, and is available at >+ * http://www.eclipse.org/legal/epl-v10.html >+ * >+ * Contributors: >+ * Innoopract Informationssysteme GmbH - initial API and implementation >+ ******************************************************************************/ >+ >+qx.Class.define( "org.eclipse.rwt.KeyEventUtil", >+{ >+ type : "singleton", >+ extend : qx.core.Object, >+ >+ construct : function() { >+ this.base( arguments ); >+ this._pendingEvents = {}; >+ this._lastEventId = 0; >+ }, >+ >+ members : { >+ intercept : function( eventType, keyCode, charCode, domEvent ) { >+//this._printEvent( "intercept:", domEvent ); >+ var relevantEvent; >+ if( qx.core.Variant.isSet( "qx.client", "mshtml" ) ) { >+ var keyEventHandler = qx.event.handler.KeyEventHandler.getInstance(); >+ var nonPrintable >+ = keyEventHandler._isNonPrintableKeyCode( keyCode ) >+ || keyCode == 8 // backspace >+ || keyCode == 9; // tab >+ if( nonPrintable ) { >+ relevantEvent = eventType === "keydown"; >+ } else { >+ relevantEvent = eventType === "keypress"; >+ } >+ } else { >+ relevantEvent = domEvent.type === "keypress"; >+ } >+ if( !org_eclipse_rap_rwt_EventUtil_suspend && relevantEvent ) { >+ var control = this._getTargetControl(); >+ var hasKeyListener = false; >+ if( control !== null && this._hasKeyListener( control ) ) { >+ hasKeyListener = true; >+ } >+ if( hasKeyListener ) { >+ var key = charCode; >+ if( charCode === 0 ) { >+ key = keyCode; >+ } >+ this._lastEventId++; >+ var eventId = this._lastEventId; >+ this._pendingEvents[ eventId ] = domEvent; >+// TODO [rh] un-canceled events must also be removed from the _pendingEvents map >+this.debug( "send key event: " + eventId ); >+ this._sendKeyDown( control, key, eventId ); >+this.debug( "sync send done: " + eventId ); >+ } >+ } >+ }, >+ >+ cancelEvent : function( eventId ) { >+this.debug( "caneling: " + eventId ); >+ this._cancelDomEvent( this._pendingEvents[ eventId ] ); >+ delete this._pendingEvents[ eventId ]; >+ }, >+ >+ acceptEvent : function( eventId ) { >+this.debug( "accepting: " + eventId ); >+ delete this._pendingEvents[ eventId ]; >+ }, >+ >+ isDomEventCanceled : function( domEvent ) { >+ var result; >+ if( qx.core.Variant.isSet( "qx.client", "mshtml" ) ) { >+ result = domEvent.returnValue === false; >+ } else { >+ result = domEvent.__isCanceled === true; >+ } >+ return result; >+ }, >+ >+ _getTargetControl : function() { >+ var result = qx.event.handler.EventHandler.getInstance().getCaptureWidget(); >+ if( !result ) { >+ var focusRoot = qx.event.handler.EventHandler.getInstance().getFocusRoot(); >+ result = focusRoot == null ? null : focusRoot.getActiveChild(); >+ } >+ var widgetManager = org.eclipse.swt.WidgetManager.getInstance(); >+ while( result !== null && !widgetManager.isControl( result ) ) { >+ result = result.getParent ? result.getParent() : null; >+ } >+ return result; >+ }, >+ >+ _hasKeyListener : function( widget ) { >+ return widget.getUserData( "keyListener" ) === true; >+ }, >+ >+ _cancelDomEvent : function( domEvent ) { >+ if( qx.core.Variant.isSet( "qx.client", "mshtml" ) ) { >+ domEvent.returnValue = false; >+ domEvent.cancelBubble = true; >+ } else { >+ domEvent.__isCanceled = true; >+ domEvent.preventDefault(); >+ domEvent.stopPropagation(); >+ } >+ }, >+ >+ _sendKeyDown : function( widget, keyCode, eventId ) { >+ var id = org.eclipse.swt.WidgetManager.getInstance().findIdByWidget( widget ); >+ var req = org.eclipse.swt.Request.getInstance(); >+ req.addEvent( "org.eclipse.swt.events.keyDown", id ); >+ req.addParameter( "org.eclipse.swt.events.keyDown.keyCode", keyCode ); >+ req.addParameter( "org.eclipse.swt.events.keyDown.character", "9" ); >+ req.addParameter( "org.eclipse.swt.events.keyDown.eventId", eventId ); >+ req.sendSyncronous(); >+ }, >+ >+ _printEvent : function( text, domEvent ) { >+ var message = text + " "; >+ message += "{ "; >+ message += "type=" + domEvent.type + ", "; >+ message += "keyCode=" + domEvent.keyCode + ", "; >+ message += "charCode=" + domEvent.charCode + ", "; >+ message += "isChar=" + domEvent.isChar + ", "; >+ message += "target=" + domEvent.target + ", "; >+ message += " }"; >+ this.debug( message ) >+ } >+ >+ } >+} ); >+ >Index: js/org/eclipse/rwt/KeyEventHandlerPatch.js >=================================================================== >RCS file: js/org/eclipse/rwt/KeyEventHandlerPatch.js >diff -N js/org/eclipse/rwt/KeyEventHandlerPatch.js >--- /dev/null 1 Jan 1970 00:00:00 -0000 >+++ js/org/eclipse/rwt/KeyEventHandlerPatch.js 1 Jan 1970 00:00:00 -0000 >@@ -0,0 +1,26 @@ >+/******************************************************************************* >+ * Copyright (c) 2008 Innoopract Informationssysteme GmbH. >+ * All rights reserved. This program and the accompanying materials >+ * are made available under the terms of the Eclipse Public License v1.0 >+ * which accompanies this distribution, and is available at >+ * http://www.eclipse.org/legal/epl-v10.html >+ * >+ * Contributors: >+ * Innoopract Informationssysteme GmbH - initial API and implementation >+ ******************************************************************************/ >+ >+qx.Mixin.define( "org.eclipse.rwt.KeyEventHandlerPatch", >+{ >+ "members" : { >+ >+ _idealKeyHandler : function( keyCode, charCode, eventType, domEvent ) { >+ var util = org.eclipse.rwt.KeyEventUtil.getInstance(); >+ util.intercept( eventType, keyCode, charCode, domEvent ); >+ if( util.isDomEventCanceled( domEvent ) ) { >+ this.base( arguments ); >+ } >+ } >+ >+ } >+} ); >+
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 225764
:
114286