ShinobiControls Xamarin Bindings Documentation

ShinobiControls.Android.Grids : ShinobiControls.Android.Grids.Supplement Namespace

TextColumnSpec Class

A convenience ShinobiControls.Android.Grids.Core.IColumnSpec that deals with textual data and places it in s.

Syntax

[Android.Runtime.Register("com/shinobicontrols/grids/supplement/TextColumnSpec", DoNotGenerateAcw=true)]
public class TextColumnSpec : Java.Lang.Object, ShinobiControls.Android.Grids.Core.IColumnSpec, IOnStyleChangedListener, IDisposable

Remarks

A convenience ShinobiControls.Android.Grids.Core.IColumnSpec that deals with textual data and places it in s. A PropertyBinder, parametrized by , is required in order to provide the text for the TextViews.

By default it creates several styles and sets itself as a listener for changes to those styles, refreshing the grid each time a change is made. New style objects can be set on the grid and will cause an immediate redraw but this ShinobiControls.Android.Grids.Supplement.TextColumnSpec must be set as the styles' ShinobiControls.Android.Grids.Supplement.IOnStyleChangedListener for any further changes to have any effect.

Requirements

Namespace: ShinobiControls.Android.Grids.Supplement
Assembly: ShinobiControls.Android.Grids (in ShinobiControls.Android.Grids.dll)
Assembly Versions: 1.0.0.0

Members

See Also: Inherited members from Java.Lang.Object.

Public Constructors

Documentation for this section has not yet been entered.
Documentation for this section has not yet been entered.
Documentation for this section has not yet been entered.

Protected Constructors

Documentation for this section has not yet been entered.

Public Properties

Protected Properties

Callback ShinobiControls.Android.Grids.Core.Column.Callback .
[read-only]
override
ThresholdClass IntPtr . This API supports the Mono for Android infrastructure and is not intended to be used directly from your code.
[read-only]
override
ThresholdType Type . This API supports the Mono for Android infrastructure and is not intended to be used directly from your code.

Public Methods

GetItemViewType (int) : int
Initialize (ShinobiControls.Android.Grids.Core.Column.Callback)
Documentation for this section has not yet been entered.
OnBindHeaderViewHolder (Android.Support.V7.Widget.RecyclerView.ViewHolder)
Documentation for this section has not yet been entered.
OnBindViewHolder (Android.Support.V7.Widget.RecyclerView.ViewHolder, int)
Documentation for this section has not yet been entered.
OnColumnAdded (Android.Content.Context)
OnStyleChanged ()

Member Details

TextColumnSpec Constructor

Documentation for this section has not yet been entered.

Syntax

[Android.Runtime.Register(".ctor", "(Lcom/shinobicontrols/grids/supplement/PropertyBinder;)V", "")]
public TextColumnSpec (IPropertyBinder p0)

Parameters

p0
Documentation for this section has not yet been entered.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: ShinobiControls.Android.Grids.Supplement
Assembly: ShinobiControls.Android.Grids (in ShinobiControls.Android.Grids.dll)
Assembly Versions: 1.0.0.0

TextColumnSpec Constructor

Documentation for this section has not yet been entered.

Syntax

[Android.Runtime.Register(".ctor", "(Ljava/lang/CharSequence;Lcom/shinobicontrols/grids/supplement/PropertyBinder;)V", "")]
public TextColumnSpec (Java.Lang.ICharSequence p0, IPropertyBinder p1)

Parameters

p0
Documentation for this section has not yet been entered.
p1
Documentation for this section has not yet been entered.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: ShinobiControls.Android.Grids.Supplement
Assembly: ShinobiControls.Android.Grids (in ShinobiControls.Android.Grids.dll)
Assembly Versions: 1.0.0.0

TextColumnSpec Constructor

Documentation for this section has not yet been entered.

Syntax

protected TextColumnSpec (IntPtr javaReference, Android.Runtime.JniHandleOwnership transfer)

Parameters

javaReference
Documentation for this section has not yet been entered.
transfer
Documentation for this section has not yet been entered.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: ShinobiControls.Android.Grids.Supplement
Assembly: ShinobiControls.Android.Grids (in ShinobiControls.Android.Grids.dll)
Assembly Versions: 1.0.0.0

TextColumnSpec Constructor

Documentation for this section has not yet been entered.

Syntax

