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

org.jacpfx.rcp.component.EmbeddedFXComponent Maven / Gradle / Ivy

There is a newer version: 2.1
Show newest version
package org.jacpfx.rcp.component;

import org.jacpfx.api.component.ComponentView;

/**
 * Created with IntelliJ IDEA.
 * User: Andy Moncsek
 * Date: 02.07.13
 * Time: 21:30
 * This is an implementation of an AFXComponent which will be used to encapsulate handles on application startup.
 */
public class EmbeddedFXComponent extends AFXComponent{

    public EmbeddedFXComponent(ComponentView handle) {
        this.setComponent(handle);
    }

    @Override
    public String toString() {
        return this.getContext() != null ? this.getContext().getId() : this.getComponent().toString();
    }

}





© 2015 - 2024 Weber Informatics LLC | Privacy Policy