Esempio n. 1
0
 /**
  * Adds horizontal stretch interval.
  *
  * @param interval horizontal stretch interval to add
  */
 public void addHorizontalStretch(final NinePatchInterval interval) {
   this.horizontalStretch.add(interval);
   updateCachedWidthData();
 }
Esempio n. 2
0
 /**
  * Sets list of horizontal stretch intervals.
  *
  * @param horizontalStretch list of horizontal stretch intervals
  */
 public void setHorizontalStretch(final List<NinePatchInterval> horizontalStretch) {
   this.horizontalStretch = horizontalStretch;
   updateCachedWidthData();
 }