Example #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();
 }
Example #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);
  }
Example #3
0
 @Override
 public void setVisibility(final boolean db) {
   for (final ViewLayout c : comp) c.setVisibility(db);
 }
Example #4
0
 @Override
 public boolean isVisible() {
   for (final ViewLayout c : comp) if (c.isVisible()) return true;
   return false;
 }