Hi,
I have a toolbar with several buttons. The buttons should be displayed only as icons, without any text. I created an Action-Object for every button with the appropriate icon- and handler-properties. So far, everything is perfect. Mac Dev Center: Apple Human Interface Guidelines: Icons:: Aug 20, 2009 Figure 11-11 Keynote toolbar icons portray objects and tasks in a simple, Use transparency only when it is convincing and when it helps Try to use a single object that captures the icon's action or represents the control. Avoid using Aqua interface elements in your icons; they could be http://developer.apple.com/Mac/library/documentation/UserExperience/Conceptual/AppleHIGuidelines/XHIGIcons/XHIGIcons.htmlHOME | Copyright © Rutgers Writing Program Contact Barclay Barrios :: File Format: Shockwave FlashWe'll be using our RCI space for the remote server space. Toolbar: Located underneath the menu bar is the Toolbar. These Object icons act more like ⠜placeholders⠝ in a web page. . Body Action: Browser-triggered actions take place automatically as the result of browser activity or when the action is http://getit.rutgers.edu/tutorials/golive6/media/golive6_rci.swfHOME |
Now I'd like to use these Action-Objects in a context-menu as well. But in the context-menu I also need a descriptive text. So I added a text-property to my Action-Objects. That works fine for the context-menu. My problem is now, that the text is also displayed in the toolbar, where only icons should be appear. What is an Action - java.net - the Source for Java(tm) Technology :: The properties of the actions, like text , icon , mnemonic and accelerator . The popup menu uses the same action-list as the tool bar and can be invoked by Grouped toggle actions within an action-list can only belong to one group. Register the callback method with the action using the ActionManager: http://javadesktop.org/articles/actions/index.htmlHOME | View Menus,Toolbars and Actions:: An action's enablement and/or visibility can be defined using the elements If omitted, the action will not appear in the local toolbar. icon - a relative path . The expression is evaluated as true only if all objects within the http://help.eclipse.org/help33/topic/org.eclipse.platform.doc.isv/reference/extension-points/org_eclipse_ui_viewActions.htmlHOME |
Now the question: Is there any possibillity to use Actions with the text-property, and avoid the text being displayed in a toolbar??? MENUS AND ACTIONS:: File Format: PDF/Adobe Acrobat - Quick ViewAction Objects. Menus and toolbars are really two ways of representing the same public ExitButton(String caption, Icon img, JFrame frm) { http://www.patterndepot.com/put/8/MenuAction.pdfHOME |
Thanks a lot....~o)
Challenging Books For A 14 Year Old?
First guitar : acoustic or electric?
|