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