|
Cytoscape 2.8.0 API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.awt.Component java.awt.Container javax.swing.JComponent ding.view.DingCanvas
public abstract class DingCanvas
This class is meant to be extended by a class which is meant to exist within the InternalFrameComponent class. It provides the services required to draw onto it. Currently (9/7/06), two classes will extend DingCanves, ding.view.InnerCanvas and ding.view.ArbitraryGraphicsCanvas.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class javax.swing.JComponent |
---|
JComponent.AccessibleJComponent |
Nested classes/interfaces inherited from class java.awt.Container |
---|
Container.AccessibleAWTContainer |
Nested classes/interfaces inherited from class java.awt.Component |
---|
Component.AccessibleAWTComponent, Component.BaselineResizeBehavior, Component.BltBufferStrategy, Component.FlipBufferStrategy |
Field Summary | |
---|---|
protected Color |
m_backgroundColor
ref to our background color |
protected Image |
m_img
ref to image we maintain |
protected boolean |
m_isOpaque
ref to opaque boolean |
protected boolean |
m_isVisible
ref to visibility boolean |
Fields inherited from class javax.swing.JComponent |
---|
accessibleContext, listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW |
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 | |
---|---|
DingCanvas()
|
Method Summary | |
---|---|
Color |
getBackground()
Returns the background color of this component. |
Image |
getImage()
Returns the image maintained by the canvas. |
void |
printNoImposter(Graphics g)
Method used to print canvas without using image imposter. |
void |
setBackground(Color backgroundColor)
Set the component background color. |
void |
setOpaque(boolean isOpaque)
Sets opacity of component |
void |
setVisible(boolean isVisible)
Show or hides this component depending on value of parameter. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
protected Image m_img
protected Color m_backgroundColor
protected boolean m_isVisible
protected boolean m_isOpaque
Constructor Detail |
---|
public DingCanvas()
Method Detail |
---|
public void setVisible(boolean isVisible)
setVisible
in class JComponent
isVisible
- booleanpublic void setOpaque(boolean isOpaque)
setOpaque
in class JComponent
isOpaque
- booleanpublic Color getBackground()
getBackground
in class Component
public void setBackground(Color backgroundColor)
setBackground
in class JComponent
public Image getImage()
public void printNoImposter(Graphics g)
|
Cytoscape 2.8.0 API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |