All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.datafx.samples.inheritance.AbstractController Maven / Gradle / Ivy

There is a newer version: 8.0b5
Show newest version
package org.datafx.samples.inheritance;

import org.datafx.controller.flow.context.ActionHandler;
import org.datafx.controller.flow.context.FXMLViewFlowContext;
import org.datafx.controller.flow.context.FlowActionHandler;
import org.datafx.controller.flow.context.ViewFlowContext;

import javax.inject.Inject;
import java.util.Date;

public abstract class AbstractController {

    @FXMLViewFlowContext
    protected ViewFlowContext context;

    @ActionHandler
    protected FlowActionHandler actionHandler;

    @Inject
    private Date date;

    public ViewFlowContext getContext() {
        return context;
    }

    public FlowActionHandler getActionHandler() {
        return actionHandler;
    }

    public Date getDate() {
        return date;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy