public virtual MenuContainer GetParent(MenuComponent menuComp) { return(menuComp.Parent_Renamed); }
public virtual Font GetFont_NoClientCode(MenuComponent menuComp) { return(menuComp.Font_NoClientCode); }
public virtual AppContext GetAppContext(MenuComponent menuComp) { return(menuComp.AppContext); }
public virtual void SetAppContext(MenuComponent menuComp, AppContext appContext) { menuComp.AppContext = appContext; }
/// <summary> /// Gets the index of the child within this MenuComponent. /// </summary> /// <param name="child"> MenuComponent whose index we are interested in. </param> /// <returns> -1 if this object doesn't contain the child, /// otherwise, index of the child. </returns> internal virtual int GetAccessibleChildIndex(MenuComponent child) { return(-1); // Overridden in subclasses. }
/// <summary> /// Although the class is abstract, this should be called by /// all sub-classes. /// </summary> protected internal AccessibleAWTMenuComponent(MenuComponent outerInstance) { this.OuterInstance = outerInstance; }
/// <summary> /// Removes the specified menu item from this menu. /// </summary> public void remove(MenuComponent @item) { }
/// <summary> /// Removes the specified menu component from this menu bar. /// </summary> public void remove(MenuComponent @m) { }
/// <summary> /// Defined in MenuComponent. Overridden here. /// </summary> internal override int GetAccessibleChildIndex(MenuComponent child) { return(Menus.IndexOf(child)); }
/// <summary> /// Removes the specified popup menu from the component. /// </summary> public void remove(MenuComponent @popup) { }