Package net.jini.lookup.entry

Examples of net.jini.lookup.entry.UIDescriptor


            throw new IllegalArgumentException("codebase is null");
        if(jars == null)
            throw new IllegalArgumentException("jars are null");
        if(className == null)
            throw new IllegalArgumentException("className is null");
        UIDescriptor desc = new UIDescriptor();
        desc.role = role;
        UIFactoryTypes types  ;
        MarshalledObject factory;
        URL[] urls = new URL[jars.length];
       
View Full Code Here


    public static UIDescriptor getUIDescriptor(String role, JComponentFactory factory) throws IOException {
        if(role==null)
            throw new IllegalArgumentException("role is null");
        if(factory==null)
            throw new IllegalArgumentException("factory is null");
        UIDescriptor desc = new UIDescriptor();
        desc.role = role;
        desc.toolkit = JComponentFactory.TOOLKIT;
        desc.attributes = Collections.singleton(new UIFactoryTypes(Collections.singleton(JComponentFactory.TYPE_NAME)));
        desc.factory = new MarshalledObject<JComponentFactory>(factory);
        return (desc);
View Full Code Here

    public static UIDescriptor getUIDescriptor(String role, JDialogFactory factory) throws IOException {
        if(role==null)
            throw new IllegalArgumentException("role is null");
        if(factory==null)
            throw new IllegalArgumentException("factory is null");
        UIDescriptor desc = new UIDescriptor();
        desc.role = role;
        desc.toolkit = JDialogFactory.TOOLKIT;
        desc.attributes = Collections.singleton(new UIFactoryTypes(Collections.singleton(JDialogFactory.TYPE_NAME)));
        desc.factory = new MarshalledObject<JDialogFactory>(factory);
        return (desc);
View Full Code Here

    public static UIDescriptor getUIDescriptor(String role, JFrameFactory factory) throws IOException {
        if(role==null)
            throw new IllegalArgumentException("role is null");
        if(factory==null)
            throw new IllegalArgumentException("factory is null");
        UIDescriptor desc = new UIDescriptor();
        desc.role = role;
        desc.toolkit = JFrameFactory.TOOLKIT;
        desc.attributes = Collections.singleton(new UIFactoryTypes(Collections.singleton(JFrameFactory.TYPE_NAME)));
        desc.factory = new MarshalledObject<JFrameFactory>(factory);
        return (desc);
View Full Code Here

    public static UIDescriptor getUIDescriptor(String role, JWindowFactory factory) throws IOException {
        if(role==null)
            throw new IllegalArgumentException("role is null");
        if(factory==null)
            throw new IllegalArgumentException("factory is null");
        UIDescriptor desc = new UIDescriptor();
        desc.role = role;
        desc.toolkit = JWindowFactory.TOOLKIT;
        desc.attributes = Collections.singleton(new UIFactoryTypes(Collections.singleton(JWindowFactory.TYPE_NAME)));
        desc.factory = new MarshalledObject<JWindowFactory>(factory);
        return (desc);
View Full Code Here

            setOpaque(true);
            setLightWeightPopupEnabled(true);
        }

        public void actionPerformed(ActionEvent anEvent) {
            UIDescriptor uiDescriptor = getSelectedUIDescriptor();
            if (uiDescriptor == null) {
                return;
            }
            ServiceUIHelper.handle(uiDescriptor, serviceItem, browser);
        }
View Full Code Here

            if (!ev.isPopupTrigger()) {
                return;
            }

            UIDescriptor selectedDescriptor = getSelectedUIDescriptor();

            if (selectedDescriptor == null) {
                return;
            }
View Full Code Here

            if (!ev.isPopupTrigger()) {
                return;
            }

            UIDescriptor selectedDescriptor = getSelectedUIDescriptor();

            if (selectedDescriptor == null) {
                return;
            }
View Full Code Here

            setLightWeightPopupEnabled(true);
        }

        public void actionPerformed(final ActionEvent anEvent) {

            UIDescriptor uiDescriptor = getSelectedUIDescriptor();

            if (uiDescriptor == null) {
                return;
            }
            ServiceUIHelper.handle(uiDescriptor, serviceItem, dialog);
View Full Code Here

            if (!ev.isPopupTrigger()) {
                return;
            }

            UIDescriptor selectedDescriptor = getSelectedUIDescriptor();

            if (selectedDescriptor == null) {
                return;
            }
View Full Code Here

TOP

Related Classes of net.jini.lookup.entry.UIDescriptor

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.