Package org.ajax4jsf.util

Examples of org.ajax4jsf.util.Zipper2.nextByte()


     
        SimpleSeparatorData separatorData = new SimpleSeparatorData();
      Zipper2 zipper2 = new Zipper2(objectArray);
        separatorData.setHeight(zipper2.nextShort());
      separatorData.setColor(zipper2.nextIntColor());
      separatorData.setLineType(zipper2.nextByte());
     
        return separatorData;
    }
   
    protected Object getDataToStore(FacesContext context, Object data) {
View Full Code Here


    protected Object deserializeData(byte[] objectArray) {
  Data data = new Data();
  if (objectArray != null) {
      Zipper2 zipper2 = new Zipper2(objectArray);

      data.setGradientType(GradientType.values()[zipper2.nextByte()]);
      data.setGradientAlignment(GradientAlignment.values()[zipper2.nextByte()]);
      data.setGradientHeight(zipper2.nextInt());
      data.setBaseColor(Integer.valueOf(zipper2.nextIntColor()));

      if (zipper2.hasMore()) {
View Full Code Here

  Data data = new Data();
  if (objectArray != null) {
      Zipper2 zipper2 = new Zipper2(objectArray);

      data.setGradientType(GradientType.values()[zipper2.nextByte()]);
      data.setGradientAlignment(GradientAlignment.values()[zipper2.nextByte()]);
      data.setGradientHeight(zipper2.nextInt());
      data.setBaseColor(Integer.valueOf(zipper2.nextIntColor()));

      if (zipper2.hasMore()) {
    data.setGradientColor(Integer.valueOf(zipper2.nextIntColor()));
View Full Code Here

     
        SimpleSeparatorData separatorData = new SimpleSeparatorData();
      Zipper2 zipper2 = new Zipper2(objectArray);
        separatorData.setHeight(zipper2.nextShort());
      separatorData.setColor(zipper2.nextIntColor());
      separatorData.setLineType(zipper2.nextByte());
     
        return separatorData;
    }
   
    protected Object getDataToStore(FacesContext context, Object data) {
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.