001package org.nasdanika.html.bootstrap;
002
003import org.nasdanika.html.HTMLElement;
004
005public interface Button<H extends HTMLElement<?>> extends BootstrapElement<H, Button<H>> {
006        
007        Button<H> large();
008        Button<H> large(boolean large);
009        
010        Button<H> small();
011        Button<H> small(boolean small);
012        
013        Button<H> block();
014        Button<H> block(boolean block);
015        
016        Button<H> active();
017        Button<H> active(boolean active);
018        
019        
020        Button<H> disabled();
021        
022        /**
023         * Sets disabled attribute for buttons, adds disabled class otherwise.
024         * @param disabled
025         * @return
026         */
027        Button<H> disabled(boolean disabled);
028        
029        Button<H> dataToggle();
030        
031        /**
032         * Sets data-toggle to button.
033         * @param dataToggle
034         * @return
035         */
036        Button<H> dataToggle(boolean dataToggle);
037        
038
039}