org.dominokit.domino.ui.grid.Row_24 Maven / Gradle / Ivy
/*
* Copyright © 2019 Dominokit
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.dominokit.domino.ui.grid;
import java.util.function.Consumer;
/**
* A derivative component of {@link Row} which supports has 24 columns
*
* @see Row
*/
public class Row_24 extends Row {
public Row_24() {
super(Columns._24);
init(this);
}
/**
* Creates column which has a size of 1 column of the 24 columns defined
*
* @param consumer a {@link Consumer} that provides the created column
* @return same instance
*/
public Row_24 span1(Consumer consumer) {
consumer.accept(addAutoSpanColumn(1));
return this;
}
/**
* Creates column which has a size of 2 columns of the 24 columns defined
*
* @param consumer a {@link Consumer} that provides the created column
* @return same instance
*/
public Row_24 span2(Consumer consumer) {
consumer.accept(addAutoSpanColumn(2));
return this;
}
/**
* Creates column which has a size of 3 columns of the 24 columns defined
*
* @param consumer a {@link Consumer} that provides the created column
* @return same instance
*/
public Row_24 span3(Consumer consumer) {
consumer.accept(addAutoSpanColumn(3));
return this;
}
/**
* Creates column which has a size of 4 columns of the 24 columns defined
*
* @param consumer a {@link Consumer} that provides the created column
* @return same instance
*/
public Row_24 span4(Consumer consumer) {
consumer.accept(addAutoSpanColumn(4));
return this;
}
/**
* Creates column which has a size of 5 columns of the 24 columns defined
*
* @param consumer a {@link Consumer} that provides the created column
* @return same instance
*/
public Row_24 span5(Consumer consumer) {
consumer.accept(addAutoSpanColumn(5));
return this;
}
/**
* Creates column which has a size of 6 columns of the 24 columns defined
*
* @param consumer a {@link Consumer} that provides the created column
* @return same instance
*/
public Row_24 span6(Consumer consumer) {
consumer.accept(addAutoSpanColumn(6));
return this;
}
/**
* Creates column which has a size of 7 columns of the 24 columns defined
*
* @param consumer a {@link Consumer} that provides the created column
* @return same instance
*/
public Row_24 span7(Consumer consumer) {
consumer.accept(addAutoSpanColumn(7));
return this;
}
/**
* Creates column which has a size of 8 columns of the 24 columns defined
*
* @param consumer a {@link Consumer} that provides the created column
* @return same instance
*/
public Row_24 span8(Consumer consumer) {
consumer.accept(addAutoSpanColumn(8));
return this;
}
/**
* Creates column which has a size of 9 columns of the 24 columns defined
*
* @param consumer a {@link Consumer} that provides the created column
* @return same instance
*/
public Row_24 span9(Consumer consumer) {
consumer.accept(addAutoSpanColumn(9));
return this;
}
/**
* Creates column which has a size of 10 columns of the 24 columns defined
*
* @param consumer a {@link Consumer} that provides the created column
* @return same instance
*/
public Row_24 span10(Consumer consumer) {
consumer.accept(addAutoSpanColumn(10));
return this;
}
/**
* Creates column which has a size of 11 columns of the 24 columns defined
*
* @param consumer a {@link Consumer} that provides the created column
* @return same instance
*/
public Row_24 span11(Consumer consumer) {
consumer.accept(addAutoSpanColumn(11));
return this;
}
/**
* Creates column which has a size of 12 columns of the 24 columns defined
*
* @param consumer a {@link Consumer} that provides the created column
* @return same instance
*/
public Row_24 span12(Consumer consumer) {
consumer.accept(addAutoSpanColumn(12));
return this;
}
/**
* Creates column which has a size of 13 columns of the 24 columns defined
*
* @param consumer a {@link Consumer} that provides the created column
* @return same instance
*/
public Row_24 span13(Consumer consumer) {
consumer.accept(addAutoSpanColumn(13));
return this;
}
/**
* Creates column which has a size of 14 columns of the 24 columns defined
*
* @param consumer a {@link Consumer} that provides the created column
* @return same instance
*/
public Row_24 span14(Consumer consumer) {
consumer.accept(addAutoSpanColumn(14));
return this;
}
/**
* Creates column which has a size of 15 columns of the 24 columns defined
*
* @param consumer a {@link Consumer} that provides the created column
* @return same instance
*/
public Row_24 span15(Consumer consumer) {
consumer.accept(addAutoSpanColumn(15));
return this;
}
/**
* Creates column which has a size of 16 columns of the 24 columns defined
*
* @param consumer a {@link Consumer} that provides the created column
* @return same instance
*/
public Row_24 span16(Consumer consumer) {
consumer.accept(addAutoSpanColumn(16));
return this;
}
/**
* Creates column which has a size of 17 columns of the 24 columns defined
*
* @param consumer a {@link Consumer} that provides the created column
* @return same instance
*/
public Row_24 span17(Consumer consumer) {
consumer.accept(addAutoSpanColumn(17));
return this;
}
/**
* Creates column which has a size of 18 columns of the 24 columns defined
*
* @param consumer a {@link Consumer} that provides the created column
* @return same instance
*/
public Row_24 span18(Consumer consumer) {
consumer.accept(addAutoSpanColumn(18));
return this;
}
/**
* Creates column which has a size of 19 columns of the 24 columns defined
*
* @param consumer a {@link Consumer} that provides the created column
* @return same instance
*/
public Row_24 span19(Consumer consumer) {
consumer.accept(addAutoSpanColumn(19));
return this;
}
/**
* Creates column which has a size of 20 columns of the 24 columns defined
*
* @param consumer a {@link Consumer} that provides the created column
* @return same instance
*/
public Row_24 span20(Consumer consumer) {
consumer.accept(addAutoSpanColumn(20));
return this;
}
/**
* Creates column which has a size of 21 columns of the 24 columns defined
*
* @param consumer a {@link Consumer} that provides the created column
* @return same instance
*/
public Row_24 span21(Consumer consumer) {
consumer.accept(addAutoSpanColumn(21));
return this;
}
/**
* Creates column which has a size of 22 columns of the 24 columns defined
*
* @param consumer a {@link Consumer} that provides the created column
* @return same instance
*/
public Row_24 span22(Consumer consumer) {
consumer.accept(addAutoSpanColumn(22));
return this;
}
/**
* Creates column which has a size of 23 columns of the 24 columns defined
*
* @param consumer a {@link Consumer} that provides the created column
* @return same instance
*/
public Row_24 span23(Consumer consumer) {
consumer.accept(addAutoSpanColumn(23));
return this;
}
/**
* Creates column which has a size of 24 columns of the 24 columns defined
*
* @param consumer a {@link Consumer} that provides the created column
* @return same instance
*/
public Row_24 span24(Consumer consumer) {
consumer.accept(addAutoSpanColumn(24));
return this;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy