Exemplo n.º 1
0
 @Override
 public String layoutString(final boolean all) {
   final StringBuilder str = new StringBuilder(horiz ? "H " : "V ");
   for (final ViewLayout c : comp) str.append(c.layoutString(all));
   str.append("- ");
   return str.toString();
 }
Exemplo n.º 2
0
  @Override
  public void createView(final BaseXBack panel) {
    // skip invisible layouts
    if (!isVisible()) return;

    final BaseXBack split = new BaseXSplit(horiz);
    for (final ViewLayout c : comp) c.createView(split);
    panel.add(split);
  }
Exemplo n.º 3
0
 @Override
 public void setVisibility(final boolean db) {
   for (final ViewLayout c : comp) c.setVisibility(db);
 }
Exemplo n.º 4
0
 @Override
 public boolean isVisible() {
   for (final ViewLayout c : comp) if (c.isVisible()) return true;
   return false;
 }