[Android.Runtime.Register(".ctor", "(Ljava/lang/CharSequence;Lcom/shinobicontrols/grids/supplement/PropertyBinder;)V", "")]
public TextColumnSpec (string p0, IPropertyBinder p1)

Parameters

p0
Documentation for this section has not yet been entered.
p1
Documentation for this section has not yet been entered.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: ShinobiControls.Android.Grids.Supplement
Assembly: ShinobiControls.Android.Grids (in ShinobiControls.Android.Grids.dll)
Assembly Versions: 1.0.0.0

AlternateStyle Property

Syntax

[get: Android.Runtime.Register("getAlternateStyle", "()Lcom/shinobicontrols/grids/supplement/TextColumnStyle;", "GetGetAlternateStyleHandler")]
[set: Android.Runtime.Register("setAlternateStyle", "(Lcom/shinobicontrols/grids/supplement/TextColumnStyle;)V", "GetSetAlternateStyle_Lcom_shinobicontrols_grids_supplement_TextColumnStyle_Handler")]
public virtual TextColumnStyle AlternateStyle { get; set; }

See Also

TextColumnSpec.AlternateStyle

Value

the ShinobiControls.Android.Grids.Supplement.TextColumnStyle that is used to style the TextViews of the alternate rows

Remarks

Get method documentation
ShinobiControls.Android.Grids.Supplement.TextColumnStyle ShinobiControls.Android.Grids.Core.Column ShinobiControls.Android.Grids.Core.IColumnSpec relates to.

Returns the

that is used to style the TextViews of the alternate rows within the

this

Set method documentation
ShinobiControls.Android.Grids.Core.IColumnSpec ShinobiControls.Android.Grids.Core.Column TextColumnStyle.SetOnStyleChangedListener(IOnStyleChangedListener) null ShinobiControls.Android.Grids.Supplement.TextColumnStyle ShinobiControls.Android.Grids.Supplement.TextColumnSpec being thrown.

Sets the style for each item on the alternate rows within this

. If the

this ColumnSpec defines is added to the grid then this setting the style will cause an automatic redraw. For subsequent changes to the style to cause the grid to redraw then this ColumnSpec needs to be added as a listener to the style using the

method.

It is not possible to set a

on this

; attempting to do so will result in an

Requirements

Namespace: ShinobiControls.Android.Grids.Supplement
Assembly: ShinobiControls.Android.Grids (in ShinobiControls.Android.Grids.dll)
Assembly Versions: 1.0.0.0

Callback Property

Syntax

[Android.Runtime.Register("callback")]
protected ShinobiControls.Android.Grids.Core.Column.Callback Callback { get; set; }

Value

Remarks

The Callback providing controlled access to the Column this ColumnSpec describes. It has a number of useful methods including the ShinobiControls.Android.Grids.Core.Column.ICallback

method which can be used to notify the ShinobiGridView that the visual appearance of the items in the Column this ColumnSpec describes has changed.

This reference is set in the TextColumnSpec.Initialize(.Callback)

method and so when subclassing this TextColumnSpec, if you do not call the super implementation of the initialize()

method this will be null

.

Requirements

Namespace: ShinobiControls.Android.Grids.Supplement
Assembly: ShinobiControls.Android.Grids (in ShinobiControls.Android.Grids.dll)
Assembly Versions: 1.0.0.0

ColumnTitle Property

Documentation for this section has not yet been entered.

Syntax

public string ColumnTitle { get; }

Value

Documentation for this section has not yet been entered.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: ShinobiControls.Android.Grids.Supplement
Assembly: ShinobiControls.Android.Grids (in ShinobiControls.Android.Grids.dll)
Assembly Versions: 1.0.0.0

ColumnTitleFormatted Property

Syntax

[get: Android.Runtime.Register("getColumnTitle", "()Ljava/lang/CharSequence;", "GetGetColumnTitleHandler")]
public virtual Java.Lang.ICharSequence ColumnTitleFormatted { get; }

Value

the title for this ColumnSpec, may be null

Remarks

Returns the title given to this ColumnSpec. May be null.

Requirements

Namespace: ShinobiControls.Android.Grids.Supplement
Assembly: ShinobiControls.Android.Grids (in ShinobiControls.Android.Grids.dll)
Assembly Versions: 1.0.0.0

DefaultStyle Property

Syntax

[get: Android.Runtime.Register("getDefaultStyle", "()Lcom/shinobicontrols/grids/supplement/TextColumnStyle;", "GetGetDefaultStyleHandler")]
[set: Android.Runtime.Register("setDefaultStyle", "(Lcom/shinobicontrols/grids/supplement/TextColumnStyle;)V", "GetSetDefaultStyle_Lcom_shinobicontrols_grids_supplement_TextColumnStyle_Handler")]
public virtual TextColumnStyle DefaultStyle { get; set; }

See Also

TextColumnSpec.DefaultStyle

Value

the ShinobiControls.Android.Grids.Supplement.TextColumnStyle that is used to style the TextViews

Remarks

Get method documentation
ShinobiControls.Android.Grids.Supplement.TextColumnStyle ShinobiControls.Android.Grids.Core.Column ShinobiControls.Android.Grids.Core.IColumnSpec relates to.

Returns the

that is used to style the TextViews within the

this

Set method documentation
ShinobiControls.Android.Grids.Core.IColumnSpec ShinobiControls.Android.Grids.Core.Column TextColumnStyle.SetOnStyleChangedListener(IOnStyleChangedListener) null ShinobiControls.Android.Grids.Supplement.TextColumnStyle ShinobiControls.Android.Grids.Supplement.TextColumnSpec being thrown.

Sets the style for each item on the even rows within this

. If the

this ColumnSpec defines is added to the grid then this setting the style will cause an automatic redraw. For subsequent changes to the style to cause the grid to redraw then this ColumnSpec needs to be added as a listener to the style using the

method.

It is not possible to set a

on this

; attempting to do so will result in an

Requirements

Namespace: ShinobiControls.Android.Grids.Supplement
Assembly: ShinobiControls.Android.Grids (in ShinobiControls.Android.Grids.dll)
Assembly Versions: 1.0.0.0

GetItemViewType Method

Syntax

[Android.Runtime.Register("getItemViewType", "(I)I", "GetGetItemViewType_IHandler")]
public virtual int GetItemViewType (int rowIndex)

Parameters

rowIndex
- the zero-based index of the row in the grid that the item being bound to the given holder is on, as the same itemViewType is returned for every row in this TextColumnSpec the rowIndex is not used

Returns

the itemViewType for this TextColumnSpec

Remarks

Returns the itemViewType

for this TextColumnSpec - this is ShinobiControls.Android.Grids.Resources.Id

and is applicable for every row in the column.

Requirements

Namespace: ShinobiControls.Android.Grids.Supplement
Assembly: ShinobiControls.Android.Grids (in ShinobiControls.Android.Grids.dll)
Assembly Versions: 1.0.0.0

HasHeader Property

Syntax

[get: Android.Runtime.Register("hasHeader", "()Z", "GetHasHeaderHandler")]
public virtual bool HasHeader { get; }

Value

true if this ColumnSpec was given a non-null columnTitle when instantiated, false otherwise

Remarks

Returns true if this ColumnSpec was given a non-null columnTitle

when instantiated, false otherwise.

Requirements

Namespace: ShinobiControls.Android.Grids.Supplement
Assembly: ShinobiControls.Android.Grids (in ShinobiControls.Android.Grids.dll)
Assembly Versions: 1.0.0.0

HeaderItemViewType Property

Syntax

[get: Android.Runtime.Register("getHeaderItemViewType", "()I", "GetGetHeaderItemViewTypeHandler")]
public virtual int HeaderItemViewType { get; }

Value

the itemViewType for the header of this TextColumnSpec

Remarks

Returns the itemViewType

for the header of this TextColumnSpec - this is Resource.Id.sg_header_text_view

.

Requirements

Namespace: ShinobiControls.Android.Grids.Supplement
Assembly: ShinobiControls.Android.Grids (in ShinobiControls.Android.Grids.dll)
Assembly Versions: 1.0.0.0

HeaderStyle Property

Syntax

[get: Android.Runtime.Register("getHeaderStyle", "()Lcom/shinobicontrols/grids/supplement/TextColumnStyle;", "GetGetHeaderStyleHandler")]
[set: Android.Runtime.Register("setHeaderStyle", "(Lcom/shinobicontrols/grids/supplement/TextColumnStyle;)V", "GetSetHeaderStyle_Lcom_shinobicontrols_grids_supplement_TextColumnStyle_Handler")]
public virtual TextColumnStyle HeaderStyle { get; set; }

See Also

TextColumnSpec.HeaderStyle

Value

the ShinobiControls.Android.Grids.Supplement.TextColumnStyle that is used to style the TextView of the header row

Remarks

Get method documentation
ShinobiControls.Android.Grids.Supplement.TextColumnStyle ShinobiControls.Android.Grids.Core.Column ShinobiControls.Android.Grids.Core.IColumnSpec relates to.

Returns the

that is used to style the TextViews of the header within the

this

Set method documentation
ShinobiControls.Android.Grids.Core.IColumnSpec ShinobiControls.Android.Grids.Core.Column TextColumnStyle.SetOnStyleChangedListener(IOnStyleChangedListener) null ShinobiControls.Android.Grids.Supplement.TextColumnStyle ShinobiControls.Android.Grids.Supplement.TextColumnSpec being thrown.

Sets the style for the item on the header row within this

. If the

this ColumnSpec defines is added to the grid then this setting the style will cause an automatic redraw. For subsequent changes to the style to cause the grid to redraw then this ColumnSpec needs to be added as a listener to the style using the

method.

It is not possible to set a

on this

; attempting to do so will result in an

Requirements

Namespace: ShinobiControls.Android.Grids.Supplement
Assembly: ShinobiControls.Android.Grids (in ShinobiControls.Android.Grids.dll)
Assembly Versions: 1.0.0.0

Initialize Method

Documentation for this section has not yet been entered.

Syntax

[Android.Runtime.Register("initialize", "(Lcom/shinobicontrols/grids/core/Column$Callback;)V", "GetInitialize_Lcom_shinobicontrols_grids_core_Column_Callback_Handler")]
public virtual void Initialize (ShinobiControls.Android.Grids.Core.Column.Callback callback)

Parameters

callback
Documentation for this section has not yet been entered.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: ShinobiControls.Android.Grids.Supplement
Assembly: ShinobiControls.Android.Grids (in ShinobiControls.Android.Grids.dll)
Assembly Versions: 1.0.0.0

OnBindHeaderViewHolder Method

Documentation for this section has not yet been entered.

Syntax

[Android.Runtime.Register("onBindHeaderViewHolder", "(Landroid/support/v7/widget/RecyclerView$ViewHolder;)V", "GetOnBindHeaderViewHolder_Landroid_support_v7_widget_RecyclerView_ViewHolder_Handler")]
public virtual void OnBindHeaderViewHolder (Android.Support.V7.Widget.RecyclerView.ViewHolder holder)

Parameters

holder
Documentation for this section has not yet been entered.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: ShinobiControls.Android.Grids.Supplement
Assembly: ShinobiControls.Android.Grids (in ShinobiControls.Android.Grids.dll)
Assembly Versions: 1.0.0.0

OnBindViewHolder Method

Documentation for this section has not yet been entered.

Syntax

[Android.Runtime.Register("onBindViewHolder", "(Landroid/support/v7/widget/RecyclerView$ViewHolder;I)V", "GetOnBindViewHolder_Landroid_support_v7_widget_RecyclerView_ViewHolder_IHandler")]
public virtual void OnBindViewHolder (Android.Support.V7.Widget.RecyclerView.ViewHolder p0, int p1)

Parameters

p0
Documentation for this section has not yet been entered.
p1
Documentation for this section has not yet been entered.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: ShinobiControls.Android.Grids.Supplement
Assembly: ShinobiControls.Android.Grids (in ShinobiControls.Android.Grids.dll)
Assembly Versions: 1.0.0.0

OnColumnAdded Method

Syntax

[Android.Runtime.Register("onColumnAdded", "(Landroid/content/Context;)V", "GetOnColumnAdded_Landroid_content_Context_Handler")]
public virtual void OnColumnAdded (Android.Content.Context context)

Parameters

context
- the current context of the grid the Column has been added to providing access to attributes in the current theme

Remarks

Requirements

Namespace: ShinobiControls.Android.Grids.Supplement
Assembly: ShinobiControls.Android.Grids (in ShinobiControls.Android.Grids.dll)
Assembly Versions: 1.0.0.0

OnStyleChanged Method

Syntax

[Android.Runtime.Register("onStyleChanged", "()V", "GetOnStyleChangedHandler")]
public virtual void OnStyleChanged ()

