<commit_before>package com.sksamuel.jqm4gwt;

import java.util.Collection;

import com.google.gwt.core.client.Scheduler;
import com.google.gwt.core.client.Scheduler.ScheduledCommand;
import com.google.gwt.dom.client.Element;
import com.google.gwt.dom.client.Style.Unit;
import com.google.gwt.event.logical.shared.ResizeEvent;
import com.google.gwt.event.logical.shared.ResizeHandler;
import com.google.gwt.event.shared.HandlerRegistration;
import com.google.gwt.uibinder.client.UiConstructor;
import com.google.gwt.user.client.Cookies;
import com.google.gwt.user.client.DOM;
import com.google.gwt.user.client.EventListener;
import com.google.gwt.user.client.Window;
import com.google.gwt.user.client.ui.Widget;
import com.sksamuel.jqm4gwt.JQMPageEvent.PageState;
import com.sksamuel.jqm4gwt.events.JQMComponentEvents;
import com.sksamuel.jqm4gwt.events.JQMEvent;
import com.sksamuel.jqm4gwt.events.JQMOrientationChangeHandler;
import com.sksamuel.jqm4gwt.toolbar.JQMFooter;
import com.sksamuel.jqm4gwt.toolbar.JQMHeader;
import com.sksamuel.jqm4gwt.toolbar.JQMPanel;

/**
 * @author <NAME> <EMAIL> 4 May 2011 23:55:27
 * <br>
 * A {@link JQMPage} is the base container for a single page. Any JQM widgets can be added
 * to the page. You can consider a JQMPage as like a GWT "view" in the MVP paradigm.
 */
public class JQMPage extends JQMContainer implements HasFullScreen<JQMPage> {

    public static final String UI_DIALOG_BACKGROUND = "ui-dialog-background";
    public static final String DATA_DOM_CACHE = "data-dom-cache";
    public static final String JQM4GWT_DLG_TRANSPARENT = "jqm4gwt-dialog-transparent";

    private static final String STYLE_UI_DIALOG = "ui-dialog";
    private static final String UI_DIALOG_CONTAIN = "ui-dialog-contain";

    private static final String JQM4GWT_FIXED_HIDDEN = "jqm4gwt-fixed-hidden";

    private static int counter = 1;

    /** The primary content div */
    private JQMContent content;

    public boolean firstShow = false;

    protected HasJqmHeader header;
    protected HasJqmFooter footer;
    protected JQMPanel panel;

    private boolean contentCentered;<commit_msg>JQMPage some consts added related to "transparent" dialog mode.<commit_after>package com.sksamuel.jqm4gwt;

import java.util.Collection;

import com.google.gwt.core.client.Scheduler;
import com.google.gwt.core.client.Scheduler.ScheduledCommand;
import com.google.gwt.dom.client.Element;
import com.google.gwt.dom.client.Style.Unit;
import com.google.gwt.event.logical.shared.ResizeEvent;
import com.google.gwt.event.logical.shared.ResizeHandler;
import com.google.gwt.event.shared.HandlerRegistration;
import com.google.gwt.uibinder.client.UiConstructor;
import com.google.gwt.user.client.Cookies;
import com.google.gwt.user.client.DOM;
import com.google.gwt.user.client.EventListener;
import com.google.gwt.user.client.Window;
import com.google.gwt.user.client.ui.Widget;
import com.sksamuel.jqm4gwt.JQMPageEvent.PageState;
import com.sksamuel.jqm4gwt.events.JQMComponentEvents;
import com.sksamuel.jqm4gwt.events.JQMEvent;
import com.sksamuel.jqm4gwt.events.JQMOrientationChangeHandler;
import com.sksamuel.jqm4gwt.toolbar.JQMFooter;
import com.sksamuel.jqm4gwt.toolbar.JQMHeader;
import com.sksamuel.jqm4gwt.toolbar.JQMPanel;

/**
 * @author <NAME> <EMAIL> 4 May 2011 23:55:27
 * <br>
 * A {@link JQMPage} is the base container for a single page. Any JQM widgets can be added
 * to the page. You can consider a JQMPage as like a GWT "view" in the MVP paradigm.
 */
public class JQMPage extends JQMContainer implements HasFullScreen<JQMPage> {

    public static final String DATA_DOM_CACHE = "data-dom-cache";
    public static final String UI_DIALOG_BACKGROUND = "ui-dialog-background";
    public static final String JQM4GWT_DLG_TRANSPARENT = "jqm4gwt-dialog-transparent";
    public static final String DLG_TRANSPARENT_ZINDEX_MINUS1 = "zindex-1";
    public static final String DLG_TRANSPARENT_TOPMOST = "topmost";

    private static final String STYLE_UI_DIALOG = "ui-dialog";
    private static final String UI_DIALOG_CONTAIN = "ui-dialog-contain";

    private static final String JQM4GWT_FIXED_HIDDEN = "jqm4gwt-fixed-hidden";

    private static int counter = 1;

    /** The primary content div */
    private JQMContent content;

    public boolean firstShow = false;

    protected HasJqmHeader header;
    protected HasJqmFooter footer;
    protected JQMPanel panel;

    private boolean contentCentered;
{'fraction_non_alphanumeric': 0.09489543512480324, 'fraction_numerical': 0.011243534967393748, 'mean_word_length': 4.82961992136304, 'pattern_counts': {'":': 0, '<': 11, '<?xml version=': 0, '>': 11, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2887882', 'n_tokens_mistral': 1601, 'n_tokens_neox': 1547, 'n_words': 333}