|
.NET Framework | |||||||||
PREV TYPE NEXT TYPE | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONST | PROP | METHOD | OP | EVENT | DETAIL: FIELD | CONST | PROP | METHOD | OP | EVENT |
ToolInfo implementation for view tools. New instances are returned for every call to getInstance(obj), and tools that implement (@link ViewTool} are initialized with the given object before being returned.
Constructor Summary | |
---|---|
ViewToolInfo(string key, string classname) Constructor. If an instance of the tool cannot be created from the classname, it will throw an exception. |
Property Summary | |
---|---|
string | Classname |
string | Key |
Method Summary | |
---|---|
object |
getInstance(object initData) Returns a new instance of the tool. If the tool implements {@link ViewTool}, the new instance will be initialized using the given data. |
Methods inherited from class System.Object |
---|
Equals, Finalize, GetHashCode, GetType, MemberwiseClone, ToString |
Constructor Detail |
---|
public ViewToolInfo(string key, string classname)
Constructor. If an instance of the tool cannot be created from the classname, it will throw an exception.
Parameters:
key
- the context key for the toolclassname
- the fully qualified java.lang.Class of the toolProperty Detail |
---|
public string Classname
public string Key
Method Detail |
---|
public object getInstance(object initData)
Returns a new instance of the tool. If the tool implements {@link ViewTool}, the new instance will be initialized using the given data.
|
.NET Framework | |||||||||
PREV TYPE NEXT TYPE | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONST | PROP | METHOD | OP | EVENT | DETAIL: FIELD | CONST | PROP | METHOD | OP | EVENT |