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

timeBench.action.layout.GranularityTreeLayoutSettings Maven / Gradle / Ivy

Go to download

TimeBench, a flexible, easy-to-use, and reusable software library written in Java that provides foundational data structures and algorithms for time- oriented data in Visual Analytics.

The newest version!
package timeBench.action.layout;

import prefuse.Constants;

/**
 * 
 * 
 * 

* Added: / TL
* Modifications: *

* * @author Tim Lammarsch * */ public class GranularityTreeLayoutSettings { private boolean ignore = false; private int fitting = 0; private int targetAxis = Constants.X_AXIS; private double border = 0.0; public GranularityTreeLayoutSettings(boolean ignore,int fitting,int targetAxis,double border) { this.ignore = ignore; this.fitting = fitting; this.setTargetAxis(targetAxis); this.setBorder(border); } /** * @return the ignore */ public boolean isIgnore() { return ignore; } /** * @param ignore the ignore to set */ public void setmIgnore(boolean ignore) { this.ignore = ignore; } /** * @return the way of fitting into space */ public int getFitting() { return fitting; } /** * @param fitting * the way of fitting into space */ public void setFitting(int fitting) { this.fitting = fitting; } /** * @return the borders */ public double getBorder() { return border; } /** * @param borders the borders to set */ public void setBorder(double border) { this.border = border; } /** * @return the targetAxis */ public int getTargetAxis() { return targetAxis; } /** * @param targetAxis the targetAxis to set */ public void setTargetAxis(int targetAxis) { this.targetAxis = targetAxis; } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy