gpt4 book ai didi

com.koolearn.klibrary.core.view.ZLViewWidget.repaint()方法的使用及代码示例

转载 作者:知者 更新时间:2024-03-13 12:02:02 26 4
gpt4 key购买 nike

本文整理了Java中com.koolearn.klibrary.core.view.ZLViewWidget.repaint()方法的一些代码示例,展示了ZLViewWidget.repaint()的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。ZLViewWidget.repaint()方法的具体详情如下:
包路径:com.koolearn.klibrary.core.view.ZLViewWidget
类名称:ZLViewWidget
方法名:repaint

ZLViewWidget.repaint介绍

暂无

代码示例

代码示例来源:origin: Jiangzqts/EpubRead

public final void addHighlightings(Collection<ZLTextHighlighting> hilites) {
  myHighlightings.addAll(hilites);
  Application.getViewWidget().reset();
  Application.getViewWidget().repaint();
}

代码示例来源:origin: ydcx/KooReader

public final void addHighlighting(ZLTextHighlighting h) {
  myHighlightings.add(h);
  Application.getViewWidget().reset();
  Application.getViewWidget().repaint();
}

代码示例来源:origin: ydcx/KooReader

public final void addHighlightings(Collection<ZLTextHighlighting> hilites) {
  myHighlightings.addAll(hilites);
  Application.getViewWidget().reset();
  Application.getViewWidget().repaint();
}

代码示例来源:origin: ydcx/KooReader

@Override
  public void onClick(View v) {
    dark.setVisibility(View.VISIBLE);
    light.setVisibility(View.INVISIBLE);
    myKooReader.ViewOptions.ColorProfileName.setValue(ColorProfile.DAY);
    myKooReader.getViewWidget().reset();
    myKooReader.getViewWidget().repaint();
  }
});

代码示例来源:origin: ydcx/KooReader

@Override
  public void onClick(View v) {
    myKooReader.ViewOptions.ColorProfileName.setValue(ColorProfile.NIGHT);
    myKooReader.getViewWidget().reset();
    myKooReader.getViewWidget().repaint();
    light.setVisibility(View.VISIBLE);
    dark.setVisibility(View.INVISIBLE);
  }
});

代码示例来源:origin: ydcx/KooReader

public void run() {
    view.Application.getViewWidget().reset();
    view.Application.getViewWidget().repaint();
  }
};

代码示例来源:origin: ydcx/KooReader

public void clearHighlighting() {
  if (removeHighlightings(ZLTextManualHighlighting.class)) {
    Application.getViewWidget().reset();
    Application.getViewWidget().repaint();
  }
}

代码示例来源:origin: Jiangzqts/EpubRead

protected void releaseSelectionCursor() {
  mySelection.stop();
  Application.getViewWidget().reset();
  Application.getViewWidget().repaint();
}

代码示例来源:origin: ydcx/KooReader

protected void releaseSelectionCursor() {
  mySelection.stop();
  Application.getViewWidget().reset();
  Application.getViewWidget().repaint();
}

代码示例来源:origin: ydcx/KooReader

public void clearSelection() {
  if (mySelection.clear()) {
    Application.getViewWidget().reset();
    Application.getViewWidget().repaint();
  }
}

代码示例来源:origin: ydcx/KooReader

@Override
  protected void run(Object ... params) {
    Reader.ViewOptions.ColorProfileName.setValue(myProfileName);
    Reader.getViewWidget().reset();
    Reader.getViewWidget().repaint();
  }
}

代码示例来源:origin: Jiangzqts/EpubRead

private void setModel(String model) {
    myKooReader.ViewOptions.ColorProfileName.setValue(model);
    myKooReader.getViewWidget().reset();
    myKooReader.getViewWidget().repaint();
  }
}

代码示例来源:origin: Jiangzqts/EpubRead

@Override
  protected void run(Object ... params) {
    Reader.ViewOptions.ColorProfileName.setValue(myProfileName);
    Reader.getViewWidget().reset();
    Reader.getViewWidget().repaint();
  }
}

代码示例来源:origin: Jiangzqts/EpubRead

public void clearSelection() {
  if (mySelection.clear()) {
    Application.getViewWidget().reset();
    Application.getViewWidget().repaint();
  }
}

代码示例来源:origin: Jiangzqts/EpubRead

private void setWallpaper(final String wallpaper) {
  myKooReader.ViewOptions.getColorProfile().WallpaperOption.setValue(wallpaper);
  myKooReader.getViewWidget().reset();
  myKooReader.getViewWidget().repaint();
}

代码示例来源:origin: Jiangzqts/EpubRead

private void gotoPageByPrah(int prah) {
    final ZLTextView view = myKooReader.getTextView();
//        pagePosition = view.pagePosition();
    view.gotoPageByPec(prah);
//        myKooReader.clearTextCaches();
    myKooReader.getViewWidget().reset();
    myKooReader.getViewWidget().repaint();
//        myKooReader.showBookTextView();
  }
}

代码示例来源:origin: ydcx/KooReader

private void setAlign(final int aligStyle) {
  myKooReader.ViewOptions.getTextStyleCollection().getBaseStyle().AlignmentOption.setValue(aligStyle);
  myKooReader.getViewWidget().reset();
  myKooReader.getViewWidget().repaint();
}

代码示例来源:origin: Jiangzqts/EpubRead

public void clearFindResults() {
  if (!findResultsAreEmpty()) {
    myModel.removeAllMarks();
    rebuildPaintInfo();
    Application.getViewWidget().reset();
    Application.getViewWidget().repaint();
  }
}

代码示例来源:origin: Jiangzqts/EpubRead

public void run() {
  myView.turnPage(myScrollForward, ZLTextView.ScrollingMode.SCROLL_LINES, 1);
  myView.preparePaintInfo();
  expandTo(myPage, myX, myY);
  myView.Application.getViewWidget().reset();
  myView.Application.getViewWidget().repaint();
}

代码示例来源:origin: ydcx/KooReader

protected boolean initSelection(int x, int y) {
  y -= getTextStyleCollection().getBaseStyle().getFontSize() / 2;
  if (!mySelection.start(x, y)) {
    return false;
  }
  Application.getViewWidget().reset();
  Application.getViewWidget().repaint();
  return true;
}

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com