Package org.jdesktop.wonderland.modules.appbase.common.cell

Examples of org.jdesktop.wonderland.modules.appbase.common.cell.App2DCellClientState


     * {@inheritDoc}
     */
    @Override
    public void setClientState(CellClientState clientState) {
        super.setClientState(clientState);
        App2DCellClientState state = (App2DCellClientState) clientState;
        pixelScale = state.getPixelScale();

        logger.info("initialPlacementDone = " + state.isInitialPlacementDone());

        if (App2D.doAppInitialPlacement && !state.isInitialPlacementDone()) {
            // Initial cell placement hasn't yet been done. Volunteer to do it.
            CellTransform creatorViewTransform = state.getCreatorViewTransform();
            logger.info("creatorViewTransform = " + creatorViewTransform);
            if (creatorViewTransform != null) {
                fvi = new FirstVisibleInitializerCell(this, creatorViewTransform, initialPlacementSize);
            }
            logger.info("fvi = " + fvi);
View Full Code Here


     */
    @Override
    protected CellClientState getClientState(CellClientState cellClientState,
                                             WonderlandClientID clientID, ClientCapabilities capabilities) {
        if (cellClientState == null) {
            cellClientState = new App2DCellClientState();
        }
        populateClientState((App2DCellClientState) cellClientState);
        return super.getClientState(cellClientState, clientID, capabilities);
    }
View Full Code Here

TOP

Related Classes of org.jdesktop.wonderland.modules.appbase.common.cell.App2DCellClientState

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.