query stringlengths 7 33.1k | document stringlengths 7 335k | metadata dict | negatives listlengths 3 101 | negative_scores listlengths 3 101 | document_score stringlengths 3 10 | document_rank stringclasses 102
values |
|---|---|---|---|---|---|---|
Returns the Y location of the shape. | public double getY() { return _height<0? _y + _height : _y; } | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public final double getY() { return location.getY(); }",
"public int getY()\r\n {\r\n return yLoc;\r\n }",
"public double getY_location() {\n return y_location;\n }",
"public int getLocationY() {\r\n\t\treturn y;\r\n\t}",
"@Override\n\tpublic double getYLoc() {\n\t\treturn y;\n\t}",
... | [
"0.7976959",
"0.7863268",
"0.78243446",
"0.7809424",
"0.77819014",
"0.77723426",
"0.77639323",
"0.77635986",
"0.7754883",
"0.77475256",
"0.77333754",
"0.77256435",
"0.7694391",
"0.76876134",
"0.76808655",
"0.7668409",
"0.7661747",
"0.76559037",
"0.765477",
"0.7647739",
"0.763... | 0.0 | -1 |
Sets the Y location of the shape. | public void setY(double aValue)
{
if(_y==aValue) return; // If value already set, just return
repaint(); // Register repaint
firePropertyChange("Y", _y, _y = aValue, -1); // Set value and fire PropertyChange
if(_parent!=null) _parent.setNeedsLayout(true); // Rather bogus
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public void setY(int y){\n\t\tthis.y_location = y;\n\t}",
"public void setY(int value) {\n this.y = value;\n }",
"void setY(int newY) {\n this.yPos = newY;\n }",
"public void setY(int y){ yPosition = y; }",
"@Override\n\tpublic void setY(int y) {\n\t\tyPos = y;\n\t}",
"void setY(int y) {\n ... | [
"0.78252834",
"0.77811354",
"0.77169794",
"0.7691368",
"0.76179093",
"0.7615456",
"0.75847787",
"0.7574883",
"0.75739163",
"0.7541853",
"0.7536561",
"0.7532215",
"0.7523797",
"0.74829453",
"0.7475395",
"0.74374884",
"0.7412618",
"0.7412618",
"0.7412618",
"0.7407964",
"0.74065... | 0.0 | -1 |
Returns the width of the shape. | public double getWidth() { return _width<0? -_width : _width; } | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public double getWidth();",
"public double getWidth();",
"Length getWidth();",
"public double getWidth() {\n\t\tdouble width = Math.round(sideLength + (2 * sideLength * \n\t\t\t\tMath.sin(Math.PI / 4)));\n\t\treturn width;\n\t}",
"public SVGLength getWidth() {\n return width;\n }",
"public fina... | [
"0.78950393",
"0.78950393",
"0.7877678",
"0.7848998",
"0.7735405",
"0.77347225",
"0.7730435",
"0.77201355",
"0.7708708",
"0.770674",
"0.77033746",
"0.77033746",
"0.77033746",
"0.7702698",
"0.7702698",
"0.76978356",
"0.76899296",
"0.768992",
"0.76717913",
"0.76717913",
"0.7671... | 0.0 | -1 |
Sets the width of the shape. | public void setWidth(double aValue)
{
if(_width==aValue) return; // If value already set, just return
repaint(); // Register repaint
firePropertyChange("Width", _width, _width = aValue, -1); // Set value and fire PropertyChange
if(_parent!=null) _parent.setNeedsLayout(true); // Rather bogus
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public void setWidth(Integer width) {\n this.width = width;\n control.draw();\n }",
"public void setWidth(int w)\n {\n width = w;\n }",
"public void setWidth(int w) {\n this.width = w;\n }",
"public void setWidth(double value) {\n this.width = value;\n }",
... | [
"0.7786359",
"0.77383214",
"0.7695795",
"0.7675758",
"0.76523346",
"0.76521856",
"0.7637417",
"0.7637417",
"0.7608196",
"0.75963897",
"0.75922024",
"0.7583903",
"0.75608975",
"0.7558282",
"0.75516826",
"0.7444868",
"0.74388254",
"0.74098814",
"0.73679626",
"0.73492616",
"0.73... | 0.0 | -1 |
Returns the height of the shape. | public double getHeight() { return _height<0? -_height : _height; } | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public double getHeight();",
"public double getHeight();",
"public final int getHeight() {\r\n return (int) size.y();\r\n }",
"public double getHeight() {\n\t\tdouble height = Math.round(sideLength + (2 * sideLength * \n\t\t\t\tMath.sin(Math.PI / 4)));\n\t\treturn height;\n\t}",
"public double ge... | [
"0.80208844",
"0.80208844",
"0.79921544",
"0.7971154",
"0.7915771",
"0.7888842",
"0.7886906",
"0.786986",
"0.78646207",
"0.78646207",
"0.7855773",
"0.78381056",
"0.7836345",
"0.7836345",
"0.7836345",
"0.7836345",
"0.7836345",
"0.7836345",
"0.7836345",
"0.7836345",
"0.7836345"... | 0.0 | -1 |
Sets the height of the shape. | public void setHeight(double aValue)
{
if(_height==aValue) return; // If value already set, just return
repaint(); // Register repaint
firePropertyChange("Height", _height, _height = aValue, -1); // Set value and fire PropertyChange
if(_parent!=null) _parent.setNeedsLayout(true); // Rather bogus
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public void setHeight(int height);",
"public void setHeight(int height);",
"public void setHeight(int value) {\n this.height = value;\n }",
"public void setHeight(double value) {\n this.height = value;\n }",
"public void setHeight(int h)\n {\n height = h;\n }",
"void setHeight(... | [
"0.77846336",
"0.77846336",
"0.7768116",
"0.7748904",
"0.76642257",
"0.7626134",
"0.7626134",
"0.7546718",
"0.7544578",
"0.7500664",
"0.7499388",
"0.74362886",
"0.7423669",
"0.74163574",
"0.74013335",
"0.7374107",
"0.7341222",
"0.7335174",
"0.7276713",
"0.72612405",
"0.724583... | 0.0 | -1 |
Returns the max X of the shape (assumes not rotated, scaled or skewed). | public double getMaxX() { return getX() + getWidth(); } | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public double getMaxX() {\n\t\treturn mx;\n\t}",
"public double getMaximumX () {\n return minimumX + width;\n }",
"public final int getMaxX() {\n return getMinX() + getWidth();\n }",
"public int getMaxX() {\n\t\treturn maxX;\n\t}",
"public float getMaxX(){\n return points.get(poi... | [
"0.753583",
"0.7341127",
"0.7325929",
"0.73242563",
"0.73205984",
"0.72111756",
"0.709119",
"0.70713544",
"0.70329094",
"0.70266175",
"0.7008182",
"0.6980887",
"0.69280946",
"0.68909883",
"0.6847777",
"0.684287",
"0.67902917",
"0.66903573",
"0.6608874",
"0.6506307",
"0.647805... | 0.74321014 | 1 |
Returns the max Y of the shape (assumes not rotated, scaled or skewed). | public double getMaxY() { return getY() + getHeight(); } | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public double getMaximumY () {\n return minimumY + height;\n }",
"public double getBiggestY() {\r\n double y = 0;\r\n List<Enemy> enemyLowest = this.lowestLine();\r\n if (enemyLowest.size() > 0) {\r\n y = enemyLowest.get(0).getCollisionRectangle().getBoundaries().getLowY... | [
"0.77317184",
"0.76597",
"0.765793",
"0.7645681",
"0.75488704",
"0.7522877",
"0.7427177",
"0.73604876",
"0.7359815",
"0.7358399",
"0.7214912",
"0.71421385",
"0.714035",
"0.7113746",
"0.71024555",
"0.7095327",
"0.7053363",
"0.70191675",
"0.7017867",
"0.6975407",
"0.69393855",
... | 0.7747756 | 0 |
Returns the XY location of the shape as a point. | public RMPoint getXY() { return new RMPoint(getX(), getY()); } | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public Point getLocation() {\r\n return new Point((int)x,(int)y);\r\n }",
"public Point getXY()\n\t{\n\t\tPoint newPoint = new Point(x,y);\t\t\t\t\t\t// Create new Point object \n\t\treturn newPoint; \t\t\t\t\t\t\t\t\t\t// Return point's x and y coordinates\n\t}",
"public RMPoint getXYP() { return c... | [
"0.73875695",
"0.71292025",
"0.7093252",
"0.7013875",
"0.69340384",
"0.69151604",
"0.6891883",
"0.68916655",
"0.6828541",
"0.6745641",
"0.66886616",
"0.6653205",
"0.6653205",
"0.66495234",
"0.6644754",
"0.6628089",
"0.66118026",
"0.6591493",
"0.65836793",
"0.65836793",
"0.650... | 0.6786106 | 9 |
Sets the X and Y location of the shape to the given point (convenience). | public void setXY(Point2D aPoint) { setXY(aPoint.getX(), aPoint.getY()); } | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"void setPosition(Point point);",
"public void setPosition(Point point) {\n setPosition(point.x, point.y);\n }",
"public void setLocation( Point p ) {\r\n this.x = p.x;\r\n this.y = p.y;\r\n }",
"public T setPoint(@NonNull PointF point) {\n return setPoint(point.x, point.y);\... | [
"0.76348466",
"0.7523635",
"0.7475616",
"0.7394603",
"0.7360162",
"0.7354413",
"0.7346441",
"0.70688194",
"0.70512587",
"0.7050279",
"0.7039142",
"0.70390505",
"0.6960714",
"0.6908524",
"0.6903082",
"0.6897053",
"0.6874218",
"0.68704814",
"0.68490094",
"0.683044",
"0.6784147"... | 0.74406606 | 3 |
Sets the X and Y location of the shape to the given point (convenience). | public void setXY(double anX, double aY) { setX(anX); setY(aY); } | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"void setPosition(Point point);",
"public void setPosition(Point point) {\n setPosition(point.x, point.y);\n }",
"public void setLocation( Point p ) {\r\n this.x = p.x;\r\n this.y = p.y;\r\n }",
"public void setXY(Point2D aPoint) { setXY(aPoint.getX(), aPoint.getY()); }",
"public... | [
"0.76372105",
"0.75252146",
"0.7477799",
"0.7442382",
"0.7396375",
"0.7362335",
"0.7356355",
"0.73481506",
"0.70711213",
"0.70517206",
"0.705146",
"0.70421857",
"0.70419335",
"0.69625276",
"0.69107395",
"0.6906586",
"0.6899477",
"0.6874121",
"0.68712735",
"0.6850552",
"0.6831... | 0.63579893 | 64 |
Returns the size of the shape. | public RMSize getSize() { return new RMSize(getWidth(), getHeight()); } | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public Point2D.Float getSize() {\r\n\t\treturn size;\r\n\t}",
"Dimension getSize();",
"Dimension getSize();",
"public int get_size() {\r\n return this.dimension * 2 * sizeof_float + 4 * sizeof_float + sizeof_dimension + sizeof_int;\r\n }",
"public int getSize() {\n\t\treturn width + length;\n\t}"... | [
"0.74511015",
"0.7448963",
"0.7448963",
"0.7448696",
"0.73660594",
"0.7362602",
"0.72733855",
"0.7247341",
"0.7211093",
"0.7191925",
"0.71771646",
"0.71736693",
"0.7165734",
"0.71233714",
"0.7118567",
"0.7100292",
"0.70699376",
"0.70269495",
"0.7017892",
"0.701243",
"0.697591... | 0.6823486 | 81 |
Sets the size of the shape. | public void setSize(RMSize aSize) { setSize(aSize.width, aSize.height); } | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public void setSize(int _size)\r\n {\r\n size = _size;\r\n }",
"public void setSize(int size) {\r\n _size = size;\r\n }",
"public void setSize(double size) \n {\n this.size = size;\n }",
"public void setSize(int size) {\r\n this.size = size;\r\n }",
"public void se... | [
"0.7553719",
"0.75526345",
"0.7530696",
"0.75091565",
"0.74953914",
"0.747411",
"0.747411",
"0.74518675",
"0.74309534",
"0.7398468",
"0.7379944",
"0.73571676",
"0.73571676",
"0.73571676",
"0.73571676",
"0.73328626",
"0.72988725",
"0.7280309",
"0.7253397",
"0.7188038",
"0.7167... | 0.72129893 | 19 |
Sets the size of the shape. | public void setSize(double aWidth, double aHeight) { setWidth(aWidth); setHeight(aHeight); } | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public void setSize(int _size)\r\n {\r\n size = _size;\r\n }",
"public void setSize(int size) {\r\n _size = size;\r\n }",
"public void setSize(double size) \n {\n this.size = size;\n }",
"public void setSize(int size) {\r\n this.size = size;\r\n }",
"public void se... | [
"0.7553719",
"0.75526345",
"0.7530696",
"0.75091565",
"0.74953914",
"0.747411",
"0.747411",
"0.74518675",
"0.74309534",
"0.7398468",
"0.7379944",
"0.73571676",
"0.73571676",
"0.73571676",
"0.73571676",
"0.73328626",
"0.72988725",
"0.7280309",
"0.7253397",
"0.72129893",
"0.718... | 0.67405933 | 34 |
Returns the X, Y, width and height of the shape as a rect (use getFrame if shape has roll/scale/skew). | public RMRect getBounds() { return new RMRect(getX(), getY(), getWidth(), getHeight()); } | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public Shape getShape()\n\t{\n\t\treturn rect;\n\t}",
"org.chromium.components.paint_preview.common.proto.PaintPreview.RectProto getRect();",
"public Rectangle getShape() \n\t{\n\t\treturn box;\n\t}",
"Shape getShape();",
"public Rectangle get_rect() {\n\t\treturn new Rectangle(\n\t\t\t\torigin_x+component... | [
"0.7340351",
"0.71050715",
"0.69340104",
"0.68972",
"0.68853706",
"0.68403226",
"0.6823326",
"0.6687171",
"0.6670039",
"0.6619761",
"0.658755",
"0.6575387",
"0.6537841",
"0.6514343",
"0.6481784",
"0.6468818",
"0.6420214",
"0.6383062",
"0.6369067",
"0.63655907",
"0.6327447",
... | 0.61891437 | 36 |
Sets X, Y, width and height of shape to dimensions in given rect. | public void setBounds(Rectangle2D aRect)
{
setBounds(aRect.getX(), aRect.getY(), aRect.getWidth(), aRect.getHeight());
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public RectangleShape(int xCoord, int yCoord, int widthOfRect, int heightOfRect)\n {\n System.out.println(\"setting x to: \"+ xCoord+\" & setting y to: \"+ yCoord);\n x = xCoord;\n y = yCoord;\n width = widthOfRect;\n height = heightOfRect;\n }",
"@Override\n public vo... | [
"0.7031268",
"0.67635655",
"0.6630573",
"0.6439969",
"0.6426801",
"0.64070964",
"0.6400882",
"0.629547",
"0.62856334",
"0.61746836",
"0.61697084",
"0.61581266",
"0.6119284",
"0.6109931",
"0.6082865",
"0.6045642",
"0.6028884",
"0.60265416",
"0.60098886",
"0.60053134",
"0.59940... | 0.5950184 | 24 |
Sets X, Y, width and height of shape to given dimensions. | public void setBounds(double anX, double aY, double aW, double aH) { setX(anX); setY(aY); setWidth(aW); setHeight(aH); } | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"void setDimension(double width, double height);",
"public void setStuff(int x, int y, int w, int h)\n {\n\t xPos = x;\n\t yPos = y;\n\t width = w;\n\t height = h;\n }",
"public void set(double x, double y, double width, double height) {\n setRect(x, y, width, height);\n }",
"public void... | [
"0.7226707",
"0.6744994",
"0.66960454",
"0.66366273",
"0.65772223",
"0.65589905",
"0.64596367",
"0.63779247",
"0.63537776",
"0.63377106",
"0.632796",
"0.6325159",
"0.6318171",
"0.630887",
"0.6298437",
"0.62548494",
"0.62495095",
"0.6232908",
"0.6164967",
"0.6164149",
"0.61492... | 0.61393034 | 23 |
Returns the rect in parent coords that fully encloses the shape. | public RMRect getFrame() { return isRSS()? convertRectToShape(getBoundsInside(), _parent) : getBounds(); } | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"private Rectangle getParentBounds() {\n final var bounds = mParentBounds;\n\n return bounds == null\n ? mParentBounds = calculateBounds( getParent() )\n : bounds;\n }",
"public RMRect getBoundsInside() { return new RMRect(0, 0, getWidth(), getHeight()); }",
"public final ShapeParent getSh... | [
"0.69350594",
"0.6832071",
"0.67167294",
"0.64419776",
"0.62781835",
"0.62169325",
"0.6113316",
"0.6071566",
"0.6070474",
"0.6053337",
"0.60525113",
"0.60501623",
"0.60490346",
"0.60443515",
"0.60230035",
"0.6011352",
"0.60110414",
"0.59690875",
"0.59677833",
"0.5959792",
"0.... | 0.666889 | 3 |
Sets the bounds of the shape such that it exactly fits in the given parent coord rect. | public void setFrame(Rectangle2D aRect) { setFrame(aRect.getX(), aRect.getY(), aRect.getWidth(), aRect.getHeight()); } | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public void setBoundsInParent(Rect bounds) {\n/* 707 */ throw new RuntimeException(\"Stub!\");\n/* */ }",
"public void setBounds(RectF newBounds)\n {\n this.bounds = GeometryUtils.copy(newBounds);\n \n if (getShapeParent() != null)\n {\n GeometryUtils.resolveGe... | [
"0.6767006",
"0.66822565",
"0.6458919",
"0.6381107",
"0.6342839",
"0.6137676",
"0.6042229",
"0.6037255",
"0.5997756",
"0.5990501",
"0.59564203",
"0.5939949",
"0.5817349",
"0.58013356",
"0.5779137",
"0.577794",
"0.5676399",
"0.5632537",
"0.56321347",
"0.55748534",
"0.557088",
... | 0.0 | -1 |
Sets the bounds of the shape such that it exactly fits in the given parent coord rect. | public void setFrame(double anX, double aY, double aWidth, double aHeight)
{
setFrameXY(anX, aY);
setFrameSize(aWidth, aHeight);
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public void setBoundsInParent(Rect bounds) {\n/* 707 */ throw new RuntimeException(\"Stub!\");\n/* */ }",
"public void setBounds(RectF newBounds)\n {\n this.bounds = GeometryUtils.copy(newBounds);\n \n if (getShapeParent() != null)\n {\n GeometryUtils.resolveGe... | [
"0.6765546",
"0.6681751",
"0.6458826",
"0.63806677",
"0.63433737",
"0.6134641",
"0.6042373",
"0.6036948",
"0.59959906",
"0.59899086",
"0.5955845",
"0.5940086",
"0.5817016",
"0.57989734",
"0.5778315",
"0.57782197",
"0.5675554",
"0.5631407",
"0.5631311",
"0.5573774",
"0.5570742... | 0.0 | -1 |
Returns the X of the rect that fully encloses the shape in parent coords. | public double getFrameX() { return isRSS()? getFrameXY().x : getX(); } | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public double getX() {\n\t\tRectangle2D bounds = _parentFigure.getBounds();\n\t\tdouble x = bounds.getX() + (_xt * bounds.getWidth());\n\t\treturn x;\n\t}",
"public int getAbsoluteX() {\r\n return getAbsoluteLeft() - getParent().getAbsoluteLeft();\r\n }",
"public final int getAbsoluteX() {\n a... | [
"0.7586644",
"0.73756564",
"0.72170067",
"0.7102098",
"0.6797952",
"0.6483117",
"0.6473196",
"0.6454467",
"0.6434945",
"0.64076406",
"0.63649756",
"0.63649756",
"0.63456315",
"0.63307464",
"0.6307483",
"0.6290354",
"0.6274523",
"0.62709224",
"0.62513804",
"0.6233688",
"0.6222... | 0.0 | -1 |
Sets a shape's X such that its bounds rect (in parent coords) has origin at the given X. | public void setFrameX(double anX) { double x = _x + anX - getFrameX(); setX(x); } | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public void setXLoc(int xLoc){\n myRectangle.setX(xLoc);\n }",
"public void setX(int newX)\n\t{\n\t\tx += newX;\n\t\tboundingBox = new Rectangle(x,y,width,height);\n\t}",
"public void setX(float x)\n {\n getBounds().offsetTo(x - positionAnchor.x, getBounds().top);\n notifyParentOf... | [
"0.69224465",
"0.6842642",
"0.6648536",
"0.66053647",
"0.6449474",
"0.6442042",
"0.63011795",
"0.6231922",
"0.62273306",
"0.6095658",
"0.6093644",
"0.6075708",
"0.60565615",
"0.6032194",
"0.6021512",
"0.59991324",
"0.5964721",
"0.59494853",
"0.59317416",
"0.5913458",
"0.58922... | 0.0 | -1 |
Returns the Y of the rect that fully encloses the shape in parent coords. | public double getFrameY() { return isRSS()? getFrameXY().y : getY(); } | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public double getY() {\n\t\tRectangle2D bounds = _parentFigure.getBounds();\n\t\tdouble y = bounds.getY() + (_yt * bounds.getHeight());\n\t\treturn y;\n\t}",
"public final int getAbsoluteY() {\n assert (parent != null);\n if (parent == this) {\n return y;\n }\n if ((parent ... | [
"0.76775557",
"0.7394421",
"0.73825675",
"0.73632175",
"0.7021546",
"0.6563584",
"0.65117526",
"0.6502255",
"0.6496752",
"0.6489285",
"0.6465233",
"0.6415321",
"0.6351664",
"0.63346887",
"0.62949824",
"0.62631017",
"0.6253079",
"0.62427497",
"0.62288755",
"0.620909",
"0.62056... | 0.0 | -1 |
Sets a shape's Y such that its bounds rect (in parent coords) has origin at the given Y. | public void setFrameY(double aY) { double y = _y + aY - getFrameY(); setY(y); } | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public void setY(int newY)\n\t{\n\t\ty+=newY;\n\t\tboundingBox = new Rectangle(x,y,width,height);\n\t}",
"public void setY(float y)\n {\n getBounds().offsetTo(getBounds().left, y - positionAnchor.y);\n notifyParentOfPositionChange();\n conditionallyRelayout();\n }",
"void setY(i... | [
"0.7290995",
"0.7124898",
"0.71174014",
"0.7112647",
"0.70898783",
"0.7003645",
"0.6986166",
"0.69293344",
"0.68762666",
"0.6836044",
"0.6823926",
"0.6814166",
"0.67636013",
"0.67516285",
"0.67434037",
"0.6715742",
"0.6703786",
"0.668466",
"0.66651845",
"0.66639096",
"0.66142... | 0.0 | -1 |
Returns the width of the rect that fully encloses the shape in parent coords. | public double getFrameWidth() { return isRSS()? getFrame().width : getWidth(); } | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public int getWidth() {\n return ((int) this.rectangle.getWidth());\n }",
"public int getWidth() {\n int parent_desired_width = this.getParent().getChildWidth(this);\n return Math.min(Math.max(parent_desired_width, this.getMinWidth()), this.getMaxWidth());\n }",
"public double getRec... | [
"0.7479891",
"0.73579586",
"0.73526126",
"0.7226639",
"0.7081163",
"0.7021092",
"0.7012447",
"0.699114",
"0.68872267",
"0.68761814",
"0.6863296",
"0.67813754",
"0.67037004",
"0.6660385",
"0.664437",
"0.66174644",
"0.6613343",
"0.65978044",
"0.6588357",
"0.6585299",
"0.6585222... | 0.0 | -1 |
Returns the height of the rect that fully encloses the shape in parent coords. | public double getFrameHeight() { return isRSS()? getFrame().height : getHeight(); } | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public int getHeight() {\n int parent_desired_height = this.getParent().getChildHeight(this);\n return Math.min(Math.max(parent_desired_height, this.getMinHeight()), this.getMaxHeight());\n }",
"@Override\n public int getHeight() {\n int height = 0;\n\n if (!isEmpty()) {\n height = r... | [
"0.71604717",
"0.71295017",
"0.6936824",
"0.69297814",
"0.6911418",
"0.6890041",
"0.68767154",
"0.68744344",
"0.6859993",
"0.6830645",
"0.6830468",
"0.67840564",
"0.67731875",
"0.6767544",
"0.6763204",
"0.67297244",
"0.6709259",
"0.6696051",
"0.6692629",
"0.6668735",
"0.66687... | 0.0 | -1 |
Returns the origin of the shape's bounds rect in parent coords. | public RMPoint getFrameXY() { return isRSS()? getFrame().getOrigin() : getXY(); } | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public Point getOrigin() {\n checkWidget();\n if (content == null)\n return new Point(0, 0);\n Point location = content.getLocation();\n return new Point(-location.x, -location.y);\n }",
"private Rectangle getParentBounds() {\n final var bounds = mParentBounds;\n\n ... | [
"0.7172936",
"0.71167284",
"0.6837077",
"0.6697331",
"0.66532195",
"0.6550648",
"0.6529614",
"0.6475103",
"0.64532864",
"0.6442445",
"0.6442199",
"0.6438911",
"0.64308304",
"0.6405358",
"0.64052385",
"0.63667804",
"0.6259529",
"0.6251762",
"0.6235236",
"0.6221833",
"0.6214847... | 0.0 | -1 |
Sets a shape's origin such that its bounds rect (in parent coords) has origin at the given point. | public void setFrameXY(RMPoint aPoint) { setFrameXY(aPoint.x, aPoint.y); } | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public void setOrigin(Point p) {\n origin = new Point(p);\n }",
"public void setOrigin(Point origin) {\n setOrigin(origin.x, origin.y);\n }",
"public void setOrigin(Point2D origin) {\r\n if (origin == null) {\r\n return;\r\n }\r\n\r\n Point2D old = getOrigin();\r\n... | [
"0.7155524",
"0.69788826",
"0.6560012",
"0.6539166",
"0.6424928",
"0.6404388",
"0.6375771",
"0.6119656",
"0.6098263",
"0.6092182",
"0.5962092",
"0.5838514",
"0.5824217",
"0.5766583",
"0.5756289",
"0.5733922",
"0.5726924",
"0.56516606",
"0.56501025",
"0.56472963",
"0.5613772",... | 0.494632 | 84 |
Sets a shape's origin such that its frame (enclosing rect in parent coords) will have the given X and Y. | public void setFrameXY(double anX, double aY) { setFrameX(anX); setFrameY(aY); } | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public void setPathOrigin(int x, int y);",
"public void setOrigin(Point origin) {\n setOrigin(origin.x, origin.y);\n }",
"public void setOrigin(int x, int y) {\r\n\t\torigin.setLocation(x, y);\r\n\t}",
"public void setOrigin(Point p) {\n origin = new Point(p);\n }",
"private void setOrigin() ... | [
"0.7160481",
"0.7039906",
"0.69582945",
"0.6840509",
"0.6794299",
"0.6608052",
"0.65060383",
"0.6459639",
"0.63440067",
"0.6319063",
"0.6235925",
"0.61963165",
"0.619352",
"0.61814797",
"0.60398644",
"0.6039302",
"0.5948582",
"0.59453356",
"0.58891386",
"0.58858347",
"0.58805... | 0.0 | -1 |
Sets the height of the rect that fully encloses the shape in parent coords. | public void setFrameSize(double aWidth, double aHeight)
{
// If shape not rotated, scaled or skewed, just set and return
if(!isRSS()) {
if(_width<0) { setX(_x + (aWidth+_width)); aWidth = -aWidth; }
if(_height<0) { setY(_y + (aHeight+_height)); aHeight = -aHeight; }
setSize(aWidth, aHeig... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public void updateHeight() {\n Rectangle repaintBounds = getBounds();\n parent.getScene().paintImmediately(repaintBounds);\n\n // set new height compute while repainting.\n setBounds(new Rectangle(bounds));\n\n parent.getScene().repaint(repaintBounds);\n setChanged();\n notifyObservers();\n }... | [
"0.6651685",
"0.63700265",
"0.6302068",
"0.6302068",
"0.62081593",
"0.62081593",
"0.61994797",
"0.6194114",
"0.61912423",
"0.61782956",
"0.6116647",
"0.60968536",
"0.5994217",
"0.59863216",
"0.59714866",
"0.5949709",
"0.59052503",
"0.58862925",
"0.5847996",
"0.58363235",
"0.5... | 0.0 | -1 |
Returns the max X of the shape's frame. | public double getFrameMaxX() { return isRSS()? getFrame().getMaxX() : getMaxX(); } | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public float getMaxX(){\n return points.get(points.size()-1).getX();\n }",
"public double getMaxX() {\n\t\treturn mx;\n\t}",
"public int getMaxX() {\n\t\treturn maxX;\n\t}",
"public final int getMaxX() {\n return getMinX() + getWidth();\n }",
"public double getMaxX() { return getX() + ... | [
"0.76744366",
"0.7625799",
"0.75392246",
"0.75286645",
"0.7504443",
"0.7489215",
"0.74305904",
"0.7416742",
"0.7379963",
"0.73567086",
"0.7321108",
"0.7256252",
"0.7137067",
"0.70138496",
"0.69952756",
"0.6962525",
"0.69054264",
"0.6843692",
"0.6718945",
"0.67073673",
"0.6668... | 0.7818008 | 0 |
Returns the max Y of the shape's frame. | public double getFrameMaxY() { return isRSS()? getFrame().getMaxY() : getMaxY(); } | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public double getMaximumY () {\n return minimumY + height;\n }",
"public final int getMaxY() {\n return getMinY() + getHeight();\n }",
"public double getMaxY() { return getY() + getHeight(); }",
"public int getyMax() {\n\t\treturn yMax;\n\t}",
"public double getMaxY() {\n\t\treturn my;... | [
"0.79242676",
"0.78200006",
"0.7816349",
"0.7748343",
"0.7698138",
"0.7607256",
"0.7550537",
"0.7537809",
"0.75345314",
"0.7484682",
"0.7419017",
"0.7408993",
"0.7396868",
"0.7298116",
"0.7296981",
"0.7294877",
"0.7294835",
"0.72691333",
"0.7213866",
"0.71169007",
"0.7114987"... | 0.81040895 | 0 |
Returns the origin point of the shape in parent's coords. | public RMPoint getXYP() { return convertPointToShape(new RMPoint(), _parent); } | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public Point getOrigin() {\n checkWidget();\n if (content == null)\n return new Point(0, 0);\n Point location = content.getLocation();\n return new Point(-location.x, -location.y);\n }",
"@Override\n public Point getOrigin() {\n return origin;\n }",
"@Over... | [
"0.75442004",
"0.73085105",
"0.73044264",
"0.7254383",
"0.70657766",
"0.70217794",
"0.70203406",
"0.69979346",
"0.69067025",
"0.68829584",
"0.68491083",
"0.68208385",
"0.68045175",
"0.67653227",
"0.6715083",
"0.6668591",
"0.6652418",
"0.66255957",
"0.6616846",
"0.66137433",
"... | 0.71024245 | 4 |
Sets the origin point of the shape to the given X and Y in parent's coords. | public void setXYP(double anX, double aY)
{
// If rotated-scaled-skewd, get XY in parent coords and set XY as an offset from parent
if(isRSS()) {
RMPoint p = getXYP();
setXY(_x + anX - p.x, _y + aY - p.y);
}
// If not rotated-scaled-skewed, just set x/y (adjusted if width/height are neg... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public void setOrigin(Point origin) {\n setOrigin(origin.x, origin.y);\n }",
"public void setOrigin(Point p) {\n origin = new Point(p);\n }",
"private void setOrigin() {\n Hep3Vector origin = VecOp.mult(CoordinateTransformations.getMatrix(), _sensor.getGeometry().getPosition());\n ... | [
"0.6962096",
"0.6924577",
"0.6807288",
"0.6792002",
"0.67919856",
"0.677372",
"0.6589126",
"0.65408623",
"0.644425",
"0.6413788",
"0.63486195",
"0.62684643",
"0.62530243",
"0.6233232",
"0.62084943",
"0.6158327",
"0.6155074",
"0.61189514",
"0.60971236",
"0.60715073",
"0.603609... | 0.5578672 | 46 |
Offsets the X and Y location of the shape by the given dx & dy amount (convenience). | public void offsetXY(double dx, double dy) { setXY(_x + dx, _y + dy); } | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"private void setPositions(float dx, float dy) {\n\n // prevent the point to be drag outside of the parent layout on the X axis\n if (getX() + dx + 2 * POINT_RADIUS >= ((View) getParent()).getWidth())\n setX(((View) getParent()).getWidth() - 2 * POINT_RADIUS);\n ... | [
"0.6555845",
"0.65152836",
"0.64693666",
"0.6432582",
"0.64303994",
"0.638414",
"0.63420695",
"0.63163984",
"0.62937874",
"0.6291514",
"0.6245771",
"0.62252486",
"0.6191052",
"0.61764765",
"0.61427397",
"0.61250985",
"0.6097588",
"0.6041539",
"0.6028031",
"0.60231495",
"0.596... | 0.8030373 | 0 |
Returns the bounds of the shape in the shape's own coords. | public RMRect getBoundsInside() { return new RMRect(0, 0, getWidth(), getHeight()); } | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public Rectangle2D getBounds() {\n\t\t// FIXME: these bounds REALLY need to be cached. But it's\n\t\t// painful because of the public members.\n\t\tif (stroke == null) {\n\t\t\treturn shape.getBounds2D();\n\t\t} else if (stroke instanceof BasicStroke) {\n\t\t\t// For some reason (antialiasing?) the bounds returned... | [
"0.7639988",
"0.74112505",
"0.738124",
"0.7352388",
"0.73289245",
"0.73155916",
"0.73155916",
"0.72895145",
"0.72768027",
"0.72666985",
"0.7259483",
"0.7232182",
"0.7225083",
"0.7225083",
"0.7225083",
"0.72109264",
"0.72070926",
"0.72056997",
"0.7199942",
"0.7173192",
"0.7170... | 0.6805658 | 48 |
Returns the bounds of the path associated with this shape in local coords, adjusted to account for stroke width. | public RMRect getBoundsMarked()
{
// Declare bounds marked rect
RMRect boundsMarked = null;
// If stroke, get stroke marked bounds
if(getStroke()!=null)
boundsMarked = getStroke().getBounds(this);
// If fill, get fill marked bounds
if(getFill()!=null) {
RMRect b = getFi... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public RMPath getPathInBounds() { return getPath().getPathInRect(getBoundsInside()); }",
"public Path2D.Double getBoundsAsPath() {\n\t\t\n\t\tRectangle2D.Double rect = getTextBounds();\n\t\tDouble w = rect.getWidth();\n\t\tDouble h = rect.getHeight();\n\t\t\n\t\tPath2D.Double bounds = new Path2D.Double();\n\t\t... | [
"0.7510418",
"0.7357663",
"0.65574795",
"0.6181211",
"0.6095865",
"0.59705377",
"0.58021003",
"0.5787419",
"0.5766289",
"0.57540274",
"0.57247263",
"0.571481",
"0.5680273",
"0.5678287",
"0.56644404",
"0.5559884",
"0.55524206",
"0.5542777",
"0.55096906",
"0.54977405",
"0.54786... | 0.477189 | 99 |
Returns the marked bounds of this shape and it's children. | public RMRect getBoundsMarkedDeep()
{
// Get normal marked bounds
RMRect bounds = getBoundsMarked();
// Iterate over (visible) children and union with their BoundsMarkedDeep (converted to this shape coords)
for(int i=0, iMax=getChildCount(); i<iMax; i++) { RMShape child = getChild(i);
if(!c... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public Rectangle getBounds() {\n\t\tif (bounds == null) {\n\t\t\tsuper.getBounds();\n\t\t\tfor (int i = 0; i < getChildren().size(); i++) {\n\t\t\t\tIFigure child = (IFigure) getChildren().get(i);\n\t\t\t\tbounds.union(child.getBounds());\n\t\t\t}\n\t\t}\n\t\treturn bounds;\n\t}",
"public RMRect getBoundsMarked(... | [
"0.7737443",
"0.74436045",
"0.72327006",
"0.7059348",
"0.70549256",
"0.69599",
"0.69506973",
"0.6915641",
"0.6880769",
"0.68706286",
"0.68706286",
"0.68397194",
"0.6823695",
"0.6822446",
"0.67953",
"0.6739373",
"0.67108715",
"0.67108715",
"0.67108715",
"0.670456",
"0.669445",... | 0.811111 | 0 |
Returns the roll of the shape. | public double getRoll() { return _rss==null? 0 : _rss.roll; } | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public float getRoll() {\n return roll_;\n }",
"public float getRoll() {\n return roll_;\n }",
"public float getRoll() {\n return roll_;\n }",
"public float getRoll() {\n return roll_;\n }",
"float getRoll();",
"float getRoll();",
"public int roll... | [
"0.7359066",
"0.7359066",
"0.7348886",
"0.7348886",
"0.7312059",
"0.7312059",
"0.7007488",
"0.6988133",
"0.6811697",
"0.68030775",
"0.6746419",
"0.6745642",
"0.672791",
"0.6727078",
"0.6682917",
"0.667811",
"0.66186994",
"0.64945567",
"0.6431407",
"0.6405635",
"0.6395384",
... | 0.60522586 | 32 |
Sets the roll of the shape. | public void setRoll(double aValue)
{
if(aValue==getRoll()) return;
repaint();
firePropertyChange("Roll", getRSS().roll, getRSS().roll = aValue, -1);
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"@BinderThread\n public void setRoll(float roll) {\n this.roll = -roll;\n }",
"public Builder setRoll(float value) {\n bitField0_ |= 0x00000080;\n roll_ = value;\n onChanged();\n return this;\n }",
"public Builder setRoll(float value) {\n bitField0_... | [
"0.7296075",
"0.713235",
"0.70825124",
"0.658788",
"0.6409992",
"0.63675165",
"0.63644797",
"0.62933683",
"0.61994565",
"0.6108025",
"0.6108025",
"0.6092503",
"0.6092067",
"0.6073703",
"0.6053579",
"0.6049156",
"0.6049156",
"0.60463166",
"0.6024688",
"0.5977204",
"0.5960771",... | 0.62665206 | 8 |
Returns the scale of the X axis of the shape. | public double getScaleX() { return _rss==null? 1 : _rss.scaleX; } | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public double getScaleX() {\n return 1.0;\n }",
"public int xPos() {\n\t\treturn Engine.scaleX(x);\n\t}",
"public double getScaleX(double x) {\r\n return scalingFactorX*x;\r\n }",
"public double getScale() {\n\t\treturn disp.getScale();\n\t}",
"public double getMinScale() {\n ret... | [
"0.7784862",
"0.72150624",
"0.69911426",
"0.6871209",
"0.68608385",
"0.67558837",
"0.6729861",
"0.67083555",
"0.66961896",
"0.66936535",
"0.6688375",
"0.6682781",
"0.6682781",
"0.6636341",
"0.6620425",
"0.66108495",
"0.66078043",
"0.65990514",
"0.6583645",
"0.657741",
"0.6554... | 0.68116814 | 5 |
Sets the scale of the X axis of the shape. | public void setScaleX(double aValue)
{
if(aValue==getScaleX()) return;
repaint();
firePropertyChange("ScaleX", getRSS().scaleX, getRSS().scaleX = aValue, -1);
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"private void setXscale() {\n\t}",
"public void setScaleX(double xscale)\r\n\t{\txScale = xscale;\t}",
"public void setScaleX(int scaleX) {\n\t\tthis.scaleX = scaleX;\n\t}",
"default void setX(double x)\n {\n getAxis().setX(x);\n }",
"@Override\n\tpublic void setScaleX(final float pScaleX) {\n\t\ts... | [
"0.79601276",
"0.7466331",
"0.7324175",
"0.71632457",
"0.7110671",
"0.69065535",
"0.66471106",
"0.6619044",
"0.66183513",
"0.65471727",
"0.65447634",
"0.6528414",
"0.65264124",
"0.6516685",
"0.6422715",
"0.6421632",
"0.64162666",
"0.63857174",
"0.6335293",
"0.6321138",
"0.630... | 0.6535637 | 11 |
Returns the scale of the Y axis of the shape. | public double getScaleY() { return _rss==null? 1 : _rss.scaleY; } | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public double getScaleY() {\n return 1.0;\n }",
"public double getScaleY(double y) {\r\n return scalingFactorY*y;\r\n }",
"public float getCropRectScaleY() {\n // No scale.\n return 1;\n }",
"public int yPos() {\n\t\treturn Engine.scaleY(y);\n\t}",
"public int getYSize(... | [
"0.7708793",
"0.7563505",
"0.7086198",
"0.6971417",
"0.6930223",
"0.6914602",
"0.6844935",
"0.6827876",
"0.6811568",
"0.6785885",
"0.67732584",
"0.6742504",
"0.67372733",
"0.6712015",
"0.67100143",
"0.67035216",
"0.66907513",
"0.667956",
"0.66434544",
"0.66280144",
"0.6615167... | 0.73354405 | 2 |
Sets the scale of the Y axis of the shape. | public void setScaleY(double aValue)
{
if(aValue==getScaleY()) return;
repaint();
firePropertyChange("ScaleY", getRSS().scaleY, getRSS().scaleY = aValue, -1);
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public void setScaleY(double yscale)\r\n\t{\tyScale = yscale;\t}",
"public void setScaleY(int scaleY) {\n\t\tthis.scaleY = scaleY;\n\t}",
"default void setY(double y)\n {\n getAxis().setY(y);\n }",
"public void setY(double value) {\n origin.setY(value);\n }",
"public void setY(double value) {\... | [
"0.77919126",
"0.7173327",
"0.71651137",
"0.7049071",
"0.69869775",
"0.69441086",
"0.6791766",
"0.6781901",
"0.67787254",
"0.6723922",
"0.6685936",
"0.6685043",
"0.66774744",
"0.66774744",
"0.66759664",
"0.6665007",
"0.66503835",
"0.6645366",
"0.66442007",
"0.6611353",
"0.660... | 0.67148185 | 10 |
Sets the scale of the X and Y axis. | public void setScaleXY(double sx, double sy) { setScaleX(sx); setScaleY(sy); } | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public void setScale(float xScale, float yScale) {\n\t\tthis.xScale = xScale;\n\t\tthis.yScale = yScale;\n\t}",
"private void setXscale() {\n\t}",
"@Override\n public void scale(double x, double y) {\n graphicsEnvironmentImpl.scale(canvas, x, y);\n }",
"public void setDrawScale(float x, float y)... | [
"0.7614518",
"0.7584808",
"0.7580638",
"0.751687",
"0.7305102",
"0.72963375",
"0.7218134",
"0.7200108",
"0.7190336",
"0.7152296",
"0.70793504",
"0.70713466",
"0.70609695",
"0.70306426",
"0.6990048",
"0.69888926",
"0.6987452",
"0.6972376",
"0.6950221",
"0.6939082",
"0.69198406... | 0.8055567 | 0 |
Returns the skew of the X axis of the shape. | public double getSkewX() { return _rss==null? 0 : _rss.skewX; } | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public double getSkew() {\n if (isReal) {\n return get(\"ts\");\n } else {\n return simTs.getDouble(0.0);\n }\n }",
"public String getXKey(){\n return getAxisKey(Axis.X);\n }",
"public double getLeftXAxis() {\n\t\treturn getRawAxis(Axis_LeftX);\n\t}",
"... | [
"0.56131923",
"0.5487481",
"0.5379629",
"0.5223761",
"0.52075577",
"0.52035075",
"0.51581514",
"0.50941366",
"0.5075738",
"0.50728875",
"0.5045662",
"0.5039388",
"0.5038407",
"0.49894395",
"0.49741122",
"0.49454272",
"0.49330583",
"0.49133766",
"0.48963353",
"0.4894691",
"0.4... | 0.7175281 | 0 |
Sets the skew of the X axis of the shape. | public void setSkewX(double aValue)
{
if(aValue==getSkewX()) return;
repaint();
firePropertyChange("SkewX", getRSS().skewX, getRSS().skewX = aValue, -1);
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"@Override\r\n\tprotected void onSetInitialValue(final IEntity pEntity, final float pSkewX) {\r\n\t\tpEntity.setSkewX(pSkewX);\r\n\t}",
"public void setSkewXY(double skx, double sky) { setSkewX(skx); setSkewY(sky); }",
"default void setX(double x)\n {\n getAxis().setX(x);\n }",
"public double getSke... | [
"0.63523144",
"0.60319424",
"0.5790609",
"0.5711701",
"0.5649008",
"0.54443693",
"0.5422786",
"0.53778195",
"0.53002715",
"0.5245444",
"0.52084434",
"0.5154871",
"0.51495594",
"0.51389676",
"0.50919455",
"0.5091052",
"0.50762457",
"0.5063461",
"0.5046358",
"0.50410974",
"0.50... | 0.6266589 | 1 |
Returns the skew of the Y axis of the shape. | public double getSkewY() { return _rss==null? 0 : _rss.skewY; } | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public double getRightYAxis() {\n\t\treturn getRawAxis(Axis_RightY);\n\t}",
"public String getYKey(){\n return getAxisKey(Axis.Y);\n }",
"public double getYRotate() {\n\t\tif (Math.abs(getRawAxis(Axis_YRotate)) > stickDeadband) {\n\t\t\treturn getRawAxis(Axis_YRotate);\n\t\t} else {\n\t\t\treturn 0;\... | [
"0.6094923",
"0.59691244",
"0.59416276",
"0.58748835",
"0.58741146",
"0.58611",
"0.57460344",
"0.573947",
"0.57355326",
"0.5723359",
"0.5688282",
"0.5562291",
"0.5552321",
"0.55460006",
"0.5544444",
"0.5525823",
"0.55218655",
"0.5495309",
"0.54912597",
"0.5487508",
"0.5486482... | 0.73202527 | 0 |
Sets the skew of the Y axis of the shape. | public void setSkewY(double aValue)
{
if(aValue==getSkewY()) return;
repaint();
firePropertyChange("SkewY", getRSS().skewY, getRSS().skewY = aValue, -1);
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"default void setY(double y)\n {\n getAxis().setY(y);\n }",
"public void setY(double y)\r\n\t{\t\r\n\t\tvirtualDxfPoint.setTransformationY(y);\r\n\t\tAnchor.setY(y);\r\n\t}",
"public void setY(double value) {\n origin.setY(value);\n }",
"public double getSkewY() { return _rss==null? 0 : _rss.ske... | [
"0.6271652",
"0.61953515",
"0.61037165",
"0.6101868",
"0.6091323",
"0.5970253",
"0.59533066",
"0.59533066",
"0.5951255",
"0.5951005",
"0.5938291",
"0.59322625",
"0.59251136",
"0.5924725",
"0.5914607",
"0.5914607",
"0.5914607",
"0.5910861",
"0.59072316",
"0.5892905",
"0.587864... | 0.64559454 | 0 |
Sets the skew of the X and Y axis. | public void setSkewXY(double skx, double sky) { setSkewX(skx); setSkewY(sky); } | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public void setSkewX(double aValue)\n{\n if(aValue==getSkewX()) return;\n repaint();\n firePropertyChange(\"SkewX\", getRSS().skewX, getRSS().skewX = aValue, -1);\n}",
"public void setSkewY(double aValue)\n{\n if(aValue==getSkewY()) return;\n repaint();\n firePropertyChange(\"SkewY\", getRSS().... | [
"0.6283452",
"0.6065545",
"0.5639572",
"0.54128444",
"0.536763",
"0.4985411",
"0.47818723",
"0.47728023",
"0.4637955",
"0.45750406",
"0.4528992",
"0.448267",
"0.44055787",
"0.44007215",
"0.43538067",
"0.43141985",
"0.43131456",
"0.42405042",
"0.42252517",
"0.42171755",
"0.421... | 0.71092254 | 0 |
Returns whether the shape has been rotated, scaled or skewed (for efficiency). | public boolean isRSS() { return _rss!=null; } | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"boolean hasScaler();",
"protected abstract boolean isShapeSimple();",
"public boolean isShouldFillShape() {\n return this.shouldFillShape;\n }",
"boolean hasTransform2DValue();",
"@Override\n\tpublic boolean canResizeShape(IResizeShapeContext context) {\n\t\treturn false;\n\t}",
"boolean isReal... | [
"0.65008694",
"0.6231274",
"0.613511",
"0.59886825",
"0.598774",
"0.5974817",
"0.5911321",
"0.58836627",
"0.5878495",
"0.5848142",
"0.5793435",
"0.57701606",
"0.57646954",
"0.5762665",
"0.57258314",
"0.5708751",
"0.5696693",
"0.5685326",
"0.56714475",
"0.56468624",
"0.5621405... | 0.0 | -1 |
Returns the roll scale skew object. | protected RMShapeRSS getRSS() { return _rss!=null? _rss : (_rss=new RMShapeRSS()); } | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public double getSkew() {\n if (isReal) {\n return get(\"ts\");\n } else {\n return simTs.getDouble(0.0);\n }\n }",
"public double getSkew_Rotation() {\n NetworkTableEntry ts = m_table.getEntry(\"ts\");\n double s = ts.getDouble(0.0);\n return s;... | [
"0.6254836",
"0.60010517",
"0.5987023",
"0.58023804",
"0.5550633",
"0.52046645",
"0.51230013",
"0.5115472",
"0.50449485",
"0.50247073",
"0.5001944",
"0.49738586",
"0.47736564",
"0.47403362",
"0.47289553",
"0.4692821",
"0.4677629",
"0.45862916",
"0.4578349",
"0.45718136",
"0.4... | 0.0 | -1 |
Returns the stroke for this shape. | public RMStroke getStroke() { return _stroke; } | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public Stroke<R> getStroke() {\n if (stroke == null) {\n stroke = factory.createStroke();\n }\n return stroke;\n }",
"public Stroke getStroke() {\n\t\tStroke theStroke = stroke;\n\t\tif (theStroke == null) {\n\t\t\ttheStroke = new BasicStroke(strokeWidth);\n\t\t\tstroke = theSt... | [
"0.8094446",
"0.80193895",
"0.79151475",
"0.7856658",
"0.7806968",
"0.780193",
"0.7695243",
"0.7303381",
"0.7257808",
"0.7256673",
"0.71816736",
"0.7168758",
"0.71167105",
"0.70335394",
"0.7026582",
"0.6884968",
"0.68696",
"0.68172014",
"0.6730789",
"0.6528684",
"0.6449192",
... | 0.76282525 | 7 |
Sets the stroke for this shape, with an option to turn on drawsStroke. | public void setStroke(RMStroke aStroke)
{
if(RMUtils.equals(getStroke(), aStroke)) return; // If value already set, just return
repaint(); // Register repaint
if(_stroke!=null) _stroke.removePropertyChangeListener(this);
firePropertyChange("Stroke", _stroke, _stroke = aStroke, -1); // Set value and fire... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public void setStroke(Stroke stroke);",
"public abstract void setStroke(BasicStroke stroke);",
"public void setStroke(Stroke s)\r\n\t{\r\n\t\tif (s instanceof BasicStroke)\r\n\t\t{\r\n\t\t\tBasicStroke bs = (BasicStroke) s;\r\n\t\t\tthis.setLineWidth(bs.getLineWidth());\r\n\r\n\t\t\tif (bs.getDashArray() != nu... | [
"0.8146441",
"0.7398785",
"0.7114552",
"0.70126164",
"0.69958436",
"0.6943727",
"0.68330145",
"0.68322444",
"0.6641789",
"0.6466699",
"0.643443",
"0.622716",
"0.61708426",
"0.60788345",
"0.60351056",
"0.6013233",
"0.60113597",
"0.6007208",
"0.5996261",
"0.5926947",
"0.5925004... | 0.69514686 | 5 |
Returns the fill for this shape. | public RMFill getFill() { return _fill; } | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public boolean getFill(){\n\t\treturn this.fill;\n\t}",
"public Color getFillColor() {\n return fillColor;\n }",
"public Color<?> getFillColor(\n )\n {return fillColor;}",
"public double getFill() {\n\t\treturn _fillGrade;\n\t}",
"Paint getFilling() {\n return bufFill;\n }",
"... | [
"0.770465",
"0.74184954",
"0.7345415",
"0.72974324",
"0.7285462",
"0.6972596",
"0.69507265",
"0.6893841",
"0.6816393",
"0.6692865",
"0.6655037",
"0.6629866",
"0.66233766",
"0.6603775",
"0.6481807",
"0.64659756",
"0.6458664",
"0.6452843",
"0.64074886",
"0.6359754",
"0.63511235... | 0.76000804 | 1 |
Sets the fill for this shape. | public void setFill(RMFill aFill)
{
if(RMUtils.equals(getFill(), aFill)) return; // If value already set, just return
repaint(); // Register repaint
if(_fill!=null) _fill.removePropertyChangeListener(this);
firePropertyChange("Fill", _fill, _fill = aFill, -1); // Set value and fire PropertyChange
if... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public void setFill(boolean fill) {\n isFilled = fill;\n }",
"void setFill(boolean fill);",
"public void setFill(boolean fill) {\n\t\t_fill = fill;\n\t\tnotifyObs(this);\n\t}",
"public void setFill(boolean fill) {\r\n if (fill) {\r\n \tmPaint.setStyle(Paint.Style.FILL);\r\n }el... | [
"0.7612409",
"0.74906373",
"0.7438535",
"0.737912",
"0.7277831",
"0.7207706",
"0.69786453",
"0.6948553",
"0.6934987",
"0.6889662",
"0.68509454",
"0.6838997",
"0.68167406",
"0.67816514",
"0.67491114",
"0.66924125",
"0.667807",
"0.6660342",
"0.665137",
"0.66333133",
"0.66054463... | 0.6849448 | 11 |
Returns the effect for this shape. | public RMEffect getEffect() { return _effect; } | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"Effect getEffect();",
"public String effect() {\n return this.effect;\n }",
"public String getEffect() {\n\t\treturn effect;\n\t}",
"public BGMTransition getEffect()\n\t{\n\t\treturn effect;\n\t}",
"int getEffect();",
"@Override\n\tpublic Effect getEffect() {\n\t\tthis.effect.setName(txtEffectN... | [
"0.7861293",
"0.7822394",
"0.7502912",
"0.73778594",
"0.7160512",
"0.7091682",
"0.7030697",
"0.64965725",
"0.6300687",
"0.6290478",
"0.6267489",
"0.62242854",
"0.62234133",
"0.6190261",
"0.6109571",
"0.61079997",
"0.60941786",
"0.603451",
"0.60121906",
"0.60054237",
"0.598729... | 0.74009293 | 3 |
Sets the effect for this shape. | public void setEffect(RMEffect anEffect)
{
if(RMUtils.equals(getEffect(), anEffect)) return; // If value already set, just return
repaint(); // Register repaint
if(_effect!=null) { _effect.removePropertyChangeListener(this);
removePropertyChangeListener(_effect); removeDeepChangeListener(_effect); }... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public void setEffect(String effect){\n this.effect = effect;\n }",
"public void setEffect(BGMTransition effect)\n\t{\n\t\tthis.effect = effect;\n\t}",
"@Override\n\tpublic void setEffect(Effect effect) {\n\t\tthis.effect = effect;\n\t\tthis.txtEffectName.setText(this.effect.getName());\n\t\tthis.txt... | [
"0.69462377",
"0.6673451",
"0.6596681",
"0.6479693",
"0.623525",
"0.59669",
"0.58737814",
"0.58524173",
"0.5846943",
"0.57422554",
"0.57312465",
"0.56905895",
"0.5579064",
"0.5536524",
"0.54960096",
"0.5487642",
"0.5472317",
"0.5453675",
"0.54123604",
"0.5404738",
"0.53989697... | 0.63319933 | 4 |
Returns the color of the shape. | public RMColor getColor() { return getFill()==null? RMColor.black : getFill().getColor(); } | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public Color getShapeColor() {\n\t\tif (_shape != null) return _shape.getColor();\n\t\telse return null;\n\t}",
"@Override\n public ShapeColor getColor() {\n return new ShapeColor(this.r, this.g, this.b);\n }",
"java.awt.Color getColor();",
"Color getColor();",
"Color getColor();",
"Color getColor()... | [
"0.8221535",
"0.8102735",
"0.7373826",
"0.7333834",
"0.7333834",
"0.7333834",
"0.7333834",
"0.7333834",
"0.72409767",
"0.7159862",
"0.7146429",
"0.7144749",
"0.7139911",
"0.7139911",
"0.7139911",
"0.7127555",
"0.71053857",
"0.71053857",
"0.70880204",
"0.7067426",
"0.70652115"... | 0.7107432 | 16 |
Sets the color of the shape. | public void setColor(RMColor aColor)
{
// Set color
if(aColor==null) setFill(null);
else if(getFill()==null) setFill(new RMFill(aColor));
else getFill().setColor(aColor);
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"@Override\n\tpublic void setShapeColor(Color color) {\n\t\tthis.currentColor = color;\n\t}",
"@Override\n\tpublic void setShapeColor(Color color) {\n\t\tthis.decorateComponent.setShapeColor(color);\n\t}",
"public void setColor(Color c) { color.set(c); }",
"public void setFillColor(Color color);",
"public v... | [
"0.79554456",
"0.7801716",
"0.7567411",
"0.7539705",
"0.7367287",
"0.73647004",
"0.73512924",
"0.733284",
"0.7269298",
"0.7203161",
"0.7203161",
"0.72003263",
"0.7129345",
"0.71098983",
"0.7097715",
"0.7095993",
"0.7083029",
"0.7079369",
"0.70543617",
"0.703442",
"0.7031675",... | 0.69755965 | 28 |
Returns the stroke color of the shape. | public RMColor getStrokeColor() { return getStroke()==null? RMColor.black : getStroke().getColor(); } | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public Color<?> getStrokeColor(\n )\n {return strokeColor;}",
"public int getStrokeColor() {\n return (int) this.getValue(STROKE_COLOR_PROPERTY_KEY);\n }",
"public final native Colour getStroke() /*-{\n\t\treturn @net.edzard.kinetic.Colour::new(Ljava/lang/String;)(this.getStroke());\n\t}-*/;"... | [
"0.8535741",
"0.81747746",
"0.7660809",
"0.7535009",
"0.73908556",
"0.7170358",
"0.6977222",
"0.6735162",
"0.6691471",
"0.6588969",
"0.65008277",
"0.6497721",
"0.6486803",
"0.6474467",
"0.6405695",
"0.6357715",
"0.6321706",
"0.6312397",
"0.62362003",
"0.6202815",
"0.61468536"... | 0.7874005 | 2 |
Sets the stroke color of the shape. | public void setStrokeColor(RMColor aColor)
{
// Set stroke color
if(aColor==null) setStroke(null);
else if(getStroke()==null) setStroke(new RMStroke(aColor, 1));
else getStroke().setColor(aColor);
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public void setStrokeColor(Color color);",
"public void setStrokeColor(int strokeColor) {\n this.setValue(STROKE_COLOR_PROPERTY_KEY, strokeColor);\n }",
"public void setStroke(Stroke stroke);",
"public final native void setStroke(Colour colour) /*-{\n\t\tthis.setStroke(colour.@net.edzard.kinetic.Co... | [
"0.84701395",
"0.7804627",
"0.7762083",
"0.7505391",
"0.7356149",
"0.7219768",
"0.7011084",
"0.68581116",
"0.68433756",
"0.6824064",
"0.67378986",
"0.6612682",
"0.65935314",
"0.6551068",
"0.6469123",
"0.64515",
"0.63983274",
"0.6374226",
"0.63477474",
"0.6342626",
"0.63186634... | 0.7829845 | 1 |
Returns the stroke width of the shape's stroke in printer points. | public float getStrokeWidth() { return getStroke()==null? 0 : getStroke().getWidth(); } | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public final DoubleProperty strokeWidthProperty() {\n return getStrokeAttributes().widthProperty();\n }",
"public float getStrokeWidth() {\n\t\treturn strokeWidth;\n\t}",
"public float getStrokeWidth() {\n return (float) this.getValue(STROKE_WIDTH_PROPERTY_KEY);\n }",
"public float getLin... | [
"0.7736984",
"0.7729944",
"0.7484774",
"0.7201291",
"0.7143169",
"0.7056583",
"0.6872093",
"0.6837334",
"0.67547405",
"0.6683702",
"0.6675686",
"0.6675686",
"0.664466",
"0.65959865",
"0.65933967",
"0.65496767",
"0.6519966",
"0.64735395",
"0.64735395",
"0.6462853",
"0.6461232"... | 0.70759565 | 5 |
Sets the stroke width of the shape's stroke in printer points. | public void setStrokeWidth(float aValue)
{
// Set line width
if(getStroke()==null) setStroke(new RMStroke(RMColor.black, aValue));
else getStroke().setWidth(aValue);
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public final native void setStrokeWidth(double width) /*-{\n\t\tthis.setStrokeWidth(width);\n\t}-*/;",
"public void setStrokeWidth(float strokeWidth) {\n this.setValue(STROKE_WIDTH_PROPERTY_KEY, strokeWidth);\n }",
"void setStrokeWidth(float strokeWidth) {\n/* 180 */ this.mStrokeWidth = strokeWid... | [
"0.7287077",
"0.7130444",
"0.70813775",
"0.69910747",
"0.69619924",
"0.6933977",
"0.68670636",
"0.6785736",
"0.6766107",
"0.6758188",
"0.6757582",
"0.6733951",
"0.67325586",
"0.6710135",
"0.6687813",
"0.65792847",
"0.6570641",
"0.65682787",
"0.6539011",
"0.6372573",
"0.632047... | 0.6781997 | 8 |
Returns the opacity of the shape (1 for opaque, 0 for transparent). | public float getOpacity() { Number n = (Number)get("Opacity"); return n!=null? n.floatValue() : 1; } | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"int getOpacity();",
"@Override\n\tpublic int getOpacity() {\n\t\treturn PixelFormat.OPAQUE;\n\t}",
"public Integer getOpacity() {\n return opacity;\n }",
"@Override\n public int getOpacity() {\n return DrawableUtils.getOpacityFromColor(DrawableUtils.multiplyColorAlpha(mColor, mAlpha));\n }",
... | [
"0.74946487",
"0.7114733",
"0.70863575",
"0.692005",
"0.6898824",
"0.6758076",
"0.67359775",
"0.67196953",
"0.6707886",
"0.66588914",
"0.66034305",
"0.66034305",
"0.65821964",
"0.6555615",
"0.6490612",
"0.6477024",
"0.6441779",
"0.6349002",
"0.6271322",
"0.61849064",
"0.61529... | 0.70972896 | 2 |
Sets the opacity of the shape (1 for opaque, 0 for transparent). | public void setOpacity(float aValue)
{
if(getOpacity()==aValue) return; // If value already set, just return
repaint(); // Register repaint
Object oldValue = getOpacity(); // Cache old value, set new value and fire PropertyChange
put("Opacity", aValue==1? null : aValue);
firePropertyChange("Opacity"... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public native void setOpacity(int opacity);",
"public void setAlpha(float alpha);",
"public void setOpacity(float opacity)\n\t{\n\t\tthis.particleColor.setA(opacity);\n\t}",
"public void setPointOpacity(int pointOpacity)\n {\n myPointOpacity = pointOpacity;\n }",
"public void setPaintAlpha(int... | [
"0.74089134",
"0.6947665",
"0.68509907",
"0.67389673",
"0.64322585",
"0.64130604",
"0.63444936",
"0.6272846",
"0.6218823",
"0.6191087",
"0.61637163",
"0.6153177",
"0.6145187",
"0.6037859",
"0.60206544",
"0.60046023",
"0.5994645",
"0.59880936",
"0.59705204",
"0.5955986",
"0.59... | 0.62335867 | 8 |
Returns the combined opacity of this shape and its parent. | public float getOpacityDeep()
{
float op = getOpacity();
for(RMShape s=_parent; s!=null; s=s._parent) op *= s.getOpacity();
return op;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public Integer getOpacity() {\n return opacity;\n }",
"@Override\n public int getOpacity() {\n return DrawableUtils.getOpacityFromColor(DrawableUtils.multiplyColorAlpha(mColor, mAlpha));\n }",
"int getOpacity();",
"@Override\n\tpublic int getOpacity() {\n\t\treturn PixelFormat.OPAQUE;\n\t}",
... | [
"0.6566082",
"0.6480962",
"0.6331888",
"0.6201149",
"0.6021102",
"0.60090476",
"0.59693366",
"0.5963406",
"0.5878637",
"0.5675318",
"0.55892",
"0.54386044",
"0.5424192",
"0.535892",
"0.5347954",
"0.5345297",
"0.5339393",
"0.52623004",
"0.5227724",
"0.5227724",
"0.5201963",
... | 0.7277043 | 0 |
Returns whether this shape is visible. | public boolean isVisible() { return _visible; } | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public final boolean isVisible() {\n return visible;\n }",
"public boolean isVisible() {\n\t\treturn visible;\n\t}",
"public boolean isVisible () {\n return visible;\n }",
"public boolean isVisible() {\r\n return visible;\r\n }",
"public boolean isShowing() {\n ret... | [
"0.7676547",
"0.7595035",
"0.75927716",
"0.7523996",
"0.7505004",
"0.7485322",
"0.745421",
"0.744604",
"0.7387184",
"0.73829126",
"0.7374959",
"0.73634183",
"0.73259014",
"0.7305803",
"0.729367",
"0.729367",
"0.7277086",
"0.7265314",
"0.7265314",
"0.7265314",
"0.7263432",
"... | 0.69279444 | 34 |
Sets whether this shape is visible. | public void setVisible(boolean aValue)
{
if(isVisible()==aValue) return; // If value already set, just return
firePropertyChange("Visible", _visible, _visible = aValue, -1); // Set value and fire PropertyChange
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public void setVisible(boolean visible);",
"public void setVisible(Boolean visible);",
"void setVisible(boolean visible);",
"void setVisible(boolean visible);",
"@SuppressWarnings(\"unused\")\n void setVisible(boolean visible);",
"public void setVisible(boolean value) {\n\t\tvisible = value;\n\t}",
... | [
"0.7390552",
"0.7360569",
"0.73302233",
"0.73302233",
"0.7263473",
"0.72426355",
"0.7204189",
"0.71933776",
"0.7150649",
"0.71460557",
"0.7132426",
"0.7125522",
"0.71251327",
"0.71217525",
"0.7120733",
"0.7073122",
"0.7025395",
"0.7013462",
"0.69819486",
"0.69728297",
"0.6946... | 0.0 | -1 |
Returns an object describing layout paramaters of this shape in its parent's layout. | public Object getLayoutInfo() { return _layoutInfo; } | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public int getParentLayoutOrientation()\n {\n return parentOrientation;\n }",
"GeomLayout.IGeomLayoutCreateFromNode geomLayoutCreator();",
"public static LinearLayout.LayoutParams getLayoutParams() {\r\n return new LinearLayout.LayoutParams(LinearLayout.LayoutParams.MATCH_PARENT, LinearLayo... | [
"0.60658526",
"0.5980644",
"0.572043",
"0.56327206",
"0.5623309",
"0.56078297",
"0.55762666",
"0.5549441",
"0.55401284",
"0.5501882",
"0.54862845",
"0.5483345",
"0.5481009",
"0.5464018",
"0.54388654",
"0.5428528",
"0.5382151",
"0.53696626",
"0.5360595",
"0.53586674",
"0.53555... | 0.63405514 | 0 |
Sets an object describing layout parameters of this shape in its parent's layout. | public void setLayoutInfo(Object theLayoutInfo)
{
if(RMUtils.equals(theLayoutInfo, _layoutInfo)) return; // If value already set, just return
_layoutInfoX = null;
firePropertyChange("LayoutInfo", _layoutInfo, _layoutInfo = theLayoutInfo, -1);
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public void setParent(RMParentShape aShape) { _parent = aShape; }",
"final void setParent(ShapeParent newParent)\n {\n this.parent = newParent;\n }",
"void setParent(IGLProperty parent);",
"@Override\r\n\tprotected void initializeLayout() {\r\n\t\tlayout = GraphLayoutFactory.createLayout(lay... | [
"0.65434724",
"0.62522364",
"0.62019503",
"0.59535384",
"0.57774234",
"0.5686695",
"0.5686323",
"0.5650624",
"0.56457365",
"0.5638564",
"0.5617783",
"0.55626637",
"0.5555289",
"0.54958385",
"0.5480894",
"0.5455933",
"0.5445717",
"0.54372436",
"0.5417778",
"0.53922194",
"0.536... | 0.5270405 | 26 |
Returns the autosizing settings as a string with hyphens for struts and tilde for sprints (horiz,vert). | public String getAutosizing()
{
String li = _layoutInfo instanceof String? (String)_layoutInfo : null;
return li!=null && li.length()>6 && (li.charAt(0)=='-' || li.charAt(0)=='~')? li : getAutosizingDefault();
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public String getAutosizingDefault() { return \"--~,--~\"; }",
"public String toShEx() {\n return String.format(\"<%s> .{%s, %s} ,\", properties.get(0), minBound, maxBound);\n }",
"public String getOptionsAsString() {\n\t\tStringBuilder buf = new StringBuilder();\n\t\tfor (int i = 0; i <propertyKeys... | [
"0.7173726",
"0.5635764",
"0.55983156",
"0.53745556",
"0.5198409",
"0.51942015",
"0.5107927",
"0.5018984",
"0.4996917",
"0.49781027",
"0.49745494",
"0.48952258",
"0.4860319",
"0.48477212",
"0.47415602",
"0.4725845",
"0.47249967",
"0.47218513",
"0.4720347",
"0.4716168",
"0.470... | 0.70029867 | 1 |
Sets the autosizing settings as a string with hyphens for struts and tilde for sprints (horiz,vert). | public void setAutosizing(String aValue) { setLayoutInfo(aValue); } | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public String getAutosizingDefault() { return \"--~,--~\"; }",
"public String getAutosizing()\n{\n String li = _layoutInfo instanceof String? (String)_layoutInfo : null;\n return li!=null && li.length()>6 && (li.charAt(0)=='-' || li.charAt(0)=='~')? li : getAutosizingDefault();\n}",
"private void setPre... | [
"0.71895593",
"0.64226794",
"0.5638036",
"0.55865985",
"0.55132973",
"0.53356177",
"0.53288907",
"0.53140175",
"0.5224309",
"0.520051",
"0.51677763",
"0.5151885",
"0.5143811",
"0.5116854",
"0.51164",
"0.51032317",
"0.5098208",
"0.5096363",
"0.5090419",
"0.5067783",
"0.5066535... | 0.6783182 | 1 |
Returns the autosizing default. | public String getAutosizingDefault() { return "--~,--~"; } | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public String getAutosizing()\n{\n String li = _layoutInfo instanceof String? (String)_layoutInfo : null;\n return li!=null && li.length()>6 && (li.charAt(0)=='-' || li.charAt(0)=='~')? li : getAutosizingDefault();\n}",
"public String getDefaultFileName()\r\n\t{\r\n\t\treturn \"autosave\";\r\n\t}",
"publ... | [
"0.6660343",
"0.63205093",
"0.6201802",
"0.6130884",
"0.6039014",
"0.59634686",
"0.5912592",
"0.590379",
"0.59009784",
"0.58819354",
"0.58695346",
"0.5866837",
"0.58550745",
"0.5845729",
"0.5775633",
"0.5747204",
"0.5747204",
"0.5746599",
"0.57209265",
"0.56948",
"0.56909174"... | 0.7930087 | 0 |
Returns whether this shape is being viewed in a viewer. | public boolean isViewing() { RMShape p = getParent(); return p!=null && p.isViewing(); } | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"boolean isInview();",
"public boolean isViewer(AttachmentViewer viewer) {\n return super.isViewer(viewer);\n }",
"boolean hasGeographicView();",
"public boolean isViewable()\n {\n return this.isEditable() || this.viewable;\n }",
"public boolean isDrawingViews() {\n return draw... | [
"0.72809964",
"0.7003257",
"0.6839892",
"0.6699661",
"0.6621953",
"0.65417665",
"0.65247566",
"0.651965",
"0.64932436",
"0.6478805",
"0.6424955",
"0.63352096",
"0.6287813",
"0.6260686",
"0.62559724",
"0.6246918",
"0.61847305",
"0.6172405",
"0.6131651",
"0.6116092",
"0.6050126... | 0.8041928 | 0 |
Returns whether this shape is being edited in an editor. | public boolean isEditing() { RMShape p = getParent(); return p!=null && p.isEditing(); } | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public final boolean isEdited(){\n\t\treturn JsUtils.getNativePropertyBoolean(this, \"edited\");\n\t}",
"public boolean hasEditor()\n\t{\n\t\treturn true;\n\t}",
"public boolean isGraphEditing() {\r\n \t\treturn graph.getUI().isEditing(graph);\r\n \t}",
"protected boolean isEdit(){\n\t\treturn getArguments()... | [
"0.78997827",
"0.743715",
"0.74288076",
"0.7387568",
"0.7262354",
"0.70928425",
"0.70207787",
"0.69699186",
"0.69699186",
"0.6955788",
"0.6756129",
"0.67360145",
"0.6638401",
"0.6624191",
"0.6614872",
"0.66132426",
"0.6590921",
"0.6582493",
"0.6582493",
"0.6578394",
"0.657040... | 0.77469206 | 1 |
Returns the text color for the shape. | public RMColor getTextColor() { return RMColor.black; } | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"Integer getTxtColor();",
"String getTextStrokeColorAsString();",
"public int textColor() {\n\t\treturn textColor;\n\t}",
"public void colorText() {\r\n String theColor = textShape.getText();\r\n if (theColor.contains(\"blue\")) {\r\n textShape.setForegroundColor(Color.BLUE);\r\n ... | [
"0.7665754",
"0.7565578",
"0.75399196",
"0.7325683",
"0.72656024",
"0.7190755",
"0.70639914",
"0.6978481",
"0.6928252",
"0.68144906",
"0.6797603",
"0.67855865",
"0.6698176",
"0.6680454",
"0.66203105",
"0.64324576",
"0.63544536",
"0.63306457",
"0.63306457",
"0.632699",
"0.6305... | 0.6777608 | 12 |
Sets the text color for the shape. | public void setTextColor(RMColor aColor) { } | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public void colorText() {\r\n String theColor = textShape.getText();\r\n if (theColor.contains(\"blue\")) {\r\n textShape.setForegroundColor(Color.BLUE);\r\n }\r\n else if (theColor.contains(\"red\")) {\r\n textShape.setForegroundColor(Color.RED);\r\n }\r\n ... | [
"0.82916105",
"0.7709654",
"0.7456445",
"0.7306153",
"0.71230316",
"0.69286937",
"0.6493149",
"0.6444193",
"0.63917714",
"0.63482976",
"0.6328367",
"0.6322988",
"0.63207155",
"0.6289367",
"0.62764084",
"0.6192379",
"0.61911064",
"0.6188627",
"0.61779255",
"0.6141818",
"0.6104... | 0.7072355 | 5 |
Returns whether font has been set. | public boolean isFontSet() { return false; } | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public boolean hasSoundFont() {\n\t\treturn soundFont != null;\n\t}",
"public boolean isFontNameSelected()\r\n\t{\r\n\t\t// return false if Font Name list has nothing selected, true if an item is selected\r\n\t\treturn !fontNamesList.isSelectionEmpty();\r\n\t}",
"public IsFont getFont() {\n\t\treturn getOrigin... | [
"0.7472431",
"0.71607864",
"0.6843799",
"0.679147",
"0.6649706",
"0.661485",
"0.661485",
"0.6586211",
"0.653444",
"0.64268124",
"0.6351555",
"0.6333444",
"0.6269219",
"0.615899",
"0.61136734",
"0.60891736",
"0.6070329",
"0.60432434",
"0.60413885",
"0.6035752",
"0.6007081",
... | 0.81976825 | 0 |
Returns the font for the shape (defaults to parent font). | public RMFont getFont() { return getParent()!=null? getParent().getFont() : null; } | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"@Override\n public String getFont() {\n return graphicsEnvironmentImpl.getFont(canvas);\n }",
"abstract Font getFont();",
"public Font getFont(\n )\n {return font;}",
"public abstract Font getFont();",
"public RMFont getFont()\n {\n return getStyle().getFont();\n }",
"pu... | [
"0.7220026",
"0.7106452",
"0.7028435",
"0.7017311",
"0.6968962",
"0.684088",
"0.6831266",
"0.67572844",
"0.6719605",
"0.6708881",
"0.66829395",
"0.6679241",
"0.66197973",
"0.66158664",
"0.66158664",
"0.6579382",
"0.6572743",
"0.65475255",
"0.6516755",
"0.6516755",
"0.6511941"... | 0.75063795 | 0 |
Sets the font for the shape. | public void setFont(RMFont aFont) { } | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"@Override\n public void setFont(String font) {\n graphicsEnvironmentImpl.setFont(canvas, font);\n }",
"private void setFont() {\n\t}",
"public void setFont( Font font ) {\n\t\tgraphics.setFont( font );\n\t}",
"public void setFont(Font value) {\r\n this.font = value;\r\n }",
"public v... | [
"0.7912233",
"0.7909928",
"0.78420335",
"0.77542144",
"0.7743433",
"0.7726675",
"0.7721328",
"0.7693524",
"0.76423854",
"0.75413644",
"0.75399715",
"0.7516485",
"0.7507479",
"0.7353219",
"0.73386854",
"0.7326905",
"0.72965026",
"0.7296079",
"0.7293755",
"0.7207408",
"0.718408... | 0.7019305 | 27 |
Returns whether the shape is underlined. | public boolean isUnderlined() { return false; } | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public boolean isUnderlined()\n {\n return getStyle().isUnderlined();\n }",
"public boolean isIsFontUnderlined() {\n return isFontUnderlined;\n }",
"public boolean getUnderline() {\r\n return Underline;\r\n }",
"boolean isDrawOutline(DrawContext dc, Object shape);",
... | [
"0.8137051",
"0.7452891",
"0.68487436",
"0.66807586",
"0.65575045",
"0.6204141",
"0.61555076",
"0.60896343",
"0.60813165",
"0.6032282",
"0.6002801",
"0.5897917",
"0.57935625",
"0.5766281",
"0.5761438",
"0.5738545",
"0.5736856",
"0.5686116",
"0.56580883",
"0.56459147",
"0.5591... | 0.7236515 | 2 |
Sets the shape to underline. | public void setUnderlined(boolean aFlag) { } | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public final void setUnderline(final boolean underline) {\n this.underline = underline;\n }",
"public void setUnderline(byte underline)\n {\n font.setUnderline(underline);\n }",
"public void setUnderline(byte underline) {\n\t\tthis.underline = underline;\n\t}",
"public void setUnderlin... | [
"0.7192636",
"0.71138203",
"0.69713473",
"0.6519081",
"0.58659154",
"0.5773931",
"0.5632725",
"0.56214166",
"0.5536561",
"0.5533379",
"0.5530682",
"0.54396975",
"0.54364",
"0.5398802",
"0.53713244",
"0.5293682",
"0.52709764",
"0.5190824",
"0.518587",
"0.5169133",
"0.5162557",... | 0.50115776 | 25 |
Returns the outline for the shape. | public RMXString.Outline getOutline() { return null; } | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public Outline getOutline()\n {\n return outline;\n }",
"public String getOutline() {\n return outline;\n }",
"public final Paint getOutlinePaint() {\n return outlinePaint;\n }",
"public final Stroke getOutlineStroke() {\n return outlineStroke;\n }",
"@Override\r\... | [
"0.77653426",
"0.76808333",
"0.7627249",
"0.7431627",
"0.72373974",
"0.69729745",
"0.6839472",
"0.6714519",
"0.66309935",
"0.6554457",
"0.636026",
"0.63141954",
"0.6281458",
"0.62177074",
"0.6214558",
"0.6121824",
"0.6096051",
"0.6037678",
"0.6037155",
"0.6025601",
"0.6016594... | 0.6383513 | 10 |
Sets the outline for the shape. | public void setOutline(RMXString.Outline anOutline) { } | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public final void setOutlinePaint(final Paint outlinePaint) {\n Paint oldOutlinePaint = this.outlinePaint;\n this.outlinePaint = outlinePaint;\n firePropertyChange(-1, \"outlinePaint\", oldOutlinePaint,\n this.outlinePaint);\n }",
"private void setOutline(JPanel panel, bool... | [
"0.7135586",
"0.68962306",
"0.68414",
"0.66329366",
"0.65688753",
"0.64231616",
"0.6416309",
"0.6364567",
"0.6319058",
"0.6190333",
"0.599428",
"0.59926",
"0.5991607",
"0.5988745",
"0.5965205",
"0.57510614",
"0.5748992",
"0.5724344",
"0.5722365",
"0.56508774",
"0.56413597",
... | 0.5734687 | 17 |
Returns the horizontal alignment. | public AlignX getAlignmentX() { return AlignX.Left; } | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public int getHorizontalAlignment() {\n return horizontalAlignment;\n }",
"public int getHorizontalAlignment()\n {\n return field.getHorizontalAlignment();\n }",
"public short getHorizontalAlignment()\n {\n return halign;\n }",
"public final HORIZONTALALIGNMENT getHorizontalAl... | [
"0.8667969",
"0.83356947",
"0.828892",
"0.8195288",
"0.7883944",
"0.7859192",
"0.7446297",
"0.7336477",
"0.7336477",
"0.71715796",
"0.71301705",
"0.70562714",
"0.7052594",
"0.6959583",
"0.6955018",
"0.69531107",
"0.69134223",
"0.6905517",
"0.68763673",
"0.68642",
"0.6862831",... | 0.7492857 | 6 |
Sets the horizontal alignment. | public void setAlignmentX(AlignX anAlignX) { } | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public void setHorizontalAlignment( short align )\n {\n this.halign = align;\n }",
"public void setHorizontalAlignment(int alignment) {\n if (alignment == horizontalAlignment) return;\n int oldValue = horizontalAlignment;\n if ((alignment == LEFT) || (alignment == CENTER) || \n\... | [
"0.8293235",
"0.80498195",
"0.78054935",
"0.7778014",
"0.74795985",
"0.6923481",
"0.6899446",
"0.68862355",
"0.68178046",
"0.67369556",
"0.6646998",
"0.66339606",
"0.6524592",
"0.6502585",
"0.6453326",
"0.62908787",
"0.62899274",
"0.6282359",
"0.6253185",
"0.6241512",
"0.6240... | 0.7405533 | 5 |
Returns the vertical alignment. | public AlignY getAlignmentY() { return AlignY.Top; } | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"int getVerticalAlignValue();",
"com.ctrip.ferriswheel.proto.v1.Placement getVerticalAlign();",
"public short getVerticalAlignment()\n {\n return valign;\n }",
"public final VERTICALALIGNMENT getDisplayVerticalAlignment(){\n\t\treturn wDisplayVerticalAlignment;\n\t}",
"public float getAlignment... | [
"0.8557027",
"0.8041908",
"0.80100316",
"0.7522251",
"0.733893",
"0.7053489",
"0.7006375",
"0.69200695",
"0.6857879",
"0.6857879",
"0.6825273",
"0.6752521",
"0.67211574",
"0.6720032",
"0.6699487",
"0.66956806",
"0.6677418",
"0.66548586",
"0.66433764",
"0.66319746",
"0.6630191... | 0.7592997 | 3 |
Sets the vertical alignment. | public void setAlignmentY(AlignY anAlignX) { } | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public void setVerticalAlignment( short align )\n {\n this.valign = align;\n }",
"int getVerticalAlignValue();",
"public void setVerticalTextAlignment(short value)\n {\n field_1_options = VerticalTextAlignment.setShortValue(field_1_options, value);\n }",
"public void setVAlign(int v... | [
"0.78337425",
"0.6840677",
"0.6808675",
"0.6700951",
"0.6662764",
"0.6629932",
"0.6615036",
"0.6537403",
"0.64749604",
"0.64402866",
"0.642877",
"0.63151103",
"0.6314933",
"0.6296078",
"0.62520623",
"0.6211734",
"0.6170883",
"0.6158881",
"0.61343956",
"0.6109533",
"0.60656214... | 0.73534536 | 1 |
Returns the format for the shape. | public RMFormat getFormat()
{
// Return format from first binding
if(getBindingCount()>0)
return (RMFormat)getBinding(0).getFormat();
// Return null
return null;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"Object getFormat();",
"String getFormat();",
"String getFormat();",
"String getFormat();",
"public RMFormat getFormat()\n {\n return getStyle().getFormat();\n }",
"public String getFormat() {\n\t\treturn format;\n\t}",
"FileFormat getFormat();",
"public String getFormat() {\n retu... | [
"0.7606493",
"0.7185847",
"0.7185847",
"0.7185847",
"0.713266",
"0.7071527",
"0.70194596",
"0.69975966",
"0.69975966",
"0.69975966",
"0.6994695",
"0.696918",
"0.6947741",
"0.68820155",
"0.68746275",
"0.6856784",
"0.68479246",
"0.6845751",
"0.6811666",
"0.67895234",
"0.6761255... | 0.66892016 | 22 |
Sets the format for the shape. | public void setFormat(RMFormat aFormat)
{
// Add format to first binding
if((aFormat==null || aFormat instanceof java.text.Format) && getBindingCount()>0)
getBinding(0).setFormat((java.text.Format)aFormat);
// Pass down to children
for(int i=0, iMax=getChildCount(); i<iMax; i++)
get... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public void setFormat(Format format) {\n this.format = format.getIndex();\n }",
"public void setFormat(edu.umich.icpsr.ddi.FormatType format)\n {\n synchronized (monitor())\n {\n check_orphaned();\n edu.umich.icpsr.ddi.FormatType target = null;\n target... | [
"0.71468216",
"0.67867345",
"0.67712426",
"0.66651976",
"0.6590041",
"0.6590041",
"0.6590041",
"0.65727013",
"0.65520674",
"0.6477129",
"0.6470212",
"0.64389765",
"0.64252746",
"0.64007765",
"0.6297802",
"0.62822545",
"0.62804127",
"0.6222832",
"0.6209458",
"0.61793834",
"0.6... | 0.6543177 | 9 |
Adds a deep change listener to shape to listen for shape changes and property changes received by shape. | public void addDeepChangeListener(DeepChangeListener aListener)
{
addListener(DeepChangeListener.class, aListener); // Add listener
if(getListenerCount(DeepChangeListener.class)==1) // If first listener, add for children
for(int i=0, iMax=getChildCount(); i<iMax; i++) { RMShape child = getChild(i);
... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public void propertyChange(PropertyChangeEvent anEvent)\n{\n // Get DeepChangeListener count (just return if zero)\n int deepListenerCount = getListenerCount(DeepChangeListener.class); if(deepListenerCount==0) return;\n \n // If change is fill/stroke, convert property name to \"Fill.xxx\" or \"Stroke.x... | [
"0.70975703",
"0.6166702",
"0.5930334",
"0.54319435",
"0.50439286",
"0.4975419",
"0.49145284",
"0.49133584",
"0.49107662",
"0.48994458",
"0.48478597",
"0.48317173",
"0.47969615",
"0.47946188",
"0.4737181",
"0.47342262",
"0.47218925",
"0.46926197",
"0.46510136",
"0.46403608",
... | 0.7689434 | 0 |
Removes a deep change listener from shape. | public void removeDeepChangeListener(DeepChangeListener aLstnr) { removeListener(DeepChangeListener.class, aLstnr); } | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"void removeListener(GraphListener listener);",
"@Override\n\tpublic void removeGraphChangeListener(GraphChangeListener<N, ET> listener)\n\t{\n\t\tgcs.removeGraphChangeListener(listener);\n\t}",
"public void removeDrawingClickListener(DrawingClickListener listener);",
"void removeDrawingModelListener(DrawingM... | [
"0.66924804",
"0.6685959",
"0.66416854",
"0.65394646",
"0.6511003",
"0.64767873",
"0.6418025",
"0.64117235",
"0.6389372",
"0.6385147",
"0.637618",
"0.632843",
"0.6326346",
"0.62998825",
"0.62761086",
"0.6275318",
"0.6260473",
"0.6257388",
"0.62311184",
"0.6225619",
"0.6219894... | 0.746698 | 0 |
Property change listener implementation. | public void propertyChange(PropertyChangeEvent anEvent)
{
// Get DeepChangeListener count (just return if zero)
int deepListenerCount = getListenerCount(DeepChangeListener.class); if(deepListenerCount==0) return;
// If change is fill/stroke, convert property name to "Fill.xxx" or "Stroke.xxx" for the s... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"@Override\r\n\tpublic void propertyChange(PropertyChangeEvent arg0) {\n\t\t\r\n\t}",
"@Override\r\n\tpublic void propertyChange(PropertyChangeEvent arg0) {\n\t\t\r\n\t}",
"@Override\n\tpublic void propertyChange(PropertyChangeEvent arg0) {\n\t\t\n\t}",
"@Override\n\tpublic void propertyChange(PropertyChangeE... | [
"0.80709875",
"0.80709875",
"0.80577856",
"0.7974351",
"0.79680914",
"0.79243666",
"0.78680426",
"0.7702937",
"0.7626625",
"0.7611598",
"0.7558387",
"0.7557934",
"0.7522989",
"0.7505107",
"0.7496337",
"0.7461843",
"0.74311215",
"0.7371058",
"0.7317936",
"0.72682077",
"0.72659... | 0.0 | -1 |
Deep property change listener implementation. | public void deepChange(PropertyChangeListener aListener, PropertyChangeEvent anEvent)
{
for(int i=0, iMax=getListenerCount(DeepChangeListener.class); i<iMax; i++)
getListener(DeepChangeListener.class, i).deepChange(aListener, anEvent);
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public void propertyChange(PropertyChangeEvent anEvent)\n{\n // Get DeepChangeListener count (just return if zero)\n int deepListenerCount = getListenerCount(DeepChangeListener.class); if(deepListenerCount==0) return;\n \n // If change is fill/stroke, convert property name to \"Fill.xxx\" or \"Stroke.x... | [
"0.7081656",
"0.67607677",
"0.6018159",
"0.6018159",
"0.6017533",
"0.6005133",
"0.5993967",
"0.59500134",
"0.5937294",
"0.59235454",
"0.5917526",
"0.581955",
"0.58073467",
"0.57797164",
"0.5751771",
"0.5714748",
"0.5699864",
"0.56770456",
"0.5645538",
"0.56384563",
"0.5627747... | 0.7894666 | 0 |
Returns the name for the shape. | public String getName() { return (String)get("Name"); } | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"String getShapeName();",
"String getLayerShapeName();",
"public static String getCurrentShapeName() {\n\t\treturn currentShapeName;\n\t}",
"String getShapeLabel();",
"public String toString() {\n\t\t\treturn shape;\n\t\t}",
"public java.lang.String getName();",
"org.openxmlformats.schemas.drawingml.x20... | [
"0.8866029",
"0.79862106",
"0.7379226",
"0.7347672",
"0.6768275",
"0.6713498",
"0.67067814",
"0.66455823",
"0.66455823",
"0.66455823",
"0.66455823",
"0.66455823",
"0.66455823",
"0.66455823",
"0.66455823",
"0.66455823",
"0.66455823",
"0.66455823",
"0.66455823",
"0.66455823",
"... | 0.0 | -1 |
Sets the name for the shape. | public void setName(String aName)
{
if(RMUtils.equals(aName, getName())) return; // If value already set, just return
Object oldValue = put("Name", RMStringUtils.min(aName)); // Cache old value
firePropertyChange("Name", oldValue, RMStringUtils.min(aName), -1); // Set new value and fire PropertyChange
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public void setName(String name) {\n this.name = name;\n this.box.getElement().setAttribute(\"name\", name);\n }",
"public final void setName(String name) {_name = name;}",
"public void setName(String name) {\n _name = name;\n }",
"public void setName (String name) {\n this.... | [
"0.7183407",
"0.70663524",
"0.7037833",
"0.70361894",
"0.7034353",
"0.7034353",
"0.7034353",
"0.7031573",
"0.7031573",
"0.7030429",
"0.7023529",
"0.7020817",
"0.70183516",
"0.70183516",
"0.70183516",
"0.70171237",
"0.70171237",
"0.70138204",
"0.7010996",
"0.70095485",
"0.7009... | 0.0 | -1 |
Sets the URL for the shape. | public String getURL() { return (String)get("RMShapeURL"); } | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public void setURL(String url);",
"public void setUrl(String url);",
"public void setUrl(String url);",
"public void setUrl(URL url)\n {\n this.url = url;\n }",
"public sparqles.avro.discovery.DGETInfo.Builder setURL(java.lang.CharSequence value) {\n validate(fields()[2], value);\n this.URL ... | [
"0.6988882",
"0.6874622",
"0.6874622",
"0.6795576",
"0.6789071",
"0.67247117",
"0.6690745",
"0.66837454",
"0.66829044",
"0.66443765",
"0.6620494",
"0.66126215",
"0.6594177",
"0.656049",
"0.656049",
"0.6491079",
"0.6491079",
"0.6459602",
"0.6451754",
"0.6447603",
"0.6425843",
... | 0.6430348 | 20 |
Returns the URL for the shape. | public void setURL(String aURL)
{
if(RMUtils.equals(aURL, getURL())) return; // If value already set, just return
Object oldValue = put("RMShapeURL", RMStringUtils.min(aURL)); // Cache old value
firePropertyChange("RMShapeURL", oldValue, aURL, -1); // Set new value and fire PropertyChange
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public String getURL() { return (String)get(\"RMShapeURL\"); }",
"public String getUri();",
"public String getURL() {\n\t\treturn RequestConstants.BASE_IMAGE_URL+_url;\n\t}",
"@Nullable\n public abstract String url();",
"public String getURL();",
"String getUri();",
"private String getURL() {\n\t\t... | [
"0.79551977",
"0.6313671",
"0.629817",
"0.6273879",
"0.62678826",
"0.62290853",
"0.6210939",
"0.6162844",
"0.61344177",
"0.6132317",
"0.6132317",
"0.6088449",
"0.6088449",
"0.6086517",
"0.6086517",
"0.6086517",
"0.6086517",
"0.60402805",
"0.60322076",
"0.6024308",
"0.5987882"... | 0.0 | -1 |
Sets the Hover string for the shape. | public String getHover() { return (String)get("Hover"); } | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public void setOnmouseover(String val)\r\n\t{\r\n\t\t_onMouseOver = val;\r\n\t}",
"public void displayHover() {\n if (textColour == null) {\r\n displayEmptyHover();\r\n return;\r\n }\r\n stroke(0, 0, 0);\r\n strokeWeight(strokeWeight);\r\n... | [
"0.67016405",
"0.6627143",
"0.6566719",
"0.63215727",
"0.61168903",
"0.6032884",
"0.60236084",
"0.5840983",
"0.58386225",
"0.5794806",
"0.57390845",
"0.56713176",
"0.5623761",
"0.5619818",
"0.5594991",
"0.5583788",
"0.55812645",
"0.5500051",
"0.5493231",
"0.5481465",
"0.54540... | 0.5681943 | 11 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.