- 使用 Spring Initializr 创建 Spring Boot 应用程序
- 在Spring Boot中配置Cassandra
- 在 Spring Boot 上配置 Tomcat 连接池
- 将Camel消息路由到嵌入WildFly的Artemis上
本文整理了Java中com.koolearn.klibrary.text.view.ZLTextRegion.getSoul()
方法的一些代码示例,展示了ZLTextRegion.getSoul()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。ZLTextRegion.getSoul()
方法的具体详情如下:
包路径:com.koolearn.klibrary.text.view.ZLTextRegion
类名称:ZLTextRegion
方法名:getSoul
暂无
代码示例来源:origin: Jiangzqts/EpubRead
public boolean accepts(ZLTextRegion region) {
return region.getSoul() instanceof ExtensionRegionSoul;
}
};
代码示例来源:origin: ydcx/KooReader
public boolean accepts(ZLTextRegion region) {
final Soul soul = region.getSoul();
return
soul instanceof ZLTextImageRegionSoul ||
soul instanceof ZLTextHyperlinkRegionSoul;
}
};
代码示例来源:origin: ydcx/KooReader
public boolean accepts(ZLTextRegion region) {
return region.getSoul() instanceof ZLTextVideoRegionSoul;
}
};
代码示例来源:origin: Jiangzqts/EpubRead
public boolean accepts(ZLTextRegion region) {
final Soul soul = region.getSoul();
return
soul instanceof ZLTextImageRegionSoul ||
soul instanceof ZLTextHyperlinkRegionSoul;
}
};
代码示例来源:origin: ydcx/KooReader
public boolean accepts(ZLTextRegion region) {
return region.getSoul() instanceof ZLTextHyperlinkRegionSoul;
}
};
代码示例来源:origin: ydcx/KooReader
public boolean accepts(ZLTextRegion region) {
return region.getSoul() instanceof ExtensionRegionSoul;
}
};
代码示例来源:origin: Jiangzqts/EpubRead
public boolean accepts(ZLTextRegion region) {
return region.getSoul() instanceof ZLTextHyperlinkRegionSoul;
}
};
代码示例来源:origin: Jiangzqts/EpubRead
public boolean accepts(ZLTextRegion region) {
return region.getSoul() instanceof ZLTextVideoRegionSoul;
}
};
代码示例来源:origin: Jiangzqts/EpubRead
ZLTextRegion getRegion(ZLTextRegion.Soul soul) {
if (soul == null) {
return null;
}
synchronized (myAreas) {
for (ZLTextRegion region : myElementRegions) {
if (soul.equals(region.getSoul())) {
return region;
}
}
}
return null;
}
代码示例来源:origin: ydcx/KooReader
ZLTextRegion getRegion(ZLTextRegion.Soul soul) {
if (soul == null) {
return null;
}
synchronized (myAreas) {
for (ZLTextRegion region : myElementRegions) {
if (soul.equals(region.getSoul())) {
return region;
}
}
}
return null;
}
代码示例来源:origin: Jiangzqts/EpubRead
public final void outlineRegion(ZLTextRegion region) {
outlineRegion(region != null ? region.getSoul() : null);
}
代码示例来源:origin: ydcx/KooReader
public final void outlineRegion(ZLTextRegion region) {
outlineRegion(region != null ? region.getSoul() : null);
}
代码示例来源:origin: Jiangzqts/EpubRead
boolean start(int x, int y) {
clear();
final ZLTextRegion region = myView.findRegion(
x, y, myView.maxSelectionDistance(), ZLTextRegion.AnyRegionFilter
);
if (region == null) {
return false;
}
myRightMostRegionSoul = myLeftMostRegionSoul = region.getSoul();
return true;
}
代码示例来源:origin: ydcx/KooReader
boolean start(int x, int y) {
clear();
final ZLTextRegion region = myView.findRegion(
x, y, myView.maxSelectionDistance(), ZLTextRegion.AnyRegionFilter
);
if (region == null) {
return false;
}
myRightMostRegionSoul = myLeftMostRegionSoul = region.getSoul();
return true;
}
代码示例来源:origin: Jiangzqts/EpubRead
boolean intersects(ZLTextRegion region) {
final ZLTextRegion.Soul soul = region.getSoul();
return
!isEmpty() &&
soul.compareTo(getStartPosition()) >= 0 &&
soul.compareTo(getEndPosition()) <= 0;
}
代码示例来源:origin: ydcx/KooReader
boolean intersects(ZLTextRegion region) {
final ZLTextRegion.Soul soul = region.getSoul();
return
!isEmpty() &&
soul.compareTo(getStartPosition()) >= 0 &&
soul.compareTo(getEndPosition()) <= 0;
}
代码示例来源:origin: ydcx/KooReader
@Override
public void onFingerReleaseAfterLongPress(int x, int y) {
final SelectionCursor.Which cursor = getSelectionCursorInMovement();
if (cursor != null) {
releaseSelectionCursor();
return;
}
final ZLTextRegion region = getOutlinedRegion();
if (region != null) {
final ZLTextRegion.Soul soul = region.getSoul();
boolean doRunAction = false;
if (soul instanceof ZLTextWordRegionSoul) {
doRunAction =
myReader.MiscOptions.WordTappingAction.getValue() ==
MiscOptions.WordTappingActionEnum.openDictionary;
}
// else if (soul instanceof ZLTextImageRegionSoul) {
// doRunAction =
// myReader.ImageOptions.TapAction.getValue() ==
// ImageOptions.TapActionEnum.openImageView;
// }
if (doRunAction) {
myReader.runAction(ActionCode.PROCESS_HYPERLINK);
}
}
}
代码示例来源:origin: Jiangzqts/EpubRead
@Override
public void onFingerReleaseAfterLongPress(int x, int y) {
final SelectionCursor.Which cursor = getSelectionCursorInMovement();
if (cursor != null) {
releaseSelectionCursor();
return;
}
final ZLTextRegion region = getOutlinedRegion();
if (region != null) {
final ZLTextRegion.Soul soul = region.getSoul();
boolean doRunAction = false;
if (soul instanceof ZLTextWordRegionSoul) {
doRunAction =
myReader.MiscOptions.WordTappingAction.getValue() ==
MiscOptions.WordTappingActionEnum.openDictionary;
}
// else if (soul instanceof ZLTextImageRegionSoul) {
// doRunAction =
// myReader.ImageOptions.TapAction.getValue() ==
// ImageOptions.TapActionEnum.openImageView;
// }
if (doRunAction) {
myReader.runAction(ActionCode.PROCESS_HYPERLINK);
}
}
}
代码示例来源:origin: Jiangzqts/EpubRead
@Override
protected void run(Object... params) {
final KooView kooView = Reader.getTextView();
ZLTextRegion region = kooView.getOutlinedRegion();
final ZLTextRegion.Filter filter =
(region != null && region.getSoul() instanceof ZLTextWordRegionSoul)
|| Reader.MiscOptions.NavigateAllWords.getValue()
? ZLTextRegion.AnyRegionFilter : ZLTextRegion.ImageOrHyperlinkFilter;
region = kooView.nextRegion(myDirection, filter);
if (region != null) {
kooView.outlineRegion(region);
} else {
switch (myDirection) {
case down:
kooView.turnPage(true, KooView.ScrollingMode.SCROLL_LINES, 1);
break;
case up:
kooView.turnPage(false, KooView.ScrollingMode.SCROLL_LINES, 1);
break;
}
}
Reader.getViewWidget().reset();
Reader.getViewWidget().repaint();
}
}
代码示例来源:origin: ydcx/KooReader
@Override
protected void run(Object... params) {
final KooView kooView = Reader.getTextView();
ZLTextRegion region = kooView.getOutlinedRegion();
final ZLTextRegion.Filter filter =
(region != null && region.getSoul() instanceof ZLTextWordRegionSoul)
|| Reader.MiscOptions.NavigateAllWords.getValue()
? ZLTextRegion.AnyRegionFilter : ZLTextRegion.ImageOrHyperlinkFilter;
region = kooView.nextRegion(myDirection, filter);
if (region != null) {
kooView.outlineRegion(region);
} else {
switch (myDirection) {
case down:
kooView.turnPage(true, KooView.ScrollingMode.SCROLL_LINES, 1);
break;
case up:
kooView.turnPage(false, KooView.ScrollingMode.SCROLL_LINES, 1);
break;
}
}
Reader.getViewWidget().reset();
Reader.getViewWidget().repaint();
}
}
本文整理了Java中com.koolearn.klibrary.text.view.ZLTextRegion.isExactlyUnder()方法的一些代码示例,展示了ZLTextRegion.isE
本文整理了Java中com.koolearn.klibrary.text.view.ZLTextRegion.distanceTo()方法的一些代码示例,展示了ZLTextRegion.distanc
本文整理了Java中com.koolearn.klibrary.text.view.ZLTextRegion.getTop()方法的一些代码示例,展示了ZLTextRegion.getTop()的具体
本文整理了Java中com.koolearn.klibrary.text.view.ZLTextRegion.getLastArea()方法的一些代码示例,展示了ZLTextRegion.getLas
本文整理了Java中com.koolearn.klibrary.text.view.ZLTextRegion.extend()方法的一些代码示例,展示了ZLTextRegion.extend()的具体
本文整理了Java中com.koolearn.klibrary.text.view.ZLTextRegion.isAtLeftOf()方法的一些代码示例,展示了ZLTextRegion.isAtLef
本文整理了Java中com.koolearn.klibrary.text.view.ZLTextRegion.isOver()方法的一些代码示例,展示了ZLTextRegion.isOver()的具体
本文整理了Java中com.koolearn.klibrary.text.view.ZLTextRegion.getRight()方法的一些代码示例,展示了ZLTextRegion.getRight(
本文整理了Java中com.koolearn.klibrary.text.view.ZLTextRegion.getSoul()方法的一些代码示例,展示了ZLTextRegion.getSoul()的
本文整理了Java中com.koolearn.klibrary.text.view.ZLTextRegion.isUnder()方法的一些代码示例,展示了ZLTextRegion.isUnder()的
本文整理了Java中com.koolearn.klibrary.text.view.ZLTextRegion.getFirstArea()方法的一些代码示例,展示了ZLTextRegion.getFi
本文整理了Java中com.koolearn.klibrary.text.view.ZLTextRegion.isAtRightOf()方法的一些代码示例,展示了ZLTextRegion.isAtRi
本文整理了Java中com.koolearn.klibrary.text.view.ZLTextRegion.hull0()方法的一些代码示例,展示了ZLTextRegion.hull0()的具体用法
本文整理了Java中com.koolearn.klibrary.text.view.ZLTextRegion.getLeft()方法的一些代码示例,展示了ZLTextRegion.getLeft()的
本文整理了Java中com.koolearn.klibrary.text.view.ZLTextRegion.()方法的一些代码示例,展示了ZLTextRegion.()的具体用法。这些代码示例主要来
本文整理了Java中com.koolearn.klibrary.text.view.ZLTextRegion.isBefore()方法的一些代码示例,展示了ZLTextRegion.isBefore(
本文整理了Java中com.koolearn.klibrary.text.view.ZLTextRegion.hull()方法的一些代码示例,展示了ZLTextRegion.hull()的具体用法。这
我是一名优秀的程序员,十分优秀!