using System.Runtime.InteropServices;
-public class ItemView : Scrollable {
+internal class ItemView : Scrollable {
private global::System.Runtime.InteropServices.HandleRef swigCPtr;
internal ItemView(global::System.IntPtr cPtr, bool cMemoryOwn) : base(NDalicPINVOKE.ItemView_SWIGUpcast(cPtr), cMemoryOwn) {
}
public override void Dispose() {
- if (!Stage.IsInstalled()) {
+ if (!Window.IsInstalled()) {
DisposeQueue.Instance.Add(this);
return;
}
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
}
- public Actor GetItem(uint itemId) {
- Actor ret = new Actor(NDalicPINVOKE.ItemView_GetItem(swigCPtr, itemId), true);
+ public View GetItem(uint itemId) {
+ View ret = new View(NDalicPINVOKE.ItemView_GetItem(swigCPtr, itemId), true);
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
return ret;
}
- public uint GetItemId(Actor actor) {
- uint ret = NDalicPINVOKE.ItemView_GetItemId(swigCPtr, Actor.getCPtr(actor));
+ public uint GetItemId(View view) {
+ uint ret = NDalicPINVOKE.ItemView_GetItemId(swigCPtr, View.getCPtr(view));
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
return ret;
}
return ret;
}
- public enum PropertyRange {
- PROPERTY_START_INDEX = PropertyRanges.PROPERTY_REGISTRATION_START_INDEX,
- PROPERTY_END_INDEX = View.PropertyRange.PROPERTY_START_INDEX+1000,
- ANIMATABLE_PROPERTY_START_INDEX = PropertyRanges.ANIMATABLE_PROPERTY_REGISTRATION_START_INDEX,
- ANIMATABLE_PROPERTY_END_INDEX = PropertyRanges.ANIMATABLE_PROPERTY_REGISTRATION_START_INDEX+1000
- }
-
public float MinimumSwipeSpeed
{
get
{
float temp = 0.0f;
- GetProperty( ItemView.Property.MINIMUM_SWIPE_SPEED).Get( ref temp );
+ GetProperty( ItemView.Property.MINIMUM_SWIPE_SPEED).Get( out temp );
return temp;
}
set
get
{
float temp = 0.0f;
- GetProperty( ItemView.Property.MINIMUM_SWIPE_DISTANCE).Get( ref temp );
+ GetProperty( ItemView.Property.MINIMUM_SWIPE_DISTANCE).Get( out temp );
return temp;
}
set
get
{
float temp = 0.0f;
- GetProperty( ItemView.Property.WHEEL_SCROLL_DISTANCE_STEP).Get( ref temp );
+ GetProperty( ItemView.Property.WHEEL_SCROLL_DISTANCE_STEP).Get( out temp );
return temp;
}
set
get
{
bool temp = false;
- GetProperty( ItemView.Property.SNAP_TO_ITEM_ENABLED).Get( ref temp );
+ GetProperty( ItemView.Property.SNAP_TO_ITEM_ENABLED).Get( out temp );
return temp;
}
set
get
{
float temp = 0.0f;
- GetProperty( ItemView.Property.REFRESH_INTERVAL).Get( ref temp );
+ GetProperty( ItemView.Property.REFRESH_INTERVAL).Get( out temp );
return temp;
}
set
get
{
float temp = 0.0f;
- GetProperty( ItemView.Property.LAYOUT_POSITION).Get( ref temp );
+ GetProperty( ItemView.Property.LAYOUT_POSITION).Get( out temp );
return temp;
}
set
get
{
float temp = 0.0f;
- GetProperty( ItemView.Property.SCROLL_SPEED).Get( ref temp );
+ GetProperty( ItemView.Property.SCROLL_SPEED).Get( out temp );
return temp;
}
set
get
{
float temp = 0.0f;
- GetProperty( ItemView.Property.OVERSHOOT).Get( ref temp );
+ GetProperty( ItemView.Property.OVERSHOOT).Get( out temp );
return temp;
}
set
get
{
int temp = 0;
- GetProperty( ItemView.Property.LAYOUT_ORIENTATION).Get( ref temp );
+ GetProperty( ItemView.Property.LAYOUT_ORIENTATION).Get( out temp );
return temp;
}
set
get
{
float temp = 0.0f;
- GetProperty( ItemView.Property.SCROLL_CONTENT_SIZE).Get( ref temp );
+ GetProperty( ItemView.Property.SCROLL_CONTENT_SIZE).Get( out temp );
return temp;
}
set