Package com.volantis.styling.impl.engine.selectionstates

Examples of com.volantis.styling.impl.engine.selectionstates.StateMarker


            BitSet requiresState = styler.stateRequired();
            Iterator it = matcherContext.stateMarkers();
            if (it != null && it.hasNext()) {
                BitSet stateActive = new BitSet();
                while (it.hasNext()) {
                    StateMarker marker = (StateMarker) it.next();
                    if (marker.isActive()) {
                        styler.lookupState(stateActive, marker.getState());
                    }
                }
                requiresState.andNot(stateActive);
            }
            indexRef.andNot(requiresState);
View Full Code Here


    public Iterator stateMarkers() {
        return stateMarkers.values().iterator();
    }

    public void stateMatched(SelectionState state, StylerContext context) {
        StateMarker marker = (StateMarker) stateMarkers.get(state);
        if (marker == null) {
            marker = state.createStateInstance(unregisterer);
            stateMarkers.put(state, marker);
            context.getDepthChangeListeners().addListener(marker);
        } else {
            marker.match();
        }
    }
View Full Code Here

TOP

Related Classes of com.volantis.styling.impl.engine.selectionstates.StateMarker

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.