/**
* Called when an ancestor component of the source is moved.
*
* @param e the event describing the ancestor's motion
*/
public void ancestorMoved(HierarchyEvent e)
{
if (applet != null)
{
HierarchyBoundsListener[] l = applet.getHierarchyBoundsListeners();
for (int i = 0; i < l.length; i++)
l[i].ancestorMoved(e);
}
}
java类java.awt.event.HierarchyBoundsListener的实例源码
StandaloneAppletWindow.java 文件源码
项目:classpath
阅读 31
收藏 0
点赞 0
评论 0
StandaloneAppletWindow.java 文件源码
项目:classpath
阅读 39
收藏 0
点赞 0
评论 0
/**
* Called when an ancestor component is resized.
*
* @param e the event describing the ancestor's resizing
*/
public void ancestorResized(HierarchyEvent e)
{
if (applet != null)
{
HierarchyBoundsListener[] l = applet.getHierarchyBoundsListeners();
for (int i = 0; i < l.length; i++)
l[i].ancestorResized(e);
}
}
PluginAppletWindow.java 文件源码
项目:classpath
阅读 23
收藏 0
点赞 0
评论 0
/**
* Called when an ancestor component of the source is moved.
*
* @param e the event describing the ancestor's motion
*/
public void ancestorMoved(HierarchyEvent e)
{
if (applet != null)
{
HierarchyBoundsListener[] l = applet.getHierarchyBoundsListeners();
for (int i = 0; i < l.length; i++)
l[i].ancestorMoved(e);
}
}
PluginAppletWindow.java 文件源码
项目:classpath
阅读 21
收藏 0
点赞 0
评论 0
/**
* Called when an ancestor component is resized.
*
* @param e the event describing the ancestor's resizing
*/
public void ancestorResized(HierarchyEvent e)
{
if (applet != null)
{
HierarchyBoundsListener[] l = applet.getHierarchyBoundsListeners();
for (int i = 0; i < l.length; i++)
l[i].ancestorResized(e);
}
}
AWTEventMulticaster.java 文件源码
项目:freeVM
阅读 25
收藏 0
点赞 0
评论 0
public void ancestorMoved(HierarchyEvent e) {
if ((a != null) && (a instanceof HierarchyBoundsListener)) {
((HierarchyBoundsListener) a).ancestorMoved(e);
}
if ((b != null) && (b instanceof HierarchyBoundsListener)) {
((HierarchyBoundsListener) b).ancestorMoved(e);
}
}
AWTEventMulticaster.java 文件源码
项目:freeVM
阅读 25
收藏 0
点赞 0
评论 0
public void ancestorResized(HierarchyEvent e) {
if ((a != null) && (a instanceof HierarchyBoundsListener)) {
((HierarchyBoundsListener) a).ancestorResized(e);
}
if ((b != null) && (b instanceof HierarchyBoundsListener)) {
((HierarchyBoundsListener) b).ancestorResized(e);
}
}
Component.java 文件源码
项目:freeVM
阅读 28
收藏 0
点赞 0
评论 0
protected void processHierarchyBoundsEvent(HierarchyEvent e) {
for (HierarchyBoundsListener listener : hierarchyBoundsListeners.getUserListeners()) {
switch (e.getID()) {
case HierarchyEvent.ANCESTOR_MOVED:
listener.ancestorMoved(e);
break;
case HierarchyEvent.ANCESTOR_RESIZED:
listener.ancestorResized(e);
break;
}
}
}
AWTEventMulticaster.java 文件源码
项目:freeVM
阅读 25
收藏 0
点赞 0
评论 0
public void ancestorMoved(HierarchyEvent e) {
if ((a != null) && (a instanceof HierarchyBoundsListener)) {
((HierarchyBoundsListener) a).ancestorMoved(e);
}
if ((b != null) && (b instanceof HierarchyBoundsListener)) {
((HierarchyBoundsListener) b).ancestorMoved(e);
}
}
AWTEventMulticaster.java 文件源码
项目:freeVM
阅读 23
收藏 0
点赞 0
评论 0
public void ancestorResized(HierarchyEvent e) {
if ((a != null) && (a instanceof HierarchyBoundsListener)) {
((HierarchyBoundsListener) a).ancestorResized(e);
}
if ((b != null) && (b instanceof HierarchyBoundsListener)) {
((HierarchyBoundsListener) b).ancestorResized(e);
}
}
Component.java 文件源码
项目:freeVM
阅读 24
收藏 0
点赞 0
评论 0
protected void processHierarchyBoundsEvent(HierarchyEvent e) {
for (HierarchyBoundsListener listener : hierarchyBoundsListeners.getUserListeners()) {
switch (e.getID()) {
case HierarchyEvent.ANCESTOR_MOVED:
listener.ancestorMoved(e);
break;
case HierarchyEvent.ANCESTOR_RESIZED:
listener.ancestorResized(e);
break;
}
}
}