- 使用 Spring Initializr 创建 Spring Boot 应用程序
- 在Spring Boot中配置Cassandra
- 在 Spring Boot 上配置 Tomcat 连接池
- 将Camel消息路由到嵌入WildFly的Artemis上
本文整理了Java中com.koolearn.klibrary.core.view.ZLViewWidget.reset()
方法的一些代码示例,展示了ZLViewWidget.reset()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。ZLViewWidget.reset()
方法的具体详情如下:
包路径:com.koolearn.klibrary.core.view.ZLViewWidget
类名称:ZLViewWidget
方法名:reset
暂无
代码示例来源:origin: ydcx/KooReader
public final void addHighlightings(Collection<ZLTextHighlighting> hilites) {
myHighlightings.addAll(hilites);
Application.getViewWidget().reset();
Application.getViewWidget().repaint();
}
代码示例来源:origin: Jiangzqts/EpubRead
public final void addHighlighting(ZLTextHighlighting h) {
myHighlightings.add(h);
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
@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
@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
public void run() {
view.Application.getViewWidget().reset();
view.Application.getViewWidget().repaint();
}
};
代码示例来源:origin: Jiangzqts/EpubRead
public void clearCaches() {
resetMetrics();
rebuildPaintInfo();
Application.getViewWidget().reset();
myCharWidth = -1;
}
代码示例来源:origin: Jiangzqts/EpubRead
public void clearHighlighting() {
if (removeHighlightings(ZLTextManualHighlighting.class)) {
Application.getViewWidget().reset();
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
@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
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: Jiangzqts/EpubRead
private void gotoPage(int page) {
final ZLTextView view = myKooReader.getTextView();
if (page == 1) {
view.gotoHome();
} else {
view.gotoPage(page);
}
// myKooReader.clearTextCaches();
myKooReader.getViewWidget().reset();
myKooReader.getViewWidget().repaint();
}
@Override
代码示例来源: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 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;
}
代码示例来源:origin: ydcx/KooReader
protected void moveSelectionCursorTo(SelectionCursor.Which which, int x, int y) {
y -= getTextStyleCollection().getBaseStyle().getFontSize() / 2;
mySelection.setCursorInMovement(which, x, y);
mySelection.expandTo(myCurrentPage, x, y);
Application.getViewWidget().reset();
Application.getViewWidget().repaint();
}
本文整理了Java中com.koolearn.klibrary.core.view.ZLViewWidget.reset()方法的一些代码示例,展示了ZLViewWidget.reset()的具体用法
本文整理了Java中com.koolearn.klibrary.core.view.ZLViewWidget.scrollManuallyTo()方法的一些代码示例,展示了ZLViewWidget.s
本文整理了Java中com.koolearn.klibrary.core.view.ZLViewWidget.startAnimatedScrolling()方法的一些代码示例,展示了ZLViewWi
本文整理了Java中com.koolearn.klibrary.core.view.ZLViewWidget.getScreenBrightness()方法的一些代码示例,展示了ZLViewWidge
本文整理了Java中com.koolearn.klibrary.core.view.ZLViewWidget.startManualScrolling()方法的一些代码示例,展示了ZLViewWidg
本文整理了Java中com.koolearn.klibrary.core.view.ZLViewWidget.repaint()方法的一些代码示例,展示了ZLViewWidget.repaint()的
我是一名优秀的程序员,十分优秀!