Class NumberPropertyEditor

java.lang.Object
All Implemented Interfaces:
java.io.Serializable, org.iplass.adminconsole.view.annotation.Refrectable, LabelablePropertyEditor
Direct Known Subclasses:
DecimalPropertyEditor, FloatPropertyEditor, IntegerPropertyEditor

public abstract class NumberPropertyEditor
extends PrimitivePropertyEditor
implements LabelablePropertyEditor
数値型プロパティエディタのスーパークラス
See Also:
Serialized Form
  • Constructor Details

  • Method Details

    • getDisplayType

      public NumberPropertyEditor.NumberDisplayType getDisplayType()
      Description copied from class: PropertyEditor
      表示タイプを取得します。
      Specified by:
      getDisplayType in class PropertyEditor
      Returns:
      表示タイプ
    • setDisplayType

      public void setDisplayType​(NumberPropertyEditor.NumberDisplayType displayType)
      表示タイプを設定します。
      Parameters:
      displayType - 表示タイプ
    • isHide

      public boolean isHide()
      Description copied from class: PropertyEditor
      非表示かを取得します。
      Specified by:
      isHide in class PropertyEditor
      Returns:
      true:非表示
    • getNumberFormat

      public java.lang.String getNumberFormat()
      数値のフォーマットを取得します。
      Returns:
      数値のフォーマット
    • setNumberFormat

      public void setNumberFormat​(java.lang.String numberFormat)
      数値のフォーマットを設定します。
      Parameters:
      numberFormat - 数値のフォーマット
    • isShowComma

      public boolean isShowComma()
      表示内容をカンマ表示するかを取得します。
      Returns:
      表示内容をカンマ表示するか
    • setShowComma

      public void setShowComma​(boolean showComma)
      表示内容をカンマ表示するかを設定します。
      Parameters:
      showComma - 表示内容をカンマ表示するか
    • isSearchInRange

      public boolean isSearchInRange()
      範囲で検索するかを取得します。
      Returns:
      範囲で検索するか
    • setSearchInRange

      public void setSearchInRange​(boolean searchInRange)
      範囲で検索するかを設定します。
      Parameters:
      searchInRange - 範囲で検索するか
    • isHideSearchConditionFrom

      public boolean isHideSearchConditionFrom()
      検索条件From非表示設定を取得します。
      Returns:
      検索条件From非表示設定
    • setHideSearchConditionFrom

      public void setHideSearchConditionFrom​(boolean hideSearchConditionFrom)
      検索条件From非表示設定を設定します。
      Parameters:
      hideSearchConditionFrom - 検索条件From非表示設定
    • isHideSearchConditionTo

      public boolean isHideSearchConditionTo()
      検索条件To非表示設定を取得します。
      Returns:
      検索条件To非表示設定
    • setHideSearchConditionTo

      public void setHideSearchConditionTo​(boolean hideSearchConditionTo)
      検索条件To非表示設定を設定します。
      Parameters:
      hideSearchConditionTo - 検索条件To非表示設定
    • isHideSearchConditionRangeSymbol

      public boolean isHideSearchConditionRangeSymbol()
      検索条件範囲記号非表示設定を取得します。
      Returns:
      検索条件範囲記号非表示設定
    • setHideSearchConditionRangeSymbol

      public void setHideSearchConditionRangeSymbol​(boolean hideSearchConditionRangeSymbol)
      検索条件範囲記号非表示設定を設定します。
      Parameters:
      hideSearchConditionRangeSymbol - 検索条件範囲記号非表示設定
    • getMaxlength

      public int getMaxlength()
      最大文字数を取得します。
      Returns:
      最大文字数
    • setMaxlength

      public void setMaxlength​(int maxlength)
      最大文字数を設定します。
      Parameters:
      maxlength - 最大文字数
    • isLabel

      public boolean isLabel()
      Description copied from interface: LabelablePropertyEditor
      表示タイプがLabel形式かを返します。
      Specified by:
      isLabel in interface LabelablePropertyEditor
      Returns:
      true:Label形式
    • isInsertWithLabelValue

      public boolean isInsertWithLabelValue()
      Description copied from interface: LabelablePropertyEditor
      表示タイプがLabel形式の場合に、登録時に登録対象にするかを返します。
      Specified by:
      isInsertWithLabelValue in interface LabelablePropertyEditor
      Returns:
      true:登録対象
    • setInsertWithLabelValue

      public void setInsertWithLabelValue​(boolean insertWithLabelValue)
      Label形式の場合の登録制御を設定します。
      Parameters:
      insertWithLabelValue - Label形式の場合の登録制御
    • isUpdateWithLabelValue

      public boolean isUpdateWithLabelValue()
      Description copied from interface: LabelablePropertyEditor
      表示タイプがLabel形式の場合に、更新時に更新対象にするかを返します。
      Specified by:
      isUpdateWithLabelValue in interface LabelablePropertyEditor
      Returns:
      true:更新対象
    • setUpdateWithLabelValue

      public void setUpdateWithLabelValue​(boolean updateWithLabelValue)
      Label形式の場合の更新制御を設定します。
      Parameters:
      updateWithLabelValue - Label形式の場合の更新制御
    • getDefaultValue

      public java.lang.String getDefaultValue()
      Description copied from class: PrimitivePropertyEditor
      初期値を取得します。
      Specified by:
      getDefaultValue in class PrimitivePropertyEditor
      Returns:
      初期値
    • setDefaultValue

      public void setDefaultValue​(java.lang.String defaultValue)
      Description copied from class: PrimitivePropertyEditor
      初期値を設定します。
      Specified by:
      setDefaultValue in class PrimitivePropertyEditor
      Parameters:
      defaultValue - 初期値