예제 #1
0
파일: Treerow.java 프로젝트: dije/zk
 private Treecell autoFirstCell() {
   Treecell cell = (Treecell) getFirstChild();
   if (cell == null) {
     cell = new Treecell();
     cell.applyProperties();
     cell.setParent(this);
   }
   return cell;
 }
예제 #2
0
파일: Treerow.java 프로젝트: dije/zk
 /**
  * Returns the image of the {@link Treecell} it contains, or null if no such cell.
  *
  * @since 5.0.8
  */
 public String getImage() {
   final Treecell cell = (Treecell) getFirstChild();
   return cell != null ? cell.getImage() : null;
 }