예제 #1
0
  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());
    }
  }
예제 #2
0
 protected final void setSoftBarLabels(String more, String ok, String back, boolean direct) {
   softBar.setSoftBarLabels(more, ok, back, direct);
 }