コード例 #1
0
 @Override
 public void process(
     final LmlParser parser,
     final LmlTag tag,
     final Actor actor,
     final Cell<?> cell,
     final String rawAttributeData) {
   final Value horizontalValue =
       LmlUtilities.parseHorizontalValue(parser, tag.getParent(), actor, rawAttributeData);
   final Value verticalValue =
       LmlUtilities.parseVerticalValue(parser, tag.getParent(), actor, rawAttributeData);
   cell.minSize(horizontalValue, verticalValue);
 }
コード例 #2
0
 @Override
 protected void applyToContainer(
     final LmlParser parser,
     final LmlTag tag,
     final Container<?> actor,
     final String rawAttributeData) {
   actor.maxHeight(
       LmlUtilities.parseHorizontalValue(parser, tag.getParent(), actor, rawAttributeData));
 }