Package org.jdesktop.wonderland.client.hud

Examples of org.jdesktop.wonderland.client.hud.HUD.createComponent()


        if (vuMeterComponent == null) {
            final VuMeterPanel vuMeterPanel = new VuMeterPanel(this);

            HUD mainHUD = HUDManagerFactory.getHUDManager().getHUD("main");

            vuMeterComponent = mainHUD.createComponent(vuMeterPanel);
            vuMeterComponent.setPreferredLocation(Layout.SOUTHEAST);
            vuMeterComponent.setName(BUNDLE.getString("Microphone_Level"));
            vuMeterComponent.setIcon(voiceChatIcon);
            vuMeterComponent.addEventListener(new HUDEventListener() {
View Full Code Here


                    new IncomingCallHUDPanel(this, session, cell.getCellID(),
                    (VoiceChatJoinRequestMessage) message);

            HUD mainHUD = HUDManagerFactory.getHUDManager().getHUD("main");
            final HUDComponent incomingCallHUDComponent =
                    mainHUD.createComponent(incomingCallHUDPanel);
            incomingCallHUDPanel.setHUDComponent(incomingCallHUDComponent);
            incomingCallHUDComponent.setPreferredLocation(Layout.CENTER);
            incomingCallHUDComponent.setIcon(voiceChatIcon);

            mainHUD.addComponent(incomingCallHUDComponent);
View Full Code Here

            VoiceChatBusyHUDPanel voiceChatBusyHUDPanel =
                    new VoiceChatBusyHUDPanel(msg.getCallee());
            HUD mainHUD = HUDManagerFactory.getHUDManager().getHUD("main");
            HUDComponent voiceChatBusyHUDComponent =
                    mainHUD.createComponent(voiceChatBusyHUDPanel);
            voiceChatBusyHUDPanel.setHUDComponent(voiceChatBusyHUDComponent);
            voiceChatBusyHUDComponent.setPreferredLocation(Layout.CENTER);
            voiceChatBusyHUDComponent.setIcon(voiceChatIcon);

            mainHUD.addComponent(voiceChatBusyHUDComponent);
View Full Code Here

    private void callEnded(PresenceInfo callee, String reason) {
        CallEndedHUDPanel callEndedHUDPanel =
                new CallEndedHUDPanel(callee, reason);
        HUD mainHUD = HUDManagerFactory.getHUDManager().getHUD("main");
        HUDComponent callEndedHUDComponent =
                mainHUD.createComponent(callEndedHUDPanel);
        callEndedHUDPanel.setHUDComponent(callEndedHUDComponent);
        callEndedHUDComponent.setPreferredLocation(Layout.CENTER);
        callEndedHUDComponent.setIcon(voiceChatIcon);

        mainHUD.addComponent(callEndedHUDComponent);
View Full Code Here

                                                  me, Mode.IN_PROGRESS);

        addHUDPanel.inviteUsers(new ArrayList<PresenceInfo>(usersToInvite));

        HUD mainHUD = HUDManagerFactory.getHUDManager().getHUD("main");
        final HUDComponent hudComponent = mainHUD.createComponent(addHUDPanel);
        addHUDPanel.setHUDComponent(hudComponent);
        hudComponent.setName(BUNDLE.getString("Voice_Chat"));
        hudComponent.setIcon(new ImageIcon(getClass().getResource(
                "/org/jdesktop/wonderland/modules/audiomanager/client/"
                + "resources/UserListChatVoice32x32.png")));
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.