Package penny.downloadmanager.model.gui

Examples of penny.downloadmanager.model.gui.PropertyEntry


        };
        this.propertyList = new ObservableElementList<PropertyEntry>(
                GlazedLists.threadSafeList(new SortedList(new BasicEventList<PropertyEntry>(), comp)),
                GlazedLists.beanConnector(PropertyEntry.class));
        for (String s : Download.propertyNames) {
            PropertyEntry e = new PropertyEntry(s, getPropValue(s));
            d.addPropertyChangeListener(e);
            propertyList.add(e);
        }
        propertyModel = new EventTableModel<PropertyEntry>(propertyList, new String[]{PropertyEntry.PROP_KEY, PropertyEntry.PROP_VALUE}, new String[]{PropertyEntry.PROP_KEY, PropertyEntry.PROP_VALUE}, new boolean[]{false, false});

        this.extraList = new ObservableElementList<PropertyEntry>(
                GlazedLists.threadSafeList(new SortedList(new BasicEventList<PropertyEntry>(), comp)),
                GlazedLists.beanConnector(PropertyEntry.class));
        for (String s : d.getExtraProperties().keySet()) {
            PropertyEntry e = new PropertyEntry(s, d.getExtraProperties().get(s));
            d.addPropertyChangeListener(e);
            extraList.add(e);
        }
        extraModel = new EventTableModel<PropertyEntry>(extraList, new String[]{PropertyEntry.PROP_KEY, PropertyEntry.PROP_VALUE}, new String[]{PropertyEntry.PROP_KEY, PropertyEntry.PROP_VALUE}, new boolean[]{false, false});
        initComponents();
View Full Code Here


                        add = false;
                    }
                }
            }
            if (add) {
                PropertyEntry entry = new PropertyEntry(evt.getPropertyName(), d.getExtraProperties().get(evt.getPropertyName()));
                d.addPropertyChangeListener(entry);
                extraList.add(entry);
            }
        }
    }
View Full Code Here

TOP

Related Classes of penny.downloadmanager.model.gui.PropertyEntry

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.