Class: GGLib::CheckBox::CheckedHk
- Inherits:
-
Widget
- Object
- Tile
- GGLib::Containable
- Widget
- GGLib::CheckBox::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 GGLib::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.
375 376 377 |
# File 'lib/ext/widgets.rb', line 375 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.
374 375 376 |
# File 'lib/ext/widgets.rb', line 374 def x1 @x1 end |
#x2 ⇒ Object (readonly)
Returns the value of attribute x2.
374 375 376 |
# File 'lib/ext/widgets.rb', line 374 def x2 @x2 end |
#y1 ⇒ Object (readonly)
Returns the value of attribute y1.
374 375 376 |
# File 'lib/ext/widgets.rb', line 374 def y1 @y1 end |
#y2 ⇒ Object (readonly)
Returns the value of attribute y2.
374 375 376 |
# File 'lib/ext/widgets.rb', line 374 def y2 @y2 end |