MCPcopy Create free account
hub / github.com/codenameone/CodenameOne / initTitleBarStatus

Method initTitleBarStatus

CodenameOne/src/com/codename1/ui/Form.java:664–672  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

662
663 /// Here so dialogs can disable this
664 void initTitleBarStatus() {
665 if (shouldPaintStatusBar()) {
666 // check if its already added:
667 if (((BorderLayout) titleArea.getLayout()).getNorth() == null) {
668 titleArea.addComponent(BorderLayout.NORTH, createStatusBar());
669 titleArea.revalidateLater();
670 }
671 }
672 }
673
674 /// Locates the scrollable-Y descendant that is actually visible to the
675 /// user inside the Form viewport. Used by the status-bar tap -> scroll-to-top

Callers 1

FormMethod · 0.95

Calls 6

shouldPaintStatusBarMethod · 0.95
createStatusBarMethod · 0.95
getNorthMethod · 0.80
getLayoutMethod · 0.65
addComponentMethod · 0.65
revalidateLaterMethod · 0.45

Tested by

no test coverage detected