Examples of StyleModification


Examples of org.zkoss.zss.app.zul.ctrl.StyleModification

    Components.addForwards(this, this, '$');
  }
 
  public void onFontFamilySelect(ForwardEvent event) {
    final String fontFamily = (String)event.getData();
    getDesktopCellStyleContext().modifyStyle(new StyleModification() {
      public void modify(org.zkoss.zss.app.zul.ctrl.CellStyle style,
          CellStyleContextEvent candidteEvt) {
        style.setFontFamily(fontFamily);
      }
    });
View Full Code Here

Examples of org.zkoss.zss.app.zul.ctrl.StyleModification

  }
 
  public void onChange$backgroundColorMenu(ForwardEvent event) {
    InputEvent evt = (InputEvent)event.getOrigin();
    final String color = (String)evt.getValue();
    getDesktopCellStyleContext().modifyStyle(new StyleModification() {
      public void modify(org.zkoss.zss.app.zul.ctrl.CellStyle style,
          CellStyleContextEvent candidteEvt) {
        style.setCellColor(color);
      }
    });
View Full Code Here

Examples of org.zkoss.zss.app.zul.ctrl.StyleModification

  }
 
  public void onAlignHorizontalClick(ForwardEvent event) {
    final String alignStr = (String) event.getData();

    getDesktopCellStyleContext().modifyStyle(new StyleModification() {
      public void modify(org.zkoss.zss.app.zul.ctrl.CellStyle style,
          CellStyleContextEvent candidteEvt) {
        short align = CellStyle.ALIGN_GENERAL;
        if (alignStr.equals("left")) {
          align = CellStyle.ALIGN_LEFT;
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.