com.github.czyzby.lml.parser.impl.attribute.group.VerticalGroupReverseLmlAttribute Maven / Gradle / Ivy
package com.github.czyzby.lml.parser.impl.attribute.group;
import com.badlogic.gdx.scenes.scene2d.ui.VerticalGroup;
import com.github.czyzby.lml.parser.LmlParser;
import com.github.czyzby.lml.parser.tag.LmlAttribute;
import com.github.czyzby.lml.parser.tag.LmlTag;
/** See {@link VerticalGroup#reverse(boolean)}. Mapped to "reverse".
*
* @author MJ */
public class VerticalGroupReverseLmlAttribute implements LmlAttribute {
@Override
public Class getHandledType() {
return VerticalGroup.class;
}
@Override
public void process(final LmlParser parser, final LmlTag tag, final VerticalGroup actor,
final String rawAttributeData) {
actor.reverse(parser.parseBoolean(rawAttributeData, actor));
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy