|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.awt.Component java.awt.Canvas jap.JAPAboutAutoScroller
public final class JAPAboutAutoScroller
Nested Class Summary |
---|
Nested classes/interfaces inherited from class java.awt.Canvas |
---|
java.awt.Canvas.AccessibleAWTCanvas |
Nested classes/interfaces inherited from class java.awt.Component |
---|
java.awt.Component.AccessibleAWTComponent, java.awt.Component.BaselineResizeBehavior, java.awt.Component.BltBufferStrategy, java.awt.Component.FlipBufferStrategy |
Field Summary | |
---|---|
private boolean |
isPainting
|
private boolean |
m_bRun
|
private javax.swing.JButton |
m_bttnOk
|
private int |
m_iaktY
|
private int |
m_iHeight
|
private java.awt.Image |
m_imgBackground
|
private java.awt.Image |
m_imgBackgroundPicture
|
private java.awt.Image |
m_imgDoubleBuffer
|
private java.awt.Image |
m_imgOffScreen
|
private int |
m_iScrollAreaHeight
|
private int |
m_iScrollAreaWidth
|
private int |
m_iScrollAreaX
|
private int |
m_iScrollAreaY
|
private int |
m_iTextHeight
|
private int |
m_iWidth
|
private int |
m_msSleep
|
private javax.swing.JEditorPane |
m_textArea
|
private java.lang.Thread |
m_Thread
|
private java.lang.Object |
oSync
|
private static long |
serialVersionUID
serial version UID |
Fields inherited from class java.awt.Component |
---|
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT |
Fields inherited from interface java.awt.image.ImageObserver |
---|
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH |
Constructor Summary | |
---|---|
JAPAboutAutoScroller(int width,
int height,
java.awt.Image background,
int scrollareax,
int scrollareay,
int scrollareawidth,
int scrollareaheight,
java.lang.String htmlText)
|
Method Summary | |
---|---|
void |
addActionListener(java.awt.event.ActionListener l)
|
void |
paint(java.awt.Graphics g1)
|
void |
run()
|
void |
startScrolling(int msScrollTime)
|
void |
stopScrolling()
|
void |
update(java.awt.Graphics g)
override update to *not* erase the background before painting |
Methods inherited from class java.awt.Canvas |
---|
addNotify, createBufferStrategy, createBufferStrategy, getAccessibleContext, getBufferStrategy |
Methods inherited from class java.awt.Component |
---|
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, addPropertyChangeListener, addPropertyChangeListener, applyComponentOrientation, areFocusTraversalKeysSet, bounds, checkImage, checkImage, coalesceEvents, contains, contains, createImage, createImage, createVolatileImage, createVolatileImage, deliverEvent, disable, disableEvents, dispatchEvent, doLayout, enable, enable, enableEvents, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getAlignmentX, getAlignmentY, getBackground, getBaseline, getBaselineResizeBehavior, getBounds, getBounds, getColorModel, getComponentAt, getComponentAt, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeys, getFocusTraversalKeysEnabled, getFont, getFontMetrics, getForeground, getGraphics, getGraphicsConfiguration, getHeight, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getListeners, getLocale, getLocation, getLocation, getLocationOnScreen, getMaximumSize, getMinimumSize, getMouseListeners, getMouseMotionListeners, getMousePosition, getMouseWheelListeners, getName, getParent, getPeer, getPreferredSize, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getSize, getToolkit, getTreeLock, getWidth, getX, getY, gotFocus, handleEvent, hasFocus, hide, imageUpdate, inside, invalidate, isBackgroundSet, isCursorSet, isDisplayable, isDoubleBuffered, isEnabled, isFocusable, isFocusCycleRoot, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isMaximumSizeSet, isMinimumSizeSet, isOpaque, isPreferredSizeSet, isShowing, isValid, isVisible, keyDown, keyUp, layout, list, list, list, list, list, locate, location, lostFocus, minimumSize, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, paramString, postEvent, preferredSize, prepareImage, prepareImage, print, printAll, processComponentEvent, processEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processKeyEvent, processMouseEvent, processMouseMotionEvent, processMouseWheelEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removeNotify, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, repaint, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, reshape, resize, resize, setBackground, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setEnabled, setFocusable, setFocusTraversalKeys, setFocusTraversalKeysEnabled, setFont, setForeground, setIgnoreRepaint, setLocale, setLocation, setLocation, setMaximumSize, setMinimumSize, setName, setPreferredSize, setSize, setSize, setVisible, show, show, size, toString, transferFocus, transferFocusBackward, transferFocusUpCycle, validate |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
private static final long serialVersionUID
private java.awt.Image m_imgOffScreen
private java.awt.Image m_imgBackground
private java.awt.Image m_imgDoubleBuffer
private java.awt.Image m_imgBackgroundPicture
private int m_iScrollAreaWidth
private int m_iScrollAreaHeight
private int m_iScrollAreaX
private int m_iScrollAreaY
private int m_iaktY
private int m_iTextHeight
private int m_iWidth
private int m_iHeight
private javax.swing.JEditorPane m_textArea
private java.lang.Thread m_Thread
private int m_msSleep
private volatile boolean m_bRun
private java.lang.Object oSync
private boolean isPainting
private javax.swing.JButton m_bttnOk
Constructor Detail |
---|
public JAPAboutAutoScroller(int width, int height, java.awt.Image background, int scrollareax, int scrollareay, int scrollareawidth, int scrollareaheight, java.lang.String htmlText)
Method Detail |
---|
public void addActionListener(java.awt.event.ActionListener l)
public void startScrolling(int msScrollTime)
public void stopScrolling()
public void update(java.awt.Graphics g)
update
in class java.awt.Canvas
public void paint(java.awt.Graphics g1)
paint
in class java.awt.Canvas
public void run()
run
in interface java.lang.Runnable
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |