module com { module sun { module star { module drawing { module framework {
/** UI control for the selection of views in a pane. <p>Everytabofatabbarhas,besidesitslocalizedtitleandhelp text,theURLofaview.Apossiblealternativewouldbetousea commandURLinsteadoftheviewURL.</p> <p>InthecurrentImpressimplementationatabbarisonlyusedforthe centerpanetoswitchbetweenviewsinthecenterpane.Tabbarscan makesenseforotherpanesaswell,i.e.forshowingeithertheslide sorterortheoutlineviewintheleftpane.</p> <p>Tabbarbuttonsareidentifiedbytheirresourceid.Notethat becausetheresourceanchorsareallthesame(thetabbar),itisthe resourceURLthatreallyidentifiesabutton.Therecannotbetwo buttonswiththesameresourceid.</p> </p> <p>Abetterplaceforthisinterface(inanextendedversion)wouldbe <code>com::sun::star::awt</code></p> @seeTabBarButton
*/
interface XTabBar
{ /** Add a tab bar button to the right of another one. @paramaButton Thenewtabbarbuttonthatistobeinserted.Ifabuttonwith thesameresourceidisalreadypresentthanthatisremovedbeforethe newbuttonisinserted. @paramaAnchor Thenewbuttonisinsertedtotherightofthisbutton.When itsResourceIdisemptythenthenewbuttonisinsertedattheleft mostposition.
*/ void addTabBarButtonAfter ([in] TabBarButton aButton, [in] TabBarButton aAnchor);
/** Add a tab bar button at the right most position. @paramaButton Thenewtabbarbuttonthatistobeinserted.
*/ void appendTabBarButton ([in] TabBarButton aButton);
/** Remove a tab bar button. @paramaButton Thetabbarbuttontoremove.Whenthereisnobuttonwiththe specifiedresourceidthenthiscallissilentlyignored.
*/ void removeTabBarButton ([in] TabBarButton aButton);
/** Test whether the specified button exists in the tab bar. @paramaButton Thetabbarbuttonwhoseexistenceistested. @return Returns`TRUE`whenthebuttonexists.
*/
boolean hasTabBarButton ([in] TabBarButton aButton);
/** Return a sequence of all the tab bar buttons. <p>Theirorderreflectsthevisibleorderinthetabbar.</p> <p>Thismethodcanbeusedwhen addTabBarButtonAfter()doesnotprovideenough controlastowheretoinsertanewbutton.</p>
*/
sequence<TabBarButton> getTabBarButtons ();
};
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.