getContainerText static method

String getContainerText(
  1. int type
)

Implementation

static String getContainerText(int type){
  if(type==ConstantParam.kindContainer) {
    return ConstantText.componentContainer;
  }else if(type==ConstantParam.kindText) {
    return ConstantText.componentText;
  }else if(type==ConstantParam.kindIcon) {
    return ConstantText.componentIcon;
  }else if(type==ConstantParam.kindDivider) {
    return ConstantText.componentDivider;
  }else if(type==ConstantParam.kindSizeBox) {
    return ConstantText.componentSizeBox;
  }else if(type==ConstantParam.kindImage) {
    return ConstantText.componentImage;
  }else if(type==ConstantParam.kindBanner) {
    return ConstantText.componentBanner;
  }else if(type==ConstantParam.kindPosition) {
    return ConstantText.componentPosition;
  }else if(type==ConstantParam.kindEdit) {
    return ConstantText.componentEdit;
  }else if(type==ConstantParam.kindButton) {
    return ConstantText.componentButton;
  }else if(type==ConstantParam.kindWeb) {
    return ConstantText.componentWeb;
  }
  return  ConstantText.componentPage;
}