Package com.sun.grid.jgdi.event

Examples of com.sun.grid.jgdi.event.EventTypeEnum


            switch (columnIndex) {
                case TYPE_COL:
                    return subscriptionList.get(rowIndex);
                case SUB_COL:
                {
                    EventTypeEnum t = subscriptionList.get(rowIndex);
                    switch (t) {
                        case Shutdown:        return true;
                        case QmasterGoesDown: return true;
                        default:
                            return subscription.get(t).subscribed;
View Full Code Here


                    return "Error";
            }
        }
       
        public boolean isDirty(int row) {
            EventTypeEnum type = subscriptionList.get(row);
            return subscription.get(type).dirty;
        }
View Full Code Here

            return subscription.get(type).dirty;
        }
       
        @Override
        public boolean isCellEditable(int rowIndex, int columnIndex) {
            EventTypeEnum t = subscriptionList.get(rowIndex);
            switch(t) {
                case Shutdown: return false;
                case QmasterGoesDown: return false;
                default:
                     return columnIndex == SUB_COL;
View Full Code Here

        }
       
        @Override
        public void setValueAt(Object aValue, final int rowIndex, int columnIndex) {
            if (columnIndex == SUB_COL) {
                EventTypeEnum type = subscriptionList.get(rowIndex);
                boolean subscribe = (Boolean) aValue;
                SubscriptionElem elem = subscription.get(type);
                elem.dirty = true;
                elem.subscribed = subscribe;
                if(autoCommit.isSelected()) {
View Full Code Here

TOP

Related Classes of com.sun.grid.jgdi.event.EventTypeEnum

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.