org.apache.wicket.markup.html.border.Border.getBodyContainer()方法的使用及代码示例

x33g5p2x  于2022-01-17 转载在 其他  
字(4.0k)|赞(0)|评价(0)|浏览(98)

本文整理了Java中org.apache.wicket.markup.html.border.Border.getBodyContainer()方法的一些代码示例,展示了Border.getBodyContainer()的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Border.getBodyContainer()方法的具体详情如下:
包路径:org.apache.wicket.markup.html.border.Border
类名称:Border
方法名:getBodyContainer

Border.getBodyContainer介绍

[英]Returns the border body container. NOTE: this component is NOT meant to be directly handled by users, meaning that you can not explicitly add it to an arbitrary container or remove it from its original parent container.
[中]返回边框主体容器。注意:此组件不是由用户直接处理的,这意味着您不能显式地将其添加到任意容器或从其原始父容器中删除。

代码示例

代码示例来源:origin: apache/wicket

@Override
public Border removeAll()
{
  getBodyContainer().removeAll();
  return this;
}

代码示例来源:origin: org.apache.wicket/wicket-core

@Override
public Border removeAll()
{
  getBodyContainer().removeAll();
  return this;
}

代码示例来源:origin: org.apache.wicket/wicket-core

@Override
public Border queue(Component... components)
{
  getBodyContainer().queue(components);
  return this;
}

代码示例来源:origin: apache/wicket

@Override
public Border queue(Component... components)
{
  getBodyContainer().queue(components);
  return this;
}

代码示例来源:origin: org.apache.wicket/wicket-core

@Override
public Border remove(final Component component)
{
  if (component == body)
  {
    // in this case we do not want to redirect to body
    // container but to border's old remove.
    removeFromBorder(component);
  }
  else
  {
    getBodyContainer().remove(component);
  }
  return this;
}

代码示例来源:origin: apache/wicket

@Override
public Border remove(final Component component)
{
  if (component == body)
  {
    // in this case we do not want to redirect to body
    // container but to border's old remove.
    removeFromBorder(component);
  }
  else
  {
    getBodyContainer().remove(component);
  }
  return this;
}

代码示例来源:origin: apache/wicket

@Override
public Border remove(final String id)
{
  if (body.getId().equals(id))
  {
    // in this case we do not want to redirect to body
    // container but to border's old remove.
    super.remove(id);
  }
  else
  {
    getBodyContainer().remove(id);
  }
  return this;
}

代码示例来源:origin: org.apache.wicket/wicket-core

@Override
public Border addOrReplace(final Component... children)
{
  for (Component component : children)
  {
    if (component == body)
    {
      // in this case we do not want to redirect to body
      // container but to border's old remove.
      super.addOrReplace(component);
    }
    else 
    {
      getBodyContainer().addOrReplace(component);				
    }
  }
  return this;
}

代码示例来源:origin: apache/wicket

@Override
public Border addOrReplace(final Component... children)
{
  for (Component component : children)
  {
    if (component == body)
    {
      // in this case we do not want to redirect to body
      // container but to border's old remove.
      super.addOrReplace(component);
    }
    else 
    {
      getBodyContainer().addOrReplace(component);				
    }
  }
  return this;
}

代码示例来源:origin: org.apache.wicket/wicket-core

@Override
public Border remove(final String id)
{
  if (body.getId().equals(id))
  {
    // in this case we do not want to redirect to body
    // container but to border's old remove.
    super.remove(id);
  }
  else
  {
    getBodyContainer().remove(id);
  }
  return this;
}

代码示例来源:origin: org.apache.wicket/wicket-core

@Override
public Border replace(final Component replacement)
{
  if (body.getId().equals(replacement.getId()))
  {
    // in this case we do not want to redirect to body
    // container but to border's old remove.
    replaceInBorder(replacement);
  }
  else
  {
    getBodyContainer().replace(replacement);
  }
  return this;
}

代码示例来源:origin: apache/wicket

@Override
public Border replace(final Component replacement)
{
  if (body.getId().equals(replacement.getId()))
  {
    // in this case we do not want to redirect to body
    // container but to border's old remove.
    replaceInBorder(replacement);
  }
  else
  {
    getBodyContainer().replace(replacement);
  }
  return this;
}

代码示例来源:origin: apache/wicket

getBodyContainer().add(component);

代码示例来源:origin: org.apache.wicket/wicket-core

getBodyContainer().add(component);

代码示例来源:origin: org.ops4j.pax.wicket/pax-wicket-service

nestedComponents.put(((Border)component).getBodyContainer(), container);

代码示例来源:origin: org.apache.wicket/com.springsource.org.apache.wicket

nestedComponents.put(((Border)component).getBodyContainer(), container);

代码示例来源:origin: org.ops4j.pax.wicket/pax-wicket-service

if (border != null && !border.getBodyContainer().isVisibleInHierarchy())

代码示例来源:origin: apache/wicket

MarkupContainer body = childContainer.getBodyContainer();

代码示例来源:origin: org.apache.wicket/wicket-core

MarkupContainer body = childContainer.getBodyContainer();

相关文章