Class: GGLib::RadioButton::CheckedHk

Inherits:
Widget show all
Defined in:
lib/ext/widgets.rb

Instance Attribute Summary collapse

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

#id, #inclusive

Instance Method Summary collapse

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

#x1Object (readonly)

Returns the value of attribute x1.



417
418
419
# File 'lib/ext/widgets.rb', line 417

def x1
  @x1
end

#x2Object (readonly)

Returns the value of attribute x2.



417
418
419
# File 'lib/ext/widgets.rb', line 417

def x2
  @x2
end

#y1Object (readonly)

Returns the value of attribute y1.



417
418
419
# File 'lib/ext/widgets.rb', line 417

def y1
  @y1
end

#y2Object (readonly)

Returns the value of attribute y2.



417
418
419
# File 'lib/ext/widgets.rb', line 417

def y2
  @y2
end