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

org.nasdanika.html.bootstrap.RowContainer Maven / Gradle / Ivy

package org.nasdanika.html.bootstrap;

import java.util.List;

public interface RowContainer, B extends BootstrapElement> extends BootstrapElement {
	
	interface Row extends BootstrapElement {
		
		Row color(Color color);
		
		Row backgroundColor(Color color);		
		
		
		interface Cell extends BootstrapElement {
			
			Cell color(Color color);			

			Cell backgroundColor(Color color);		
			
		}				
		
		Cell cell(Object... content);
		
		Cell header(Object... content);
		
		List cells();
		
	}
		
	List rows();
	
	/**
	 * Creates a row
	 * @param cells Optional cells content.
	 * @return
	 */
	Row row(Object...cells);
	
	/**
	 * Creates a row
	 * @param headers Optional headers content.
	 * @return
	 */
	Row headerRow(Object...headers);			

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy