org.gnu.gnome
org.gnome.gnome.Canvas
.public class Canvas extends org.gnu.gtk.Layout
Constructor and Description |
---|
Canvas()
Deprecated.
|
Canvas(boolean useAntialiased)
Deprecated.
Superceeded by java-gnome 4.0; this method may or may not
exist in the new bindings but if it does, it will likely have
a different name or signature in order that the presented API
is a more algorithmic mapping of the underlying native libraries.
|
Canvas(org.gnu.glib.Handle handle)
Deprecated.
Superceeded by java-gnome 4.0; this method may or may not
exist in the new bindings but if it does, it will likely have
a different name or signature in order that the presented API
is a more algorithmic mapping of the underlying native libraries.
|
Modifier and Type | Method and Description |
---|---|
static Canvas |
getCanvas(org.gnu.glib.Handle handle)
Deprecated.
Superceeded by java-gnome 4.0; this method may or may not
exist in the new bindings but if it does, it will likely have
a different name or signature in order that the presented API
is a more algorithmic mapping of the underlying native libraries.
|
boolean |
getCenterScrollRegion()
Deprecated.
|
org.gnu.gdk.Color |
getColor(java.lang.String spec)
Deprecated.
Superceeded by java-gnome 4.0; this method may or may not
exist in the new bindings but if it does, it will likely have
a different name or signature in order that the presented API
is a more algorithmic mapping of the underlying native libraries.
|
long |
getColorPixel(int rgba)
Deprecated.
Superceeded by java-gnome 4.0; this method may or may not
exist in the new bindings but if it does, it will likely have
a different name or signature in order that the presented API
is a more algorithmic mapping of the underlying native libraries.
|
CanvasItem |
getCurrentCanvasItem()
Deprecated.
Superceeded by java-gnome 4.0; this method may or may not
exist in the new bindings but if it does, it will likely have
a different name or signature in order that the presented API
is a more algorithmic mapping of the underlying native libraries.
|
org.gnu.gdk.RgbDither |
getDither()
Deprecated.
Superceeded by java-gnome 4.0; this method may or may not
exist in the new bindings but if it does, it will likely have
a different name or signature in order that the presented API
is a more algorithmic mapping of the underlying native libraries.
|
CanvasItem |
getFocusedCanvasItem()
Deprecated.
Superceeded by java-gnome 4.0; this method may or may not
exist in the new bindings but if it does, it will likely have
a different name or signature in order that the presented API
is a more algorithmic mapping of the underlying native libraries.
|
CanvasItem |
getGrabbedCanvasItem()
Deprecated.
Superceeded by java-gnome 4.0; this method may or may not
exist in the new bindings but if it does, it will likely have
a different name or signature in order that the presented API
is a more algorithmic mapping of the underlying native libraries.
|
CanvasItem |
getItemAt(double x,
double y)
Deprecated.
Superceeded by java-gnome 4.0; this method may or may not
exist in the new bindings but if it does, it will likely have
a different name or signature in order that the presented API
is a more algorithmic mapping of the underlying native libraries.
|
double |
getPixelsPerUnit()
Deprecated.
Superceeded by java-gnome 4.0; this method may or may not
exist in the new bindings but if it does, it will likely have
a different name or signature in order that the presented API
is a more algorithmic mapping of the underlying native libraries.
|
CanvasGroup |
getRoot()
Deprecated.
Superceeded by java-gnome 4.0; this method may or may not
exist in the new bindings but if it does, it will likely have
a different name or signature in order that the presented API
is a more algorithmic mapping of the underlying native libraries.
|
double |
getScrollOffsetX()
Deprecated.
Superceeded by java-gnome 4.0; this method may or may not
exist in the new bindings but if it does, it will likely have
a different name or signature in order that the presented API
is a more algorithmic mapping of the underlying native libraries.
|
double |
getScrollOffsetY()
Deprecated.
Superceeded by java-gnome 4.0; this method may or may not
exist in the new bindings but if it does, it will likely have
a different name or signature in order that the presented API
is a more algorithmic mapping of the underlying native libraries.
|
double |
getScrollX1()
Deprecated.
Superceeded by java-gnome 4.0; this method may or may not
exist in the new bindings but if it does, it will likely have
a different name or signature in order that the presented API
is a more algorithmic mapping of the underlying native libraries.
|
double |
getScrollX2()
Deprecated.
Superceeded by java-gnome 4.0; this method may or may not
exist in the new bindings but if it does, it will likely have
a different name or signature in order that the presented API
is a more algorithmic mapping of the underlying native libraries.
|
double |
getScrollY1()
Deprecated.
Superceeded by java-gnome 4.0; this method may or may not
exist in the new bindings but if it does, it will likely have
a different name or signature in order that the presented API
is a more algorithmic mapping of the underlying native libraries.
|
double |
getScrollY2()
Deprecated.
Superceeded by java-gnome 4.0; this method may or may not
exist in the new bindings but if it does, it will likely have
a different name or signature in order that the presented API
is a more algorithmic mapping of the underlying native libraries.
|
static org.gnu.glib.Type |
getType()
Deprecated.
Superceeded by java-gnome 4.0; this method may or may not
exist in the new bindings but if it does, it will likely have
a different name or signature in order that the presented API
is a more algorithmic mapping of the underlying native libraries.
|
void |
requestRedraw(int x1,
int y1,
int x2,
int y2)
Deprecated.
|
void |
scrollTo(int cx,
int cy)
Deprecated.
Superceeded by java-gnome 4.0; this method may or may not
exist in the new bindings but if it does, it will likely have
a different name or signature in order that the presented API
is a more algorithmic mapping of the underlying native libraries.
|
void |
setCenterScrollRegion(boolean center)
Deprecated.
|
void |
setDither(org.gnu.gdk.RgbDither dither)
Deprecated.
Superceeded by java-gnome 4.0; this method may or may not
exist in the new bindings but if it does, it will likely have
a different name or signature in order that the presented API
is a more algorithmic mapping of the underlying native libraries.
|
void |
setPixelsPerUnit(double n)
Deprecated.
Superceeded by java-gnome 4.0; this method may or may not
exist in the new bindings but if it does, it will likely have
a different name or signature in order that the presented API
is a more algorithmic mapping of the underlying native libraries.
|
void |
setScrollRegion(double x1,
double y1,
double x2,
double y2)
Deprecated.
Superceeded by java-gnome 4.0; this method may or may not
exist in the new bindings but if it does, it will likely have
a different name or signature in order that the presented API
is a more algorithmic mapping of the underlying native libraries.
|
void |
setScrollX1(double x1)
Deprecated.
Superceeded by java-gnome 4.0; this method may or may not
exist in the new bindings but if it does, it will likely have
a different name or signature in order that the presented API
is a more algorithmic mapping of the underlying native libraries.
|
void |
setScrollX2(double x2)
Deprecated.
Superceeded by java-gnome 4.0; this method may or may not
exist in the new bindings but if it does, it will likely have
a different name or signature in order that the presented API
is a more algorithmic mapping of the underlying native libraries.
|
void |
setScrollY1(double y1)
Deprecated.
Superceeded by java-gnome 4.0; this method may or may not
exist in the new bindings but if it does, it will likely have
a different name or signature in order that the presented API
is a more algorithmic mapping of the underlying native libraries.
|
void |
setScrollY2(double y2)
Deprecated.
Superceeded by java-gnome 4.0; this method may or may not
exist in the new bindings but if it does, it will likely have
a different name or signature in order that the presented API
is a more algorithmic mapping of the underlying native libraries.
|
void |
update()
Deprecated.
Superceeded by java-gnome 4.0; this method may or may not
exist in the new bindings but if it does, it will likely have
a different name or signature in order that the presented API
is a more algorithmic mapping of the underlying native libraries.
|
double |
windowToWorldX(double winx)
Deprecated.
|
double |
windowToWorldY(double winy)
Deprecated.
|
double |
worldToWindowX(double worldx)
Deprecated.
|
double |
worldToWindowY(double worldy)
Deprecated.
|
addChild, getBinWindow, getHorizontalAdjustment, getLayout, getSize, getVerticalAdjustment, moveChild, setHorizontalAdjustment, setSize, setVerticalAdjustment
add, addListener, getBooleanChildProperty, getBorderWidth, getChildProperty, getChildren, getEventListenerClass, getEventType, getIntChildProperty, getResizeMode, remove, removeListener, resizeChildren, setBooleanChildProperty, setBorderWidth, setChildProperty, setIntChildProperty, setResizeMode
activate, addAccelerator, addEvents, addListener, addListener, addListener, addListener, addListener, addListener, addListener, addListener, addListener, addListener, addListener, canActivateAccel, createContext, createLayout, draw, drawArea, drawArea, finish, getAccessible, getAllocation, getCanFocus, getColormap, getContext, getData, getDisplay, getDragData, getExtensionEvents, getModifierStyle, getName, getParent, getParentWindow, getPointer, getRootWindow, getScreen, getSensitive, getStyle, getToplevel, getWidget, getWindow, grabDefault, grabFocus, hasFocus, hasScreen, hide, hideAll, highlight, highlight, intersect, isAncestor, makeWidget, modifyStyle, popColormap, pushColormap, realize, removeAccelerator, removeListener, removeListener, removeListener, removeListener, removeListener, removeListener, removeListener, removeListener, removeListener, removeListener, removeListener, reparent, setBackgroundColor, setBaseColor, setCanFocus, setColormap, setDoubleBuffered, setDragDestination, setDragIcon, setDragIconPixbuf, setDragIconStock, setDragSource, setEvents, setExtensionEvents, setFont, setForegroundColor, setMinimumSize, setName, setNoDragDestination, setNoDragSource, setSensitive, setTextColor, shapeCombineMask, show, showAll, unHighlight, unHighlight
addEventHandler, addEventHandler, addEventHandler, addEventHandler, addEventHandler, addEventHandler, addEventHandler, addListener, collect, freezeNotify, getBooleanProperty, getData, getDoubleProperty, getFloatProperty, getGObjectFromHandle, getIntProperty, getJavaObjectProperty, getLongProperty, getProperty, getStringProperty, hasProperty, notify, removeEventHandler, removeListener, setBooleanProperty, setData, setDoubleProperty, setFloatProperty, setIntProperty, setJavaObjectProperty, setLongProperty, setProperty, setStringProperty, thawNotify
public Canvas(boolean useAntialiased)
public Canvas()
public Canvas(org.gnu.glib.Handle handle)
handle
- The handle to the native resource.public static Canvas getCanvas(org.gnu.glib.Handle handle)
public org.gnu.gdk.Color getColor(java.lang.String spec)
spec
- The color to allocate.public long getColorPixel(int rgba)
rgba
- The RGB value.public CanvasItem getCurrentCanvasItem()
public org.gnu.gdk.RgbDither getDither()
public void setDither(org.gnu.gdk.RgbDither dither)
public CanvasItem getFocusedCanvasItem()
public CanvasItem getGrabbedCanvasItem()
public CanvasItem getItemAt(double x, double y)
x
- The horizontal coordinate.y
- The vertical coordinate.public double getPixelsPerUnit()
public void setPixelsPerUnit(double n)
n
- The number of pixelspublic CanvasGroup getRoot()
public double getScrollOffsetX()
public double getScrollOffsetY()
public double getScrollX1()
public void setScrollX1(double x1)
x1
- public double getScrollX2()
public void setScrollX2(double x2)
x2
- public double getScrollY1()
public void setScrollY1(double y1)
y1
- public double getScrollY2()
public void setScrollY2(double y2)
y2
- public void scrollTo(int cx, int cy)
cx
- Horizontal coordinate.cy
- Vertical coordinate.public void setScrollRegion(double x1, double y1, double x2, double y2)
x1
- First horizontal coordinate.y1
- First vertical coordinate.x2
- Second horizontal coordinate.y2
- Second vertical coordinate.public void update()
public static org.gnu.glib.Type getType()
public boolean getCenterScrollRegion()
public void setCenterScrollRegion(boolean center)
public void requestRedraw(int x1, int y1, int x2, int y2)
public double windowToWorldX(double winx)
public double windowToWorldY(double winy)
public double worldToWindowX(double worldx)
public double worldToWindowY(double worldy)