jfxtras.labs.scene.control.scheduler.skin.HistoricalVisualizer Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of jfxtras-labs Show documentation
Show all versions of jfxtras-labs Show documentation
Experimental components for JavaFX 2
package jfxtras.labs.scene.control.scheduler.skin;
import javafx.scene.shape.Rectangle;
/**
* @author Tom Eugelink
*/
public class HistoricalVisualizer extends Rectangle {
HistoricalVisualizer(EventAbstractPane pane) // TBEE: pane must implement something to show its begin and end datetime, so this class knowns how to render itself?
{
// 100% overlay the pane
setMouseTransparent(true);
xProperty().set(0);
yProperty().set(0);
widthProperty().bind(pane.prefWidthProperty());
heightProperty().bind(pane.prefHeightProperty());
setVisible(false);
getStyleClass().add("History");
}
}