Package org.jdesktop.wonderland.modules.placemarks.common

Examples of org.jdesktop.wonderland.modules.placemarks.common.GoToCoverScreenInfo


           } else {
               logger.warning("find GoToCoverScreen.xml in " + collection.getPath());
           }
          
           Reader r = new InputStreamReader(resource.getURL().openStream());
           GoToCoverScreenInfo out = GoToCoverScreenInfo.decode(r);
           return out;
        } catch (ContentRepositoryException ex) {
            Logger.getLogger(PlacemarkUtils.class.getName()).log(Level.SEVERE, null, ex);
        } catch (JAXBException ex) {
            Logger.getLogger(PlacemarkUtils.class.getName()).log(Level.SEVERE, null, ex);
View Full Code Here


           } else {
               logger.warning("find GoToCoverScreen.xml in " + collection.getPath());
           }
          
           Reader r = new InputStreamReader(resource.getURL().openStream());
           GoToCoverScreenInfo out = GoToCoverScreenInfo.decode(r);
           return out;
        } catch (ContentRepositoryException ex) {
            Logger.getLogger(PlacemarkUtils.class.getName()).log(Level.SEVERE, null, ex);
        } catch (JAXBException ex) {
            Logger.getLogger(PlacemarkUtils.class.getName()).log(Level.SEVERE, null, ex);
View Full Code Here

           } else {
               logger.warning("find GoToCoverScreen.xml in " + grpusrs.getPath());
           }
          
           Reader r = new InputStreamReader(resource.getURL().openStream());
           GoToCoverScreenInfo out = GoToCoverScreenInfo.decode(r);
           return out;
        } catch (ContentRepositoryException ex) {
            Logger.getLogger(PlacemarkUtils.class.getName()).log(Level.SEVERE, null, ex);
        } catch (JAXBException ex) {
            Logger.getLogger(PlacemarkUtils.class.getName()).log(Level.SEVERE, null, ex);
View Full Code Here

       
        if(loginInfo==null) {
            loginInfo = new LoginCoverScreenInfo();
        }
        if(goToInfo==null) {
            goToInfo = new GoToCoverScreenInfo();
        }
        if(loginInfo==null) {
            loginInfo = new LoginCoverScreenInfo();
        }
        if(goToInfo==null) {
            goToInfo = new GoToCoverScreenInfo();
        }
       
        loginPropertyPanel.setBackColor(loginInfo.getBackgroundColor());
        loginPropertyPanel.setTextColor(loginInfo.getTextColor());
        loginPropertyPanel.setImageURL(loginInfo.getImageURL());
View Full Code Here

            info.setMessage(login.getMessage());
            info.setTextColor(login.getTextColor());
           
            PlacemarkUtils.setLoginCoverScreenInfo(info);
        } else {
            GoToCoverScreenInfo info = new GoToCoverScreenInfo();
            CoverScreenPropertyPanel goTo = (CoverScreenPropertyPanel) getActiveTabPanel();
            info.setBackgroundColor(goTo.getBackColor());
            String uri=goTo.getImageURL();
            File image = goTo.getImage();
            if(image!=null) {
                 uri = uploadImage(image);
            }
            goToPropertyPanel.setImageURL(uri);
            info.setImageURL(uri);
            info.setMessage(goTo.getMessage());
            info.setTextColor(goTo.getTextColor());
           
            PlacemarkUtils.setGoToCoverScreenInfo(info,LoginManager.getPrimary());
        }
    }
View Full Code Here

TOP

Related Classes of org.jdesktop.wonderland.modules.placemarks.common.GoToCoverScreenInfo

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.