Class ObjectTypeSetList<TType, TEntry, TObject>
The default list to use in the editor for object type set lists.
Inherited Members
Namespace: InsaneScatterbrain.MapGraph.Editor
Syntax
public abstract class ObjectTypeSetList<TType, TEntry, TObject> : DataSetList<TType> where TType : IObjectType<TEntry, TObject> where TEntry : IObjectTypeEntry<TObject> where TObject : Object
Type Parameters
Name | Description |
---|---|
TType | The type of object type. |
TEntry | The entry type. |
TObject | The entry's object type. |
Constructors
ObjectTypeSetList(IObjectTypeSet<TType, TObject>)
Declaration
protected ObjectTypeSetList(IObjectTypeSet<TType, TObject> objectTypeSet)
Parameters
Type | Name | Description |
---|---|---|
IObjectTypeSet<TType, TObject> | objectTypeSet |
Properties
AdditionalFieldsWidth
Gets the width in pixel available for any additional fields.
Declaration
protected override int AdditionalFieldsWidth { get; }
Property Value
Type | Description |
---|---|
int |
Overrides
ObjectTypeEntryList
Declaration
protected abstract ObjectTypeEntryList<TType, TEntry, TObject> ObjectTypeEntryList { get; }
Property Value
Type | Description |
---|---|
ObjectTypeEntryList<TType, TEntry, TObject> |
ObjectTypeSet
Gets the object type set.
Declaration
public IObjectTypeSet<TType, TObject> ObjectTypeSet { get; }
Property Value
Type | Description |
---|---|
IObjectTypeSet<TType, TObject> |
Methods
ApplyChanges()
Declaration
public void ApplyChanges()
Dispose()
Declaration
public override void Dispose()
Overrides
DoLayoutList()
Draws list.
Declaration
public override void DoLayoutList()
Overrides
DrawAdditionalFields(Rect, string)
Draw any additional item fields.
Declaration
protected override void DrawAdditionalFields(Rect rect, string id)
Parameters
Type | Name | Description |
---|---|---|
Rect | rect | The rect. |
string | id | The item ID. |