Package org.apache.isis.viewer.wicket.model.hints

Examples of org.apache.isis.viewer.wicket.model.hints.UiHintsSetEvent


     * Propogate any received events down to all child components.
     */
    public void onEvent(org.apache.wicket.event.IEvent<?> event) {
        Object payload = event.getPayload();
        if(payload instanceof UiHintsSetEvent) {
            UiHintsSetEvent setEv = (UiHintsSetEvent)payload;
            UiHintsBroadcastEvent broadcastEv = new UiHintsBroadcastEvent(setEv);
            send(this, Broadcast.BREADTH, broadcastEv);
        }
    }
View Full Code Here


        final UiHintContainer uiHintContainer = getUiHintContainer();
        if(uiHintContainer == null) {
            return;
        }
        uiHintContainer.setHint(LinksSelectorPanelAbstract.this, UIHINT_VIEW, ""+viewNum);
        send(getPage(), Broadcast.EXACT, new UiHintsSetEvent(uiHintContainer, target));
    }
View Full Code Here

        final UiHintContainer uiHintContainer = getUiHintContainer();
        if(uiHintContainer == null) {
            return;
        }
        uiHintContainer.setHint(this, IsisAjaxFallbackDataTable.UIHINT_PAGE_NUMBER, ""+getCurrentPage());
        send(getPage(), Broadcast.EXACT, new UiHintsSetEvent(uiHintContainer, target));
    }
View Full Code Here

        for (SortOrder eachSortOrder : SortOrder.values()) {
            uiHintContainer.clearHint(this, eachSortOrder.name());
        }
        // .. then set this one
        uiHintContainer.setHint(this, order.name(), property);
        send(getPage(), Broadcast.EXACT, new UiHintsSetEvent(uiHintContainer, target));
    }
View Full Code Here

     * Propogate any received events down to all child components.
     */
    public void onEvent(org.apache.wicket.event.IEvent<?> event) {
        Object payload = event.getPayload();
        if(payload instanceof UiHintsSetEvent) {
            UiHintsSetEvent setEv = (UiHintsSetEvent)payload;
            UiHintsBroadcastEvent broadcastEv = new UiHintsBroadcastEvent(setEv);
            send(this, Broadcast.BREADTH, broadcastEv);
        }
    }
View Full Code Here

TOP

Related Classes of org.apache.isis.viewer.wicket.model.hints.UiHintsSetEvent

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.