示例#1
0
 public virtual MenuContainer GetParent(MenuComponent menuComp)
 {
     return(menuComp.Parent_Renamed);
 }
示例#2
0
 public virtual Font GetFont_NoClientCode(MenuComponent menuComp)
 {
     return(menuComp.Font_NoClientCode);
 }
示例#3
0
 public virtual AppContext GetAppContext(MenuComponent menuComp)
 {
     return(menuComp.AppContext);
 }
示例#4
0
 public virtual void SetAppContext(MenuComponent menuComp, AppContext appContext)
 {
     menuComp.AppContext = appContext;
 }
示例#5
0
 /// <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.
 }
示例#6
0
 /// <summary>
 /// Although the class is abstract, this should be called by
 /// all sub-classes.
 /// </summary>
 protected internal AccessibleAWTMenuComponent(MenuComponent outerInstance)
 {
     this.OuterInstance = outerInstance;
 }
示例#7
0
 /// <summary>
 /// Removes the specified menu item from this menu.
 /// </summary>
 public void remove(MenuComponent @item)
 {
 }
示例#8
0
		/// <summary>
		/// Removes the specified menu component from this menu bar.
		/// </summary>
		public void remove(MenuComponent @m)
		{
		}
示例#9
0
 /// <summary>
 /// Defined in MenuComponent. Overridden here.
 /// </summary>
 internal override int GetAccessibleChildIndex(MenuComponent child)
 {
     return(Menus.IndexOf(child));
 }
示例#10
0
 /// <summary>
 /// Removes the specified popup menu from the component.
 /// </summary>
 public void remove(MenuComponent @popup)
 {
 }
示例#11
0
 /// <summary>
 /// Removes the specified popup menu from the component.
 /// </summary>
 public void remove(MenuComponent @popup)
 {
 }