org.tentackle.fx.component.fxcomponent.include Maven / Gradle / Ivy
private /**/delegate/**/ delegate; // @wurblet < Inject ${classname}Delegate
/**
* Creates the delegate.
*
* @return the delegate
*/
protected /**/delegate/**/ createDelegate() { // @wurblet < Inject ${classname}Delegate
return new /**/delegate/**/(this); // @wurblet < Inject ${classname}Delegate
}
@Override
public /**/delegate/**/ getDelegate() { // @wurblet < Inject ${classname}Delegate
if (delegate == null) {
setDelegate(createDelegate());
}
return delegate;
}
/**
* Sets the delegate.
* Useful for application specific needs.
*
* @param delegate the delegate
*/
public void setDelegate(/**/delegate/**/ delegate) { // @wurblet < Inject ${classname}Delegate
this.delegate = delegate;
}
// @wurblet component Include $currentDir/component.include