1/*
2 * Copyright 2015, Rene Gollent, rene@gollent.com.
3 * Distributed under the terms of the MIT License.
4 */
5#ifndef TABLE_CELL_INTEGER_EDITOR_H
6#define TABLE_CELL_INTEGER_EDITOR_H
7
8#include <TextControl.h>
9
10#include "IntegerFormatter.h"
11#include "TableCellTextControlEditor.h"
12
13
14class TableCellIntegerEditor : public TableCellTextControlEditor {
15public:
16								TableCellIntegerEditor(::Value* initialValue,
17									ValueFormatter* formatter);
18	virtual						~TableCellIntegerEditor();
19
20	virtual	bool				ValidateInput() const;
21
22	virtual status_t			GetValueForInput(::Value*& _output) const;
23									// returns reference
24};
25
26#endif	// TABLE_CELL_INTEGER_EDITOR_H
27