Class: GGLib::RadioButton::CheckedHk
- Inherits:
-
Widget
- Object
- Tile
- Containable
- Widget
- GGLib::RadioButton::CheckedHk
- Defined in:
- lib/ext/widgets.rb
Instance Attribute Summary collapse
-
#x1 ⇒ Object
readonly
Returns the value of attribute x1.
-
#x2 ⇒ Object
readonly
Returns the value of attribute x2.
-
#y1 ⇒ Object
readonly
Returns the value of attribute y1.
-
#y2 ⇒ Object
readonly
Returns the value of attribute y2.
Attributes inherited from Widget
#buttonId, #defimage, #id, #name, #sleeping, #theme, #window, #zfocus
Attributes inherited from Containable
#align, #container, #maxSize, #minSize, #offset, #padding, #valign
Attributes inherited from Tile
Instance Method Summary collapse
-
#initialize(x1, y1, x2, y2) ⇒ CheckedHk
constructor
A new instance of CheckedHk.
Methods inherited from Widget
#acceptStickyFocus?, #acceptText?, #blur, #button, #clicked?, #del, #downevent, #draw, #event, #feedText, #focus, #hasFocus?, #hasStickyFocus?, #intDraw, #onClick, #onDelete, #onDrag, #onInitialize, #onKeyDown, #onKeyUp, #onMouseDown, #onMouseOut, #onMouseOver, #onRightClick, #onRightDrag, #onRightMouseDown, #onStickyBlur, #onStickyFocus, #over?, #sleep, #sleeping?, #stickFocus, #unstickFocus, #wakeUp
Methods inherited from Tile
#centerOn, #del, deleteAllInstances, deleteById, #each, #eachBorder, getAllInstances, getById, #height, #iTile, intersect?, #intersect?, #isInTile?, #move, #resize, setAllInstances, #setCoordinates, #setTile, #width, #xTile
Constructor Details
#initialize(x1, y1, x2, y2) ⇒ CheckedHk
Returns a new instance of CheckedHk.
418 419 420 |
# File 'lib/ext/widgets.rb', line 418 def initialize(x1,y1,x2,y2) @x1,@y1,@x2,@y2 = x1,y1,x2,y2 end |
Instance Attribute Details
#x1 ⇒ Object (readonly)
Returns the value of attribute x1.
417 418 419 |
# File 'lib/ext/widgets.rb', line 417 def x1 @x1 end |
#x2 ⇒ Object (readonly)
Returns the value of attribute x2.
417 418 419 |
# File 'lib/ext/widgets.rb', line 417 def x2 @x2 end |
#y1 ⇒ Object (readonly)
Returns the value of attribute y1.
417 418 419 |
# File 'lib/ext/widgets.rb', line 417 def y1 @y1 end |
#y2 ⇒ Object (readonly)
Returns the value of attribute y2.
417 418 419 |
# File 'lib/ext/widgets.rb', line 417 def y2 @y2 end |