protected void paint(GraphicsEx g) { beforePaint(); int bottom = getHeight(); boolean onlySoftBar = (bottom <= g.getClipY()); if (!onlySoftBar) { int captionHeight = bar.getHeight(); paintContent(g, captionHeight, getWidth(), getHeight() - captionHeight); g.setClip(0, captionHeight, getWidth(), getHeight()); g.drawPopup(this, captionHeight); bar.paint(g, this, getWidth()); } if (isSoftBarShown()) { softBar.paint(g, this, getHeight()); } }
protected final void setSoftBarLabels(String more, String ok, String back, boolean direct) { softBar.setSoftBarLabels(more, ok, back, direct); }