xref: /haiku/src/apps/icon-o-matic/generic/property/view/specific_properties/StringValueView.h (revision 7749d0bb0c358a3279b1b9cc76d8376e900130a5)
1 /*
2  * Copyright 2006, Haiku.
3  * Distributed under the terms of the MIT License.
4  *
5  * Authors:
6  *		Stephan Aßmus <superstippi@gmx.de>
7  */
8 
9 #ifndef STRING_VALUE_VIEW_H
10 #define STRING_VALUE_VIEW_H
11 
12 #include "OptionProperty.h"
13 #include "Property.h"
14 #include "TextInputValueView.h"
15 
16 class StringTextView;
17 
18 class StringValueView : public TextInputValueView {
19  public:
20 								StringValueView(StringProperty* property);
21 	virtual						~StringValueView();
22 
23 	// TextInputValueView interface
24 	virtual	InputTextView*		TextView() const;
25 
26 	// PropertyEditorView interface
27 	virtual	void				ValueChanged();
28 
29 	virtual	bool				AdoptProperty(Property* property);
30 	virtual	Property*			GetProperty() const;
31 
32  private:
33 			StringProperty*		fProperty;
34 			StringTextView*		fTextView;
35 };
36 
37 #endif // STRING_VALUE_VIEW_H
38 
39 
40