Remarks

Description copied from interface: IOnStyleChangedListener.OnStyleChanged

Requirements

Namespace: ShinobiControls.Android.Grids.Supplement
Assembly: ShinobiControls.Android.Grids (in ShinobiControls.Android.Grids.dll)
Assembly Versions: 1.0.0.0

PropertyBinder Property

Syntax

[get: Android.Runtime.Register("getPropertyBinder", "()Lcom/shinobicontrols/grids/supplement/PropertyBinder;", "GetGetPropertyBinderHandler")]
public virtual IPropertyBinder PropertyBinder { get; }

Value

the PropertyBinder for this TextColumnSpec

Remarks

Returns the PropertyBinder for this TextColumnSpec. This provides the text for the TextColumnSpec.onBindViewHolder(android.support.v7.widget.RecyclerView.ViewHolder, %20int)

method to place into the TextViews.

Requirements

Namespace: ShinobiControls.Android.Grids.Supplement
Assembly: ShinobiControls.Android.Grids (in ShinobiControls.Android.Grids.dll)
Assembly Versions: 1.0.0.0

SelectedStyle Property

Syntax

[get: Android.Runtime.Register("getSelectedStyle", "()Lcom/shinobicontrols/grids/supplement/TextColumnStyle;", "GetGetSelectedStyleHandler")]
[set: Android.Runtime.Register("setSelectedStyle", "(Lcom/shinobicontrols/grids/supplement/TextColumnStyle;)V", "GetSetSelectedStyle_Lcom_shinobicontrols_grids_supplement_TextColumnStyle_Handler")]
public virtual TextColumnStyle SelectedStyle { get; set; }

See Also

TextColumnSpec.SelectedStyle

Value

the ShinobiControls.Android.Grids.Supplement.TextColumnStyle that is used to style the TextViews of the selected items

Remarks

Get method documentation
ShinobiControls.Android.Grids.Supplement.TextColumnStyle ShinobiControls.Android.Grids.Core.Column ShinobiControls.Android.Grids.Core.IColumnSpec relates to.

Returns the

that is used to style the TextViews of the selected items within the

this

Set method documentation
ShinobiControls.Android.Grids.Core.IColumnSpec ShinobiControls.Android.Grids.Core.Column TextColumnStyle.SetOnStyleChangedListener(IOnStyleChangedListener) null ShinobiControls.Android.Grids.Supplement.TextColumnStyle ShinobiControls.Android.Grids.Supplement.TextColumnSpec being thrown.

Sets the style for each selected item within this

. If the

this ColumnSpec defines is added to the grid then this setting the style will cause an automatic redraw. For subsequent changes to the style to cause the grid to redraw then this ColumnSpec needs to be added as a listener to the style using the

method.

It is not possible to set a

on this

; attempting to do so will result in an

Requirements

Namespace: ShinobiControls.Android.Grids.Supplement
Assembly: ShinobiControls.Android.Grids (in ShinobiControls.Android.Grids.dll)
Assembly Versions: 1.0.0.0

ThresholdClass Property

This API supports the Mono for Android infrastructure and is not intended to be used directly from your code.

Syntax

protected override IntPtr ThresholdClass { get; }

Value

A IntPtr which contains the java.lang.Class JNI value corresponding to this type.

Remarks

This property is used to control which jclass is provided to methods like Android.Runtime.JNIEnv.CallNonVirtualVoidMethod.

Requirements

Namespace: ShinobiControls.Android.Grids.Supplement
Assembly: ShinobiControls.Android.Grids (in ShinobiControls.Android.Grids.dll)
Assembly Versions: 1.0.0.0

ThresholdType Property

This API supports the Mono for Android infrastructure and is not intended to be used directly from your code.

Syntax

protected override Type ThresholdType { get; }

Value

A Type which provides the declaring type.

Remarks

This property is used to control virtual vs. non virtual method dispatch against the underlying JNI object. When this property is equal to the declaring type, then virtual method invocation against the JNI object is performed; otherwise, we assume that the method was overridden by a derived type, and perform non-virtual methdo invocation.

Requirements

Namespace: ShinobiControls.Android.Grids.Supplement
Assembly: ShinobiControls.Android.Grids (in ShinobiControls.Android.Grids.dll)
Assembly Versions: 1.0.0.0