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

javajs.swing.Cell Maven / Gradle / Ivy

There is a newer version: 14.31.10
Show newest version
package javajs.swing;

public class Cell {

	private JComponent component;
	private int colspan;
	private int rowspan;
	int textAlign;
	private GridBagConstraints c;

	public Cell(JComponent btn, GridBagConstraints c) {
		this.component = btn;
		colspan = c.gridwidth;
		rowspan = c.gridheight;  // ignoring for now
		this.c = c;
	}

	public String toHTML(String id) {
		String style = c.getStyle(false); 
		return "" + component.toHTML() + "";
	}


}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy