檢視原始碼 wxGridCellFloatRenderer (wx v2.4.3)
此類別可用於格式化儲存格中的浮點數資料。
請參閱
此類別衍生自,並可使用下列函式:
wxWidgets 文件: wxGridCellFloatRenderer
摘要
函式
銷毀物件
傳回精確度。
傳回寬度。
浮點數儲存格渲染器建構子。
參數字串格式為 "width[,precision[,format]]",其中 format
應選自 f|e|g|E|G(預設使用 f)。
設定寬度。
型別
-type wxGridCellFloatRenderer() :: wx:wx_object().
函式
-spec destroy(This :: wxGridCellFloatRenderer()) -> ok.
銷毀物件
-spec getPrecision(This) -> integer() when This :: wxGridCellFloatRenderer().
傳回精確度。
-spec getWidth(This) -> integer() when This :: wxGridCellFloatRenderer().
傳回寬度。
-spec new() -> wxGridCellFloatRenderer().
等同於 new([])
。
-spec new([Option]) -> wxGridCellFloatRenderer() when Option :: {width, integer()} | {precision, integer()} | {format, integer()}.
浮點數儲存格渲染器建構子。
-spec setParameters(This, Params) -> ok when This :: wxGridCellFloatRenderer(), Params :: unicode:chardata().
參數字串格式為 "width[,precision[,format]]",其中 format
應選自 f|e|g|E|G(預設使用 f)。
-spec setPrecision(This, Precision) -> ok when This :: wxGridCellFloatRenderer(), Precision :: integer().
設定精確度。
-spec setWidth(This, Width) -> ok when This :: wxGridCellFloatRenderer(), Width :: integer().
設定寬度。